respawn for bots
I made this, it works perfect on real players but bots don't respawn,
why? how can i add bots to respawn to? PHP Code:
|
Re: respawn for bots
If you are using cz bots, install this : http://forums.alliedmods.net/showthr...83#post1715483
And add in your plugin : PHP Code:
|
Re: respawn for bots
Quote:
|
Re: respawn for bots
Ok, I compiled that plugin and installed it on my server, then i added the public to my plugin an compiled but bots still don't respawn.
should i merge the 2 plugins into 1? (my t autospawn and your plugin? Edit: I did that too and still the bots don't get respawned its werid there are maps where they do respawn and on other maps they don't |
Re: respawn for bots
Gonna try, may be IsBot doesn't return what it should.
You don't need to merge anything, the other plugin is made so you can use the forward in any plugin. Edit : Following code is working on windows, tell me if it works on linux. PHP Code:
|
Re: respawn for bots
aaah nice,
thank you very much connor this one works for me :) so what exactly does this plugin do? does it make sure that any type of bots are registered too in all events like a real player? |
Re: respawn for bots
Hey connor I have another issue that i cant seem to fix, wich i am sure of u can :)
ok so all my terrorist players are bots, (+-14 bots) and when the round ends all ters die due to the plugin force_round_end (its a plugin i can't miss so i can't just delete it). so when all terrorists die a task is set in my plugin to respawn them and there is the problem when the round ended the bots will automaticly spawn and therefore don't need to respawn again so i tryed to remove the task but without succes. Now my server crashes everytime all terrorists die. this is what I have done but it doesnt work, could you take a look at it pls? PHP Code:
L 07/17/2012 - 00:27:33: [HAMSANDWICH] Entity has null private data (1005) L 07/17/2012 - 00:27:33: [AMXX] Run time error 10 (plugin "t_autospawn.amxx") (native "ExecuteHamB") - debug not enabled! L 07/17/2012 - 00:27:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 07/17/2012 - 00:31:05: FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Datagram FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Datagram Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem |
Re: respawn for bots
Hey striker, ive an idea for you!
The Bots spawn on the CSDM perfect so visit there the csdm_spawn_preset.sma and the spawn_editor.sma If you catch the funktions i think you can make it like CSDM and write coordinates for every map to spawn the players/bots... But if it needed dont forget to add the module of csdm... You know ive not the knowledge, but there i think you can find some parts wich could help you out... |
Re: respawn for bots
yes that maybe true but i already have everything i need (spawns, waypoints etc) I don't want to add a new csdm plugin replacing mine, you have a point on openeing the .sma's but my respawn plugin was working perfectly before, so when i updated it with the remove task then the problems came, the bots didnt even respawn so it's got to be with the id of the task and i don't know what i did wrong, i've been searching through many plugins but i can't find any problem i coded the tasks like they should and still they fail to work :s:(
|
Re: respawn for bots
I have edited the code a bit but i don't think it was bad.
|
| All times are GMT -4. The time now is 15:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.