A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

Gaia Fishing Packets

1.9k views · started by Kitsune ·
#1
Gaia Fishing Packets
So not much goes on with packets in gaia fishing except when you create a room and save your bucket.

here is one from saving:


197G_FISH_PLUGIN5100100034:1|0ca60d70c834fdb3ba5a4bd1f5a94ea7bc482d446144cfe44cb95cf4903a8f67bdb6eoyqq920fbb98691b539f4pns50c20akptgtt52jb2cfkkk


"100034:1" is item ID and how many i think.
"kkk" is captcha text submission.

I dont know what this part is: "0ca60d70c834fdb3ba5a4bd1f5a94ea7bc482d446144cfe44cb95cf4903a8f67bdb6eoyqq920fbb98691b539f4pns50c20akptgtt52jb2cf"
Looks like some encryption or encoding but im not sure which one. Anyone have any ideas? I know Artifical had a fishing bot that used TCP.
#2
You should decompile the fishing swf, see exactly what it is. The random guff appears to be 3 strings. My guess is: one must be your session and dunno what the other two are.
#3
Butts wrote:
You should decompile the fishing swf, see exactly what it is. The random guff appears to be 3 strings. My guess is: one must be your session and dunno what the other two are.

Alright digging i shall go in the fishing SWFs.
There is another packet it sends that has your session and it didn't match anything in the string. I also thought it may be a md5 hash like the one from the old GSI login.

There it is:

function savingGame()
{
if (_root.playAsGuest)
{
_root.main.continueGame();
return;
} // end if
var _loc3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var _loc8 = "";
var _loc9 = new Object();
var _loc5 = "";
var _loc7 = "|";
if (_root.whichLake == "bassken")
{
_loc9.pondMap = 0;
var _loc4 = new Array(100005, 100004, 100006, 100007, 100008, 100021, 100020, 100019, 100028, 100029, 100022, 100023, 100034, 100035, 100040, 1000523, 1000463, 1000465, 1000467, 1000469, 1000471, 1000473, 1000503, 1000501, 1000499);
}
else if (_root.whichLake == "gambino")
{
_loc9.pondMap = 1;
_loc4 = new Array(100009, 100010, 100011, 100012, 100013, 100021, 100020, 100019, 100031, 100030, 100024, 100025, 100036, 100037, 100041, 1000523, 1000475, 1000477, 1000479, 1000521, 1000519, 1000517, 1000515, 1000513, 1000511);
}
else if (_root.whichLake == "durem")
{
_loc9.pondMap = 2;
_loc4 = new Array(100014, 100015, 100016, 100017, 100018, 100021, 100020, 100019, 100033, 100032, 100026, 100027, 100038, 100039, 100042, 1000523, 1000481, 1000483, 1000485, 1000509, 1000507, 1000505, 1000493, 1000495, 1000497);
} // end else if
if (_root.main.myFish.length > 0)
{
for (var _loc2 = 0; _loc2 < _root.main.myFish.length; ++_loc2)
{
++_loc3[_root.main.myFish[_loc2]];
} // end of for
for (var _loc2 = 0; _loc2 < _loc3.length; ++_loc2)
{
if (_loc3[_loc2] > 0)
{
_loc8 = _loc8 + (_loc4[_loc2] + "" + _loc3[_loc2]);
_loc5 = _loc5 + (_loc4[_loc2] + ":" + _loc3[_loc2] + _loc7);
} // end if
} // end of for
}
else
{
_loc5 = _loc5 + _loc7;
} // end else if
var _loc11 = _root.main.fishData.sid2 + _root.gsiUserData.gaia_id + _root.main.fishData.sid3;
var _loc10 = _loc8 + _root.main.fishData.sid3;
var _loc6 = new Array();
_loc6[0] = "510";
_loc6[1] = _loc9.pondMap;
_loc6[2] = _loc5;
_loc6[3] = calcMD5(_loc11);
_loc6[4] = calcMD5(_loc10);
_loc6[5] = _root.gsiUserData.gaiaSID;
_loc6[6] = _root.captcha_panel.passcode;
sushi.callPlugin("G_FISH_PLUGIN", _loc6, savingGame_CB, _root);
} // End of the function[/6][/5][/4][/3][/2][/1][/0]
#4
Well i figured it out. But yes butts you were right, it is 3 strings and the last string is indeed your SID.
Thanks man.

EDIT:
Well i remade the data with the new correct values to test and i get back
197G_FISH_PLUGIN510-1CAPTCHA not found.

