• Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging into mobile game server in java.  RSS feed

 
Jeremy Park
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm currently looking to find a way to log into the mobile game called Clash of Clans. Someone asked me if I would be able to create a java program that could log in, and monitor the statistics of a particular clan, and then turn it into data that could be read on a PHP sheet, and uploaded onto a website. I once did something similar with another mobile game, by finding the webserver that the game connected to, and added into the url the data that was needed to logon. That data was the device uuid, which was encrypted, and something else, which I've forgotten. I am currently looking through some of the decompiled code for clash of clans, and was wondering if anyone would be able to give me a hand, by giving me some pointers on how to proceed. I need to find a way to log on, using java, and create a user in the game, but first, I need to find out how to get onto the server. If anyone knows the best way to find this info in the decompiled code, that would be awesome. Thanks.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest you be careful here. The very act of decompiling code could be against the EULA. It is possible as well it violates copyright law.

in any case, you'd probably be better off looking for an API into the game. That would be a formal, approved, and probably supported+stable way to get the data you want (if it exists). It may not.
 
Jeremy Park
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fred rosenberger wrote:I would suggest you be careful here. The very act of decompiling code could be against the EULA. It is possible as well it violates copyright law.

in any case, you'd probably be better off looking for an API into the game. That would be a formal, approved, and probably supported+stable way to get the data you want (if it exists). It may not.


Unfortunately, there isn't an API that has been released for it. I also don't really need the decompiled code, except for reading it, and understanding the login mechanism. Once I can see how that works, the code wouldn't be needed, and therefore not copied. Perhaps it is a grey area, but I would still like to understand this.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeremy Park wrote:Unfortunately, there isn't an API that has been released for it. I also don't really need the decompiled code, except for reading it, and understanding the login mechanism. Once I can see how that works, the code wouldn't be needed, and therefore not copied. Perhaps it is a grey area, but I would still like to understand this.

but you'd need a copy to read it, which is the (possible) violation right there.

If they haven't released an API, they probably don't want you doing it, and if they find you ARE doing it, they can take whatever actions they deem appropriate.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!