• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Logging into mobile game server in java.

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic