Implemented client_serverlist module! Close #200

* Will store servers that are not already in the list when logging in
* Can add servers manually if required too
* Fixed a bug in table.size
This commit is contained in:
BeniS
2013-02-24 00:41:21 +13:00
parent 2296e35174
commit 8e9f65779c
11 changed files with 444 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
Module
name: client_serverlist
description: Manages a server list of previously entered servers
author: BeniS
website: www.otclient.info
dependencies:
- client_entergame
@onLoad: |
dofile 'serverlist'
dofile 'addserver'
ServerList.init()
AddServer.init()
@onUnload: |
ServerList.terminate()
AddServer.terminate()