Would it be possible to write a Java Script bot for Gaia's battle system? If so how would i go about it?
I've looked at some things, it seems no data is really sent. At least not any visible data.
Results 1 to 6 of 6
Thread: JavaScript Gaia's Battle System?
- 27 Oct. 2013 07:05am #1
JavaScript Gaia's Battle System?
There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 27 Oct. 2013 01:26pm #2
no visible data...? wat. there's data in EVERY request regardless of what it is.
you should look at the http post dataLast edited by Butts; 27 Oct. 2013 at 01:30pm.
- 27 Oct. 2013 04:38pm #3
Oh never mind you're right, i've scanned for requests before but never saw any. Oh well i see some now.
Edit so these are the variables i've got:
aid=USER ID&tid=User ID of Target&sid=SKILL ID&thread=88616965&nonce=694759001.1382894083.189549 7924&_=1382894197557
The only ones i've been able to find is the thread and nonce, idk where the "_" at the end, looks like a variation of the middle part of the nonce.Last edited by Kitsune; 27 Oct. 2013 at 06:00pm.
There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 27 Oct. 2013 09:40pm #4
Wait, which battle system? zOMG, Hoc, etc?
EDIT::
If you're talking about hoc, here is some old stuff I recorded a while back, these are gsi requests.
Code:--------- Random --------- - Nimbus to Gaia Gold (1:10 ratio) - http://www.gaiaonline.com/fbapps/nimbus/convertgold, nonce and amount supplied ---------- Random Opponent ------------- [[7707,["{}",{"command":"start"}]]] -- Start Search for opponent [[7707,["{}",{"command":"stop"}]]] -- Stop Search for opponent [[7703,["{}",{"process_id":1,"faction":null,"game_id":"3903768370"}]]] - Game Information [[7709,["{}",{"game_id":"3903768370","process_id":2}]]] - Game Timer/Status [[7705,["{}",{"refresh_map":1,"process_id":3,"what":"getgamestatus","game_id":"3903768370"}]]] - Game and Player Information --------- Solo ---------------- - Intro - [[7707,["{}",{"command":"start-friendly"}]]] -- Start solo game [[7703,["{}",{"process_id":1,"faction":null,"game_id":"1319837230"}]]] [[7709,["{}",{"game_id":"1319837230","process_id":2}]]] [[7705,["{}",{"refresh_map":1,"what":"getgamestatus","process_id":3,"game_id":"1319837230"}]]] - change cards in hand - [[7708,["{}",{"action":"mulligan","game_id":"3986875816","process_id":5,"choice":true}]]] - every few seconds or so - [[7709,["{}",{"game_id":"1319837230","process_id":4}]]] - every minute or so - [[7705,["{}",{"refresh_map":1,"what":"getgamestatus","process_id":14,"game_id":"1319837230"}]]] - move - [[7705,["{}",{"action":"massmove","game_id":"3986875816","process_id":16,"loc":"21","unitids":[3169028019]}]]] - summon - [[7705,["{}",{"action":"summon","game_id":"3986875816","cid":"3981677606","process_id":25,"loc":"22"}]]] - finish turn - [[7705,["{}",{"phase":"strat","action":"done","refresh_map":1,"game_id":"3986875816","turn":0,"process_id":29}]]] -- start battle -- [[7705,["{}",{"phase":"batsel","game_id":"3986875816","selection":"ignoreme","action":"done","process_id":66,"retreatregions":[]}]]] [[7706,["{}",{"action":"is_ready","game_id":"3986875816","process_id":69}]]] [[7706,["{}",{"action":"battle_setup","game_id":"3986875816","process_id":70}]]] -- attack -- [[7706,["{}",{"action":"set_unit_action","game_id":"3986875816","unit_action":"attack","set_target":"3984183866","unit_id":"3981677606","process_id":79}]]] -- submit -- [[7706,["{}",{"action":"submit","game_id":"3986875816","targets":"{3169028019:3984183866:attack},{3981677606:3984183866:attack},","process_id":81,"tactic_action":"accuracy"}]] -- end battle -- [[7706,["{}",{"action":"remove_battle","game_id":"3986875816","process_id":159}]]]
EDIT2::
Nvm, you're talking about the holloween thing
- 27 Oct. 2013 10:08pm #5
I could just make a bot that attacks users in a thread you specify
EDIT::
Heres the javascript that the battle system runs on at the moment,
Code:http://w.cdn.gaiaonline.com/src/=/e143bb5df5304ae98988a03a4dabca2e-1344-136/src/js/events/halloween2013/forum/forum_landing.js
- 28 Oct. 2013 10:39pm #6