SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 10/09/2019, 06:18 AM   #1
wilking
Big Clucker
 
Join Date: May 2017
Posts: 88
Reputation: 0
Default Help Me Streamer

I changed from 0.3.DL to 0.3.7 R2. And I received

HTML Code:
*** CreateDynamicObject: Expecting 11 parameter (s), but found 14
I updated to the latest version 2.9.4 streamer when I started the server. Centos reported that "Segmentation fault ./samp03svr"

someone who went through please tell me how to fix it. Thank you very much
wilking is offline   Reply With Quote
Old 10/09/2019, 07:18 AM   #2
SoFahim
Gangsta
 
SoFahim's Avatar
 
Join Date: May 2015
Location: Bangladesh.
Posts: 870
Reputation: 86
Default Re: Help Me Streamer

Its probably cause of the streamer version, nothing much.
__________________
Ex Lead Developer & Mapping manager of SARP
(R.I.P SARP)
You can contact me at Discord, my ID: Gold#8839 available for paid works
Quote:
SoFahim is offline   Reply With Quote
Old 10/09/2019, 07:28 AM   #3
wilking
Big Clucker
 
Join Date: May 2017
Posts: 88
Reputation: 0
Default Re: Help Me Streamer

So what should I do, which version is suitable for r2
wilking is offline   Reply With Quote
Old 10/09/2019, 08:19 AM   #4
Symon
Gangsta
 
Symon's Avatar
 
Join Date: Apr 2019
Location: Italy
Posts: 512
Reputation: 18
Default Re: Help Me Streamer

I sugest you to use R3.

For the streamer, remove excessive paramaters.
__________________


Discord | Play Now | Website

Add your server to favourites and join our Discord.
Symon is offline   Reply With Quote
Old 10/09/2019, 08:21 AM   #5
wilking
Big Clucker
 
Join Date: May 2017
Posts: 88
Reputation: 0
Default Re: Help Me Streamer

Quote:
Originally Posted by KeyOfKey View Post
I sugest you to use R3.

For the streamer, remove excessive paramaters.
where is the link of r3 server
Could you please give me ? and thank so much
wilking is offline   Reply With Quote
Old 10/09/2019, 09:42 AM   #6
DaniceMcHarley
High-roller
 
DaniceMcHarley's Avatar
 
Join Date: Feb 2012
Posts: 1,744
Reputation: 95
Default Re: Help Me Streamer

Show us the line of that CreateDynamicObject.
DaniceMcHarley is offline   Reply With Quote
Old 10/09/2019, 03:23 PM   #7
wilking
Big Clucker
 
Join Date: May 2017
Posts: 88
Reputation: 0
Default Re: Help Me Streamer

It has many lines, almost in gamemode using createdynamicobject, it will show the error.
wilking is offline   Reply With Quote
Old 10/09/2019, 03:49 PM   #8
darkdrago
Huge Clucker
 
darkdrago's Avatar
 
Join Date: Nov 2009
Location: Italy
Posts: 290
Reputation: 38
Default Re: Help Me Streamer

