This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import datetime | |
| import logging | |
| from twisted.internet import reactor | |
| from twisted.internet.protocol import ServerFactory, Protocol | |
| # Defines the time between server reports | |
| SERVERSTATCALLBACK = 3600 | |
| # Client class handler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class_name Core | |
| extends Node | |
| # What region will we be connecting to? | |
| var region: String = "US" | |
| # Dictionary of server regions containing their matching ip/port | |
| var _server_dict: Dictionary = { | |
| "Local": ["127.0.0.1", 6060], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php declare(strict_types = 1); | |
| namespace Runt\Database; | |
| /** | |
| * A database PDO wrapper that provides a | |
| * fluent api for fast, easy database operations. | |
| * This is based off the now defunct Kohana Framework | |
| * database and ORM. | |
| * |