Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - philetbabe

Pages: [1] 2 3 4 5 6 7 8 ... 26
1
Tournament Archives / Re: RIP3 Discussion/Ideas
« on: June 28, 2012, 01:12:51 PM »
https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar

Philetbabe made it a fair while back, I've always found it invaluable as a tool and reference, even when I brushed up my AIing to make PokAImon.


you're nice

2
Modifications / Re: PhF 100 opponents
« on: December 12, 2011, 03:37:58 PM »
Ohai pb.
Looks interesting, though I might just have to try and put it on DSL.

here is it with Nar AI pack (280 Mo but with all the stuff -ra2.exe, etc- not only the AI and the Mixer ) : http://www.megaupload.com/?d=76BLNEZV

3
Modifications / Re: PhF 100 opponents
« on: December 12, 2011, 03:31:46 PM »

4
When my bot loads  in the game, it says runtime error. What do I do?
Anyway, here is a picture of my bot:

I now I made correct bindings.

if your bot is AIed :
if RA2 crashes before showing the arena the most common reasons are :
- your bot use unreferenced  components (much as if you take a DSL bot and put it in a  stock context)
-the binding is no good :
   -blank (white space)  used instead of tabulation
   -name error (name get white space you didn't notice) ,  AI name error,  missing ')', missing ',', case sensitive error
  -double binding with the same name, and last one is with error (but your always looking at the first one)
 -correct binding, but you don't have the associated AI ( the file something.py that should exist under your AI/ folder)

if it crashes after showing the arena and the countdown ... well you have touched the something.py.

if your bot is not AIed :
maybe this is your file RA2/teams/teams.txt that is corrupted.
Correction is not easy. this is what i adive :
-take a file RA2/teams/teams.txt from a good archive and erase yours.
-under RA2, re-creae teams (but do not create bots in these teams)
-exit RA2 and edit the file  RA2/teams/teams.tx
-for each team that got bots, modify the line
Code: [Select]
Robots:
by
Code: [Select]
Robots: 0 1 2 3 4 5
if you've gor 6 bots for your team.

Easiest way (file teams.txt corrupted)  :
-Copy your file RA2/teams/teamnumber/bot0 under RA2/teams/Robot design
-do the same for each of your bot
-take a file RA2/teams/teams.txt from a good archive and erase yours : you have loosed all of your teams but your bots maybe imported.

last spring : (if your bot is not AIed) : send me your file teams.txt

  last spring : (if your bot is AIed) : send me your file binding .py

please, give feedback

5
this is the picture of the bot :


As long as they are human controled, servo piston works well. However, their control by program seems to be eratic. At last, one must thinks to stop the extent/retract order, otherwise the airtank will quickly be empty.
 
Code: [Select]
         #define identifier of servo-Piston
         goon = 1
         i = 0
         while goon == 1:
            if i  == self.GetNumComponents(): break
            currentType =  self.GetComponentType(i)
            if currentType == "ServoPiston":
               self.PistonFound += 1
               if self.PistonFound == 1 : self.PistonOne = i
               else:
                  self.PistonTwo = i
                  break
            i = i+ 1   

...

         pos1 = self.GetPistonPosition(self.PistonOne)
         pos2 = self.GetPistonPosition(self.PistonTwo)

         if  self.IsUpsideDown() :
            self.InverterTime = self.reloadDelay
            if   (pos1 < -0.2 ) or (pos2 < -0.2 ) :
               self.Input("SPExtend", 0, 1)
            else  :   
               self.Input("SPExtend", 0, 0)           
               self.Input("SPRetract", 0, 0)
         else :
            if   (pos1 > -0.15 ) or (pos2 > -0.15 ) :
               self.Input("SPRetract", 0, 1)
            if (self.InverterTime <= 0) :
               self.Input("SPExtend", 0, 0)           
               self.Input("SPRetract", 0, 0)
               self.Input("Inverter", 0, 1)
               self.InverterTime = self.reloadDelay

6
Contests / Re: Vote BOTM March 2011
« on: February 27, 2011, 04:01:09 PM »
#1 Chimera is certainly a good bot, even a very good bot ....  but classic
#2 With it 4 wheels, nice snowplow is the best build with #6
#3 won't beat much bots (oh sorry, may beat some weaker starecore..) anyway, this is the one that most feats its name, it is beautiful indeed, and beautiful bots are not common.
#4 i would like to see it in action, those hammer may be deadly, but i doubt about its traction, isn't this bot too slow ? does it turn well ?
#5 colored ! Also the lone that use cheatcode as said before, i regret i can't see inside it
#6 modern, well skined, best build with #2
#7 : best skined : much like #3 a big effort with skin design
#8 : Every one did start at a  time, the bot is not so bad for medium builder,  the real problem with #8 is the writing : mostly unreadable

so i vote for .... Poetry and #3

7
Modifications / Re: Unlimited Mass Mod | SergePatcher
« on: February 25, 2011, 01:46:40 PM »
Serge is an open mind opening  new horizons .
but every one cannot be its disciple : And there i just get stuck  of what you can done.

8
Stock Showcases / Re: Pwnator's Stock Showcase
« on: February 25, 2011, 01:41:10 PM »
There's a long time i haven't take a look at bot showcase.
I'm very impressed by the new way of building.
Very nice.

9
b) How are you achieving the downwards motion? Just applying a force from the AI script?
yes just poor force : i've tried to build a ai only relaying on force (no hover craft component), but if it was easy to move the bot, its chassis was  extremly instable, never staying horizontal. Force are only applied on the G point on the bot, not uniformaly on the chassis.

