Author Topic: Bot Exchange (WIP)  (Read 3946 times)

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Bot Exchange (WIP)
« on: February 14, 2013, 06:23:38 PM »
As I mentioned in the Paint Job thread, I am working on a new bot exchange.

I do not want to step on anyones toes but if Serge or Goose decide to continue working on their versions, I would be glad to assist them by any means necessary. Ideally, I would like to merge all our work together but I'm not holding my breath for this (Serge has already said that he didn't want to mess with Goose's code due to the difference in programming languages). Also, while we are on this topic, please do not PM either of them about this. I have already done so and it is unnecessary to fill up their PM boxes.

Moving on...

Things that I have done:
  • A PHP program that parses the bot file. This is able to extract quite a bit of information about the bot.
  • A python program that parses the bot file. This is basically the same as the above but it would be similar to the one used by Serge and PyRA2. This probably won't be used but I'm listing it anyways.
  • A PHP program that converts TGA files into JPG files. The preview image starts out as a TGA file and it needs to be converted before we can use it on the site.
  • Create an interface for listing all the bots.
  • Link all the files related to uploading so that they run sequentially.
  • Integrate a MySQL database for performance and future enhancements.
  • Create an interface for uploading new bots.
  • Associate forum accounts to builders so that you don't need to give it as a separate input.
