|
|
![](/forums/images/Darkness/misc/spacer.gif) |
![](/forums/images/Darkness/misc/spacer.gif) |
![](/forums/images/Darkness/misc/spacer.gif) |
![](/forums/images/Darkness/misc/q1.jpg) |
|
![](/forums/images/Darkness/misc/q1-1.jpg) |
![](/forums/images/Darkness/misc/q4.jpg) |
|
![](/forums/images/Darkness/misc/q4-1.jpg) |
![](/forums/images/Darkness/misc/a1.jpg) |
|
![](/forums/images/Darkness/misc/a1-1.jpg) |
|
General::News EQemu news posts. |
![Old](/forums/images/Darkness/statusicon/post_old.gif)
01-20-2018, 01:34 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
Quote:
Originally Posted by Vexyl
Interesting, but why not just use Lua for config since the server is already being linked against it?
|
Technically, lua and perl are optional dependencies that are on by default :P
JSON is the cool thing on the block right now too :P
|
![Old](/forums/images/Darkness/statusicon/post_old.gif)
01-20-2018, 05:37 PM
|
![Akkadius's Avatar](image.php?s=87ae2de612c27d2dd38695f117b39dae&u=100179&dateline=1673514719) |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
Quote:
Originally Posted by demonstar55
Technically, lua and perl are optional dependencies that are on by default :P
JSON is the cool thing on the block right now too :P
|
Haha, cool is partially true
XML has just been annoying to work with on all fronts
There's a hundred different ways to do a config these days and JSON is just easy to integrate with just about anything today, makes it an easy choice ![Very Happy](http://www.eqemulator.net/forums/images/smilies/icon_biggrin.gif)
|
![Old](/forums/images/Darkness/statusicon/post_old.gif)
01-22-2018, 07:51 AM
|
![jpyou127's Avatar](image.php?s=87ae2de612c27d2dd38695f117b39dae&u=61981&dateline=1490293856) |
Discordant
|
|
Join Date: Nov 2005
Posts: 270
|
|
What if you have a local login server as well. Same format of appending a number to each login server header?
|
![](/forums/images/Darkness/misc/a4.gif) |
|
![](/forums/images/Darkness/misc/a6.gif) |
![Old](/forums/images/Darkness/statusicon/post_old.gif)
01-22-2018, 08:26 AM
|
![The_Beast's Avatar](image.php?s=87ae2de612c27d2dd38695f117b39dae&u=230422&dateline=1516595651) |
Discordant
|
|
Join Date: May 2016
Location: Under a rock
Posts: 290
|
|
This is what the conversion gave me from a dual login xml config. I haven't tested the "public" part of it yet.
Code:
{
"server" : {
"chatserver" : {
"host" : "127.0.0.1",
"port" : "7778"
},
"database" : {
"db" : "peq",
"host" : "127.0.0.1",
"password" : "password",
"port" : "3306",
"username" : "username"
},
"directories" : {
"logs" : "logs/",
"lua_modules" : "lua_modules/",
"maps" : "maps/",
"patches" : "./",
"plugins" : "plugins/",
"quests" : "quests/",
"shared_memory" : "shared/"
},
"mailserver" : {
"host" : "127.0.0.1",
"port" : "7778"
},
"qsdatabase" : {
"db" : "peq",
"host" : "127.0.0.1",
"password" : "password",
"port" : "3306",
"username" : "username"
},
"world" : {
"http" : {
"enabled" : "false",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "somerandomstringofcharacters",
"loginserver1" : {
"account" : "",
"host" : "login.eqemulator.net",
"legacy" : "1",
"password" : "",
"port" : "5998"
},
"loginserver2" : {
"account" : "username",
"host" : "192.168.0.5",
"legacy" : "0",
"password" : "password",
"port" : "5998"
},
"longname" : "PEQ Test",
"shortname" : "peqtest",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9000",
"telnet" : "disable"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7500",
"low" : "7000"
}
}
}
}
|
![](/forums/images/Darkness/misc/a1.gif) |
|
![](/forums/images/Darkness/misc/a3.gif) |
![Old](/forums/images/Darkness/statusicon/post_old.gif)
01-22-2018, 07:15 PM
|
![Akkadius's Avatar](image.php?s=87ae2de612c27d2dd38695f117b39dae&u=100179&dateline=1673514719) |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
Quote:
Originally Posted by jpyou127
What if you have a local login server as well. Same format of appending a number to each login server header?
|
Yep that works just fine
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 09:41 PM.
|
|
![](/forums/images/Darkness/misc/s1.jpg) |
|
![](/forums/images/Darkness/misc/s1-1.jpg) |
|
|
|
![](/forums/images/Darkness/misc/z1.jpg) |
|
![](/forums/images/Darkness/misc/z1-1.jpg) |
|
![](/forums/images/Darkness/misc/side3.jpg) |