Jump to content

Rivers

Members
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Rivers

  1. On 3/16/2024 at 12:51 PM, Faiz said:

     

    Hi there,

    I just followed your guides and it still to be ...
    ...

    Good morning. Your IP address is set to a local host IP. You'll need to obtain your IPv4 (you can Google "What's my IP" from the device) and replace all the 198.x.x.x with that IPv4 address. There is also one minor discrepancy on the ssh config. You can remove, or comment out the X11Forwarding to say "no".

    image.png

  2. On 3/13/2024 at 11:39 AM, Faiz said:

    Hi, thanks for the tutorial. Can I use this tutorial using VirtualBox to make it online?  I noticed that my VirtualBox IP address is not in my router config (client list), is there any trick to do this? Thank you!

    This has been tested by a couple others on VBox. You'll need to get the public IP of the VBox which will likely be different from your system's IP. Your Public IPv4 is what you want.

  3. 4 minutes ago, HampasLupa said:

    until what step do i continue? seems next steps are also relataed to masking ip

     

    Step seven is for making your home page HTTPS instead of HTTP. This can be done with just your IP as well.
    Step eight is file transfer protocol which is also able to be done withjust the IP. 
    For these next steps the DNS is optional as a feature, but still recommended if you plan to publish this website publicly.

    • Upvote 1
  4. Make sure your firewall settings are allowing all the ports through or you will experience blocks ind ata, such as that. This is usually an issue with the data not sending/recieving properly from server to client and back.
    I resolved this issue by allowing all ports to be open through the firewall and granting rwx permissions to all files in the rAthena folder.

  5. 9 minutes ago, HampasLupa said:

    i redo the proccess and got passed throught this but when i try to start the server this happens 
    i already edited the clientinfo.xml

    image.png.e1ec2593ca334d8a87a0e94a3da1b763.png

     

    So this specific issue happens when there's a misconfiguration in the MySQL (PMA) set up. This could be a typo in the inter_athena.conf or your PMA user doesn't have explicit permissions.
    First check for the config in inter_athena.conf. Navigate to your rA/Conf folder:
    /home/raguser/Server/rAthena/conf

    /home/raguser/rAthena/conf

    And edit the lines that have your username, password & database details.
    image.png.a6eec3d63f1ff68af6ef9ebc038fb618.png


    If that fails to work then proceed to check the profile of MySQL. We can quickly edit this with the following lines of code. Firstly, open MySQL:
    image.png.031f803453e202bd65cfdc4a575df9c2.png

    If you error like this:

    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

    Instead do:

    sudo mysql -u root -p

    And enter your password.

     

    Once presented with the SQL window enter (and edit to reflect your info) in the following:

    CREATE DATABASE ragserver;
    CREATE USER 'raguser'@'localhost' IDENTIFIED BY 'StrongPassword';
    CREATE USER 'raguser'@'%' IDENTIFIED BY 'StrongPassword';
    GRANT ALL PRIVILEGES ON ragserver. * TO 'raguser'@'localhost' WITH GRANT OPTION;
    GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'%' WITH GRANT OPTION;
    GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'localhost' WITH GRANT OPTION;

    It's exactly as we did in the above steps.

    IF this fails too...
    Run this command sequence in MySQL:

    SELECT user,plugin,host FROM mysql.user WHERE user = 'root';
    
    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'AStrongPasswordIsRecommended';
    
    FLUSH PRIVILEGES;
    
    CREATE USER 'raguser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'AStrongPasswordIsRecommended';
    
    GRANT ALL PRIVILEGES ON *.* TO 'raguser'@'localhost' WITH GRANT OPTION;
    
    exit


    This will flush and grant permissions to your ragnarok user profile for PMA.

    • Like 1
  6. On 1/11/2024 at 2:21 PM, Piamette said:

    Does the clientinfo.xml needs to be repacked into grf or I can leave it in data folder? Also thanks a lot!

    If your executable has the patch to allow reading from the data folder (insecure) it will work by adding to that data folder. Otherwise, you'll need to repack it into the GRF.

     

    Added a new step. Search for o3.2.0 to learn now to set up automatic server-backups for the rAthena trunk. 
    EDIT: Added MySQL backups too.

  7. 17 minutes ago, Piamette said:

    Thanks, can I ask after Step 5 how to have my friends connect to the server?

    You'll make a client executable (ragnarok.exe) and send that to them along with the rest of the server files from the latest kRO setup. Inside your data.grf you have a clientinfo.xml which holds the connection info for your server. Edit the IP and other details to match yours and you're good to go.

  8. Try pasting these commands in your terminal see if that works.
    Change to your rAthena directory first, then:

    ./athena-start stop
    sudo fuser -k 1318/tcp
    sudo fuser -k 1318/udp
    sudo fuser -k 1320/tcp
    sudo fuser -k 1320/udp
    sudo fuser -k 1322/tcp
    sudo fuser -k 1322/udp
    sudo fuser -k 1324/tcp
    sudo fuser -k 1324/udp

     

×
×
  • Create New...