Test it yourself if you dont trust me but it works fine. The only problem is the following:
The server.ini is created without any problems. It works fine.
But the other one, the DBS (its a SQLite database) is just not created. I already tryed to add it manually but it wont work. Since there alot of special Chars in the dbs it seems some stuff is getting 'translated' into other shit. Can you implent the following(?):
when a new server is created / booker, then when the DBS is created, make a copy of it, name it as suggested at top and just search&replace the stuff required? Like AdminPassword etc. etc. etc.
I tested it and replacing stuff works. It just wont work if you let GC create the whole file. If we get this, its possible to offer TSē for people to book without any settings from you. Please look at this and contact me.... very urgent.
The server_51235.dbs file is created, and the server is started with the
settings from server_51235.ini.
In any case you can't simply search and replace an sqlite-file as if it were
a regular text file. You need to use an sql api for manipulation of sql databases.
It is not really relevant here, but the point is that the .dbs file is an sqlite
database and not a textfile. So you need special tools to store data in the
file. You can read about it here, if you are interested:
http://www.sqlite.org/
That doesnt work dude. :[
I tryed it a few times to auto- create a TSē Server. If there starts any server, it uses the same DB / INI then the rest. So everyone has the same configuration. It also doesnt set your admin pw.
Your GC client should spit out a log to your disk. If it doesn't, edit your
gamecreate.ini and add the following line:
Code:
log-file gamecreate.log
Restart GC, start the TS2 server and look for a line in the log which says
"Launching process" followed by the command line GC uses to start the
TS2 server. Copy-paste that line in here.
You can of course just copy the line from the console, but having a log is
always handy
Sorry, I've never had to do that so I don't know. TS spits out random passwords
for admin and superadmin to the log. You can fish it out from there. That is
even how they suggest you get the passwords in the readme, so I guess it's
the only way.
Most settings can be configured through TS's webinterface, including the server
name. You can also telnet to the server and do some configuration from there.
Keep in mind that one TS server can host multiple virtual servers, all configurable
from the webinterface as superadmin.
Perhaps someone over at the TS websites can help you out?
I found out:
Whatever you enter into the webinterface for your server... it wont happen.
If you create a DBS file when running the TS the first time, it wont set / write down the correct: Welcome Message, Servername, MaxPlayers and Adminpassword. Just everything is default. Any suggestions?
Code:
---------------------------------------------------------------
-------------- log started at 24-04-09 05:06 -------------
---------------------------------------------------------------
24-04-09 05:06:07,ALL,Info,server, Server init initialized
24-04-09 05:06:07,ALL,Info,server, Server version: 2.0.24.1 Win32
24-04-09 05:06:07,ALL,Info,server, Starting VirtualServer id:1 with port:8767
24-04-09 05:06:07,ERROR,All,SERVER, VirtualServer startup failed with port 8767, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
24-04-09 05:06:10,ERROR,All,WEBINTERFACE, WebInterface startup failed with port 14534, Exception:Could not bind socket. Address and port are already in use.
24-04-09 05:06:10,ERROR,All,TCPQUERY, TCPQuery startup failed with port 51234, Exception: Could not bind socket. Address and port are already in use.
24-04-09 05:06:10,ALL,Info,server, Server init finished
24-04-09 05:06:13,ERROR,All,frmMain, unable to detect external ip
When I checked the newly created DBS (auto created from webinterface or executable) I found out everything was set to default (Port, MOTD, and such)
I found out:
Whatever you enter into the webinterface for your server... it wont happen.
If you create a DBS file when running the TS the first time, it wont set / write down the correct: Welcome Message, Servername, MaxPlayers and Adminpassword. Just everything is default. Any suggestions?
So what you are essentially saying is that TS2 doesn't work as it is supposed
to, right? Then it's not a GC problem, and I again encourage you to post
questions to the TS website where people have more knowledge about TS
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum