Latest test version
I have to upload it here because I cannot seem to be able to access the SourceForge.net CVS...
http://yapb.bots-united.com/src.arj Changes including support of AMX weapon restriction (Thanks to KWo) and using TeamInfo message to detect teams. Note that this is not tested at all so don't be surprised if it's not working (but please tell me about it). EDIT: made the changes suggested by THE_STORM, but it's still not tested. And I guess someone should really take over this job now... |
Re: Latest test version
Oops so I made a linux build before a minute for nothing. ;)
EDIT: Ok I just tested it. Team detection work good but sometimes the bots get confused and watch the enemy some time before to start to shoot it, maybe is because you use strange way for storing the teams information. ;) It is much better to get the teams for the real clients and bots both. This you can do if you put Code:
if (msg_type == message_TeamInfo) Code:
else if (msg_dest == MSG_ALL) pBot->iTeam = Util_GetTeam(pBot->pEdict); and to update it on every 2 seconds or maybe 1. Tell me if you don't think that this is good method. :P |
Re: Latest test version
Thanks, I have made the changes. :)
|
Re: Latest test version
Quote:
Quote:
|
Re: Latest test version
Quote:
|
Re: Latest test version
Ok then make some final step. Update the sources of YaPB to use metamod 1.19 and publish it in to the YaPB web site as new version then if you want you can left it. :(
|
Re: Latest test version
I've been using the new test version for a while now and it causes my dedicated server to crash every two hours, give or take a minute or two.
I've debugged by eliminating possibilities such as my AMX plugins and the maps that are in the mapcycle.txt, but as it turns out, I've gotten it to run to three hours now after disabling YaPB. I'm using MetaMod 1.18 and AMX Mod X version 1.6 . |
Re: Latest test version
try Metamod 1.17 instead as my version is compiled with Metamod 1.17. Or build yourself a Metamod 1.18 version.
|
Re: Latest test version
I tried Metamod's version 1.17 and AMX wouldn't even start up. :( I downloaded the new 1.19 and that works with AMX perfectly, but again, YaPB doesn't work with 1.19 at all. I like the suggestion by The Storm to have YaPB compatable with the new 1.19 and I'll just wait until the final version comes out.
|
Re: Latest test version
or you can also try loading the dll with "+localinfo mm_gamedll addons/yapb/dlls/podbot.dll" way.
|
All times are GMT +2. The time now is 07:07. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.