KINGJ Unknown Mode problem
#1

I have made a ticket and waiting thought i might see if anyone can help me any quicker, this is what happens when i run the server with nativechcker

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[14:28:26] password = "" (string)
[14:28:26]
[14:28:26] Server Plugins
[14:28:26] --------------
[14:28:26] Loading plugin: nativechecker
[14:28:26] Loaded.
[14:28:26] Loaded 1 plugins.

[14:28:26]
[14:28:26] Filterscripts
[14:28:26] ---------------
[14:28:26] Loading filterscript 'fsdebug.amx'...
[14:28:26]
*********************
* SA:MP DEBUG 0.2 *
[14:28:26] * By Simon Campbell *
*********************
[14:28:26] * Version: 0.5d *
*********************
[14:28:26] * -- LOADED *
*********************

[14:28:26] Loading filterscript 'ls_elevator.amx'...
[14:28:26] Loaded 2 filterscripts.

[14:28:26] Error: Function not registered: 'Streamer_RegisterInterface'
[14:28:26] Error: Function not registered: 'Streamer_AddPlayer'
[14:28:26] Error: Function not registered: 'Streamer_RemovePlayer'
[14:28:26] Error: Function not registered: 'Streamer_VerifyPickup'
[14:28:26] Error: Function not registered: 'Streamer_VerifyCheckpoint'
[14:28:26] Error: Function not registered: 'MoveDynamicObject'
[14:28:26] Error: Function not registered: 'DestroyDynamicObject'
[14:28:26] Error: Function not registered: 'CreateDynamicObject'
[14:28:26] Error: Function not registered: 'TogglePlayerDynamicCP'
[14:28:26] Error: Function not registered: 'CountDynamicObjects'
[14:28:26] Error: Function not registered: 'CreateDynamicPickup'
[14:28:26] Error: Function not registered: 'CountDynamicPickups'
[14:28:26] Error: Function not registered: 'CreateDynamicCP'
[14:28:26] Error: Function not registered: 'DestroyDynamicPickup'
[14:28:26] Error: Function not registered: 'Streamer_UpdateEx'
[14:28:26] Script[gamemodes/larp.amx]: Run time error 19: "File or function is not found"
[14:28:26] Number of vehicle models: 0

I believe this is all due to switching AllowAdminTeleport() to OnPlayerClickMap()

Complies fine with AllowAdminTeleport but not when its OnPlayerClickMap
Reply
#2

You haven't loaded the streamer plugin.
Reply
#3

I've tried with the streamer plugin i get this instead:

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[14:41:43] password = "" (string)
[14:41:43]
[14:41:43] Server Plugins
[14:41:43] --------------
[14:41:43] Loading plugin: streamer
[14:41:43]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[14:41:43] Loaded.
[14:41:43] Loaded 1 plugins.

[14:41:43]
[14:41:43] Filterscripts
[14:41:43] ---------------
[14:41:43] Loading filterscript 'fsdebug.amx'...
[14:41:43]
*********************
* SA:MP DEBUG 0.2 *
[14:41:43] * By Simon Campbell *
*********************
[14:41:43] * Version: 0.5d *
*********************
[14:41:43] * -- LOADED *
*********************

[14:41:43] Loading filterscript 'ls_elevator.amx'...
[14:41:43] Loaded 2 filterscripts.

[14:41:43] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26104) (script needs to be recompiled with the latest include file)
[14:41:43] *** Streamer Plugin: Obsolete or invalid native found (script needs to be recompiled with the latest include file)
[14:41:43] Script[gamemodes/larp.amx]: Run time error 19: "File or function is not found"
[14:41:43] Number of vehicle models: 0
Reply
#4

Then by the looks of it you need to download the latest Streamer Plugin include, and recompile your script. Also making sure that KingJ's plugin installer has the latest streamer plugin.
Reply
#5

On KINGJ im using " Mod:
Incognito's Streamer 2.6 r67 (0.3e Only)"

When i put the latest streamer 2.6.1 into the include folder and try complie i get this error:

C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21862) : error 029: invalid expression, assumed zero
C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21862) : error 017: undefined symbol "OnPlayerClickMap"
C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21863) : warning 217: loose indentation
C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21864) : error 017: undefined symbol "playerid"
C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21865) : error 017: undefined symbol "playerid"
C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21870) : warning 225: unreachable code
C:\Users\Ben\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(21870) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.



These are the lines from 21862 - 65

SetPDistance(10);
AllowInteriorWeapons(1);
public OnPlayerClickMap (playerid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerAdmin(playerid))
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}
Reply
#6

It's been fixed now thanks for the help though im sure i will have more problems haha
Reply
#7

Just re-compile your gamemode and all the filterscripts you make use of, with v2.6.1's include and you won't face that obsolete error again.
Reply
#8

Cos i use KINGJ hosting i cant upload my own streamer.dll cos of secuirty they wont let me could that be the problem?
Reply
#9

https://sampforum.blast.hk/showthread.php?tid=349089

I've replied to your ticket. r67 is the latest available streamer plugin by Incognito, so you will need to download it, update your includes, recompile your script, upload your script and then restart your server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)