Smoxer / Ika

Ika+ is a program that can do every hack on any official Ikariam server! Pirate clicker, captcha solver, auto raid and much more!
MIT License
25 stars 36 forks source link

new login from gameforge IKARIAM #19

Open mvictora opened 5 years ago

mvictora commented 5 years ago

Dear Omri,

please update the way accounts login according to the new update from Ikariam (version 8.0.0) updated 31 Jul 2019.

it is really complicated for me to revise , so pleaseeeeeee do this update, it is a new challenge for you, I hope you have time to do it.

thank you in advance Regards.

physics-sec commented 5 years ago

May be i can help to make the implementation a little easier (i don't program in C# or Javascript, so i can't do a PR, sorry)

I will enumerate which requests are needed in order to log in into an account:

1) POST https://pixelzirkus.gameforge.com/do/simple -> this will assign you a cookie you will need later 2) POST https://lobby.ikariam.gameforge.com/api/users (whith the email and passwd) -> this will return 400 if the creds are wrong 3) GET https://lobby.ikariam.gameforge.com/api/users/me/accounts -> this will give you all the accounts available for that email 4) GET https://lobby.ikariam.gameforge.com/api/servers -> whis will give you info about the servers available (you may not need it) 5) GET https://lobby.ikariam.gameforge.com/api/users/me/loginLink?id={}&server[language]={}&server[number]={} -> this will return a url 6) GET - url obtained previously -

I didn't include the parameters of the POSTs requests, but you can find them in the actual implementation in python -> https://github.com/physics-sp/ikabot/blob/5037f83cb9667491756469e1cc34a145e9098553/ikabot/web/sesion.py#L150

Good luck!

rodrigohunter commented 5 years ago

I didnt understand , Where I need to change or what folder a need to chance with this codes... Pls, could you please explain better? With more details.... tks

physics-sec commented 5 years ago

Currently you are logging in using the "old" url: index.php?view=city&action=loginAvatar&function=login You can find this url in several files in your repo:

This method does not work any more, so you need to implement the new way For example, you will need to re implement the Login method/function in Programs/IkariamBots/Ikariambots/Ikariam/User.cs in line 65. instead of just that POST to view=city&action=loginAvatar&function=login you will need to make all that requests that i listed before.

rodrigohunter commented 5 years ago

Thanks for the help dude... But, I couldn't do that.. I just need to change this infomations, right ?

dev

physics-sec commented 5 years ago

Yep. that is the part you need to change. But now there are a few more requests needed, not just that POST to that URL. I'm sorry i can't be more specific, but i don't program in C#.

Tottixyz commented 5 years ago

Hello will it be possible to use the program again? a change is made? or I need help to get the program running again

You're welcome greeting

Tottixyz commented 5 years ago

such a great program

can someone bring it back up please? this is to be paid, no matter the main thing it is running again greeting

mvictora commented 5 years ago

no one want to work on this project anymore!!!!!

"physics-sp" how to make the login fixed to specific server and delete all unnecessary codes!

what if we need to fix Ikariam US server "Hades "

Tottixyz commented 5 years ago

Well, why, you could pay it.

so many players want to use it, because I do not understand why because no one wants to work on it anymore.

I would be happy if who accepts the matter

rodrigohunter commented 5 years ago

Please, update :(

ik4bot commented 4 years ago

@rodrigohunter @mvictora @Tottixyz i think this will be helpful is working great for me https://ik4bot.com/

rodrigohunter commented 4 years ago

!up...
Anyone who understands and can update this application? We can pay some amount