Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Server core?
- ]]
- os.execute(Server.start)
- os.execute(Server.mysql)
- os.execute(Server.core)
- print("Xe0n Emulator")
- print("Reading config file")
- --Basic server ideas, may need to be refined and coded again
- loadfile("/sql/config.conf")
- if (loadfile == false)
- print("File does not exist")
- end
- if (config.conf == false)
- print("Edit the config file")
- end
- if (config.conf == true)
- print("Starting connections")
- end
- socket.tcp()
- socket.mus()
- function createTCPServer( host, port, backlog )
- function createMUSServer( host, port, backlog )
- print("MUS and TCP sockets open and ready")
Advertisement
Add Comment
Please, Sign In to add comment