ServerTester
From Crumbled World Wiki
Constructor
| function | description |
|---|---|
| ServerTester() |
Functions
| return | function | description |
|---|---|---|
| parseServerTable(object table) | Parses a server table recived from the internet. | |
| bool | hasNewServerInfo() | Returns true if a new server has been confirmed |
| table | popNewServerInfo() | Pops server info from the list if hasNewServerInfo()==true. returns table formated like {ip="192.168.1.2",port=27015,info="Map:mapName.map;difficulty:Normal"} |
| bool | isFinished() | Returns true if there is more servers on the list that has not been tested |