.:: 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)

[NvT]_KaszpiR_ 08-04-2004 14:10

Re: POD-bot back into shape.
 
well he can directly ask stefanhendriks for a help, i don;t think .dll will be useful here :D

Pierre-Marie Baty 08-04-2004 19:53

Re: POD-bot back into shape.
 
A small number of bugs (minor ones) have been fixed.
Quote:

+ Added recognition of armoury_entities for maps like fy_iceworld
+ Added ability to create/remove multiple pathwaypoints simultaneously
+ Enforced checking for unique bot names during bot creation to avoid doubles
+ Fixed errors in documentation
You may want to get the new bot here:

http://racc.bots-united.com/releases/podbot.zip

SoUlFaThEr 08-04-2004 20:12

Re: POD-bot back into shape.
 
dang !! that was fast!

thanks Mr. Integer :)

Dethpod 08-04-2004 21:34

Re: POD-bot back into shape.
 
Good work Pierre.

You are a machine. I was wondering if anyone has been expieriencing 100% cpu loads when a bot is added for the hlds_i686 binary?

With this build of podbot-mm (8-4-04), as soon as I add a bot, the machine spikes to 100% and then hangs.

I do not experience this on my AMD boxes which use the hlds_amd binary.

The previous build (6-4-04) does not spike the cpu.

Here's the trace I get when I watch using strace:

gettimeofday({1081453227, 19156}, NULL) = 0
gettimeofday({1081453227, 19391}, NULL) = 0
gettimeofday({1081453227, 19621}, NULL) = 0
gettimeofday({1081453227, 19845}, NULL) = 0
gettimeofday({1081453227, 20014}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, [TTIN TTOU], NULL, 8) = 0
select(1, [0], NULL, NULL, {0, 0}) = 1 (in [0], left {0, 0})
read(0, "\n", 1) = 1
write(3, "\n", 1) = 1
rt_sigprocmask(SIG_UNBLOCK, [TTIN TTOU], NULL, 8) = 0
gettimeofday({1081453227, 38872}, NULL) = 0
write(1, "Adding new bot...\n", 18) = 18

And then it just spikes the cpu.

Any ideas?

-Dethpod

SoUlFaThEr 08-04-2004 23:00

Re: POD-bot back into shape.
 
i am getting not only [1] before doubled names.....im getting tripled names now too......[2] :( somethings wrong with that

also the pwp multiple......whats the line look like if its supposed to work......
i typed this and nothing worked:
pwp add 40,41,42

only connected 40

i am not sure about the armor entity thing because im on fy_iceworld with my waypoint that has them walk over all the weapons......

Pierre-Marie Baty 08-04-2004 23:33

Re: POD-bot back into shape.
 
@Dethpod: perhaps you added bots manually, or through a config file, using the "addbot bot_name" command where you specify the name of the bot. I haven't taken this case in account while checking for used names, that may be the reason why it loops forever trying to find which names are used and which not. I'll fix that.

@SoUlFaThEr: you must type "pwp add 40 41 42". But I'll add the check for the comma.

Dethpod 08-04-2004 23:51

Re: POD-bot back into shape.
 
Pierre,

It spikes if I do a 'pb addbot' first.

But it works fine if I do a 'pb addbot 99 1 2 [Bot] Godmode" first

and then I can do 'pb addbot' all I want.

Hope this helps,

-Dethpod

SoUlFaThEr 08-04-2004 23:53

Re: POD-bot back into shape.
 
ok on the add 40 42 41
it only adds 40 and 42......
its not quite right yet...the comma isnt necessary if this is working fine.......can we have up to 10 adds??? i wont do this but.....there may be a freak out there......:)

...yer making a fix on the names too?

Pierre-Marie Baty 08-04-2004 23:53

Re: POD-bot back into shape.
 
Thanks Dethpod! This DOES help indeed =)

@SoUlFaThEr: you're right again dude, I've found the bug. A stupid bug, I'm stupid as fuck :D As usuals with this damn bot I don't even half test the stuff I fix :)

@Dethpod: I've found the bug. I'll upload the source onto the BU server to compile a Linux DLL and I'll make a bugfixed release.

SoUlFaThEr 09-04-2004 00:00

Re: POD-bot back into shape.
 
hehe..as long as it WILL work :) we be happy to test :)
im here until you upload new......ill go to the chat......


All times are GMT +2. The time now is 13:04.

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