Author Topic: AI tool wont work.  (Read 1766 times)

Offline 70 CUDA

  • *
  • Posts: 758
  • Rep: 2
  • Epic skulls= Epic win
  • Awards BOTM Winner
    • View Profile
    • Awards
AI tool wont work.
« on: November 11, 2008, 11:36:30 AM »
this week i started to AI my tourny bots but my bot exportor wont work and when i dl from GTM it has the same eror message as before i dled it. what the heck.
Holy crap they do exist!!!! :Rob2

Offline Gigafrost

  • *
  • Posts: 805
  • Rep: 0
  • You'll never know what I'll think of next.
    • View Profile
    • Awards
AI tool wont work.
« Reply #1 on: November 11, 2008, 12:41:22 PM »
Which bot exporter did you use? Did you .zip/.rar your bot files?

Offline 70 CUDA

  • *
  • Posts: 758
  • Rep: 2
  • Epic skulls= Epic win
  • Awards BOTM Winner
    • View Profile
    • Awards
AI tool wont work.
« Reply #2 on: November 11, 2008, 02:57:26 PM »
apanx_bot_exporter. i thought this is the one that shows you the component nubers for your AI ing. is it a iff programe? no it wont even open at all i get this
Holy crap they do exist!!!! :Rob2

Offline Gigafrost

  • *
  • Posts: 805
  • Rep: 0
  • You'll never know what I'll think of next.
    • View Profile
    • Awards
AI tool wont work.
« Reply #3 on: November 14, 2008, 08:40:48 PM »
Yeah (apparently) that was probably an old "wasusuableinthepast" program. The best way to upload a bot is to simply do it with GTM's file uploader or with some download program.

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
AI tool wont work.
« Reply #4 on: November 15, 2008, 09:27:26 PM »
It's not as good, but you can use apanx's earlier Export AI to find out the ID# and component type (SpinMotor, Weapon, etc.) of a bot's parts, but not the txt file name.

https://gametechmods.com/uploads/files/Export.zip

Just AI a bot with Export and it will create a txt file with the info in it when you do a battle.  (The modified __init__.py included in there is necessary for it to work).

I don't know what could be wrong with your exporter.exe.  It works on my computer.

And Gigafrost, this is a program to find out the ID numbers of components on bots.  Not to upload them on the internet.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline philetbabe

  • *
  • Posts: 497
  • Rep: 2
  • Drop D
    • View Profile
    • Awards
AI tool wont work.
« Reply #5 on: November 18, 2008, 03:26:37 PM »
you can also put this code in your AI , in the function 'activate', after the 'if active ...'

   fout = open("C:/tmp/mybotsId.txt", 'a') # change the file name if you want
   goon = 1
        i = 0
        while goon == 1:
             if i  > self.GetNumComponents(): break
            currentType =  self.GetComponentType(i)
            fout.write("identifier " + str(i) + " : " + currentType + "\n" )
            i = i+ 1
   if fout: fout.close()

(be aware of the indentation problem).

Offline 70 CUDA

  • *
  • Posts: 758
  • Rep: 2
  • Epic skulls= Epic win
  • Awards BOTM Winner
    • View Profile
    • Awards
AI tool wont work.
« Reply #6 on: November 18, 2008, 03:33:41 PM »
thanks guys the one for DL from here is broken.
Holy crap they do exist!!!! :Rob2

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
AI tool wont work.
« Reply #7 on: November 18, 2008, 04:18:01 PM »
Quote from: 70hemicuda;21181
apanx_bot_exporter. i thought this is the one that shows you the component nubers for your AI ing. is it a iff programe? no it wont even open at all i get this
(Image removed from quote.)


Downlaod this:
http://www.ascentive.com/support/new/images/lib/COMDLG32.OCX
Put it in C:\WINDOWS\System32\.
Then do Start->Run and type
Code: [Select]
regsvr32 \windows\system32\COMDLG32.OCX.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
AI tool wont work.
« Reply #8 on: November 18, 2008, 04:19:53 PM »
Quote from: philetbabe;22232
you can also put this code in your AI , in the function 'activate', after the 'if active ...'

   fout = open("C:/tmp/mybotsId.txt", 'a') # change the file name if you want
   goon = 1
        i = 0
        while goon == 1:
             if i  > self.GetNumComponents(): break
            currentType =  self.GetComponentType(i)
            fout.write("identifier " + str(i) + " : " + currentType + "\n" )
            i = i+ 1
   if fout: fout.close()

(be aware of the indentation problem).


Here, code tags:
Code: [Select]
fout = open("C:/tmp/mybotsId.txt", 'a') # change the file name if you want
goon = 1
        i = 0
        while goon == 1:
             if i  > self.GetNumComponents(): break
            currentType =  self.GetComponentType(i)
            fout.write("identifier " + str(i) + " : " + currentType + "\n" )
            i = i+ 1
if fout: fout.close()
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Madiaba

AI tool wont work.
« Reply #9 on: November 18, 2008, 04:36:24 PM »
Thanks for the reminder, Serge. I forget that this forum has that capability...
ACAMS is the man...
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...