Author Topic: I need some help With the bot exchange.  (Read 12428 times)

Offline nicsan2009

  • Ultra Heavyweight
  • Posts: 1836
  • Rep: 5
  • Here we go again!
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
I need some help With the bot exchange.
« Reply #80 on: November 14, 2009, 10:38:53 PM »
done with the AU power pack (ithink?!)
Hosted 2 Legit 2 Quit tourney Congrats Somebody
Hosted 2 Legit 2 Quit 2 congrats to Plazmic Inferno as well as Somebody (again)
Hosted RA2 World Cup Congrats to Senstro
Hosted TGRR congrats to 090901
ITAT Tournament- Champion
Beetle Bashers- Champion
Father and Son Tournament 2- Champion
GTM All Stars- HW Champion; MW runner up
Father and Son Tournament- Runner up
All Time Record 51-36

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #81 on: November 16, 2009, 01:59:16 AM »
Quote from: nicsan2009;78998
done with the AU power pack (ithink?!)

nope you did it wrong. you sent me this:
AU burst txt file https://gametechmods.com/Goose/Text_Files/auburst.txt weight 55 name AU burst

Ztek AU txt file https://gametechmods.com/Goose/Text_Files/ztekAU.txt weight 65 name Ztek AU

hole pack download https://gametechmods.com/uploads/file...wer_Pack_1.rar
sorry once again (i had trouble finding the txt files)
 
