Jump to content
Haru

[2016-08-20] Configuration files converted to libconfig

Recommended Posts

You have to override the global settings from inter-server.conf.

 

You need to copy the content of global/sql_connections.conf and paste it inside the "log: { }" block that you see in inter-server.conf (and delete the @include directive that you find there).

 

Please see doc/global_configuration.txt for more details and an example.

Share this post


Link to post
Share on other sites

this update make me crazy.

 

i had already changes userid and passw in char_conf, map_conf, and login table,

but when i ran run_server.bat, char-serv disconnected because char-server read USER S1 AND PASSWORD P1 !

i dunno what is wrong, totally changed all S1 AND P1 to my userid and password.

Share this post


Link to post
Share on other sites

- Did you edit them in conf/char/char-server.conf?

- What do you have in your conf/import/char-server.conf?

- Any [Error] or [Warning] messages in the char server console?

Share this post


Link to post
Share on other sites

- Did you edit them in conf/char/char-server.conf?

- What do you have in your conf/import/char-server.conf?

- Any [Error] or [Warning] messages in the char server console?

 

 

 

- Did you edit them in conf/char/char-server.conf?

- What do you have in your conf/import/char-server.conf?

- Any [Error] or [Warning] messages in the char server console?

Haru, he already solved.

http://herc.ws/board/topic/13389-new-hercules-configuration/#entry76629

 

and i got this problem.

the problem is in this line :

 

 

 

 

// Set the letters/symbols that you want use with the 'char_name_option' option. // Note: Don't add spaces unless you mean to add 'space' to the list.

name_letters: "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"

 

i got that error if i changed that to this :

 

// Set the letters/symbols that you want use with the 'char_name_option' option. // Note: Don't add spaces unless you mean to add 'space' to the list.

name_letters: "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~`~!@#$%%^&*()_+":?>}"

 

so, in herc, we cannot create a nickname with "

 

sorry Haru, ... rly i feel sorry

Edited by Lilori

Share this post


Link to post
Share on other sites

In order to specify the " character, please prefix it with a backspace (\").

 

This is from the libconfig documentation at http://www.hyperrealm.com/libconfig/libconfig_manual.html#String-Values :

String values consist of arbitrary text delimited by double quotes. Literal double quotes can be escaped by preceding them with a backslash: ‘\"’. The escape sequences ‘\\’, ‘\f’, ‘\n’, ‘\r’, and ‘\t’ are also recognized, and have the usual meaning.

 

In addition, the ‘\x’ escape sequence is supported; this sequence must be followed by exactly two hexadecimal digits, which represent an 8-bit ASCII value. For example, ‘\xFF’ represents the character with ASCII code 0xFF.

 

No other escape sequences are currently supported.

 

Adjacent strings are automatically concatenated, as in C/C++ source code. This is useful for formatting very long strings as sequences of shorter strings. For example, the following constructs are equivalent:

 

"The quick brown fox jumped over the lazy dog."

"The quick brown fox"

" jumped over the lazy dog."

"The quick" /* comment */ " brown fox " // another comment

"jumped over the lazy dog."

Share this post


Link to post
Share on other sites

 

In order to specify the " character, please prefix it with a backspace (\").

 

This is from the libconfig documentation at http://www.hyperrealm.com/libconfig/libconfig_manual.html#String-Values :

String values consist of arbitrary text delimited by double quotes. Literal double quotes can be escaped by preceding them with a backslash: ‘\"’. The escape sequences ‘\\’, ‘\f’, ‘\n’, ‘\r’, and ‘\t’ are also recognized, and have the usual meaning.

 

In addition, the ‘\x’ escape sequence is supported; this sequence must be followed by exactly two hexadecimal digits, which represent an 8-bit ASCII value. For example, ‘\xFF’ represents the character with ASCII code 0xFF.

 

No other escape sequences are currently supported.

 

Adjacent strings are automatically concatenated, as in C/C++ source code. This is useful for formatting very long strings as sequences of shorter strings. For example, the following constructs are equivalent:

 

"The quick brown fox jumped over the lazy dog."

"The quick brown fox"

" jumped over the lazy dog."

"The quick" /* comment */ " brown fox " // another comment

"jumped over the lazy dog."

 

 

Supppeeerrrr !!!

thx Haru, ur da best :D

 

sad, i have no experience with programming language :(

sorryyy and thankyou :D

Share this post


Link to post
Share on other sites

Hello, sorry for make this topic alive again! LOL, but even replacing the @include sql global connection, it's still appearing the SQL loginlog issue, so my question is the following: can i merged ragnarok_log database with my "xxxxxragnarok_rag" database? or i'll make some kind of mess by redundant data. 

 

I'm just kinda newbie in hercules server stuff, so if you guys can help me i'll be thankfully to you a lot! 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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