Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lubuntu@lubuntu:~$ wget https://github.com/spring/uberserver/archive/master.zip
- --2015-07-12 11:18:15-- https://github.com/spring/uberserver/archive/master.zip
- Resolving github.com (github.com)... 192.30.252.131
- Connecting to github.com (github.com)|192.30.252.131|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- Location: https://codeload.github.com/spring/uberserver/zip/master [following]
- --2015-07-12 11:18:15-- https://codeload.github.com/spring/uberserver/zip/master
- Resolving codeload.github.com (codeload.github.com)... 192.30.252.146
- Connecting to codeload.github.com (codeload.github.com)|192.30.252.146|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [application/zip]
- Saving to: ‘master.zip’
- master.zip [ <=> ] 85.28K 299KB/s in 0.3s
- 2015-07-12 11:18:16 (299 KB/s) - ‘master.zip’ saved [87324]
- lubuntu@lubuntu:~$ unzip master.zip
- Archive: master.zip
- 096b88fa8e70c3e29f18083e11e3f2655934f492
- creating: uberserver-master/
- inflating: uberserver-master/.gitignore
- inflating: uberserver-master/.travis.yml
- inflating: uberserver-master/BaseClient.py
- inflating: uberserver-master/ChanServ.py
- inflating: uberserver-master/Client.py
- inflating: uberserver-master/CryptoHandler.py
- inflating: uberserver-master/DataHandler.py
- inflating: uberserver-master/LICENSE
- inflating: uberserver-master/NATServer.py
- inflating: uberserver-master/README.md
- inflating: uberserver-master/SQLUsers.py
- inflating: uberserver-master/SayHooks.py
- inflating: uberserver-master/TestLobbyClient.py
- inflating: uberserver-master/XmlRpcServer.py
- inflating: uberserver-master/XmlRpcTestClient.py
- inflating: uberserver-master/agreement.txt
- creating: uberserver-master/docs/
- inflating: uberserver-master/docs/ChanServCommands.html
- inflating: uberserver-master/docs/TODO.txt
- inflating: uberserver-master/docs/propertymap.txt
- inflating: uberserver-master/ip2country.py
- inflating: uberserver-master/motd.txt
- creating: uberserver-master/protocol/
- inflating: uberserver-master/protocol/AutoDict.py
- inflating: uberserver-master/protocol/Battle.py
- inflating: uberserver-master/protocol/Channel.py
- inflating: uberserver-master/protocol/Protocol.py
- extracting: uberserver-master/protocol/__init__.py
- creating: uberserver-master/scripts/
- inflating: uberserver-master/scripts/build_exe.py
- inflating: uberserver-master/scripts/fetch_deps.py
- inflating: uberserver-master/server.py
- inflating: uberserver-master/stacktracer.py
- inflating: uberserver-master/stresstest.py
- inflating: uberserver-master/twistedserver.py
- inflating: uberserver-master/updates.txt
- creating: uberserver-master/www/
- extracting: uberserver-master/www/getip.php
- lubuntu@lubuntu:~$ cd uberserver-master
- lubuntu@lubuntu:~/uberserver-master$
- lubuntu@lubuntu:~/uberserver-master$ sed -i "s#urlopen('http://springrts.com/lobby/getip.php').read()#'8.8.8.8'#" DataHandler.py
- lubuntu@lubuntu:~/uberserver-master$ sed -i "s#allowed = False#allowed = True#" protocol/Protocol.py
- lubuntu@lubuntu:~/uberserver-master$ sed -Ei "s#(def in_LOGIN.*)#\1\n\t\tself.userdb.legacy_register_user(username, password, client.ip_address, client.country_code)#" protocol/Protocol.py
- lubuntu@lubuntu:~/uberserver-master$ sed -i "s#(client.access == 'agreement'#(client.access == 'agreement_disabled'#" protocol/Protocol.py
- lubuntu@lubuntu:~/uberserver-master$ sudo apt-get install python-sqlalchemy python-pycryptopp python-twisted
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- python-sqlalchemy is already the newest version.
- python-twisted is already the newest version.
- python-pycryptopp is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- lubuntu@lubuntu:~/uberserver-master$ ./server.py
- Couldn't load /usr/share/GeoIP/GeoIP.dat: No module named GeoIP
- Hint: apt-get install geoip-database python-geoip
- Error parsing profanity list: [Errno 2] No such file or directory: 'bad_words.txt'
- Error parsing shock site list: [Errno 2] No such file or directory: 'bad_sites.txt'
- Detecting local IP:
- 127.0.1.1
- Detecting online IP:
- 8.8.8.8
- ----------------------------------------
- Starting uberserver...
- Awaiting UDP messages on port 8201
- Using 25 client handling thread(s).
- Listening for XMLRPC clients on 127.0.0.1:8300
- Multiple threads are not supported with sqlite, forcing a single thread
- Please note the server performance will not be optimal
- You might want to install a real database server
- [0] Successfully logged in static user <ChanServ>
- [1] Client connected from 8.8.8.8:33381
- [1] Successfully logged in user <YourName> (access=agreement).
Advertisement
Add Comment
Please, Sign In to add comment