Jump to content

TonisBoss

Inactive Member
  • Posts

    48
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by TonisBoss

  1. 4 minutes ago, TMP4 said:

    No you don't. Check the basic skyboxes and find the difference with your implementation of the new ones.

    Do you mean the database? (since Metin2 server have db binary it's confusing sometimes)
    Just set the user's host to the website. like web@web_ip_address and set root to root@localhost.
    You don't need ipfw for this.

    But the rules would look like this I guess

    ${fwcmd} add 00001 deny all from any to me dst-port 3306
    ${fwcmd} add 00002 allow all from 127.0.0.0/8 to me dst-port 3306
    ${fwcmd} add 00003 allow all from web_ip_address to me dst-port 3306

    Yes.i mean database. I want it to refuse external connections, for sql injections. If I set root to localhost it's the same thing that i want to do with firewall? 

  2. 32 minutes ago, TMP4 said:

    Yes it does. MySQL80 is not supported. Please read this if you want to get some clue about upgrading:

     

    If you recompiled the game then you can not get the same error since it will never step into that else if (that's why I said dirty fix).
    So please recompile it. (In a x32 system, or in the provided vm then upload the /usr/metin2/server/share/bin/game file to the vps)

    gameclean	 or	cd /usr/metin2/src/game/src && gmake clean
    gamecompile	 or	cd /usr/metin2/src/game/src && gmake -j9

    And since you are using some kind if virtualization in your vps then set BIND_IP & PROXY_IP with your private & public IP address.

    Solved. Thank you very much.

    • Good 1
  3. 30 minutes ago, TMP4 said:

    10.xx.xx.xx? Then your vps have a private IP address.

    At game/src/config.cpp you can find this else if (!strncmp(netip, "10.", 3))
    Edit the number 10 to any other number but keep the size (or edit the 3) like: else if (!strncmp(netip, "00.", 3)

    It is some dirty fix for Ymir's "great" logic.

    You have to recompile the game file. You can only compile in a x32 system, you can use the provided vm, then upload the game file to your vps.

    Also you probably interested in the PROXY_IP since you'll get kicked out after charselect since that 10.x ip is a private ip, you have to proxy the players to the vps's public ip. In every CONFIG file you'll find #BIND_IP: x and #PROXY_IP: x. Uncomment those (remove the #) and set the BIND_IP value to your private ip, and PROXY_IP value to your public ip.

    Did the steps, not solved
     spacer.png

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.