Things I still need to do before it gets released:
  • Make things presentable (code and appearance).
  • Fix serious security issues.
  • Fix serious performance issues.
  • Catch obvious errors (like an invalid BOT file)
  • Detect category that it should go into (I wasn't planning on this but it is much more important now that DSL3 Beta has been released)
Things I want to include after it is released:
  • Staff controls (like an easy way to delete someone's bot or change one of the fields)
  • An easy way for me to delete a bot in the list.
  • A search box with refinement/filtering options.
  • A 5-star ranking system.
  • An easy way for builders to remove their bots or modify them.
  • A bot page for posting screenshots and AI bindings.
  • A list of component packs necessary for using each bot. Goose left some of this stuff on the server so I might be able to borrow some of his work for this.
  • Version controls. The ability to have different versions of the same bot on the same bot page or have the different bot pages link to each other.
  • A detection system to prevent duplicate uploads.
  • A detection system to identify chassis/bot stealing.
  • Batch downloads. An easy way of download bots as a zip.
  • Virtual teams. Associating bots as being part of a team.
  • Post to Thread button (download link and all the images)
  • Use as Profile Pic button (referring to the preview picture)
  • List paging that is compatible with list sorting (I had troubles getting both to work at the same time...)
Questions/Comments/Criticisms welcome.

Offline Mr. AS

  • TheGloriousCarbideArstotzkanIronsideChaosProtocol
  • *
  • Posts: 7557
  • Rep: 19
    • robotarenagtm
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #1 on: February 14, 2013, 06:26:15 PM »
ive always wanted a way to put bindings on the exchange. trov as admin is going to be great
How you make Alarm Clock Pizza is:
Step 1: You buy an alarm clock from the store, and then you have to break it and put it in the sauce.
Step 2: Fold the sauce in 5 slices and put it in the dough.
Step 3: Paint the eggs with a pitcher of a clock showing what time you want to wake up and eat pizza for breakfast.
Step 4: Put the eggs in the dough.
Step 5: Make it flat into a round shape and draw the time you want on it.
Step 6: Put some old steel to prevent other peple from stealing it.
Step 7: Make it flat and cut into 60 slices 1 for each minute in 1 our.
Step 8: Put in the oven set the timer to 30048813.2884 seconds and put the temperature on 'Volcano' setting.
Step 9: If you think it is take to long, then get yor alarm clock and set it to now so that it will ring and you can take it out.
Step 10: Take it out uv the uvin wen it is redy and go to bed. In the morning eat pizza and also eat yor hands bi mistake.

Offline kill343gs

Re: Bot Exchange (WIP)
« Reply #2 on: February 14, 2013, 07:25:23 PM »
Just a suggestion, I would make "Associate forum accounts to builders so that you don't need to give it as a separate input." a feature before you release it if you plan on releasing it at all. If you do it without now, the changeover later on to include all previously uploaded bots under a user's linked account would likely be a nightmare. Or I could be completely wrong, I have no idea what I'm talking about.


For once the mods did something right
#MakeGTMGreatAgain

Offline MassimoV

  • I Move Weight
  • *
  • Posts: 8924
  • Rep: 25
  • I make rap for people of Serbia
    • MassimoVTV
  • Awards BOTM Winner
    • View Profile
    • Mourning Glory
    • Awards
  • See profile for gamer tags: Yes
  • Skype: myhandsarefood
Re: Bot Exchange (WIP)
« Reply #3 on: February 14, 2013, 08:36:25 PM »
Looks like you already got alot of great work done.

Offline ianh05

  • *
  • Posts: 2778
  • Rep: 4
  • Stock AW Builder and Tourney Host!
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #4 on: February 14, 2013, 11:29:06 PM »
Great to see we can post screenshots, that means people can make their own splashes to go with the bots :D also nice idea with the bindings, should be very helpful.
Check out my UI Improvements topic for stuff like longer team/bot import lists:
https://gametechmods.com/forums/index.php?topic=13324.0
How to make awesome splashes with paint:
https://gametechmods.com/forums/index.php?topic=13310.0
My showcase filled with antweights:
https://gametechmods.com/forums/index.php?topic=1595.0
How to AI: For newbies (with pics!):
https://gametechmods.com/forums/index.php?topic=13814.0
Best tournament results:
Tag Team Challenge and CombatAnts 3: runner-up
Around the World: 3rd place.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #5 on: February 15, 2013, 12:10:26 AM »
Just a suggestion, I would make "Associate forum accounts to builders so that you don't need to give it as a separate input." a feature before you release it if you plan on releasing it at all. If you do it without now, the changeover later on to include all previously uploaded bots under a user's linked account would likely be a nightmare. Or I could be completely wrong, I have no idea what I'm talking about.
Based on the information that I had given you, you would have been correct about it being a hassle. However, I also planning on creating a MySQL database entry for each bot that is added to the exchange. The advantage of doing this is that it would create a reference from bot to builder (and visa versa) that I could also use for implementing a number of the extra features that I mentioned.

Also, I know it appears as though I haven't done much (only 2 things on the done list) but parsing the bot file is one of the hardest things that I have listed and I have spent this week working on the interfaces. I also upgraded the wiki on Monday and tried fixing that login error on Tuesday and Wednesday.

Offline Jack Daniels

  • *
  • Posts: 2719
  • Rep: 9
  • Losing Tournaments with Style
    • matt.morrill.12
  • Awards BOTM Winner
    • View Profile
    • My abandoned online RPG project.
    • Awards
Re: Bot Exchange (WIP)
« Reply #6 on: February 15, 2013, 03:58:24 AM »
Oh wow. I like where this is going. <3

Offline Badger

  • Permanent Artifact
  • Giga Heavyweight
  • Posts: 6298
  • Rep: 2
  • I wish to be with my people
  • Awards BOTM Winner Donated money for site hosting 2019
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #7 on: February 15, 2013, 06:20:07 AM »
This sounds brilliant. An option to make the bot unlisted would be useful for those entering tourneys with previously unseen bots.
also lol at most toxic guy around calling others out on this sh**
Google Drive with my newer bots

Offline 090901

  • alcoholic in denial
  • *
  • Posts: 7006
  • Rep: 22
  • :mrgreen:
  • Awards Donated money for site hosting 2019 GTMCS2 Divison Winner GTMCS Division Winner
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #8 on: February 15, 2013, 09:30:17 AM »
This sounds brilliant. An option to make the bot unlisted would be useful for those entering tourneys with previously unseen bots.
That's kinda pointless since we have the file uploader and It would suck to have like half the bots be hidden.

Offline Jonzu95

  • Giga Heavyweight
  • Posts: 12638
  • Rep: -28
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #9 on: February 15, 2013, 09:36:39 AM »
Awesome stuff, Trov. I'll be looking forward this.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #10 on: February 24, 2013, 01:17:36 PM »
Since its been over a week, I suppose it is time to give you guys an update on this...

I worked out a rough schematic of how I want the list interface to look. I wanted something that looked similar to the forum and to the wiki but I also wanted it to have distinct features that are not seen in either of them. The bot previews will show up whenever you hover your mouse over one of the entries (just like Goose's old bot exchange did). Here is a preview of what I have planned with all the extras (but without the bot preview because I forgot to add it):

I have already worked out much of the functional coding like displaying entries from the database and showing a preview but there is quite a bit of cosmetics that need to be done to make it look like the image provided. The default sorting will be according to the date submitted but the plan is to allow you to sort according to the other headers as well.

I'm not sure how I want to make the upload interface look but I do have some ideas. ATM, I'm thinking that it will be an overlay with a preview before uploading but I haven't thought much beyond that. I would happy to see some ideas from you guys in regards to this.

I've also mapped out what I want the database to keep track of so I just need to implement it. However, before I do that, I would like to hear from you guys about any extra features that I may be forgetting. By knowing them now, I can setup the database to accommodate for their addition later. For example, I was planning to add a ranking system eventually so that means I should keep track of things like total voters and total score (total score/total voters*5=rank).

Offtopic: I am still looking into the posting/logout issue so don't think that I have forgotten about it.

Any comments/questions/ideas/complaints?

Offline kill343gs

Re: Bot Exchange (WIP)
« Reply #11 on: February 24, 2013, 01:21:39 PM »
Very clean and simple. I question the usefulness of the chatbox, however.


For once the mods did something right
#MakeGTMGreatAgain

Offline Probably Rob

  • The Forgotten Obscure Orgasmic Mime
  • *
  • Posts: 1941
  • Rep: 10
  • You might want your lips around my silent chorus
    • RobotMPire
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #12 on: February 24, 2013, 01:26:51 PM »
Obvious suggestion which is already listed under "to do after release" but I've suggested it too so *strawberry*:

An arrow (or something else) besides Class, Bot Name, etc. as a "Sort by" for Most Downloaded, Old to New, New to Old, etc.

Offline RedSawn

  • aka RedlineM203
  • *
  • Posts: 1922
  • Rep: 4
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #13 on: February 24, 2013, 01:56:08 PM »
I like it, it's to the point and it has all the details it needs.




Offline MassimoV

  • I Move Weight
  • *
  • Posts: 8924
  • Rep: 25
  • I make rap for people of Serbia
    • MassimoVTV
  • Awards BOTM Winner
    • View Profile
    • Mourning Glory
    • Awards
  • See profile for gamer tags: Yes
  • Skype: myhandsarefood
Re: Bot Exchange (WIP)
« Reply #14 on: February 24, 2013, 01:58:24 PM »
Excellent hard work done Trov.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #15 on: February 24, 2013, 03:10:58 PM »
Very clean and simple. I question the usefulness of the chatbox, however.
The chatbox on the main page is under utilized IMO because their is no value in staying there for long periods of time. I also have no intention of adding a comment section to the eventual bot pages so this would allow a low-level of communication for people to use as they see fit. Not to mention, it balances out the navigation bar  :dumb)

Obvious suggestion which is already listed under "to do after release" but I've suggested it too so *strawberry*:

An arrow (or something else) besides Class, Bot Name, etc. as a "Sort by" for Most Downloaded, Old to New, New to Old, etc.

Yeah, I was planning to keep track of the number of downloads anyways so having it sort based off of them shouldn't be a problem. Having a drop down menu for something like this is also a good idea. I'll see what I can do.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #16 on: March 04, 2013, 08:02:26 PM »
Since its been over a week, I think its time for another update.

I made some headway on the bot list interface's appearance and I added a lightbox/overlay for the upload interface. I also created the MySQL database so now the data that is being shown for the list interface is actual bot data.

I manually added one bot to the bot exchange and everything seems to be working so the next functional step will be to get the uploader to do it for me.

Offline kill343gs

Re: Bot Exchange (WIP)
« Reply #17 on: March 04, 2013, 09:37:10 PM »
You're an animal, getting this far this fast.


For once the mods did something right
#MakeGTMGreatAgain

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Bot Exchange (WIP)
« Reply #18 on: March 05, 2013, 10:09:24 AM »
TTYTT, it isn't as much as it sounds. It has been more of a balancing act than anything. Taking care of IRL stuff, webmaster stuff, and admin stuff has kept me pretty busy so fitting this in hasn't been easy. That said, I'm glad to hear that my efforts are being noticed.

Offline MassimoV

  • I Move Weight
  • *
  • Posts: 8924
  • Rep: 25
  • I make rap for people of Serbia
    • MassimoVTV
  • Awards BOTM Winner
    • View Profile
    • Mourning Glory
    • Awards
  • See profile for gamer tags: Yes
  • Skype: myhandsarefood
Re: Bot Exchange (WIP)
« Reply #19 on: March 05, 2013, 11:42:49 AM »
Yeah, this is great!