Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mobile [Cocos2dx] "Heroes Charge" source code (Mobile)

Newbie Spellweaver
Joined
Nov 10, 2011
Messages
72
Reaction score
15
ic0tRfs - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums


OPATrxP - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums


PsYP4k7 - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums


Download:
Link Mega.nz
Pass !2r4L6ovRkDVL8ErO4cBVJ0kMJ1GmMZUiMdGlpTjM_uo

Password RAR

Pass atthaporn007
 

Attachments

You must be registered for see attachments list
Last edited:
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Just to note to anybody who wants to try it:
The Proxy thingy probably requires CentOS.
fameza123
Is there any chance you have the proxy source and want to share it ?

EDIT:
btw this is my replicated severs_dota_ios.php:
PHP:
<?php
header("Content-type: Application/json");

echo json_encode(array(
	"version" => 1,
	"severs" => array(
		array(
			"id" => 1,
			"name" => "Local",
			"address" => "127.0.0.1",
			"port" => 10000,
			"state" => "general",
		),
	),
	"severVerson" => "1.000.0",
	"updateAddress" => "1",
	"defaultSeverID" => 1,
	"rootAddress" => "1",
));
?>
 
Newbie Spellweaver
Joined
Nov 10, 2011
Messages
72
Reaction score
15
@GigaToni

I buy this file from china

but it seem to not complete.

I don't have a time to test

I want to share this file to ragezone

So please dev together to get it up and work
 
Banned
Banned
Joined
Apr 16, 2017
Messages
47
Reaction score
14
@GigaToni

I buy this file from china

but it seem to not complete.

I don't have a time to test

I want to share this file to ragezone

So please dev together to get it up and work

real buy ?
i get to free
pnMSVkB - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums

Camj2UU - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Rewriting that proxy thing in C#. And it's actually working somewhat.

p6pVDK9 - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums


Code:
2018-03-20 13:46:30__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 13:46:30__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 1E000000010000000200000031000200000031000100000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2018-03-20 13:46:30__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:188) - OnDoLogin
2018-03-20 13:46:30__UID:-1__127.0.0.1-INFO (gateway.php:191) - [5784] exec end time is: 0.2530620098114 MYSQL connect time:0.0010058879852295 query time:0 WriteLogTime:0.0016171932220459 mcReadTime:0 mcWriteTime:0
2018-03-20 13:46:31__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 13:46:31__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 64000000230000005800000001050061646D696EB7FF5E345B898E48171320E7A285E327247939F37C61C149FB232AE4E29BFD9467108580D52E377C9BA5B2110C4CE79D3213A5D5EB43CFED639086211B58FB60A45D59AE84193644F3829B0F6B8DFB2E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2018-03-20 13:46:31__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:384) - OnProtoBuff
2018-03-20 13:46:31__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:43) - OnProtoBuff no user info! reg==>{"uuid":"21232f297a57a5a743894a0e4a801fc3","deviceID":"admin","timeZone":"Asia\/Shanghai","uin":"admin","serverId":9999}
2018-03-20 13:46:34__UID:-1__127.0.0.1-ERROR (MessageProcessor.php:115) - Curl error! Connection timed out after 3000 milliseconds
2018-03-20 13:46:34__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:45) - OnProtoBuff no user info! reg==>null
2018-03-20 13:46:34__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:47) - OnProtoBuff no user info! reg----------- admin·ÿ^4[‰ŽH 碅ã'$y9ó|aÁIû#*äâ›ý”g…€Õ.7|›¥²Lç2¥ÕëCÏíc†!Xû`¤]Y®„6Dó‚›kû.--------------

EDIT:
Update news. No errors except decoding failed... Just the encryption key is wrong for some reason.

Code:
2018-03-20 14:52:53__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 1E000000010000000200000031000200000031000100000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:188) - OnDoLogin
2018-03-20 14:52:53__UID:-1__127.0.0.1-INFO (gateway.php:191) - [4348] exec end time is: 0.26895689964294 MYSQL connect time:0.0010659694671631 query time:0 WriteLogTime:0.0014381408691406 mcReadTime:0 mcWriteTime:0
2018-03-20 14:52:53__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 64000000230000005800000001050061646D696EB7FF5E345B898E48171320E7A285E327247939F37C61C149FB232AE4E29BFD9467108580D52E377C9BA5B2110C4CE79D3213A5D5EB43CFED639086211B58FB60A45D59AE84193644F3829B0F6B8DFB2E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:384) - OnProtoBuff
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:92) - ·ÿ^4[‰ŽH 碅ã'$y9ó|aÁIû#*äâ›ý”g…€Õ.7|›¥²Lç2¥ÕëCÏíc†!Xû`¤]Y®„6Dó‚›kû.
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (OnProtoBuff.php:27) - OnProtoBuff Process Start! UIN =  admin·ÿ^4[‰ŽH 碅ã'$y9ó|aÁIû#*äâ›ý”g…€Õ.7|›¥²Lç2¥ÕëCÏíc†!Xû`¤]Y®„6Dó‚›kû. KEY = ---------------------------------------
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (OnProtoBuff.php:28) - OnProtoBuff Process Start! UIN = 1 KEY = 123456789
2018-03-20 14:52:53__UID:-1__127.0.0.1-ERROR (OnProtoBuff.php:30) - DecodeMessage error!123456789
2018-03-20 14:52:53__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:591) - SendProtoReponse
2018-03-20 14:52:53__UID:-1__127.0.0.1-INFO (gateway.php:191) - [4348] exec end time is: 0.26941299438477 MYSQL connect time:0.0010459423065186 query time:0.0011811256408691 WriteLogTime:0.0031852722167969 mcReadTime:0 mcWriteTime:0

EDIT 2:
After fixing the encryption poop:
VWfqJyV - [Cocos2dx] "Heroes Charge"  source code (Mobile) - RaGEZONE Forums


Code:
2018-03-20 15:56:35__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 1E0000000100000002000000310002000000310001000000000100000000
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:188) - OnDoLogin
2018-03-20 15:56:35__UID:-1__127.0.0.1-INFO (gateway.php:191) - [4348] exec end time is: 0.20136690139771 MYSQL connect time:0.0010230541229248 query time:0 WriteLogTime:0.0014228820800781 mcReadTime:0 mcWriteTime:0
2018-03-20 15:56:35__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 5E000000230000005200000001050061646D696E080010011A330800120B77696E33325F61646D696E1A2035333335613731373735306331323463323662663463636662653538306666312000B2020E0A0A333333333333333333331000
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:384) - OnProtoBuff
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:113) - Decrypting with key: 123456789
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:114) -      0 : 08 00 10 01 1a 33 08 00 12 0b 77 69 6e 33 32 5f [.....3....win32_]
    10 : 61 64 6d 69 6e 1a 20 35 33 33 35 61 37 31 37 37 [admin. 5335a7177]
    20 : 35 30 63 31 32 34 63 32 36 62 66 34 63 63 66 62 [50c124c26bf4ccfb]
    30 : 65 35 38 30 66 66 31 20 00 b2 02 0e 0a 0a 33 33 [e580ff1 ......33]
    40 : 33 33 33 33 33 33 33 33 10 00 [33333333..]