it needed lo look like this:
AU power pack(https://gametechmods.com/uploads/file...wer_Pack_1.rar)
AU Burst,auburst.txt,55
Ztek AU,ztekAU.txt,65
 
But you gave me a bad download link. you should give me the link that is already on GTM.
 
Thanks for trying to help, but you really dont get what I need.
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline ACAMS

I need some help With the bot exchange.
« Reply #82 on: November 16, 2009, 07:03:52 AM »
I will do them all for you now that Trov made the text file printer (tho I wish the error with no weight would print "Component Name, Component.txt....instead of just plain ol Component.txt)
 
I am having to open the gmf of about half of DSL to get the weight, and type the component name too.
 
If you need something to work with I will send you files with incorrect weight.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #83 on: November 16, 2009, 06:16:04 PM »
Sorry for the delay, I've had this done for a while but I haven't had the time to post it until now...

This version lists what problem it ran into before listing everything that it was able to extract:
Code: [Select]
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
::What To Do -
::  1. Put this in the same folder as the RA2 component text files
::  2. Double click this batch file
::  3. Save the file or copy/paste it into something else
::  4. Complete the formatting listed here: https://gametechmods.com/forums/showthread.php?t=2714
::  5. Reply to the above thread with your results

for %%a in (*.txt) do (set file=%%a & call :Create "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :Create "%%b"))
goto Complete

:Create
for /F "tokens=*" %%c in (%file%) do set %%c
findstr /b mass %file%
if errorlevel 1 (
findstr /b name %file%
if errorlevel 1 (
::Loaded if the file is not being loaded correctly or if it is not a component text file
set file=%file:styles\=%
echo FileError: %file% >> Problems.tmp
goto :EOF
)
::Loaded if the mass value is not listed in the text file
set file=%file:styles\=%
echo MassError: %name :~1%, %file:~0,-1% >> Problems.tmp
goto :EOF
)
::Loaded if there were no problems
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1%,%mass % >> TextFileList.tmp
goto :EOF

:Complete
if exist Problems.tmp (
START /w NOTEPAD.EXE Problems.tmp
del Problems.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp

Or you could use this version if you would prefer not to have the error listed before the info (instead it is listed as the file name):
Code: [Select]
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
::What To Do -
::  1. Put this in the same folder as the RA2 component text files
::  2. Double click this batch file
::  3. Save the file or copy/paste it into something else
::  4. Complete the formatting listed here: https://gametechmods.com/forums/showthread.php?t=2714
::  5. Reply to the above thread with your results

for %%a in (*.txt) do (set file=%%a & call :Create "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :Create "%%b"))
goto Complete

:Create
for /F "tokens=*" %%c in (%file%) do set %%c
findstr /b mass %file%
if errorlevel 1 (
findstr /b name %file%
if errorlevel 1 (
::Loaded if the file is not being loaded correctly or if it is not a component text file
set file=%file:styles\=%
echo %file% >> FileError.tmp
goto :EOF
)
::Loaded if the mass value is not listed in the text file
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1% >> MassError.tmp
goto :EOF
)
::Loaded if there were no problems
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1%,%mass % >> TextFileList.tmp
goto :EOF

:Complete
if exist MassError.tmp (
START /w NOTEPAD.EXE MassError.tmp
del MassError.tmp
)
if exist FileError.tmp (
START /w NOTEPAD.EXE FileError.tmp
del FileError.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp

Offline ACAMS

I need some help With the bot exchange.
« Reply #84 on: November 16, 2009, 06:59:04 PM »
I like the second one best, but it only does 7 lines in DSL then it does 17 error lines when there is about 300 components.

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #85 on: November 18, 2009, 02:40:01 PM »
Quote from: Serge;78691
I damn sure hope you'll release some sort of API for all of this.


What kinda stuff would you want access to, and what kinda stuff would you want to do?
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
I need some help With the bot exchange.
« Reply #86 on: November 21, 2009, 04:25:05 AM »
Quote from: goose;79417
What kinda stuff would you want access to, and what kinda stuff would you want to do?


Mainyl the component database. Just a php script that gathers a GET rquest and throws an XML file with info about a component.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #87 on: November 21, 2009, 08:40:01 AM »
icerparts (https://gametechmods.com/Robot_Arena2/Components/icerparts.zip)

][cer AA 1.5v Battery, aabatt.txt, 1.5kg

][cer Bulldozer, bulldozer.txt, 35kg

Fedexrico's Magic Mushrooms (Green), magicmush0.txt, 25kg

Fedexrico's Magic Mushrooms (Red), magicmush1.txt, 23kg

Fedexrico's Magic Mushrooms (Violet), magicmush2.txt, 28kg

Fedexrico's Magic Mushrooms (Yellow), magicmush3.txt, 20 kg

Fedexrico's Magic Mushrooms (Blue), magicmush4.txt, 36kg

][cer Over-Kill Blade, overkillb.txt, 15kg

][cer Pole Extender SUPERstrength, pole1_ext.txt, 45kg

][cer Pole Extender (Regular), pole2_ext.txt, 38kg

][cer Metal-Ripper (Large), ripper.txt, 32kg

][cer Metal-Ripper (Medium), ripper2.txt, 25kg

][cer Metal-Ripper (Small), ripper3.txt, 18kg

][cer Spiked-Ramplate, spikeram.txt, 65kg

The Silver Slicer, sword.txt, 18kg

If there is something wrong with this or something missing just tell me and I'll fix it.

txt for what I just posted:https://gametechmods.com/Goose/Text_Files/Icerparts components.txt
« Last Edit: November 22, 2009, 09:18:16 AM by Somebody »
I built that big robot on that TV show that time


Offline ashman12

  • Super Heavyweight
  • Posts: 876
  • Rep: 0
  • Insanity is my only means of relaxation...
    • http://www.facebook.com/h
    • http://www.youtube.com/us
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
I need some help With the bot exchange.
« Reply #88 on: November 21, 2009, 09:07:05 AM »
Sliders components.https://gametechmods.com/uploads/files/Sliders_Components.zip

pack 1 https://gametechmods.com/Goose/Text_Files/Slider Components pack 1.txt

HexPlate, hexplate.txt , 15
Li-IonBatteryPack, lionbatt1.txt , 12
Liquid-CooledMotor, liquidcooledmotor.txt , 23
Propeller, propeller.txt , 26
GoldenSpikedBall, spikeball1.txt , 15/20/25
StingerBurstPiston, stingerburstpiston1.txt , 33
StingerLinearActuator, stingerlinear_actuator1.txt ,  34
StingerServoPiston, stingerservopiston1.txt , 33

pack 2 https://gametechmods.com/Goose/Text_Files/Slider Components pack 2.txt

Bat, bat1.txt , 20/15/10
BrokenBottle, bottle.txt , 6
Dual-AxleSpinMotor, dualaxle1.txt ,40
VariousHammers, hammers.txt , 10/10/12/12
LooseHinge, loosehinge.txt , 6
LargePadlock, padlock.txt , 8
SpiderAxe, spideraxe.txt , 20
SpiderRamplate, spiderplate1.txt ,10/10/12
Uruk-HaiBlade, urukblade.txt , 13


Megabytes components https://gametechmods.com/uploads/files/MB_Components2.zip

txt https://gametechmods.com/Goose/Text_Files/1162Megabytes components.txt

ServoMotorchangedintoBurstMotor, burst_servo.txt , 22
SnapperIIBurstmotorHackedintoSpinmotor, hackedburst.txt , 13
RCCarMotor, rc.txt , 11

both of sliders component packs are in the one zip.

tell me if i have uploaded it wrong.

Offline ACAMS

I need some help With the bot exchange.
« Reply #89 on: November 28, 2009, 02:03:42 AM »
Anybody seen Trov lately?

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #90 on: November 28, 2009, 02:36:26 AM »
He was online for a few minutes yesterday, but I don't think he posted anything.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #92 on: November 28, 2009, 05:21:20 AM »
Quote from: Naryar;81274
http://www.robotcombatgames.com/botexchange.php


Bahaha! :lol:
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #93 on: November 28, 2009, 10:30:27 AM »
Quote from: ACAMS;81259
Anybody seen Trov lately?

I've been visiting the forums everyday but haven't said much... I've been very busy lately but it looks like I'll have more time next week...

In regards to the batch file, I ran into several issues related to the DSL components. For those interested in what needs to be fixed:
1. Anything with parenthesis in the component name is currently causing an error that stops the batch file.
2. One component had a capital "M" for the "mass" setting (I need to make sure that RA2 isn't being case sensitive, too)

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: I need some help With the bot exchange.
« Reply #94 on: December 08, 2009, 12:18:37 AM »
This time I tested it with DSL and did not get any major problems. AlthoughI still need to look into problem #2 (listed in previous post), this version should work.
Code: [Select]
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights

for %%a in (*.txt) do (set file=%%a & call :Create "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :Create "%%b"))
goto Complete

:Create
for /F "tokens=*" %%c in (%file%) do set %%c
findstr /b mass %file%
if errorlevel 1 (
findstr /b name %file%
if errorlevel 1 (
::Loaded if the file is not being loaded correctly or if it is not a component text file
set file=%file:styles\=%
echo "%file:~0,-1%" >> FileError.tmp
goto :EOF
)
::Loaded if the mass value is not listed in the text file
set file=%file:styles\=%
echo "%name :~1%", "%file:~0,-1%", >> MassError.tmp
goto :EOF
)
::Loaded if there were no problems
set file=%file:styles\=%
echo "%name :~1%", "%file:~0,-1%",%mass % >> TextFileList.tmp
goto :EOF

:Complete
if exist FileError.tmp (
START /w NOTEPAD.EXE FileError.tmp
del FileError.tmp
)
if exist MassError.tmp (
START /w NOTEPAD.EXE MassError.tmp
del MassError.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
Re: I need some help With the bot exchange.
« Reply #95 on: December 09, 2009, 11:17:26 AM »
Was my notepad file good or not?
I built that big robot on that TV show that time


Offline ACAMS

Re: I need some help With the bot exchange.
« Reply #96 on: December 09, 2009, 11:21:32 AM »
Yes, it was....THANKS

So was the one H@zm47 did. I will put them all togather along with the ones I have and get them to goose as one big set.

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
Re: I need some help With the bot exchange.
« Reply #97 on: December 09, 2009, 11:24:23 AM »
OK just making sure.
Thanks ACAMS.
I built that big robot on that TV show that time


Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: I need some help With the bot exchange.
« Reply #98 on: December 09, 2009, 11:25:11 AM »
Here's the BBEANS Stock AI (http://beetlebros.gametechmods.com/files/bbeans_ai.rar)

Stacked SuperVolt, stackvolt.txt, 60
Nifty 6V Battery/Control, stacknifty.txt, 16
Spinner from the west, sftw.txt, 243.2

Here's a .txt: https://gametechmods.com/Goose/Text_Files/stockbbeansai.txt

(I know Click already posted the two batteries, but this contains a link to them)
« Last Edit: December 14, 2009, 12:23:14 AM by G.K. »
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)