Go Back   EQEmulator Home > EQEmulator Forums > General > General::News

General::News EQemu news posts.

Reply
 
Thread Tools Display Modes
  #16  
Old 01-20-2018, 01:34 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by Vexyl View Post
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
Reply With Quote
  #17  
Old 01-20-2018, 05:37 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by demonstar55 View Post
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
Reply With Quote
  #18  
Old 01-22-2018, 07:51 AM
jpyou127's Avatar
jpyou127
Discordant
 
Join Date: Nov 2005
Posts: 270
Default

What if you have a local login server as well. Same format of appending a number to each login server header?
Reply With Quote
  #19  
Old 01-22-2018, 08:26 AM
The_Beast's Avatar
The_Beast
Discordant
 
Join Date: May 2016
Location: Under a rock
Posts: 290
Default

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"
               }
          }
     }
}
Reply With Quote
  #20  
Old 01-22-2018, 07:15 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by jpyou127 View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

   

All times are GMT -4. The time now is 04:14 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3