2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (MessageProcessor.php:115) -      0 :  []

2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (OnProtoBuff.php:27) - OnProtoBuff Process Start! UIN =  admin 3 win32_admin 5335a717750c124c26bf4ccfbe580ff1  ²

3333333333  KEY = ---------------------------------------
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (OnProtoBuff.php:28) - OnProtoBuff Process Start! UIN = 1 KEY = 123456789
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (OnProtoBuff.php:46) - [4348] OnProtoBuff Get Up_UpMsg Data:
          Up_UpMsg {
            3: _login =>
            Up_Login {
              1: _active_code => 0
              2: _old_deviceid => 'win32_admin'
              3: _version => '5335a717750c124c26bf4ccfbe580ff1'
            }
            38: _sdk_login =>
            Up_SdkLogin {
              1: _session_key => '3333333333'
              2: _plat_id => 0
            }
          }

2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (OnLogin.php:10) - OnLogin Process
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (OnLogin.php:25) - getLoginReplyPacket Process 1 0
2018-03-20 15:56:35__UID:-1__127.0.0.1-ERROR (OnLogin.php:32) - USER ID not be create!
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (OnProtoBuff.php:795) - 0.035884141921997 : OnProtoBuff Process End! UIN = 1
2018-03-20 15:56:35__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:591) - SendProtoReponse
2018-03-20 15:56:35__UID:-1__127.0.0.1-INFO (gateway.php:191) - [4348] exec end time is: 0.24338817596436 MYSQL connect time:0.00085997581481934 query time:0.0024311542510986 WriteLogTime:0.0056164264678955 mcReadTime:0 mcWriteTime:0
2018-03-20 15:57:35__UID:-1__127.0.0.1-INFO (gateway.php:130) -  Request User Ip: 127.0.0.1
2018-03-20 15:57:35__UID:-1__127.0.0.1-DEBUG (gateway.php:146) - DUMP POST_DATA: 1A000000220000000E0000003135323135373538353530303000
2018-03-20 15:57:35__UID:-1__127.0.0.1-DEBUG (GameProtocolServer.php:335) - OnPing
2018-03-20 15:57:35__UID:-1__127.0.0.1-INFO (gateway.php:191) - [4348] exec end time is: 0.20970296859741 MYSQL connect time:0.00088000297546387 query time:0 WriteLogTime:0.0018248558044434 mcReadTime:0 mcWriteTime:0
 

Attachments

You must be registered for see attachments list
Last edited:
Back
Top