Jump to content

game server creation faile


tangogc

Recommended Posts

Try this:

Edit the file TCAdminMonitor.exe.config in notepad.

 

Find this line:

<add key="TCAdmin.DebugSql" value="False" />

Change to this:

<add key="TCAdmin.DebugSql" value="True" />

 

Save and start the monitor in console mode.

 

Start the task that was created or create a new game server. You will see messages in the console while the game server is created. Copy and paste the messages here.

Link to comment
Share on other sites

SELECT max(task_id) AS newkey FROM tc_tasks

INSERT INTO tc_tasks (task_id, server_id, user_id, status, display_name, enabled, app_data, next_run_time, filter_time) VALUES (5, 1, 2, 0, 'CS 8 slots owned by Admin', 1, '<?xml version="1.0" encoding="utf-16" standalone="yes"?>

<values>

<add key="__TCA:CREATED_BY" value="1" type="System.Int32,mscorlib" />

<add key="__TCA:CREATED_ON" value="2010-09-16 17.39.13" type="System.DateTime,mscorlib" />

</values>', '2010-09-16 17.39.13', '2010-09-16 17.39.13')

SELECT * FROM tc_module_processes WHERE (tc_module_processes.module_id = 'd3b2aa93-7e2b-4e0d-8080-67d14b2fa8a9' COLLATE NOCASE AND tc_module_processes.process_id = 1)

SELECT max(step_id) AS newkey FROM tc_task_steps WHERE (task_id = 5)

INSERT INTO tc_task_steps (task_id, step_id, server_id, module_id, process_id, status, display_name, app_data, on_success_action, on_failure_action, max_retries, retry_interval_minutes, retry_count, arguments) VALUES (5, 1, 1, 'd3b2aa93-7e2b-4e0d-8080-67d14b2fa8a9', 1, 0, 'CS 8 slots', '<?xml version="1.0" encoding="utf-16" standalone="yes"?>

<values>

<add key="__TCA:CREATED_BY" value="1" type="System.Int32,mscorlib" />

<add key="__TCA:CREATED_ON" value="2010-09-16 17.39.13" type="System.DateTime,mscorlib" />

</values>', 3, 2, 0, 0, 0, '<?xml version="1.0" encoding="utf-16"?>

<GameHostingAutomationInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<UserId>3</UserId>

<DatacenterId>0</DatacenterId>

<ServerId>1</ServerId>

<GameId>5</GameId>

<IpAddress>151.1.232.123</IpAddress>

<AutomaticPort>true</AutomaticPort>

<Port>27015</Port>

<Slots>8</Slots>

<Private>false</Private>

<StartUp>Automatic</StartUp>

<Priority>Normal</Priority>

<Affinity>0</Affinity>

<Branded>true</Branded>

<StartAfterCreated>true</StartAfterCreated>

<CreatedBy>3</CreatedBy>

<ScheduleDelete>false</ScheduleDelete>

<DeleteTimeUtc>0001-01-01T00:00:00</DeleteTimeUtc>

<DeleteOwner>false</DeleteOwner>

<Variables><?xml version="1.0" encoding="utf-16" standalone="yes"?>

<values>

<add key="HostName" value="CS Server" type="System.String,mscorlib" />

<add key="RConPassword" value="test" type="System.String,mscorlib" />

<add key="PrivatePassword" value="" type="System.String,mscorlib" />

<add key="WelcomeMessage" value="" type="System.String,mscorlib" />

</values></Variables>

<UserPackageId>0</UserPackageId>

</GameHostingAutomationInfo>')

Closed connection.

SELECT * FROM tc_tasks WHERE (tc_tasks.task_id = 5)

System.FormatException: Stringa non riconosciuta come valore DateTime valido.

in System.DateTimeParse.ParseExactMultiple(String s, String[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style)

in System.DateTime.ParseExact(String s, String[] formats, IFormatProvider provider, DateTimeStyles style)

in System.Data.SQLite.SQLiteConvert.ToDateTime(String dateText)

in System.Data.SQLite.SQLite3.GetDateTime(SQLiteStatement stmt, Int32 index)

in System.Data.SQLite.SQLite3.GetValue(SQLiteStatement stmt, Int32 index, SQLiteType typ)

in System.Data.SQLite.SQLiteDataReader.GetValue(Int32 i)

in TCAdmin.SDK.Database.DatabaseManager.ConvertDataReaderToDataSet(IDataReader reader)

System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.

in TCAdmin.SDK.Database.DatabaseManager.Execute(String sql) - Parameters: SELECT * FROM tc_tasks WHERE (tc_tasks.task_id = 5)

Closed connection.

System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.

in TCAdmin.SDK.Objects.ObjectBase.Find()

in TCAdmin.TaskScheduler.SDK.Objects.Task..ctor(Int32 taskId)

in TCAdmin.TaskScheduler.?.?(Object ?)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 247 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use