.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   (mEAn) Bot.Admin Mod Help (http://forums.bots-united.com/forumdisplay.php?f=29)
-   -   mean_cs16, metamod and podbot26_mm (http://forums.bots-united.com/showthread.php?t=2428)

sPlOrYgOn 01-10-2004 08:41

Re: mean_cs16, metamod and podbot26_mm
 
no actually I think they are rather pointers to NULL than a string with \0 at front..
all those other arg lengths are 0 while your forced buying starting with ARG4 is pointers to NULL

botmeister 04-10-2004 15:44

Re: mean_cs16, metamod and podbot26_mm
 
Does turning off the forced buying fix the problem?

See post here on how to turn off forced buying

sPlOrYgOn 05-10-2004 01:29

Re: mean_cs16, metamod and podbot26_mm
 
1 Attachment(s)
yea still happens after it's off
and defusekit defaults to ON
Quote:

VModEnable 1
specmode 2
menuselect 5
menuselect 5
collectexperience on
botvotekick on
VModEnable 1
VModEnable 1
buy (null) (null) (null) (null) (null) (null)
when I add the checks eg. if (ARGV (0) != NULL) it'll work just fine with no crash..
[edit]
added cmd log of when the checks were implemented
[/edit]

botmeister 06-10-2004 10:03

Re: mean_cs16, metamod and podbot26_mm
 
I'll take a look at the buying code to see what may be going wrong. Thanks for the help btw, its much appreciated :)

botmeister 18-10-2004 09:15

Re: mean_cs16, metamod and podbot26_mm
 
sPlOrYgOn I looked at the podbot pb addbot command, and there also does not seem to be adequate checks for missing (or optional) arguments.

I noticed that the argument list for addbot has changed from the older versions of pod, and as a result mEAn was issuing the wrong arguments for addbot causing the bots to sometimes be added to the wrong team.

I have fixed the addbot command problem, but pod should be updated to check for missing arguments and insert defaults in their place.

I still do not know wht mEAn is issuing a buy command without any arguments, but I have some ideas to look at.

BTW, I have a working linux version of mEAn if you want to try it out.


All times are GMT +2. The time now is 20:55.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.