CreateObject bugs the server?
#1

Hello honeys;

I have recently installed a large map in my script (994 objects at Doherty). However, when I add them, my script gets completely bugged, as in, when I log in, the camera is not set (I don't even spawn), and when I remove the CreateObject lines for the map, my script works perfectly.

I also use Incognito's streamer for other maps, but this one is a first priority and I don't want objects being streamed from a really low distance and make it look cheesy, so I've tried placing the main structure / architecture objects with CreateObject, and the secondary one with the streamers, but no success.
Reply
#2

Did you put them under OnGameModeInit?
Reply
#3

Certainly, just like all my other objects.
Reply
#4

No idea then, sorry.
Reply
#5

With 994 objects you have no choice but to use the streamer. If you have 994 objects not on the streamer it will only take 4 streamed objects to show before the player will crash. I'm not sure why nothing works but you need to use the streamer.
Reply
#6

But I don't know how to use this in this very special occasion; when I use the streamer on all the objects, the floor stops creating, leave a big hole to the void.
Reply
#7

Playing about with the draw distance is about all the advice I can give you. Sorry.
Reply
#8

@Psymetrix: i agree.. setting the drawdistance for the floor obejcts to 300 units while setting the lower priority objects to 200 only, small, not important to drive/stunt obejcts (like decoration, bottles, barrels etc) set to 100, will give you better results, since an object out of sight gives the streamer one more to display at higher range.
Reply
#9

I'd Suggest you add Streamer.so to the Script with your includes

Код:
#define <streamer>
Код:
plugins streamer.so
If you have that remove streamer from script I had A problem where streamer.so Shut my server down randomly
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)