I tried resending the captcha GSI request and it still does it.
#5
Kitsune wrote:
Well i figured it out. But yes butts you were right, it is 3 strings and the last string is indeed your SID.
Thanks man.

EDIT:
Well i remade the data with the new correct values to test and i get back
197G_FISH_PLUGIN510-1CAPTCHA not found.

I tried resending the captcha GSI request and it still does it.
Woo! Hmm...Seems to be some sort of countermeasure, eh? Just keep experimenting and make sure to read what the decompiled swf has.
#6
having a bit of trouble with my packet editor at the moment, but im going to go ahead and explain the data in the saving packet.

Saving packet:
19.8.G_FISH_PLUGIN.510.2.100014:1|100016:1|100020:2|100027:1|100038:5|1000523:2|1000481:1|1000483:1|1000485:2|1000507:1|1000505:1|.e7467296f3facbdcf5f21487396d0f6b.0db2777913ef893140a1e114acf5f868.nxsqiiyuvv7b6667d4e61d53c7men5oc3806tm0f6yjkrq9g.kkk..


The "2" after the "510" is the pond number. (In this case it's durem)

This is the string of the fish it is saving:
100014:1|100016:1|100020:2|100027:1|100038:5|1000523:2|1000481:1|1000483:1|1000485:2|1000507:1|1000505:1|


This is 3 different strings of data mashed together and md5 hashed:
e7467296f3facbdcf5f21487396d0f6b

The 3 strings are:
FishData.sid2 found in a response from making a fishing room, seems to never change. "0bec1093f7a3de5a1fb0481a90c72387"
Gaia User ID, in this case: "36485847"
FishData.sid3 Also found in a response, Changes EVERY GAME. "1a7fe9b94b86bb0bb6dd8fcf3cf4457d"
md5.Hash{0bec1093f7a3de5a1fb0481a90c72387364858471a7fe9b94b86bb0bb6dd8fcf3cf4457d} = e7467296f3facbdcf5f21487396d0f6b


This next one was tricky but actually pretty simple:
0db2777913ef893140a1e114acf5f868

It's 2 strings! The first one is your string of fish your saving but with a catch. You take out all of the ":" and "|" and just mash the string together. Like this: "10001411000161100020210002711000385100052321000481110004831100048521000507110005051"
The second string is your FishData.Sid3 again so this: "1a7fe9b94b86bb0bb6dd8fcf3cf4457d"
Mash them together:
100014110001611000202100027110003851000523210004811100048311000485210005071100050511a7fe9b94b86bb0bb6dd8fcf3cf4457d

Hash:
md5.hash{100014110001611000202100027110003851000523210004811100048311000485210005071100050511a7fe9b94b86bb0bb6dd8fcf3cf4457d} = 0db2777913ef893140a1e114acf5f868


Next part is your Session ID "nxsqiiyuvv7b6667d4e61d53c7men5oc3806tm0f6yjkrq9g"
and last is your captcha input string: "kkk"
#7
Think they might have a Checksum?
#8
Kitsune wrote:
Think they might have a Checksum?
Found something for ya: http://pastebin.ca/raw/972146
dunno if it helps
#9
Butts wrote:
Found something for ya: http://pastebin.ca/raw/972146
dunno if it helps

Holy shit! Where did you find this? I miss those days!
People like Terry, RareDareDevil, etc have vanished.
Thanks so much, the save data he submits looks the same as mine but he also has the other data i need.
Maybe i actually need to send the "gotone" packets and then try to save.
#10
Kitsune wrote:
Holy shit! Where did you find this? I miss those days!
People like Terry, RareDareDevil, etc have vanished.
Thanks so much, the save data he submits looks the same as mine but he also has the other data i need.
Maybe i actually need to send the "gotone" packets and then try to save.
I just searched one of those random hashes and it came up. I'd help you if I was interested in doing something gaia online related again. RIP
#11
dear god,

i've wanted the mule farm source for ages. ~.~

you are amazing
#12
Any luck on deving that fishing bot? Got it all working?
#13
Haven't had time to test and put it together.
If i make it, it's going to be an LG exclusive. Will code auth for it.
#14
Ah, I was curious because I was working on making one today as well lol Was going to open source it, gaia is a small site these days
#15
MattSmith wrote:
Ah, I was curious because I was working on making one today as well lol Was going to open source it, gaia is a small site these days


I mean if you want to make it public and open source go ahead.
#16
I dont know much about all the codes and what not im just an interested bystander but i would love to see your finished fishing bot. Keep up your awesome work Kitsune.
#17
This would be good if this is just made like a tutorial.