Guys, thanks for looking into this!
The server at least compiles and runs, however, I have a new problem. Whenever somebody joins, the account settings are getting overwritten. On login, everyone is prompted to pick a ship, even if you have a saved game. You then start in space outside a planet, instead of starting docked at the station you made your last save at
Permissions all look ok. At least people can login though, that's better than nothing.
Here's what it looks like from GDB. As you can see, it defaults to 20,000 credits and privateer faction, and loads you in space at 0 velocity outside of a planet.
Code: Select all
LOADING Universe file : milky_way.xml
FactionXML:LoadXML factions.xml
Universe LOADED
running import sys
print sys.path
sys.path = [r"/home/cfw/vegastrike/data/modules/builtin",r"/home/cfw/vegastrike/data/modules/quests",r"/home/cfw/vegastrike/data/modules/missions",r"/home/cfw/vegastrike/data/modules/ai",r"/home/cfw/vegastrike/data/modules",r"/home/cfw/vegastrike/data/bases"]
['/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages']
testing VS randomrunning import sys
print sys.path
['/home/cfw/vegastrike/data/modules/builtin', '/home/cfw/vegastrike/data/modules/quests', '/home/cfw/vegastrike/data/modules/missions', '/home/cfw/vegastrike/data/modules/ai', '/home/cfw/vegastrike/data/modules', '/home/cfw/vegastrike/data/bases']
Exiting ReadSavedPackets
======== SERVER IS NOW RUNNING ========
Server Port: 6777
Server IP Addresses:
[New Thread 0xb7af38d0 (LWP 11461)]
No network interfaces found associated to your hostname.
(Consult the '/sbin/ifconfig' command-line tool for your IP.)
You can also connect locally using 'localhost'
Private Server
---------------------------------------
To stop this server, hit Ctrl-C, Ctrl-\, Ctrl-Break, or close this window.
Have fun!
owlevel/vsnet_serversocket.cpp:34
------------------------------------------
ServerSocketTCP for 5 selected
------------------------------------------
owlevel/vsnet_serversocket.cpp:51 accepted new sock 7
g/lowlevel/vsnet_sockettcp.cpp:71 enter VsnetTCPSocket::VsnetTCPSocket(int, const AddressIP&, SocketSet&)
owlevel/vsnet_serversocket.cpp:81 A connection has been accepted
tworking/netserver_clients.cpp:32 - Actual number of clients : 1
owlevel/vsnet_serversocket.cpp:87 No accepted TCP connection
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_CONNECT from serial (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_LOGIN from serial (not ingame)
src/networking/netserver.cpp:685 >>> LOGIN REQUEST --------------------------------------
src/networking/netserver.cpp:748 <<< LOGIN REQUEST --------------------------------------
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_CHOOSESHIP from serial (not ingame)
======= Creating Cockpit 0 for universe save data! =======
networking/netserver_login.cpp:294 credits = 20000
networking/netserver_login.cpp:295 faction = privateer
networking/netserver_login.cpp:296 -> SAVE LOADED
networking/netserver_login.cpp:300 -> UNIT FACTORY WITH XML
Initializing optimizer
networking/netserver_login.cpp:329 AFTER UNIT FACTORY WITH XML
networking/netserver_login.cpp:336 -> UNIT LOADED
networking/netserver_login.cpp:340 -> COCKPIT AFFECTED TO UNIT
src/networking/zonemgr.cpp:136 >>> ADDING A NEW ZONE = Special/Network - ZONE # = 0
src/networking/zonemgr.cpp:137 --== STAR SYSTEM NOT FOUND - GENERATING ==--
computing serials for Special/Network.system...Found serial in system file : replacing serials...
Found 0 occurences of <planet
Found 2 occurences of <Planet
Found 0 occurences of <PLANET
Found 0 occurences of <unit
Found 0 occurences of <Unit
Found 0 occurences of <UNIT
Found 0 occurences of <nebula
Found 0 occurences of <Nebula
Found 0 occurences of <NEBULA
Found 0 occurences of <jump
Found 0 occurences of <Jump
Found 0 occurences of <JUMP
OK !
Contents of star system:
<system name="Simulation" background="backgrounds/green" nearstars="500" stars="1000" starspread="150" x="0" y="0" z="0">
<Light>
<ambient red=".7" green=".7" blue=".7"/>
<diffuse red="0.1" green="0.1" blue="0.1"/>
<specular red=".75" green=".75" blue=".75"/>
</Light>
<Planet serial="00276" name="Sun" file="stars/white_star.texture" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="75000" x="0.000000" y="850000" z="0.000000" Red="0" Green="0" Blue="0" ReflectNoLight="true" light="0">
</Planet>
<Planet serial="00279" name="Market" file="planets/desert.texture" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="750000" x="0.000000" y="845000" z="0.000000">
</Planet>
</system>
Creating planet Sun with texture stars/white_star.texture and technique - unitlevel <= 2
UNIT HAS DIED: white_star White_Star (file white_star)
Creating planet Market with texture planets/desert.texture and technique - unitlevel <= 2
UNIT HAS DIED: desert desert (file desert)
Loading a starsystem
Loading Star System Special/Network
Writing Save Game SAVING STARDATE - SERVER=
networking/netserver_login.cpp:110 enter void NetServer::sendLoginAccept(ClientPtr, Cockpit*)
networking/netserver_login.cpp:131 >>> SEND LOGIN ACCEPT =( serial #273 )= --------------------------------------
networking/netserver_login.cpp:132 SAVE=6229 bytes - XML=5504 bytes
SENDING STARDATE : 0.0000:56
--== STAR SYSTEM Special/Network ALREADY EXISTS ==--
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...
ERROR: NULL Unit used in Python script; returning default value...import server;my_obj=server.player()warning: Unknown tag: python
* CREATED Special/Network 276 neutral white_star (Sun)
* CREATED Special/Network 279 neutral desert (Market)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_DOWNLOAD from serial 273 (not ingame)
src/networking/netserver.cpp:934 >>> CMD DOWNLOAD =( serial #0 )= --------------------------------------
ng/lowlevel/vsnet_dloadmgr.cpp:501 Enter void VsnetDownload::Server::Manager::addCmdDownload(SOCKETALT, NetBuffer&)
ng/lowlevel/vsnet_dloadmgr.cpp:506 *** cmd ResolveRequest
ng/lowlevel/vsnet_dloadmgr.cpp:730 Enter bool VsnetDownload::Server::Manager::private_test_access(const std::string&, VSFileSystem::VSFileType)
ng/lowlevel/vsnet_dloadmgr.cpp:738 Found local file /Special/Network.system
src/networking/netserver.cpp:937 <<< CMD DOWNLOAD --------------------------------------------------------------
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_DOWNLOAD from serial 273 (not ingame)
src/networking/netserver.cpp:934 >>> CMD DOWNLOAD =( serial #0 )= --------------------------------------
ng/lowlevel/vsnet_dloadmgr.cpp:501 Enter void VsnetDownload::Server::Manager::addCmdDownload(SOCKETALT, NetBuffer&)
ng/lowlevel/vsnet_dloadmgr.cpp:506 *** cmd DownloadRequest
ng/lowlevel/vsnet_dloadmgr.cpp:748 Enter VSFileSystem::VSFile* VsnetDownload::Server::Manager::private_access(std::string&, VSFileSystem::VSFileType)
ng/lowlevel/vsnet_dloadmgr.cpp:753 Opened local file Special/Network.system
src/networking/netserver.cpp:937 <<< CMD DOWNLOAD --------------------------------------------------------------
ng/lowlevel/vsnet_dloadmgr.cpp:610 Enter void VsnetDownload::Server::Manager::lower_check_queues()
ng/lowlevel/vsnet_dloadmgr.cpp:629 Enter void VsnetDownload::Server::Manager::lower_check_queues()
ng/lowlevel/vsnet_dloadmgr.cpp:650 Enter bool VsnetDownload::Server::Manager::private_lower_try_push_queue(SOCKETALT, boost::shared_ptr<std::queue<boost::shared_ptr<VsnetDownload::Server::DownloadItem>, std::deque<boost::shared_ptr<VsnetDownload::Server::DownloadItem>, std::allocator<boost::shared_ptr<VsnetDownload::Server::DownloadItem> > > > >)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_SERVERTIME from serial 273 (not ingame)
c/networking/netserver_net.cpp:117 Rcvd TCP: CMD_ADDCLIENT from serial 273 (not ingame)
src/networking/netserver.cpp:761 >>> ADD REQUEST =( serial #273 )= --------------------------------------
tworking/netserver_clients.cpp:104 >>> SEND ENTERCLIENT =( serial #273 )= --------------------------------------
ADDING Player number 1
--== STAR SYSTEM Special/Network ALREADY EXISTS ==--
src/networking/zonemgr.cpp:278 >> ADDING CLIENT IN ZONE # 0
1 clients now in zone 0
ENTERING NEW CLIENT: 273 privateer Admonisher (Admonisher.stock), 'YoYo' 0
PLAYER NOT DOCKED - STARTING AT POSITION : x=51.1748,y=51.1748,z=51.1748
Writing Save Game SAVING STARDATE - SERVER=
tworking/netserver_clients.cpp:212 <<< SEND ENTERCLIENT(273) TO OTHER CLIENT IN THE ZONE------------------------------------------
tworking/netserver_clients.cpp:215 Serial : 273
tworking/netserver_clients.cpp:218 >>> SEND ADDED YOU =( serial #273 )= --------------------------------------
Writing Save Game SAVING STARDATE - SERVER=
src/networking/zonemgr.cpp:122 >>> GOT INFO ABOUT 3 OTHER SHIPS
tworking/netserver_clients.cpp:246 ADDED client n 273 in ZONE 0 at STARDATE 0.0000:11
Loading active missions True
src/networking/netserver.cpp:764 <<< ADD REQUEST --------------------------------------------------------------