Wow great @GigaToni
Wow great @GigaToni
I guess it was already released here:
http://forum.ragezone.com/f857/relea...-help-1126765/
But the guy couldn't make it work lol.
EDIT:
Code is up on my github.
Last edited by GigaToni; 22-03-18 at 12:50 PM.
@GigaToni Nice bro![]()
Based on your image @GigaToni i think this is a different game than Hero Charge not same UI as Hero Charge maybe changed the Title of the thread it makes everyone confuse with this maybe same aspect but not the same thanks
Sent from my SM-J730G using Tapatalk
I downloaded the code from the other thread. exactly the same engine.. And file/folder structure. Have to check if anything else is different.
Here is a decoder & decompiler for *.abc files found in one of those copycat games. It's not perfect but works.
Example of Decoded & Decompiled DailyLoginReward.abc:
Spoiler:
Zippyshare.com - Decode_and_Destroy.rar
If you search for "520006_397" you'll find it.
Did anybody try my "fixed" version? @WireShark @fameza123 Did it work for you? If not I suggest post an issue on github and I'll try and help you out. The game is actually fun, and I'd like to help people fixing & getting this working.
EDIT:
Before I forget it: The game I posted above is EXACTLY the same. Not the actual game but the download link the dude gave is the SAME SOURCE-CODE with SAME ASSETS. Nothing is different. This game here is also NOT Heroes charge. But who cares... There are about ~20 of these games released all exactly the same except for minor differences in UI and graphics. I guess one company developed the base & sold it, and others just changed the graphics. While researching I also found out that Lilith Games sued the company UCool which "developed" Heroes Charge because they "supposedly" "decompiled" and "stole" their code.. Yea right.. Decompiled a game which was made in C++ and replicated 1 to 1.. If it would be so easy :(
Last edited by GigaToni; 23-03-18 at 11:45 AM.
Yeah I found it also its the same base source of their games UCool just changed UI and make it as Heroes Charge clear now.
Didn't try your fixed source downloading it now and got to comment on this later thanks.
https://github.com/exmex/HC
The last 2 days I tried getting Protobuf2 to work with C#. It didn't work. So I guess I try to write a C++ library that parses the message with Protobuf c++ and call that from C#. While I was investigating the protocol the client/server uses I made a documentation for it:
https://github.com/exmex/HC/wiki/Packet-Description
This is how far I got with my C# code (Left C#, right PHP):
I get as far as extracting the ProtoBuf message. But parsing it doesn't work.
I cant see the image clearly using tapatalk app the emulator work but i cant run the webserver what is the dependencies of the webserver files i see php files may i ask if you can give a guide how does the webserver works do I need a linux based machine to run this as I see the default source webserver is running on yiiframework.
I know now I must run this with PHP and set the PHP to Environment Variables will be back here
Sorry for the noob question here
Update: My Problem now is how to compile the client? I have cocos2dx and other dependencies installed.
Sent from my SM-J730G using Tapatalk
Last edited by WireShark; 26-03-18 at 11:12 AM.
You only need PHP and MySQL for the webserver. With the bat file it creates a very weak webserver integrated into PHP. Following PHP Modules are REQUIRED:
memcache, mysql(i)
Yeah I already run it thanks I need a simple guide just to recompile the client source on cocos2dx. I reference it with your release it was a clean client source.
Update: I see the client on the original release lol I didn't check it before will try it now
My Problem now I check the config.lua and set the ip to 127.0.0.1 but serverlist error
Problem Solved:
You need to config Resource_Client\version_win32.cfg to
Code:{ "branch" : "MAIN", "inStoreUpdate" : "http://www.baidu.com", "localVerson" : "1.000.16", "sever" : "http://127.0.0.1/severs_dota_ios.php", "severBackup" : "http://127.0.0.1/severs_dota_ios.php", "version" : 1 }
Additional Note: copy the msyh.ttf & msyhbd.ttf fonts from GigaToni repo Resource_Client paste into the Resource_Client on the Original release
Last edited by WireShark; 26-03-18 at 01:47 PM. Reason: Edit Problem Fixed
Please. Also post the *.log file.
EDIT:
You don't actually need to edit any *.lua files.
version_win32.cfg is already "patched" in the Repository:
https://raw.githubusercontent.com/ex...sion_win32.cfg
Config.lua doesn't need to be modified. It gets the server IP from severs_dota_ios.php. Not from the LUA file.
EDIT2:
The only thing missing in my repository should be the *.exe file. Which you should compile yourself.
Last edited by GigaToni; 26-03-18 at 01:54 PM.