PDA

View Full Version : Sending command messages to Dedicated Server


CrazyICE
20th September 2005, 13:05
ok, i got following problem:

when i send a message with InSim to my dedicated server, everything is ok and the message appears in the game.
the same when i use the /cars= command, but if i use the /track= command the dedicated server shows the error message "Unknown track".

why? because other command also work and if i type /track=WE1 directly in the Dedicated Server then the Westhill Internation is loaded, but if i try the same with InSim, nothing happens and the error message appears.

What do i have to do?

Scawen
20th September 2005, 13:58
Are you sure you have sent a zero character after the WE1?

All the strings you send, must end with a zero (aka null terminated).

CrazyICE
20th September 2005, 15:29
ahhh...so i have to add a #0 to the message which i want to send?

s:= "/track=WE1"+ #0;

I'll try...thx

sdether
20th September 2005, 18:22
Yeah, it should work. I've changed the track on dedicated servers with InSim before without issue.

CrazyICE
21st September 2005, 07:57
shame on me :)
was my fault...

everything is working fine now...thx!