Quote:
Originally Posted by wilking View Post
It has many lines, almost in gamemode using createdynamicobject, it will show the error.
Well, you're putting more parameters than it requires, so check it by yourself, the syntax is:
Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 0)
(Whenever it has = something means that it will be set automatically to that value if you don't put that parameter)
__________________
darkdrago is offline   Reply With Quote
Old 10/09/2019, 08:31 PM   #9
wilking
Big Clucker
 
Join Date: May 2017
Posts: 88
Reputation: 0
Unhappy Re: Help Me Streamer

Quote:
Originally Posted by darkdrago View Post
Well, you're putting more parameters than it requires, so check it by yourself, the syntax is:
Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 0)
(Whenever it has = something means that it will be set automatically to that value if you don't put that parameter)
I used it normally before

when I switched from 0.3.DL to 0.3.7 r2, this problem happened, I tried upgrading plugins streamer (2.6.1 -> 2.9.4) but it got this error. Now I am very confused and looking forward to receiving a help
wilking is offline   Reply With Quote
Old 10/09/2019, 09:17 PM   #10
wilking
Big Clucker
 
Join Date: May 2017
Posts: 88
Reputation: 0
Default Re: Help Me Streamer

Quote:
[21:11:39] Error: Function not registered: 'Streamer_CallbackHook'
[21:11:39] Error: Function not registered: 'IsValidDynamicObject'
[21:11:39] Error: Function not registered: 'DestroyDynamicObject'
[21:11:39] Error: Function not registered: 'CreateDynamicPickup'
[21:11:39] Error: Function not registered: 'CreateDynamic3DTextLabel'
[21:11:39] Error: Function not registered: 'IsPlayerInDynamicArea'
[21:11:39] Error: Function not registered: 'CreateDynamicObject'
[21:11:39] Error: Function not registered: 'IsValidDynamic3DTextLabel'
[21:11:39] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[21:11:39] Error: Function not registered: 'GetDynamicObjectPos'
[21:11:39] Error: Function not registered: 'GetDynamicObjectRot'
[21:11:39] Error: Function not registered: 'sv_debug'
[21:11:39] Error: Function not registered: 'sv_init'
[21:11:39] Error: Function not registered: 'CreateDynamicPolygon'
[21:11:39] Error: Function not registered: 'Streamer_TickRate'
[21:11:39] Error: Function not registered: 'MoveDynamicObject'
[21:11:39] Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[21:11:39] Error: Function not registered: 'Streamer_UpdateEx'
[21:11:39] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[21:11:39] Error: Function not registered: 'Streamer_Update'
[21:11:39] Error: Function not registered: 'Streamer_SetArrayData'
[21:11:39] Error: Function not registered: 'DestroyDynamicPickup'
[21:11:39] Error: Function not registered: 'DestroyAllDynamicObjects'
[21:11:39] Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[21:11:39] Error: Function not registered: 'DestroyAllDynamicCPs'
[21:11:39] Error: Function not registered: 'DestroyAllDynamicMapIcons'
[21:11:39] Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[21:11:39] Error: Function not registered: 'DestroyAllDynamicAreas'
[21:11:39] Error: Function not registered: 'CreateDynamicSphere'
[21:11:39] Error: Function not registered: 'IsValidDynamicPickup'
[21:11:39] Error: Function not registered: 'IsValidDynamicMapIcon'
[21:11:39] Error: Function not registered: 'DestroyDynamicMapIcon'
[21:11:39] Error: Function not registered: 'CreateDynamicRectangle'
[21:11:39] Error: Function not registered: 'DestroyDynamicArea'
[21:11:39] Error: Function not registered: 'SetDynamicObjectMaterialText'
[21:11:39] Error: Function not registered: 'Streamer_IsItemVisible'
[21:11:39] Error: Function not registered: 'IsValidDynamicArea'
[21:11:39] Error: Function not registered: 'CreateDynamicMapIcon'
[21:11:39] Error: Function not registered: 'Streamer_SetIntData'
[21:11:39] Error: Function not registered: 'WP_Hash'
[21:11:39] Error: Function not registered: 'SetDynamicObjectPos'
[21:11:39] Error: Function not registered: 'SetDynamicObjectRot'
[21:11:39] Error: Function not registered: 'EditDynamicObject'
I use Nativechecker and see it. If I have the latest Plugins streamer 2.9.4, I cannot start the server. Linux centos 7 reports that "segmentation fault nohup ./samp03svr"

If I use the 2.6.1 streamer plugin, I can start the gamemmode, but it says the above error.
I switched from 0.3.DL -> 0.3.7 r2-2 and got this error

and I still go into the game normally. The thing is, I didn't see any Objects created by CreateDynamicObject

sr , my english not good
wilking is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [INC] TSS - tAxI's Streamer Systems: full Streamer + HOUSING SYSTEM Utillity cptnsausage Includes 102 28/01/2015 07:14 PM
[Include] Checkpoint / Area sub-streamer for incognito's streamer plugin Pottus Includes 9 21/03/2014 06:31 PM
Need 3dtextlabel Streamer And Gangzone Streamer !! Please Help . Not streamer plugin . jame42 Scripting Help 4 30/05/2012 07:33 AM
[Include] [INC]YCP - Yaheli's Checkpoint Streamer - OnPlayerUpdate CP Streamer! Yaheli_Faro Includes 46 20/04/2010 02:53 PM
Dominator's Object Streamer - a wize and new streamer - invisible objects fix tsha Filterscripts 23 19/09/2009 08:37 PM


All times are GMT. The time now is 11:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.