Open mvictora opened 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!
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
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.
Thanks for the help dude... But, I couldn't do that.. I just need to change this infomations, right ?
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#.
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
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
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 "
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
Please, update :(
@rodrigohunter @mvictora @Tottixyz i think this will be helpful is working great for me https://ik4bot.com/
!up...
Anyone who understands and can update this application? We can pay some amount
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.