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 汉王纷争 SLG from NetEase (Mobile) - Full Source + Doc

Custom Title Activated
Loyal Member
Joined
Dec 19, 2014
Messages
1,110
Reaction score
350
This project files is completely random and it's impossible to organize in one project

for example the client is in unity 5 but there are 3 GB of data in which they are scatered every where, that it would be difficult for the developer of the project himself to organize them together.

can you help me on how to run the client and server?
I think you need to get some knowledge of unity mongodb as well as c# to use it

Requirements:

- Mongodb (ServerDB)
- Webserver (Logins & Serverlist)
- MySQL (LoginDB)
- Unity 5.4.0f3
 
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
A complete (server+client) running version of the game enjoy :)

ezgif.com-video-to- - 汉王纷争 SLG from NetEase (Mobile) - Full Source + Doc - RaGEZONE Forums



Now I'm working on running the client on the latest Unity 2022 LTS :)
 

Attachments

You must be registered for see attachments list
Last edited:
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
I am wondering the same thing, I hope someone can guide me so I can apply it to my Toca Life World APK game, many thanks
Even after running it on Unity 2022 LTS
Reading the AssetBundles doesn't work in production build. I'm still working on that, but if anyone figured it out please PM me on discord
 
Last edited:
Newbie Spellweaver
Joined
Jul 29, 2020
Messages
25
Reaction score
3
Even after running it on Unity 2022 LTS
Reading the AssetBundles doesn't work in production build. I'm still working on that, but if anyone figured it out please PM me on discord
So you can't decompile it right?
 
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
So you can't decompile it right?
It builds on the latest Unity 2022 lts android using IL2CPP and android api level 33

But reading the AssetBundles is not possible, still figuring out why it can't read the AssetBundles.

If you guys know anything, pls share and if we solved the issue I will share the final code here.


What you can do to reproduce this issue,

If you are using Unity 5.4 then switch in Editor from simulate AssetBundles mode to normal mode.

It will read the AssetBundles normally.

But if you try the same in Unity 2022 LTS it will not work, I'm currently working on replacing the AssetBundleManager.cs

Script using my own logic but it will take a couple of weeks to finish. If any anyone with any knowledge try to solve it please PM me. I suppose anyone here searching for unity games have some basic knowledge of Unity, if not then Don't bather contacting me because I won't share any code for you :)
 
Last edited:
Newbie Spellweaver
Joined
Jul 29, 2020
Messages
25
Reaction score
3
If someone looking for a tutorial i found one but it's Chinese so
 
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
Finally an android gameplay using Unity 2022 LTS IL2CPP build.



Did anyone manage to find the English version from this game?
 
Last edited:
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
Looks great, did you fix the store so you can buy with coins?
I have fixed it and translated it to a basic english version, also fixed lightmaps and some missing items.

Now I'm trying to fix the issue where the ( siege weapons ) building not working, this problem exists in both Unity versions Unity 5.4 and Unity 2022.

 
Newbie Spellweaver
Joined
Jul 29, 2020
Messages
25
Reaction score
3
I have fixed it and translated it to a basic english version, also fixed lightmaps and some missing items.

Now I'm trying to fix the issue where the ( siege weapons ) building not working, this problem exists in both Unity versions Unity 5.4 and Unity 2022.


man you deserved to get medal
 
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
Added siege weapons to the game, this feature is missing from the original game.
Now it's fully implemented in the game.

 
Newbie Spellweaver
Joined
Dec 21, 2014
Messages
58
Reaction score
1
[INFO, (ConfigUtil.java:41).loadProperties] load properties ..\data\conf
java.io.FileNotFoundException: ..\data\conf\gls.properties


Java:
public void loadProperties() {
        try {
            logger.info("load properties "+configPath);    //41
            glsProps = new WProperties();
            glsProps.load(new FileInputStream(configPath + File.separator + "gls.properties"));
            logicDbProps = new WProperties();
            logicDbProps.load(new FileInputStream(configPath + File.separator + "gl_db.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

I get this error. The file location is correct. How can I fix this error?
 
Custom Title Activated
Loyal Member
Joined
Dec 19, 2014
Messages
1,110
Reaction score
350
[INFO, (ConfigUtil.java:41).loadProperties] load properties ..\data\conf
java.io.FileNotFoundException: ..\data\conf\gls.properties


Java:
public void loadProperties() {
        try {
            logger.info("load properties "+configPath);    //41
            glsProps = new WProperties();
            glsProps.load(new FileInputStream(configPath + File.separator + "gls.properties"));
            logicDbProps = new WProperties();
            logicDbProps.load(new FileInputStream(configPath + File.separator + "gl_db.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

I get this error. The file location is correct. How can I fix this error?
Code:
public void loadProperties() {
    try {
        // Load gls.properties
        String glsPropertiesPath = configPath + File.separator + "gls.properties";
        logger.info("Loading properties from " + glsPropertiesPath);
        glsProps = loadPropertiesFromFile(glsPropertiesPath);

        // Load gl_db.properties
        String glDbPropertiesPath = configPath + File.separator + "gl_db.properties";
        logger.info("Loading properties from " + glDbPropertiesPath);
        logicDbProps = loadPropertiesFromFile(glDbPropertiesPath);

        // Check if properties were loaded successfully
        if (glsProps != null && logicDbProps != null) {
            logger.info("Properties loaded successfully.");
        } else {
            logger.error("Failed to load properties.");
        }
    } catch (IOException e) {
        logger.error("Error while loading properties: " + e.getMessage());
    }
}

private Properties loadPropertiesFromFile(String filePath) throws IOException {
    Properties properties = new Properties();
    try (FileInputStream fileInputStream = new FileInputStream(filePath)) {
        properties.load(fileInputStream);
    }
    return properties;
}

@CODEHUB
all the download links are dead can you give me the cloud?

I don't remember what it takes to build a server?
 
Banned
Banned
Joined
Aug 4, 2023
Messages
15
Reaction score
12
[INFO, (ConfigUtil.java:41).loadProperties] load properties ..\data\conf
java.io.FileNotFoundException: ..\data\conf\gls.properties


Java:
public void loadProperties() {
        try {
            logger.info("load properties "+configPath);    //41
            glsProps = new WProperties();
            glsProps.load(new FileInputStream(configPath + File.separator + "gls.properties"));
            logicDbProps = new WProperties();
            logicDbProps.load(new FileInputStream(configPath + File.separator + "gl_db.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

I get this error. The file location is correct. How can I fix this error?

Just run the following command in your cmd

Code:
java -jar wz-game-logic.jar -c /home/game/data/conf -d /home/game/data
 
Back
Top