SA-MP Forums Archive
Run time error - 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: Run time error (/showthread.php?tid=335178)



Run time error - ChristofferHoffmann - 17.04.2012

So, since I've been having trouble with my script -
Код:
Script[gamemodes/EMXRP.amx]: Run time error 19: "File or function is not found"
- Then I decided to test out Nativechecker in my script

Код:
[15:51:26]    Error: Function not registered: 'Streamer_CallbackHook'
[15:51:26]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[15:51:26]    Error: Function not registered: 'CreateDynamicObject'
[15:51:26]    Error: Function not registered: 'DestroyDynamicObject'
[15:51:26]    Error: Function not registered: 'MoveDynamicObject'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamicObjects'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamicPickups'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamicCPs'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamicMapIcons'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[15:51:26]    Error: Function not registered: 'DestroyAllDynamicAreas'
[15:51:26]    Error: Function not registered: 'Streamer_UpdateEx'
[15:51:26]    Error: Function not registered: 'Streamer_Update'
[15:51:26]    Error: Function not registered: 'IsValidDynamicPickup'
[15:51:26]    Error: Function not registered: 'DestroyDynamicPickup'
[15:51:26]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[15:51:26]    Error: Function not registered: 'CreateDynamicRectangle'
[15:51:26]    Error: Function not registered: 'DestroyDynamicArea'
[15:51:26]    Error: Function not registered: 'IsPlayerInDynamicArea'
[15:51:26]    Error: Function not registered: 'CreateDynamicPickup'
[15:51:26]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[15:51:26]    Error: Function not registered: 'CreateDynamicMapIcon'
[15:51:26]    Error: Function not registered: 'CountDynamic3DTextLabels'
[15:51:26]    Error: Function not registered: 'CountDynamicPickups'
[15:51:26]    Error: Function not registered: 'CountDynamicObjects'
[15:51:26]    Error: Function not registered: 'SetDynamicObjectPos'
[15:51:26]    Error: Function not registered: 'GetDynamicObjectPos'
[15:51:26]    Error: Function not registered: 'SetDynamicObjectRot'
[15:51:26]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[15:51:26]    Error: Function not registered: 'Streamer_TickRate'
[15:51:26]    Error: Function not registered: 'CountDynamicMapIcons'
[15:51:26]    Error: Function not registered: 'IsValidDynamicMapIcon'
[15:51:26]    Error: Function not registered: 'DestroyDynamicMapIcon'
I suppose it's the streamer? Since I had the linux streamer before, and decided to go back to my windows server, and all the streamers I've tried now seems to be failing. I get that same error no matter how many times replace

I hope you guys can help me

Cheers


Re: Run time error - Mark™ - 17.04.2012

Yeah it's the streamer plugin which fails to load in this case, however could you post the whole server_log ?


Re: Run time error - ChristofferHoffmann - 17.04.2012

Now I get this

Код:
[16:17:00] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file)
[16:17:00] Script[gamemodes/EMXRP.amx]: Run time error 22: "AMX not initialized (or doubly initialized)"



Re: Run time error - Mark™ - 17.04.2012

Quote:
Originally Posted by ChristofferHoffmann
Посмотреть сообщение
Now I get this

Код:
[16:17:00] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file)
[16:17:00] Script[gamemodes/EMXRP.amx]: Run time error 22: "AMX not initialized (or doubly initialized)"
Recompile your script with the include that came with the streamer package you downloaded.


Re: Run time error - SuperViper - 17.04.2012

Re-download the streamer plugin with the includes, replace both of them, and then recompile.