Jump to content

  •  

rktmond

Member Since 15 Jan 2017
Offline Last Active May 16 2017 05:10 AM
-----

Topics I've Started

How can I detect unpacked client ?

23 February 2017 - 12:31 AM

Hi,

 

How can I detect if the player is using an unpacked client and automatically kick it by the server ? are there free anti cheat programs that has this feature ?

 

Thank you.

 


Free ragnarok images

16 January 2017 - 06:33 AM

Where do you get free-for-commercial-use or paid ragnarok arts that can be post on your website?


Failed to run the server

15 January 2017 - 08:39 AM

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.