Genshin 3.2 VM

Page 1 of 8 12345678 LastLast
Results 1 to 25 of 195
  1. #1
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts

    config Genshin 3.2 VM

    Genshin 3.2 VM version a

    Code:
    ::Genshin3.2 VM::
    Vmware 15.x
    8vCPU 
    16GB Ram
    Harddisk: 80G (SSD/NVMe)
    Network: NAT
    OS: Ubuntu Server (genshin:Genshin2023@@)
    IP Address: 192.168.200.130 (NAT)
    https://i.imgur.com/Dc15XKx.png
    
    Source: https://www.youtube.com/watch?v=ob7EFaO81NI
    
    ::Start Server::
    Login: genshin
    Password: Genshin2023@@
    
    1. sudo -i (change to root)
    2. /root/genshin/srv/cli start (starting game server)
    
    
    ::Stop Server::
    1. Press Ctrl-C twice (exit dispatch console)
    2. /root/genshin/srv/cli stop (stopping game server)
    
    ::Start Game::
    Replace the UserAssembly.dll in Genshin\GenshinImpact_Data\Native game folder with the one in the Zip File
    Launch Cultivation, Goto Option. 
    Set Game Install Path to your Genshin Game folder
    Uncheck Automatically Path Metadata
    Check Use Internal Proxy
    
    Check Connect via Grasscutter 
    IP: 192.168.200.130
    Port: 2888
    Uncheck Use HTTPS
    
    Click Launch to play.
    
    Test account
    username: Test
    Password: 123456
    
    
    ::Notes::
    Following server has been disable in cli file
        # cd ../oaserver
        # chmod +x oaserver
        # nohup ./oaserver -i 9001.9.1.1 &
        # cd ../pathfindingserver
        # chmod +x pathfindingserver
        # nohup ./pathfindingserver -i 9001.8.1.1 &
        # cd ../multiserver
        # chmod +x multiserver
        # nohup ./multiserver -i 9001.7.1.1 &
        # cd ../tothemoonserver
        # chmod +x tothemoonserver
        # nohup ./tothemoonserver -i 9001.10.1.1 &
    
    original cli file has been rename to cli-default
    
    
    ::Download::
    VM:
    GDrive: https://drive.google.com/drive/folders/18nxvLmpVXAQF2nHYJpReCSQR_I745LSd?usp=share_link
    Mega.nz:  https://mega.nz/folder/4dBRGR5D#frGFO-2-1TWKmUi6SJlJMA
    
    Password: YY1707
    
    Client:
    https://autopatchhk.yuanshen.com/client_app/download/pc_zip/20221024103618_h2e3o3zijYKEqHnQ/GenshinImpact_3.2.0.zip
    
    Cultivation to use as Launcher:
    https://github.com/Grasscutters/Cultivation/releases/
    https://github.com/Grasscutters/Cultivation/releases/download/v1.0.10-alpha/Cultivation_1.0.10_x64_en-US.msi
    
    Patched UserAssembly.dll:
    Included in the Zip file

    ::Incorrect Server IP::
    Spoiler:

    Enter this command
    ip addr
    to check the server IP

    If the server IP is not 192.168.200.130
    You have to set the IP to 192.168.200.130

    1. Edit the ip config file
    sudo nano /etc/netplan/00-installer-config.yaml

    2. Modify the content of the file to the one below

    3. Apply the IP changes
    sudo netplan --debug apply

    Enter this command to check your server ip again
    ip addr

    It should show 192.168.200.130 now, and restart the VM.














    :: GM Command ::

    Spoiler:

    Download: https://mega.nz/file/4VxRBToK#33rvoE...0Gno2idfOBxVBI

    Crystal
    gm uid mcoin 999999
    Talent
    gm uid talent unlock all
    Godmode
    gm uid wudi global avatar on / off
    Unlimited ele brust
    gm uid energy infinite on / off
    Unlimited stamina
    gm uid stamina infinite on / off
    Send item
    gm uid item add id qty








    :: Android Emulator ::
    Spoiler:

    Follow Kei's instructions on Post
    https://forum.ragezone.com/f857/gens.../?#post9154374







    :: WinScp and Putty


    :: Navicat DB Connection ::
    Spoiler:

    MySQL Server
    User name: root
    Password: f2c340a9-bf06-4345-9654-00b074b92fe8



    Mongo DB


    Data




    ::Setup Server for Wan/Public IP access::
    Spoiler:

    Download FRP(fast reverse proxy) and genshin server config files (Password: YY1707)
    https://mega.nz/file/9QhjzSTK#BhzEKs6KZ7LHxTN4iaIuk4S9jJyug-ddNrcemGlF1cM

    Some virus scanner will detect FRP as riskware.frp.

    You can also download and use the official release from https://github.com/fatedier/frp

    :Prerequisite:
    1. A public IP address on a Windows/Linux pc/vps.
    e.g. 10.11.11.11 is the public IP address

    :Step:
    1. extract genshin_wan.7z
    2. replace 10.10.10.10 with 10.11.11.11 in all ini, xml, and json files in all folder

    3. replace _secret_token_ with your own secret_token in all ini files in frp folder
    4. choose you OS
    4.1. Setup FRP server on windows
    ---- Copy folder [win vps] to your windows pc/vps.
    ---- Run frps.bat
    ---- Configure firewall rules to allow frps.exe or port number 8899 and other forwarding port number
    4.2. Setup FRP server on linux
    ---- Copy folder [linux vps] to your linux pc/vps.
    ---- put frps and frps.ini under /usr/local/frps/
    ---- set frps to executable (755)
    ---- put this file (frps.service) at /etc/systemd/system
    ---- run "sudo systemctl daemon-reload && sudo systemctl enable frps && systemctl start frps"
    ---- Configure firewall rules to allow port number 8899 and other forwarding port number
    ---- Then you can manage frps with "sudo service frps {start|stop|restart|status}"
    5. setup FRP client on genshin server
    ---- Copy folder [genshin] to your genshin server.
    ---- put frpc and frpc.ini under /usr/local/frpc/
    ---- set frpc to executable (755)
    ---- put this file (frpc.service) at /etc/systemd/system
    ---- run "sudo systemctl daemon-reload && sudo systemctl enable frpc && systemctl start frpc"
    ---- Then you can manage frpc with "sudo service frpc {start|stop|restart|status}"
    6. upload and overwrite all the files in [genshin] folder on to your genshin server. Start genshin server cli
    ---- /root/genshin/srv/cli start

    Set the public IP in your launcher to
    IP: 10.11.11.11
    Port: 2888
    Uncheck Use HTTPS

    Forwarding port
    TCP
    2888 to 2888 (sdkserver)
    20001 to 20001 (Dispatch server)
    20011 to 20022 (Muip Server) set 20022 to other port if you dont want unknown ppl connecting to your GM server or remove this port from the ini file
    UDP
    20041 20041 (Gate Server)





    ::: Old Version :::
    Spoiler:

    :: Modify Server Config File Reload Time to reduce server load. ::

    Spoiler:

    Modify the reload time from 300 seconds (5 mins) to 36000 seconds (10 hours)

    sudo -i
    cd genshin/srv
    find . -name "gameserver.xml" -exec sed -i "s/AutoReloadConfig interval=\"300\"/AutoReloadConfig interval=\"36000\"/g" {} +
    find . -name "muipserver.xml" -exec sed -i "s/AutoReloadConfig interval=\"300\"/AutoReloadConfig interval=\"36000\"/g" {} +



    :: Remove/Reduce log files ::
    Spoiler:

    Change to root privileges
    sudo -i

    Change config files
    nano /root/genshin/srv/gameserver/conf/gameserver.xml
    nano /root/genshin/srv/muipserver/conf/muipserverxml
    nano /root/genshin/srv/nodeserver/conf/nodeserver.xml

    <!-- log configuration -->
    <LogConf>
    <LogLevelMask value="" />
    <MaxLogLen value="8192" />
    <LogCutTime value="1440" />
    <LogKeepTime value="4320" />
    <LogQueueSize value="170" />
    <LogBufSize value="24576" />
    <LogList>
    ---delete all---
    </LogList>
    </LogConf>

    change all nohup
    nano /root/genshin/srv/cli

    cd nodeserver
    chmod +x nodeserver
    nohup ./nodeserver -i 9001.3.1.1 &
    to
    cd nodeserver
    chmod +x nodeserver
    nohup ./nodeserver -i 9001.3.1.1 &> nohup.out &

    check log files
    find /root/genshin/srv/ -type f \( -name 'nohup.*' -o -name '*.log*' \) -ls

    delete log files
    find /root/genshin/srv/ -type f \( -name 'nohup.*' -o -name '*.log*' \) -exec rm {} \;



    :: Fixed Mongo DB data and DB Connection using Navicat ::
    Spoiler:

    Fixing Account information lost and not saved into MongoDB after VM shutdown.
    1. sudo -i (change to root)
    2. mkdir /root/genshin/mongo_data (create data dir for mongo db)
    3. nano ./docker.sh (modify docker.sh file)
    change
    docker run -d --net=host mongo
    to
    docker run -v /root/genshin/mongo_data:/data/db -d --net=host mongo
    Ctrl-X to save the changes



    ::Make MySQL and MongoDB docker start automatically when the system boots:::
    Spoiler:

    1. sudo -i
    Delete all existing docker image containers
    2. docker rm -vf $(docker ps -aq)
    3. nano ./docker.sh
    change
    docker run -d --net=host -v /root/genshin/database_map_folder:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=f2c340a9-bf06-4345-9654-00b074b92fe8 mysql:5.7-debian
    docker run -v /root/genshin/mongo_data:/data/db -d --net=host mongo
    to
    docker run --restart=always -d --net=host -v /root/genshin/database_map_folder:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=f2c340a9-bf06-4345-9654-00b074b92fe8 mysql:5.7-debian
    docker run --restart=always -v /root/genshin/mongo_data:/data/db -d --net=host mongo
    Ctrl-X to save the changes
    4. bash docker.sh
    (rename the docker.sh file to avoid being run again in future)
    5. mv docker.sh docker.bak

    Last edited by ylwong; 18-12-22 at 07:16 AM. Reason: Wan/Public IP access


  2. #2
    Grand Master TieLay is online now
    Grand MasterRank
    Jan 2011 Join Date
    RussiaLocation
    693Posts
    plz, anyone upload to mega...

  3. #3
    Newbie what is offline
    MemberRank
    Apr 2016 Join Date
    16Posts
    Quote Originally Posted by TieLay View Post
    plz, anyone upload to mega...
    https://forum.ragezone.com/f857/gens...ml#post9153341

  4. #4
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by TieLay View Post
    plz, anyone upload to mega...
    Added Mega.nz Mirror
    https://mega.nz/folder/4dBRGR5D#frGFO-2-1TWKmUi6SJlJMA

  5. #5
    Newbie what is offline
    MemberRank
    Apr 2016 Join Date
    16Posts

    How to fix?

  6. #6
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by what View Post
    How to fix?
    Cultivation launcher, Goto Option.
    Check Use Internal Proxy

  7. #7
    Elite Member jorgexxx1978cc is offline
    Member +Rank
    Aug 2021 Join Date
    138Posts
    Quote Originally Posted by ylwong View Post
    Cultivation launcher, Goto Option.
    Check Use Internal Proxy
    Can the client run in an area where there is no internet connection? Or does it only run with a permanent internet connection?

  8. #8
    Newbie what is offline
    MemberRank
    Apr 2016 Join Date
    16Posts
    Quote Originally Posted by ylwong View Post
    Cultivation launcher, Goto Option.
    Check Use Internal Proxy
    not working

  9. #9
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by jorgexxx1978cc View Post
    Can the client run in an area where there is no internet connection? Or does it only run with a permanent internet connection?
    Should be working fine without Internet connection, just need to have local area network access.

    Quote Originally Posted by what View Post
    not working
    Did you patch the UserAssembly.dll file?
    If you did and still have issues, then I have no idea what's wrong.

  10. #10
    Elite Member jorgexxx1978cc is offline
    Member +Rank
    Aug 2021 Join Date
    138Posts
    Quote Originally Posted by ylwong View Post
    Should be working fine without Internet connection, just need to have local area network access.


    Did you patch the UserAssembly.dll file?
    If you did and still have issues, then I have no idea what's wrong.
    In this VM server are there monsters on the map and can you do quests?

  11. #11
    Newbie what is offline
    MemberRank
    Apr 2016 Join Date
    16Posts
    Quote Originally Posted by ylwong View Post
    Should be working fine without Internet connection, just need to have local area network access.


    Did you patch the UserAssembly.dll file?
    If you did and still have issues, then I have no idea what's wrong.
    i dont know

    how to create new account? i want try

  12. #12
    Elite Member llenn is offline
    Member +Rank
    Sep 2020 Join Date
    you mom roomLocation
    162Posts
    GG Goodwork

  13. #13
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by what View Post
    i dont know

    how to create new account? i want try

    Enter this command
    ip addr
    to check the server IP

    If the server IP is not 192.168.200.130
    You have to set the IP to 192.168.200.130

    1. Edit the ip config file
    sudo nano /etc/netplan/00-installer-config.yaml

    2. Modify the content of the file to the one below

    3. Apply the IP changes
    sudo netplan --debug apply

    Enter this command to check your server ip again
    ip addr

    It should show 192.168.200.130 now, and restart the VM.

  14. #14
    Member lawful is offline
    MemberRank
    Aug 2015 Join Date
    47Posts
    This server can friend login? Im all server on and bridge setting
    friend login but client error 4206 show and fail
    Look grasscutter log friend login token is ok why?

    and thank you for your efforts

  15. #15
    Newbie popoii is offline
    MemberRank
    Nov 2017 Join Date
    21Posts
    Is this files playing normally work? everything work?

  16. #16
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by lawful View Post
    This server can friend login? Im all server on and bridge setting
    friend login but client error 4206 show and fail
    Look grasscutter log friend login token is ok why?

    and thank you for your efforts
    This VM is NAT mode, only support local PC.

    Quote Originally Posted by popoii View Post
    Is this files playing normally work? everything work?
    Game Quest working.
    I'm not sure if everything else is fully working.

  17. #17
    Newbie what is offline
    MemberRank
    Apr 2016 Join Date
    16Posts
    maybe my PC wrong, i can not load Cultivation with double click(run as admin OK)
    i can login with official myhoyo account or facebook account but error


    sr my english verybad

  18. #18
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by what View Post
    maybe my PC wrong, i can not load Cultivation with double click(run as admin OK)
    i can login with official myhoyo account or facebook account but error


    sr my english verybad
    I believe you skipped the step where you should have
    "Replace the UserAssembly.dll in Genshin\GenshinImpact_Data\Native game folder with the one in the Zip File"

    Your Login error appears to be caused by the game connecting to the live server.

  19. #19
    Newbie what is offline
    MemberRank
    Apr 2016 Join Date
    16Posts
    Quote Originally Posted by ylwong View Post
    I believe you skipped the step where you should have
    "Replace the UserAssembly.dll in Genshin\GenshinImpact_Data\Native game folder with the one in the Zip File"

    Your Login error appears to be caused by the game connecting to the live server.
    i do anything but error
    Last edited by what; 11-12-22 at 03:19 PM.

  20. #20
    Member ylwong is offline
    MemberRank
    Sep 2016 Join Date
    29Posts
    Quote Originally Posted by what View Post
    i do anything but error
    You could try uninstalling Cultivation and reinstalling it to see if the Cultivation problem persists.

  21. #21
    Grand Master TieLay is online now
    Grand MasterRank
    Jan 2011 Join Date
    RussiaLocation
    693Posts
    Does exist MOBILE client workable with this server?

  22. #22
    Member doodad is offline
    MemberRank
    Sep 2018 Join Date
    37Posts
    What's the SQL user for this database?

  23. #23
    Elite Member gorkn is online now
    Member +Rank
    Dec 2016 Join Date
    117Posts
    So in the edited cli you disabled a few servers.

    'Following server has been disable in cli file # cd ../oaserver
    # chmod +x oaserver
    # nohup ./oaserver -i 9001.9.1.1 &
    # cd ../pathfindingserver
    # chmod +x pathfindingserver
    # nohup ./pathfindingserver -i 9001.8.1.1 &
    # cd ../multiserver
    # chmod +x multiserver
    # nohup ./multiserver -i 9001.7.1.1 &
    # cd ../tothemoonserver
    # chmod +x tothemoonserver
    # nohup ./tothemoonserver -i 9001.10.1.1 &'

    Is there any information on what each of these do? What's being disabled with them not being turned on?

  24. #24
    Member xxodnr12 is online now
    MemberRank
    Apr 2020 Join Date
    65Posts
    After connecting to the game for the first time, I can't connect from the next time. I hear it's a proxy problem...

  25. #25
    Member matheos is offline
    MemberRank
    Sep 2012 Join Date
    98Posts
    conection error

    - - - Updated - - -

    Quote Originally Posted by what View Post
    maybe my PC wrong, i can not load Cultivation with double click(run as admin OK)
    i can login with official myhoyo account or facebook account but error


    sr my english verybad
    same with the test account
    Last edited by matheos; 12-12-22 at 03:51 PM.



Page 1 of 8 12345678 LastLast

Advertisement