.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Ideas
Ideas One idea per thread please! :)

Reply
 
Thread Tools
map scan for waypoints
Old
  (#1)
MPNumB
Member
 
MPNumB's Avatar
 
Status: Offline
Posts: 8
Join Date: Feb 2008
Location: Lithuania
Arrow map scan for waypoints - 21-02-2008

Somewhere i soo, thet using no waypoints, only trace lines will give high CPU usage, but creating waypoints at large maps for some howers isn't so fun to.

I think it wold be good, to add some command (if no waypoints exit), to scan map with trace lines & automaticaly creating waypoints.


Jump-Bug or Die
  
Reply With Quote
Re: map scan for waypoints
Old
  (#2)
deelight
Member
 
Status: Offline
Posts: 16
Join Date: Mar 2008
Location: Luebeck, Germany
Default Re: map scan for waypoints - 08-03-2008

nice idea...

the search for waypoints is just C R A P


  
Reply With Quote
Re: map scan for waypoints
Old
  (#3)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: map scan for waypoints - 08-03-2008

It has been discussed a lot of times. I don't have any good algorithm, how to scan the map automatically without necessity walking on it. Maybe You can ask somebody to tell me what is the format .nav files done by CZERO bots. Maybe it's more easy to convert such files, than just make covering the map by waypoint from scratch.
  
Reply With Quote
Re: map scan for waypoints
Old
  (#4)
indrora
Member
 
Status: Offline
Posts: 2
Join Date: May 2008
Default Re: map scan for waypoints - 10-05-2008

first post with content!
i got miffed that a lot of my maps didnt have waypoints to them so i decided to start writing a hackishly done waypoint auditor. its here: http://sonof.bandit.name/files/WaypointAuditor.zip as WaypointAuditor.zip. its extremely hackish and VERY unpolished, but it works. you can write a server map rotation file from it. One thing i would SERIOUSLY suggest somebody do is do this tool from scratch (or i may do it i dunno) in something that doesnt take forever with loads of maps. what it does really is take and run through the directory that contains all your maps (GCFScape for the win) and says "does xxx.bsp have xxx.ext?" if so, cool. if not, boo. if xxx.ext exists, yay?
it color codes things too :3

it requires .NET 2.0 (included with Vista and most recent XP installs, but is availible from m$
  
Reply With Quote
Re: map scan for waypoints
Old
  (#5)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: map scan for waypoints - 10-05-2008

Is this closed source project or what? Can we see the sources of Your tool? How does it work? Can You write step by step the algorithm how does it work?
  
Reply With Quote
Re: map scan for waypoints
Old
  (#6)
indrora
Member
 
Status: Offline
Posts: 2
Join Date: May 2008
Default Re: map scan for waypoints - 10-05-2008

Quote:
Originally Posted by KWo View Post
Is this closed source project or what? Can we see the sources of Your tool? How does it work? Can You write step by step the algorithm how does it work?
i've lost the source but the algorythm is simple:
  • make sure that we have a config file availible. if so, load its settings.
  • if the audit button is pressed, start audit process and pause main window
the audit process is:
  • fire up the audit window
  • make sure the map and waypoint locations are cool
  • get all maps
  • get all waypoints.
  • walk through all maps
  • ask each map "does map.ext exist?" (where that is the waypoint file)
  • if so, add to the "has" list
  • if no, add to the "nohas" list
  • walk through all waypoints
  • ask "does this map exist?"
  • if so, ignore
  • if not, add to the "orphan list"
  • list has with checkmarks
  • list nohas with x's
  • etc
i'm working on a C# version that will be totally open and backed up.
  
Reply With Quote
Re: map scan for waypoints
Old
  (#7)
vktRus
Member
 
Status: Offline
Posts: 2
Join Date: Feb 2009
Default Re: map scan for waypoints - 21-02-2009

Excellent. And when that will happen?
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com