SA-MP Forums Archive
Gravitational issues ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gravitational issues ? (/showthread.php?tid=70581)



Gravitational issues ? - Byrner - 25.03.2009

Well, I created a "Mile High" which is up in the air......way too far up to be honest.
When I spawn a helicopter up there, it can't go any higher; and it takes you about 3 minutes to fall from it on a motorbike.

Anyway, problem is; anytime I use this on my server, it crashes it.
I first assumed it was the object limit messing up as I have alot of objects in my server, although I use a streamer for most of them.
I was wondering if it could be with the objects or vehicles being too high up in the air that causes the server to crash ?


Re: Gravitational issues ? - Stevo127 - 25.03.2009

Yea, does anyone know if this is the case?
I have the same problem...


Re: Gravitational issues ? - Mikep - 25.03.2009

Quote:
Originally Posted by Byrner
although I use a streamer for most of them.
You use CreateObject for some?


Re: Gravitational issues ? - Byrner - 25.03.2009

Quote:
Originally Posted by Mikep
Quote:
Originally Posted by Byrner
although I use a streamer for most of them.
You use CreateObject for some?
Yeah... I use CreateObject for the objects that have a variable with it.
Like:

pawn Код:
Object1 = CreateObject(....
I also have CreateObject for the surfaces (grounds) of my islands and other places people spawn/teleport to.


Re: Gravitational issues ? - Mikep - 26.03.2009

Thats your problem.

CreateObject makes an object visable to EVERY PLAYER ALL THE TIME.

So say the limit of objects is 150..

5 CreateObjects, area with 145 streamed objects = crash

Don't use CreateObject.


Re: Gravitational issues ? - tom_jonez - 26.03.2009

well, i think it is one of these 2:
1. What mike said, if so, just change ur max_objects or w/e the variable is to like 140, 130, what ever it needs to be. if ur using the plugin (which i highly suggest) it automatically replaces the createobject with createstreamedobject and the makes moveobject, movestreamedobject unless u have it set to replace_natives 0. Anywho, either that or:
2. Boundaries? How high up is it? Like 6,000+ or 3 minutes is a longggg time to fall. lol


Re: Gravitational issues ? - Byrner - 26.03.2009

Well, I use xobjects, not XStreamer, I've had problems with XStreamer.

My "Mile high" is only about 30 objects, less.
I only have about 25 CreateObjects and everything else is in streamer.
So would this still cause it ?