Raised This Month: $32 Target: $400
 8% 

[L4D/L4D2] Infected Bots Control (1.0.0)


Post New Thread Reply   
 
Thread Tools Display Modes
DiRgE
Member
Join Date: Jul 2009
Old 09-20-2009 , 18:16   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #361

[SM] Native "GetEntData" reported: Entity 4 is invalid
[SM] Displaying call stack trace for plugin "l4dinfectedbots.smx":
[SM] [0] Line 2749, /home/groups/alliedmodders/forums/files/4/8/2/4/5/49824.attach::IsPlayerGhost()
[SM] [1] Line 1772, /home/groups/alliedmodders/forums/files/4/8/2/4/5/49824.attach::ModelChange()

[l4dinfectedbots.smx] [L4D] Infected Bots: CreateFakeClient returned 0 -- Infected bot was not spawned
[l4dinfectedbots.smx] Temperory Infected Bot was not spawned for the Versus Door Unlocker!

Last edited by DiRgE; 09-20-2009 at 18:23.
DiRgE is offline
Horex
Member
Join Date: Sep 2009
Old 09-21-2009 , 07:40   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #362

Unlock faster respawn for players. Or atleast give cvar for it.
Horex is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 09-21-2009 , 10:56   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #363

Quote:
Originally Posted by Horex View Post
Unlock faster respawn for players. Or atleast give cvar for it.
you can adjust the time, default 25, make it bigger, i use 47 seconds
LTR.2 is offline
Horex
Member
Join Date: Sep 2009
Old 09-21-2009 , 10:58   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #364

Give command for it and where? It will work only for human players?
Horex is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 09-21-2009 , 12:23   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #365

pnly works if l4d_infectedbots_director_spawn is set to "0"

and about the time of respawn of the infected:
l4d_infectedbots_spawn_time.

only affects bots and players who play has infected on co-op.

however, i dunno for sure if this is your problem, it's just a guessing.
LTR.2 is offline
mi123645
Veteran Member
Join Date: Feb 2009
Old 09-21-2009 , 21:48   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #366

Quote:
Originally Posted by Shamoke View Post
I changed the code but Human players can still spawn as ghosts. While ghost spawning, they'll eventually take over the AI special infected, but just not instantly. I think something like automatically spawning a special infected immediately after a player spawns as a ghost could work. Any idea on how to edit the code to do something like that?
In the PlayerSpawn event, create a timer pointing to the Spawn_InfectedBot function. You should check to see if its a bot, and check to see if it's versus or not. It will spawn an infected bot everytime a player spawns, which will take over said infected bot.

Quote:
Originally Posted by DiRgE View Post
[SM] Native "GetEntData" reported: Entity 4 is invalid
[SM] Displaying call stack trace for plugin "l4dinfectedbots.smx":
[SM] [0] Line 2749, /home/groups/alliedmodders/forums/files/4/8/2/4/5/49824.attach::IsPlayerGhost()
[SM] [1] Line 1772, /home/groups/alliedmodders/forums/files/4/8/2/4/5/49824.attach::ModelChange()

[l4dinfectedbots.smx] [L4D] Infected Bots: CreateFakeClient returned 0 -- Infected bot was not spawned
[l4dinfectedbots.smx] Temperory Infected Bot was not spawned for the Versus Door Unlocker!
Was there only just you and no other players in the server when you got the Versus Door Unlocker error?
mi123645 is offline
DiRgE
Member
Join Date: Jul 2009
Old 09-21-2009 , 23:46   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #367

That's was a while ago, i realy don't remember..
I received this message only twice.

Last edited by DiRgE; 09-21-2009 at 23:49.
DiRgE is offline
mi123645
Veteran Member
Join Date: Feb 2009
Old 09-22-2009 , 15:15   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #368

Quote:
Originally Posted by DiRgE View Post
That's was a while ago, i realy don't remember..
I received this message only twice.
I don't think its anything to worry about.

1.8.0 will be released soon.
mi123645 is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 09-22-2009 , 15:40   Re: [L4D] Infected Bots (1.7.8)
Reply With Quote #369

Quote:
Originally Posted by mi123645 View Post
EDIT: I've modified the priority system so it's a little more random. For example, if a smoker dies, there will be no more smokers until their spawn timer completes (plus a second) and it will spawn into a hunter, thus giving a chance for someone else to spawn as a smoker. This will also prevent a smoker from spawning quickly after another smoker dies.
is this on 1.7.9?
LTR.2 is offline
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 09-22-2009 , 16:05   Re: [L4D] Infected Bots (1.7.9)
Reply With Quote #370

Quote:
Originally Posted by mi123645 View Post
@Langford: That bug was fixed some time ago, are you sure you have 1.7.9 installed correctly?

@lexantis: I have said time and time again, I already know what the problem is but you don't seem to be understanding me. The gamemode bug is caused even by setting the mp_gamemode in srcds.exe; its not being caused by my PLUGIN. Thats the part you don't understand. The L4D dedicated server tool is in the tools tab of Steam.

@Marcus101RR: Those cvars are cheat protected, did you put sm_cvar infront of them?

@LTR.2: This was added in 1.7.8. Check the cvars list. And it is director_no_specials 1, as I had to set class limits to 0 in order to have the tank/witch spawn with the plugin.
Yes i did, after you die in the same map. example Apartments of no mercy, they reset to 1. However, they will be 6 on next map.
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
Reply



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 04:46.


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