.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   POD-bot back into shape. (http://forums.bots-united.com/showthread.php?t=833)

KWo 12-04-2004 22:22

Re: POD-bot back into shape.
 
1 Attachment(s)
Pierre-Marie - Your job is great and now after Your bugs-fixes and adding many of the futures Your PODbot is every-day much more better than this one since source 2.6 and original 2.5 (for me this is the best bot since beggining of BOTS, but this one is trying to be a perfect BOT). I don't want to be a rumbler, but in latest release , I think, there is a little bug - problem with bot names (once again...). In my podbot.cfg there are the following lines:

minbotskill 60
maxbotskill 100

addbot 100 2 2 Ryback
addbot 100 1 1 Roger
addbot 100 2 2 James_Bond
addbot 100 1 1 Szakal
addbot 100 2 2 Rambo
addbot 100 1 1 Android
addbot 100 2 2 Nikita
addbot 100 1 1 Ivan
addbot 100 1 1 Terminator
addbot 100 1 1 Luis


and what I see after connecting - look the attachement , if You dont believe me.
For sure - the podbot_mm.dll I use was created 2004.04.11 00:00 (249856 bytes), metamod 1.17 CS1.6.
Is this possible to add new argument (class) to this function (addbot)? In the official help for PODBOT there is nothing about this. Maybe the problem is my too long botnames.txt file (too many names) but any previous version of Your podbot_mm was free from this issue.

SoUlFaThEr - please test these lines above in your podbot.cfg - You had many times the problem with names of Bots - so maybe You can repeat this situation on Your computer.

Best regards to all!!!

[+Duracell-] 13-04-2004 01:52

Re: POD-bot back into shape.
 
I believe the format is addbot "name" "skill" "team" "class"

Your things are switched around, so it should read

addbot Ryback 100 2 2

I think...I don't use it like that...I just set names in the botnames.txt...and I like the random skill levels

sPlOrYgOn 13-04-2004 02:03

Re: POD-bot back into shape.
 
Quote:

Originally Posted by someguy
Awesome, it stopped the crashing, haven't tried a custo map yet though. One last question.. admin_rcon pb jasonmode on (and I tried 1 too) doesn't work. Does admin_fun have be on? Thanks for your help!

take off the pb infront of it.
some commands don't have pb infront only a few commands do and those commands are:
"pb addbot"
"pb removebots"
"pb killbots"
"pb fillserver"
[edit]
after my inexperienced eyes look through the source code it should be
"addbot <skill> <team> <class> <name>" but at the same time what you're saying is happening shouldn't be happening..
[/edit]
[edit2]
i think i found it..
Code:

            sprintf (cmd, GetField (cmd_line, 0));
            sprintf (arg1, GetField (cmd_line, 1));
            sprintf (arg2, GetField (cmd_line, 1));
            sprintf (arg3, GetField (cmd_line, 1));
            sprintf (arg4, GetField (cmd_line, 1));

shouldn't this be
Code:

            sprintf (cmd, GetField (cmd_line, 0));
            sprintf (arg1, GetField (cmd_line, 1));
            sprintf (arg2, GetField (cmd_line, 2));
            sprintf (arg3, GetField (cmd_line, 3));
            sprintf (arg4, GetField (cmd_line, 4));

?
[/edit2]
[edit3]
its around line 2627 in dll.cpp
[/edit3]
[edit4]
Quote:

Originally Posted by SoUlFaThEr
lol spiorygon :)

btw its splorygon with an L

can't people see the pattern in my name? :D
lOwErCaSe then uPpErCaSe then lOwErCaSe then.. :D
[/edit4]

SoUlFaThEr 13-04-2004 06:08

Re: POD-bot back into shape.
 
lol again
sPlOrYgOn

I will wait with testing your wierd bug there Kwo......until i get feedback on what sPlOrYgOn found is true

sPlOrYgOn 13-04-2004 06:18

Re: POD-bot back into shape.
 
I was hoping to compile binaries but my sister is using my windows... and my linux has glibc2.3 and gcc3.3.2 and i dunno which one is causing the problem but when it compiles a metamod plugin, metamod is unable to load the plugin..
[edit]
i actually don't care about how my name is capitalized as long as you don't put an 'I' where an 'L' should be :D
i just put that lowercase uppercase stuff just to show people i have a pattern and not some screwed up pattern with 3 uppercase in one spot :D
[/edit]
[edit2]
i'm sorry that i can't test if it works or not :'(
[/edit2]

Huntkillaz 13-04-2004 07:26

Re: POD-bot back into shape.
 
well this new build still crashes with me :(
not sure why.....

anyone notice the following:

bot with scout\awp\machine gun dont switch to pistols or knife when running

bot that camps with scout\awp don't zoom in once as a human would they only zoom when they see an enemy or don't zoom at all

bot use scout more (humans mos would gor for an aug rather than scout)

bot's (veiw in 1st person mode) still got the wiggles (smaller than b4), when moving at any speed but none when camping.

Pierre-Marie Baty 13-04-2004 08:14

Re: POD-bot back into shape.
 
@SoUlFaThEr: well done, you've found one bug ! :) This is indeed a stupid bug of mine and you're perfectly right, it should be the way you say. Feel free to recompile a fixed bot DLL and distribute it... I have less and less time to do that anymore

sPlOrYgOn 13-04-2004 08:18

Re: POD-bot back into shape.
 
Quote:

Originally Posted by Pierre-Marie Baty
@SoUlFaThEr: well done, you've found one bug ! :) This is indeed a stupid bug of mine and you're perfectly right, it should be the way you say. Feel free to recompile a fixed bot DLL and distribute it... I have less and less time to do that anymore

yes SoUlFaThEr good job :D


looks like someone staying up too late.

Pierre-Marie Baty 13-04-2004 09:03

Re: POD-bot back into shape.
 
stupid me... o_O
I meant sPlOrYgOn
sorry :(

...to bed PMB, quick!

SoUlFaThEr 13-04-2004 09:06

Re: POD-bot back into shape.
 
i was just writing a whole bunch of stuff to defendmyself cuz you know i cant code and all that jazz......thought you were mad at me.....

does this mean you.....you ....are done with this for a while?


All times are GMT +2. The time now is 12:43.

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