Jump to content

rktmond

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by rktmond


  1. First, import the logs.sql to ragnarok database, or you have to change the settings to load logs from other database.

     

    And, do you have an account with username 'testid', password 'testpass' or whatever you put in this part of char-server.conf and map-server.conf:

    // Server Communication username and password.
    userid: "testid"
    passwd: "testpass"  

    and sex 'S' on your login table? If not, you have to create it.

     

    Thanks for the reply, I imported the log now on the ragnarok db, I had imported it on the wrong db earlier.

    About the login user, yes i have already account_id: 1  and userid: testid, user_pass: testpass and Sex: S already. I actually already created a server using rAthena files, i just want to switch to hercules. So I kinda know how to modify the server files since hercules is based on rAthena or continuation.

     

    BTW in rAthena I have to modify the file subnet_athena.conf, I don't know the equivalent of that file here in hercules. Also do I still need to modify packets.h file ?


  2. Hello, I'm trying to run the server on linux, here's the console's log

    dnYkd8G.jpg

     

     

    Here are the files that I modified:

    1. char-server.conf

    2. map-server.conf

    3. sql_connection.conf

    4. mmo.h

     

    char-server.conf

    // Information related to inter-server behavior
    	inter: {
    		// Server Communication username and password.
    		userid: "testid"
    		passwd: "testpass"
    		// Login Server IP
    		// The character server connects to the login server using this IP address.
    		// NOTE: This is useful when you are running behind a firewall or are on
    		// a machine with multiple interfaces.
    		login_ip: "XXX.XXX.XXX.XXX" //server's ip
    
    		// The character server listens on the interface with this IP address.
    		// NOTE: This allows you to run multiple servers on multiple interfaces
    		// while using the same ports for each server.
    		//bind_ip: "127.0.0.1"
    
    		// Login Server Port
    		login_port: 6900
    
    		// Character Server IP
    		// The IP address which clients will use to connect.
    		// Set this to what your server's public IP address is.
    		char_ip: "XXX.XXX.XXX.XXX" //server's ip
    
    		// Character Server Port
    		char_port: 6121
    	}
    

     

    map-server.conf

    inter: {
    		// Interserver communication passwords, set in the login server database
    		userid: "testid"
    		passwd: "testpass"
    
    		// Character Server IP
    		// The map server connects to the character server using this IP address.
    		// NOTE: This is useful when you are running behind a firewall or are on
    		// a machine with multiple interfaces.
    		char_ip: "XXX.XXX.XXX.XXX" //server's ip
    
    		// The map server listens on the interface with this IP address.
    		// NOTE: This allows you to run multiple servers on multiple interfaces
    		// while using the same ports for each server.
    		//bind_ip: "127.0.0.1"
    
    		// Character Server Port
    		char_port: 6121
    
    		// Map Server IP
    		// The IP address which clients will use to connect.
    		// Set this to what your server's public IP address is.
    		map_ip: "XXX.XXX.XXX.XXX" //server's ip
    
    		// Map Server Port
    		map_port: 5121
    	}
    

     

    sql_connection.conf

    sql_connection: {
    	// [INTER] You can specify the codepage to use in your mySQL tables here.
    	// (Note that this feature requires MySQL 4.1+)
    	//default_codepage: ""
    
    	// [LOGIN] Is `userid` in account_db case sensitive?
    	//case_sensitive: false
    
    	// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1.
    	// Under windows, you want to use 127.0.0.1.  If you see a message like
    	// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
    	// and you have localhost, switch it to 127.0.0.1
    	db_hostname: "127.0.0.1"
    	db_port: 3306
    	db_username: "test" //correct username
    	db_password: "test123" //correct password
    	db_database: "ragnarok"
    	//codepage:""
    }
    
    

     

    mmo.h

    #ifndef PACKETVER
    	#define PACKETVER 20130807 //im using 2013-08-07aRagexe
    #endif // PACKETVER
    

     

    The login userid and password on database is the same on char-server.conf and map-server.conf. The error log on the console says "[Error]: The communication passwords are set in /conf/map-server.conf and /conf/char/char-server.conf". When I downloaded this server files the map-server.conf is located at "/conf/map/map-server.conf" and not in "/conf/map-server.conf".

     

    Are there anymore files that i need to modify ?

     

    Thank you.

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.