• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Mobile Multi-civilization strategy hand tour of the awakening of the nations full set of source code + development documents

Custom Title Activated
Loyal Member
Joined
Dec 19, 2014
Messages
1,111
Reaction score
350
askmyleg - Multi-civilization strategy hand tour of the awakening of the nations full set of source code + development documents - RaGEZONE Forums

askmyleg - Multi-civilization strategy hand tour of the awakening of the nations full set of source code + development documents - RaGEZONE Forums

askmyleg - Multi-civilization strategy hand tour of the awakening of the nations full set of source code + development documents - RaGEZONE Forums


 
Newbie Spellweaver
Joined
Apr 25, 2020
Messages
65
Reaction score
36
thx for taking the time to post this but we need google or mega link pls
 
Experienced Elementalist
Joined
Jan 11, 2010
Messages
247
Reaction score
45
Maybe this parse:
ig-client1\Assets\Scripts\Hotfix\MVC\Proxy\NetProxy.cs

and returns from a web resource..

C#:
private bool ParseAuthResult(string res)
        {
            bool isParseOk = false;
            string[] splitStr = res.Split(' ');
            try
            {
                string tmp =
                    Encoding.Default.GetString(Convert.FromBase64String(splitStr[1].Trim('\0')));
                string[] match = tmp.Split('@');
                iggID =
                    Encoding.Default.GetString(
                        Convert.FromBase64String(match[0]));
                subid = Convert.ToInt32(
                    Encoding.Default.GetString(
                        Convert.FromBase64String(match[1])));
                serverHost = Encoding.Default.GetString(
                    Convert.FromBase64String(match[2]));


                serverPort =
                    int.Parse(Encoding.Default.GetString(
                        Convert.FromBase64String(match[3])));
                serverIP = Encoding.Default.GetString(
                    Convert.FromBase64String(match[4]));


                if (match.Length >= 6)
                {
                    serverName = Encoding.Default.GetString(
                        Convert.FromBase64String(match[5]));
                }


                if (match.Length == 7)
                {
                    uid = Convert.ToInt32(
                        Encoding.Default.GetString(
                            Convert.FromBase64String(match[6])));
                }


                isParseOk = true;
                logService.Info(string.Format(
                    "AuthedGameServer IP:{0}:{1}  uid:{2} gamename:{3} subid:{4} serverName:{5}", serverHost,
                    serverPort, uid, platform, subid, serverName));
            }
            catch (Exception e)
            {
                logService.Error(e.Message);
                _eLoginState = ELoginState.EAuthError;


                OnAuth(_eLoginState);
                return false;
            }




            return isParseOk;
        }

And:
C#:
 string ip = IGGSDKConstant.IGGDefault.AppConfigIP;
            if (IGGSDK.appConfig != null)
            {
                ip = IGGSDK.appConfig.getClientIp();
                if (string.IsNullOrEmpty(ip))
                {
                    ip = "127.0.0.1";
                }
            }

This plugin:

*\ig-client1\Assets\Third\IGGSDK\Plugins\Base\IGGSDKConstant.cs

C#:
public static string AppConfigIP = "127.0.0.1";
 
Last edited:
Newbie Spellweaver
Joined
Oct 20, 2023
Messages
24
Reaction score
16
Server start /

askmyleg - Multi-civilization strategy hand tour of the awakening of the nations full set of source code + development documents - RaGEZONE Forums



Client not conection to server

NetProxy.cs change ip
IGGSDKConstant.cs change ip
 
Experienced Elementalist
Joined
Jan 11, 2010
Messages
247
Reaction score
45
Client build success, next stage create AssetBundles =)
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Oct 20, 2023
Messages
24
Reaction score
16
I’ve already looked through the entire client and still don’t understand why there’s no connection to the server (((
 
Back
Top