Author Topic: help!  (Read 2975 times)

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« on: July 04, 2009, 07:16:50 AM »
I've got a bot that i want to AI but the game crashes when i face it.
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline man manu

  • Heavyweight
  • Posts: 627
  • Rep: 0
    • View Profile
    • Awards
help!
« Reply #1 on: July 04, 2009, 07:23:30 AM »
You have obviously AI's it wrong then. Tell us exactly what you did and maybe somebody that doesn't totally hate you may take the time to try and halp you out.
Son of a fat bold guy!
[SIGPIC][/SIGPIC]
http://roundy99.mybrute.com

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« Reply #2 on: July 04, 2009, 08:16:55 AM »
here is the line right now.
 list.append(("Shredder from UK! ","DirectionalSpinner",{'nose':math.pi*2.25,'range':500,'radius':1,'topspeed':12,'throttle':130,'turn':60,'turnspeed':5,'weapons':(27,28,29,30,35,36,37,38,39,40,41,42,43,44,45,46,47,48,53,54)}))
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
help!
« Reply #3 on: July 04, 2009, 08:53:32 AM »
Probably because the nose only ranges from -math.pi to math.pi. Also, you have a spacing error in 'tur n'.
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« Reply #4 on: July 04, 2009, 08:58:00 AM »
thats a quirk of gtm in the bindings there isnt a spacing error.
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
help!
« Reply #5 on: July 04, 2009, 09:47:42 AM »
Oh, ok. Fix the nose then and check if it works.
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline JoeBlo

help!
« Reply #6 on: July 04, 2009, 09:55:37 AM »
you will find most times if anything in the bindings is wrong it will crash the game during load up, if the bot appears there and only crashes when you go to use it then either something is missing from the bindings or its name related

I remember in clash cubes 1 I spent a whole day trying to AI man manu's bot only to find the problem was a space after the name

easiest way is to export the bot (dont change the file name) open up robot designs right click the file > rename, right click and copy to get it exact

Offline Reier

  • Rieir
  • *
  • Posts: 8564
  • Rep: 8
  • I GOT 3RD IN RAW1
    • https://www.youtube.com/c
  • Awards old BOTM Winner
    • View Profile
    • Awards
help!
« Reply #7 on: July 04, 2009, 10:15:03 AM »
Also "Spinner from the UK (space) ". Maybe.
ALERT- Another WS coming up...
voted best bot builder two times and counting babayy. the best ra2 builder who has never won an actual tournament match
ReiAI pack for Ironforge
My drawings, and my webcomics
Why online PVP will save RA2
The problem with competitive IRL in RA2
I'm fine with hugging reier

Offline Urjak

  • *
  • Posts: 2753
  • Rep: 6
  • Shell Spinner King
    • http://www.youtube.com/wa
    • View Profile
    • Awards
help!
« Reply #8 on: July 04, 2009, 12:27:53 PM »
Another issue is that the problem could be in the Team.txt file, which controls the AI teams. Did you edit that page correctly?
Any comments would be appreciated. :D

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
help!
« Reply #9 on: July 04, 2009, 12:40:09 PM »
Dude, he have a "!" !

He can't export it!

Also, don't use double spaces...
Put this onto your signature if you were part of this crappy fad in '03.

Offline ACAMS

help!
« Reply #10 on: July 04, 2009, 01:05:50 PM »
Quote from: life robot arena2;48614
here is the line right now.
list.append(("Shredder from UK! ","DirectionalSpinner",{'nose':math.pi*2.25,'range':500,'radius':1,'topspeed':12,'throttle':130,'turn':60,'turnspeed':5,'weapons':(27,28,29,30,35,36,37,38,39,40,41,42,43,44,45,46,47,48,53,54)}))

Here is your problem..
"Shredder from UK! "
 
It should be
"Shredder from UK!"

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« Reply #11 on: July 04, 2009, 01:41:11 PM »
S32 do i have to remove the ! in the bot?
EDIT:ACAMS I did that and it crashed.
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline ACAMS

help!
« Reply #12 on: July 04, 2009, 01:59:16 PM »
Do you have DirectionalSpinner.py in your AI folder?
Make sure in the bot name that Shredder from UK! has ONLY one space between each.
Here is another problem.....DELETE THIS....,'tur n':60

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« Reply #13 on: July 04, 2009, 02:01:00 PM »
like i said the space error came on due to a GTM fail.
No i dont have directionalspinner.py in the ai folder but matilda works!
Hmm....
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline R1885

  • *
  • Posts: 2127
  • Rep: 3
  • Forum shopping list generator.
    • View Profile
    • Awards
help!
« Reply #14 on: July 04, 2009, 02:07:37 PM »
Quote from: life robot arena2;48711
like i said the space error came on due to a GTM fail.
No i dont have directionalspinner.py in the ai folder but matilda works!
Hmm....

Did you export it as Bot0, Bot1, Bot2, Bot3, Bot4, or Bot5?

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« Reply #15 on: July 04, 2009, 02:12:10 PM »
Bot2(well second time.)
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline ACAMS

help!
« Reply #16 on: July 04, 2009, 02:13:31 PM »
Replace your line with this WHOLE line
 
Code: [Select]
list.append(("Shredder from UK!","DirectionalSpinner",{'nose':math.pi*2.25,'range ':500,'radius':1,'topspeed':12,'throttle':130,'turnspeed':5,'weapons':(27,28,29,30,35,36,3 7,38,39,40,41,42,43,44,45,46,47,48,53,54)}))
And MAKE SURE you have DirectionalSpinner.py in your AI folder
 
Make sure you have the bot file and double check the name
 
 
Where did you come up with "DirectionalSpinner" anyway?
 
WOW..junky high dollar vBulletin DOES mess up ,'tur n':60,'

Offline life robot arena2

  • Super Heavyweight
  • Posts: 946
  • Rep: 1
    • View Profile
    • Awards
help!
« Reply #17 on: July 04, 2009, 02:17:11 PM »
*sigh*ACAMS i vainly checked the ai. no sight of directionspinner.py. please send it.
im up for life forever!:mrgreen:
ACHEIVMENTS
entered a rookie-bot for clash cubes 2

Offline takatsukiyayoi

  • Middleweight
  • Posts: 353
  • Rep: 0
    • View Profile
    • Awards
help!
« Reply #18 on: July 04, 2009, 02:18:11 PM »
Try using other AI.py files, see if that helps.

Offline ACAMS

help!
« Reply #19 on: July 04, 2009, 02:21:00 PM »
I don't have it is why I ask
 
Change the name to "Spinner"