Help please with this
#1

Hi all , i need help please with this error in my server log

[17:42:51] *** Streamer Plugin: CreateDynamic3DTextLabel: Expecting 15 parameter(s), but found 13.
[17:42:51] *** Streamer Plugin: CreateDynamicPickup: Expecting 11 parameter(s), but found 9.

I know i need update the stramer plugin but i put the last version 2.9.1 but it give that errors and icons in house and biz dont create please help
Reply
#2

You update the include aswell? And re-compiled? Cuz that not suppose to happen if you both include and plugin on same version
Reply
#3

What are you on about banditul18, he's obviously updated the plugin, and the include, and has an outdated script now because it didn't use the extra params on the functions it uses.

You need to either rollback to the version of the include/plugin that you have to what was used to make the script, or you need to update the script to handle the updated params on the funciton.
Reply
#4

Yes that right
Reply
#5

Make sure you do it right

PHP Code:
CreateDynamic3DTextLabel( const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_3D_TEXT_LABEL_SDareaid = -1priority 
PHP Code:
CreateDynamicPickup(modelidtypeFloat:xFloat:yFloat:zworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_PICKUP_SDareaid = -1priority 0
Reply
#6

Quote:
Originally Posted by Sew_Sumi
View Post
What are you on about banditul18, he's obviously updated the plugin, and the include, and has an outdated script now because it didn't use the extra params on the functions it uses.

You need to either rollback to the version of the include/plugin that you have to what was used to make the script, or you need to update the script to handle the updated params on the funciton.
Well let me try to explain

2.9.1 :
PHP Code:
native STREAMER_TAG_3D_TEXT_LABEL CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_3D_TEXT_LABEL_SDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 0); 
2.7.5.2 :
PHP Code:
 native Text3D:CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0); 
Lets compare those two functions, from the old to new one. They both have the first 13 parameters the same , so if he even use all of them the rest ones should be there cuz they have default values so they are optional. If you dont put them, is not metter, they will be still there.

Streamer developer dont put new parameters before old ones or so. His scripts are fine, only need to compile them with the new include.
Reply
#7

Quote:
Originally Posted by Banditul18
View Post
Well let me try to explain

2.9.1 :
PHP Code:
native STREAMER_TAG_3D_TEXT_LABEL CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_3D_TEXT_LABEL_SDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 0); 
2.7.5.2 :
PHP Code:
 native Text3D:CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0); 
Lets compare those two functions, from the old to new one. They both have the first 13 parameters the same , so if he even use all of them the rest ones should be there cuz they have default values so they are optional. If you dont put them, is not metter, they will be still there.

Streamer developer dont put new parameters before old ones or so. His scripts are fine, only need to compile them with the new include.
You've proven my point, yet you are still pushing the wrong direction...

His script uses the older syntax in its functions, and those functions, in his script are outdated.


He needs to upgrade his script to match the current version, or he needs to run/use the old version, until he's capable of changing it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)