Okay so this is quite a complex problem so strap on your thinking shoes and lets get into it
To start out I am trying to host my own clash of clans server using a software known as ucs created by ultrapowa More information here in short in a console application written in c# that emulates the clash server so you can create your own servers and basically make your own game out of clash of clans(kinda like reskinning)
Most of the time people would set up these servers using port forwarding and modifying thier host file(rooted/jailbreak) however with a tool called Advanced APK editor you can modify the server dns without needing a root
So once decompiled the clash of clans apk contains these files
-lib -armeabi-v7a -libg.so -x86 -libg.so
after replacing the line gamea.clashofclans.com
with your dns you can recompile and sign the apk and the apk is done
Now everything to this point is done correctly and moving on to the server we have our issue
I have a windows 2016 server setup with google cloud and have reserved a static ip(important because the dns uses the static ip) now my dns is flamein.ignorelist.com if I visit this url in my browser I will recieve an entry on my server log that looks something like [LOG] New client connected -> 35.196.226.119
this is the intended behavior as it is accessed through a browser an not the game nothing more should happen but this lets me know on a debugging level that
- My dns is configured correctly
- my firewall is not blocking the connection
- The server is functioning correctly
However when on my phone and booting up the apk it just sits on the loading screen
image Loading screen
It never loads anything just stays like that I have checked the apk and all is right according to the documentation Ive been struggling with this for days and would much appreciate help
1 Answers
Answers 1
So it turns out my issue was actually the dns it wasn't set to type "A" it was set as a url
0 comments:
Post a Comment