Object Bug - 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)
+--- Thread: Object Bug (
/showthread.php?tid=301274)
Object Bug -
SnG.Scot_MisCuDI - 03.12.2011
After updating to 0.3d my objects rotate when i move them? They never did that before.. I have a video.. i tried updating sscanf2 but nothing.. im using garobject
Re: Object Bug -
SnG.Scot_MisCuDI - 03.12.2011
http://www.youtube.com/watch?v=WN2s5...ature=*********
Re: Object Bug -
grand.Theft.Otto - 03.12.2011
Do you use a streamer ?
If so, it may be an older version interfering with the new version (0.3d).
Re: Object Bug -
SnG.Scot_MisCuDI - 04.12.2011
My current plugins are, sscanf streamer Whirlpool
So yeah its probably streamer doing it. hmm i just updated Streamer and still got the same problem..
Re: Object Bug -
Babul - 04.12.2011
i got the same issue yesterday when trying to switch to the streamer plugin (r24 i believe) in the fireworks script. i failed, cause i did it in a hurry: each MoveDynamicObject is using ,0,0,0 as last rotation parameters. that means: the object moves properly, but its rotating towards the 0,0,0 rotation - i think the object needs the target rotation angles given in each MoveDynamicObject aswell. lets see, later ima rescript it, if it succeeds, i will edit this post
Re: Object Bug -
SnG.Scot_MisCuDI - 04.12.2011
thanks, keep me updated. Its annoying me lol. But for now i guess i reached the max object limit. 400 i believe. Any way around it lol
Re: Object Bug -
Babul - 04.12.2011
the new maximum_objects amout got raised to 1000. i suggest to use 800 max. first, i sometimes crash at exactly 1000 objects created. as i see from yor video, you need to rescript some lines in the gareditor. the natives changed a bit, so you need to a) supply the rotation parameters, and b) use the rotations (save them when creating an object, iam sure this is already done).
in short: search for the string "object(" to find all object relating commands. then compare its syntax to the wiki updates, and fix them.
Re: Object Bug -
SnG.Scot_MisCuDI - 04.12.2011
hm, i only have around 498 objects and i get that message
Re: Object Bug -
SnG.Scot_MisCuDI - 04.12.2011
ok i fixed it i changed the
pawn Код:
#define GOBJ_MAX_OBJECTS_CREATED 400
But im not sure what to change under Object(
Since it only hapens while its moving i looked under:
pawn Код:
dcmd_moveobject(playerid, params[])
but im not sure what to change. If i send you that part you think you can help?
Re: Object Bug -
SnG.Scot_MisCuDI - 05.12.2011
ok so i guess changing the Max objects it fixed it lol. Ty for your help