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

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #60 on: November 11, 2009, 10:31:45 PM »
Quote from: ACAMS;78497
I just noticed this......that means I have to redo all I have done. (or atleast go through it and make the corrections)
 
Do you plan to find a fix for this soon?


In the bot exchange admin there will be an area to modify the components info.

thanks serge, I think I got it covered now.
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #61 on: November 12, 2009, 12:59:40 AM »
I probably shouldn't be up still but....

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 :CreateList "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :CreateList "%%b"))
goto Complete

:CreateList
findstr mass %file%
if errorlevel 1 (
echo %file% >> Problems.tmp
goto :EOF
)
for /F "tokens=*" %%c in (%file%) do set %%c
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

Just save it to whatever you want as long as the extension is ".bat"

This version prints out a separate file for all text files that cause errors or are missing values. It will also automatically add the styles folder to the main list.

Offline philetbabe

  • *
  • Posts: 497
  • Rep: 2
  • Drop D
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #62 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.

Offline ACAMS

I need some help With the bot exchange.
« Reply #63 on: November 12, 2009, 09:05:09 AM »
Quote from: Trovaner;78565
     
This version prints out a separate file for all text files that cause errors or are missing values. It will also automatically add the styles folder to the main list.

It would be a huge help if the error page would print..
 
Component Name, component.txt

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
I need some help With the bot exchange.
« Reply #64 on: November 12, 2009, 09:19:17 AM »
First option. A component DB is not that hard to make, seriously, it's just another SQL table and a script to parse txt files and dump the data to that table.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline ACAMS

I need some help With the bot exchange.
« Reply #65 on: November 12, 2009, 12:15:39 PM »
A component data base on gametechmods would be nice, but all I can do is fill it and host it.  Do we have a volunteer?

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #66 on: November 12, 2009, 03:13:50 PM »
The ][cer Parts have no .txt files, so what do I do now?
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 #67 on: November 12, 2009, 03:18:58 PM »
has it got a .cfz. if it has decompile it.

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
I need some help With the bot exchange.
« Reply #68 on: November 12, 2009, 03:22:26 PM »
Quote from: ACAMS;78593
A component data base on gametechmods would be nice, but all I can do is fill it and host it.  Do we have a volunteer?


I can try to whip something up in PHP.
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 #69 on: November 12, 2009, 03:50:35 PM »
Quote from: ashman12;78611
has it got a .cfz. if it has decompile it.


what decompiler should I use?
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 #70 on: November 12, 2009, 03:57:50 PM »
dont know.
would the make cfl/uncfl thing work.

Offline ACAMS


Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #72 on: November 12, 2009, 04:17:26 PM »
Thanks 'CAMS.
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 #73 on: November 12, 2009, 04:29:21 PM »
so thatll be why i couldnt get it to work.
silly mee.

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #74 on: November 12, 2009, 08:36:17 PM »
Quote from: ACAMS;78593
A component data base on gametechmods would be nice, but all I can do is fill it and host it.  Do we have a volunteer?


Actually, Doing this for the botexchange will create a component database.
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline JoeBlo

I need some help With the bot exchange.
« Reply #75 on: November 12, 2009, 08:46:05 PM »
it would be cool if after the bot exchange tells you the components, go through a database and click on each individual component and it downloads it

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #76 on: November 12, 2009, 08:49:35 PM »
Quote from: JoeBlo;78662
it would be cool if after the bot exchange tells you the components, go through a database and click on each individual component and it downloads it


it will.
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline H@zm47

  • Middleweight
  • Posts: 382
  • Rep: 0
    • View Profile
    • Awards
I need some help With the bot exchange.
« Reply #77 on: November 13, 2009, 06:18:07 AM »
Lu-Tze's Component Pack v1.9 (https://gametechmods.com/Robot_Arena2/Components/LT_Components1.9.exe)

Beltdrive Motor, lt_beltdrive1.txt, 30kg

Balance Caster, lt_caster1.txt, 6kg

Chainsaw, lt_chainsaw.txt, 8kg

Large Crossbow, lt_crossbow.txt, 65kg

Windoze Desktop Cannon, lt_desktop.txt, 30kg

Lightweight Mauling Disc, lt_disk.txt, 15kg

Spinner Drum, lt_drum.txt, 10kg

Double Axle Motor, lt_dxmotor.txt, 40kg

Micro Flamer, lt_flamer.txt, 36kg

Flame Poker Spike, lt_fspike.txt, 14kg

Hazard Blade, lt_hazardblade.txt, 18kg

Hex Plate, lt_hex1.txt, 5kg

Metal Hinge, lt_hinge.txt, 12kg

Carbon Kevlar Sheet, lt_kevplate.txt, 15kg

Bloody Great Lance, lt_lance.txt, 35kg

Light Sabre, lt_litesabre.txt, 6kg

Micro Cannon, lt_mcan.txt, 35kg

Cold Fusion Reactor, lt_reactor.txt, 100kg

Cold Fusion Reactor Exhaust Catcher, lt_reactorex.txt, 100kg

Tank Tracks, lt_tanktrak.txt, 20kg

Tuff Weapon Motor, lt_tuffmotor.txt, 20kg

Microshot Windoze PC, lt_winpc.txt, 8kg

Styles coming soon.
Achievements:
BBEANS 6: What Shell Spinner? (2-1 - 3 KOs and 4 WBPs)
RAW 2: Smoke and Mirrors (1-0:2 KOs and 1 TKO)
Clash Cubes 3: Shortsighted Surgeon ][ (Finished 15th)
UK vs USA: The Matador (USA) (Eliminated Round 1)

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
I need some help With the bot exchange.
« Reply #78 on: November 13, 2009, 07:59:01 AM »
Quote from: goose;78663
it will.


I damn sure hope you'll release some sort of API for all of this.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
I need some help With the bot exchange.
« Reply #79 on: November 14, 2009, 07:48:49 PM »
BBEANS prizes - no link for these.  If someone puts a bot with BBEANS prizes on the bot exchange, that's just mean.

Champion's Sword, champsword.txt, 40
Champion's Sword Hilt, styles/swordhilt.txt, 1
Stacked SuperVolt, stackvolt.txt, 60
Nifty 6V Battery/Control, stacknifty.txt, 16

Champion's Sword, champsworddsl.txt, 40
BBEANS Blade, bbeansblade.txt, 130.3
BBEANS Hammer, bbeansham.txt, 120
Armored Magmotor, bbeansmag.txt, 35

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