Yet i'm working on a bot moving invertible and using servo piston.Look closely how the pistons  retract before the bot goes upsidedown.

Any way, servo pistons seem to have some bug  when aied.


http://www.youtube.com/watch?v=opYuj5GwF8A&feature=player_detailpage#
               

10
General Support / Re: Is it possible to mix and match AI teams?
« on: February 20, 2011, 02:10:02 PM »
there's a chapter about 'replacing a AI bot with one of your own'. It's not so far from your need.
read, be sharp and try.

11
General Support / Re: Is it possible to mix and match AI teams?
« on: February 20, 2011, 01:51:20 PM »
As long as it is possible to create new teams, what you're talking about is also possible.
you must create a new team folder, the new entry in the file teams.txt and be sure the file bindings.py also lists your bots.
to learn a bit about that (create a new folder, how to bind) -> have a look at the file 'AIChart' in my sig (this is a cooperative work, i'm not the lone creator).
Warning  : save you RA2 folder first, if you fail modding your files, RA2 will crash !

However, in 'events' you can only fight bots from the 16 first AIed teams.
Changing the order of the teams so the first team Will become the 19th and the 19th the first is another challenge...

13
Tutorials and Tips / Re: AI-ing (.py files, coding, R+D, and help)
« on: January 27, 2010, 01:34:50 PM »
you've got another parameter called delta; it is used to say that an angle is corerct even if does not really aim the good direction.
the higher, the more tolerance

here are sample use of delta :
Code: [Select]
   Line 973:     list.append( ("head on", "LaserGuidedV3",{ 'servonose':1, 'range':80, 'radius':2.5, 'servorange':2.8,'delta':0.25, 'servospeed':50, 'topspeed':99, 'mayFire':True, 'throttle':130,'weapons':(1,2,3,4,5,6,7,8,9)}))
   Line 974:     list.append( ("BJM servo", "LaserGuidedV3",{ 'nose':math.pi,'range':80, 'radius':3, 'servorange':2,'servonose':-1,'delta':0.15, 'servospeed':60, 'topspeed':99, 'mayFire':False, 'throttle':130,'weapons':(1,2,3,4,5,6,7,8,9)}))


14
Tutorials and Tips / Re: AI-ing (.py files, coding, R+D, and help)
« on: January 27, 2010, 12:38:50 PM »
I was AI'ing a bot with LaserGuidedV3 but whenever I test it, the servo spins away from the bot

Here's the bot:

And bindings:
Code: [Select]
    list.append(("Sowobot","LaserGuidedV3",{'servonose':-1,'range':80,'radius':1,'servospeed':60,'topspeed':99,'mayFire':True,'throttle':130,'weapons':(20,21,22,23)}))
I have also tried servonose:1, nothing really changes.

Help would be appreciated.

you may try with 'servonose':-0.5 or 0.5
another problem may be due to the fact that servo motor are very weak : they cannot support heavy weight and are quickly unable to move. Use the 'biggest' servo available.

15
Modifications / Re: NAR AI pack releases !
« on: January 24, 2010, 01:38:13 PM »
it seems that team 'Dark Factory of Mass Production' lacks bindings lines.
i found nothing for revelation, Blind Destruction, etc (or maybe i crashed something on my computer).

16
Modifications / Re: NAR AI pack releases !
« on: January 14, 2010, 12:15:27 PM »
much like a silent observer yet... to much concerned with my new electric guitar yet (cort m520), but one day, i'll really be back, alive and active.

i think i will work on flying AI for some new kind of battle

17
Modifications / Re: NAR AI pack releases !
« on: January 14, 2010, 12:05:24 PM »
Thank You Naryar for the BIG amount of job done and your generosity toward the RA2 community.

RA2's still alive thank's to people like you.

18
Discussion / I need some help With the bot exchange.
« on: November 12, 2009, 05:07:14 AM »
it seems there's a big deal with the weight calculation.
- First idea is to parse the xx.bot, notice the components used, use a kind of database to retrieve the weight of each component, than calculate the chassis weight, sum all -> get the final weight ! this seems to be your path.

-second idea should have been to computer-drive RA2, load the bot in the lab and parse the standard output to get the calculated weight -> i've seen no way to make any 'free' revamping with  RA2

-third idea should have been to modify the main.py (or another.py) so the uploader calls RA2 which load a bot, calculates the weight than exit before awaiting any user input. : I did not found anyway to force a bot loading par program.

remains a last idea : if you can't do it the simple way -> don't do it, let someone else do it for you  : so the uploader will do nothing : this is the bot-sender responsibility to provide the weight: It may be done manually or by 'modifying' the practice arena that should deliver a textfile that gives bot weight (and any other information) . The bot-sender 'packs' its bots and the description file in a .zip. The uploader just verifies that both information are available (and may be in 'good format').
To my point of view, this last solution is the easiest one.

19
Other Tutorials / Joe's Arenas (Mods, Tweaks & Notes)
« on: November 03, 2009, 08:29:17 AM »
Quote from: Madiaba;76544
Nice thread, Joe..


fully  agree

20
General Support / AIing problem
« on: October 23, 2009, 04:49:54 AM »
- unknown AI (you don't have the corresponding .py)
- open quote  never closed in binding (most of the time : early crash)
- unmatched  parenthesis (most of the time : early crash)
-(after countdown) undeclared variable or constant (case where you write your own AI)

Pages: [1] 2 3 4 5 6 7 8 ... 26