Raised This Month: $18 Target: $400
 4% 

[INC] [L4D2] Infected Spawn API v1.6.1


Post New Thread Reply   
 
Thread Tools Display Modes
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-21-2010 , 17:34   Re: [L4D2] Infected Spawn API
Reply With Quote #11

Why dont you fix up the Infected Bots Plugin? MI5 stopped working on it, and it seems like your kind of project ;)
AtomicStryker is offline
V10
Senior Member
Join Date: Jan 2010
Location: Russia
Old 01-21-2010 , 18:31   Re: [L4D2] Infected Spawn API
Reply With Quote #12

Quote:
Originally Posted by AtomicStryker View Post
Why dont you fix up the Infected Bots Plugin? MI5 stopped working on it, and it seems like your kind of project ;)
Probably no time.
But you can do it. =)

Last edited by V10; 01-21-2010 at 18:35.
V10 is offline
Downtown1
Veteran Member
Join Date: Mar 2004
Old 01-25-2010 , 03:04   Re: [L4D2] Infected Spawn API v1.3
Reply With Quote #13

Thanks for the OnEnterGhostState Windows signature, I used it in Left4Downtown 0.4.6 (it can also now remove auto spawns in finale) to save more than a few minutes!
Downtown1 is offline
Delroton
New Member
Join Date: Jan 2010
Old 01-30-2010 , 10:19   Re: [L4D2] Infected Spawn API v1.3
Reply With Quote #14

Hi!
I'm new to mods and SM. But I have a question, is it possible to configure this into forcing hunter only spawns?

Thanks in advance
Delroton is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 01-30-2010 , 11:38   Re: [L4D2] Infected Spawn API v1.3
Reply With Quote #15

if you only want hunters, just adjust the z_XXX_limit cvars so thats theres 0 boomers, smokers, etc and at least 4 hunters.
dirka_dirka is offline
Delroton
New Member
Join Date: Jan 2010
Old 01-30-2010 , 12:14   Re: [L4D2] Infected Spawn API v1.3
Reply With Quote #16

Quote:
Originally Posted by dirka_dirka View Post
if you only want hunters, just adjust the z_XXX_limit cvars so thats theres 0 boomers, smokers, etc and at least 4 hunters.
That does not work! (If you've tested it personally and it did work for you please tell me, and I would know if its just my server.. )
Also tried setting the cvars to "-1". I guess 0 means infinite.
Delroton is offline
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 01-30-2010 , 19:29   Re: [L4D2] Infected Spawn API v1.3
Reply With Quote #17

Does this fix the amount of infected that can exist at one time?
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
V10
Senior Member
Join Date: Jan 2010
Location: Russia
Old 02-01-2010 , 21:51   Re: [L4D2] Infected Spawn API v1.3
Reply With Quote #18

Quote:
Originally Posted by Delroton View Post
Hi!
I'm new to mods and SM. But I have a question, is it possible to configure this into forcing hunter only spawns?

Thanks in advance
See code of InfectedFixSpawn plugin http://forums.alliedmods.net/showthread.php?t=114954
for create plugin who changes class to hunter
V10 is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 02-21-2010 , 12:02   Re: [INC] L4D2 Infected Spawn API v1.3
Reply With Quote #19

PHP Code:
            /*  CTerrorPlayer::OnEnterGhostState(client)   */

            
"OnEnterGhostState"
            
{
                
"library"    "server"
                "windows"    "\x53\x55\x56\x8B\xF1\x8B\x86\xB0\x3A\x00\x00\x8B\x50\x0C\x8D\x8E" 
//found by V10
                
"linux"        "@_ZN13CTerrorPlayer17OnEnterGhostStateEv"

            

That sig is wrong, mate. In Bytes it is:

PHP Code:
53 55 56 8B F1 8B 86 B0 3A 00 00 8B 50 0C 8D 8E 
You have to leave wildcards at Bytes that may change - as they have in Valves last patch.

PHP Code:
53 55 56 8B F1 8B 86 ? ? ? ? 8B 50 8D 8E ? ? ? ? 57 
Take this here Sig:

PHP Code:
            /*  CTerrorPlayer::OnEnterGhostState(client)   */
            /* 53 55 56 8B F1 8B 86 ? ? ? ? 8B 50 ? 8D 8E ? ? ? ? 57 */

            
"OnEnterGhostState"
            
{
                
"library"    "server"
                "windows"    "\x53\x55\x56\x8B\xF1\x8B\x86\x2A\x2A\x2A\x2A\x8B\x50\x2A\x8D\x8E\x2A\x2A\x2A\x2A\x57"
                "linux"        "@_ZN13CTerrorPlayer17OnEnterGhostStateEv"
            

AtomicStryker is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 02-21-2010 , 12:42   Re: [INC] L4D2 Infected Spawn API v1.3
Reply With Quote #20

Addendum:

While that Sig is 100% correct, it appears Valve removed that function or it isnt loaded anymore. I suggest you update your API to only use default ghosting, even during finale.
AtomicStryker is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:46.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode