FOnline Development > Questions and Answers
FOnline SDK - Question
ronon dex:
Hello, I have a problem connecting to your server. I turn on the server, he is loaded without any errors, turn on the client, and writes to me: start executing script failure. please help
JovankaB:
--- Quote from: ronon dex on June 26, 2012, 06:28:03 am ---Hello, I have a problem connecting to your server. I turn on the server, he is loaded without any errors, turn on the client, and writes to me: start executing script failure. please help
--- End quote ---
Probably you messed something in client scripts. Server console should give details. If you can't fix it, revert all client scripts back to the original.
codave:
By default cars are visible on the World Map - to everyone. I know this is a function of being flagged as "GECK" in the object editor, but I can't find anything pertaining to that past the Object Editor...
Short of writing a new script, is there a way to change it so that vehicles are only visible to the person(s) who parked the car there?
Skycast:
--- Quote from: codave on June 26, 2012, 08:28:28 am ---By default cars are visible on the World Map - to everyone. I know this is a function of being flagged as "GECK" in the object editor, but I can't find anything pertaining to that past the Object Editor...
Short of writing a new script, is there a way to change it so that vehicles are only visible to the person(s) who parked the car there?
--- End quote ---
Yup you need to uncheck GECK in obj editor and process entering to location by yourself, you can use player.SetKnownLoc (true,location.Id); to show player car location.
Probably server will delete location with car if will be no flag GECK, so you need remove autogarbage from loc and delete loc after car leaving manualy.
Also you can change geck_visible=1 to geck_visible=0 in each enc location in Locations.cfg
codave:
--- Quote from: Skycast on June 26, 2012, 09:25:47 am ---Yup you need to uncheck GECK in obj editor and process entering to location by yourself, you can use player.SetKnownLoc (true,location.Id); to show player car location.
Probably server will delete location with car if will be no flag GECK, so you need remove autogarbage from loc and delete loc after car leaving manualy.
Also you can change geck_visible=1 to geck_visible=0 in each enc location in Locations.cfg
--- End quote ---
That's about what I figured. I'll see what I can't cook up. Thanks.
ETA -
Ok, spent a few hours on it with no luck. I'm a little surprised that there isn't documentation anywhere on this. I can't get a script to bind in the Script/Module in the Object Editor for some reason. Tomorrow I'll try it another way...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version