.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   A* pathfinder code... (http://forums.bots-united.com/showthread.php?t=1679)

Whistler 16-05-2004 05:28

A* pathfinder code...
 
1 Attachment(s)
Here is a completely rewritten A* pathfinder code which is much faster and more efficient. The code format is a bit different but it fits POD-bot very well...

I think I should post it here and you can make use of it.

Note: I have changed the waypoint format so you may need to change it back. Also you can still use the original cost function/heuristic function in the PM's Metamod POD-bot.

>BKA< T Wrecks 16-05-2004 10:59

Re: A* pathfinder code...
 
Hey, cool! Maybe this could even fix that damn slow-motion problem. I've had this problem (sometimes more, sometimes less, but always there) since the A* pathfinder was added to the PODBot code. Maybe this one works better?
Anyway, thank you for posting this here, Whistler! You have your own bot, but your contribution to PB 2.6mm has been invaluable so far - great job! =)

Whistler 16-05-2004 11:14

Re: A* pathfinder code...
 
I think that 'slow motion' problem is because the msec isn't reseted after map change. (this problem exists in PM's very-old metamod port of POD-bot 2.6 source code filenamed "podbot_plugin.exe")

Whistler

>BKA< T Wrecks 16-05-2004 13:48

Re: A* pathfinder code...
 
I thought that this msec reset had been introduced long ago... still, me & all my friends using PB 2.6mm (the one from the "new release" thread by PMB) get the slo-mo effect... and this is the most important bug that's left, together with min_bot/max_bot (fixed in 2.1, I think) and those NUM_FOR_EDICT errors.
If the msec reset hasn't been corrected yet, it should be set onto a top spot in the priority list. However, if it's already correct, something else must be wrong...
Well, in any case, I don't see a reason not to include this new A* pathfinder in upcoming releases. I still hope that if there's some bit in the current pathfinder that causes the slow-motion, with your new pathfinder this problem no longer exists. We shall see...

sPlOrYgOn 16-05-2004 14:36

Re: A* pathfinder code...
 
I'll take a look at it...
I just reformatted the computer I had all to myself...
dual booting windows 98 and mandrake 10...
screwed up mandrake :D..

[edit]
and yes the msec variables are reset at each map start.. since R2
[/edit]

>BKA< T Wrecks 16-05-2004 15:03

Re: A* pathfinder code...
 
Ah, since R2, you say? Then the dll I'm using doesn't have this fix yet...

/me rushes to d/l R2.1... :D

Man, let's hope this stuff is really fixed!! That would rox0r supreme...

- EDIT -
Some time and many mapchanges later, I gotta say: Wow! The slow-motion bug, one of the two serious bugs in this bot, is really fixed from what I have seen. This is sooo great! Kudos to sPlOrYgOn and other ppl involved in finding & fixing this sucker...
Now if you can get this bad pointer error, you'll be my hero, sPlO! 'Cuz once this bug is fixed, only non-critical bugs remain; but the bot will be capable of running smoothly through an entire mapcycle without annoying crashes or any other things that keep it from being fully usable and enjoyable. Go Go Go!

Huntkillaz 16-05-2004 22:57

Re: A* pathfinder code...
 
it's funny i've never actually seen the bot's move\attack in slowmo in any release ???:(

what i have noticed is the occasional wiggle in aiming is back in this release:(

sPlOrYgOn 16-05-2004 23:03

Re: A* pathfinder code...
 
hey...
what would you prefer?
wiggle in aiming or aimbot?

SoUlFaThEr 17-05-2004 11:01

Re: A* pathfinder code...
 
aimbot
i dont like the wiggle gives me a headache and makes me want to kill them as soon as i die.

MusicMan 17-05-2004 15:23

Re: A* pathfinder code...
 
I would prefer human-like aiming8) :P

MusicMan


All times are GMT +2. The time now is 02:35.

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