Error: Function not registered: 'WP_Hash'
#1

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15:05:39]
[15:05:39] Server Plugins
[15:05:39] --------------
[15:05:39] Loading plugin: audio
[15:05:39]

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[15:05:39] Loaded.
[15:05:39] Loading plugin: sscanf
[15:05:39]

[15:05:39] ===============================

[15:05:39] sscanf plugin loaded.

[15:05:39] © 2009 Alex "******" Cole

[15:05:39] 0.3d-R2 500 Players "dnee"

[15:05:39] ===============================

[15:05:39] Loaded.
[15:05:39] Loading plugin: streamer
[15:05:39]

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

[15:05:39] Loaded.
[15:05:39] Loading plugin: nativechecker
[15:05:39] Loaded.
[15:05:39] Loaded 4 plugins.

[15:05:39]
[15:05:39] Filterscripts
[15:05:39] ---------------
[15:05:39] Loading filterscript 'christmas.amx'...
[15:05:39] Loading filterscript 'anims.amx'...
[15:05:39] Loading filterscript 'yom_buttons.amx'...
[15:05:39] Loaded 3 filterscripts.

[15:05:40] Error: Function not registered: 'WP_Hash'
[15:05:40] Script[gamemodes/HorizonRoleplay.amx]: Run time error 19: "File or function is not found"
[15:05:40] Number of vehicle models: 0


Quote:

[15:05:40] Error: Function not registered: 'WP_Hash'

Need some help with this error,
Reply
#2

If you have a nativechecker plugin then put it in the last place in your server.cfg. Its probably just a false error. If not, just copy this anywhere in your GM:
pawn Код:
native WP_Hash(buffer[], len, const str[]);
Reply
#3

Quote:
Originally Posted by polygxn
Посмотреть сообщение
If you have a nativechecker plugin then put it in the last place in your server.cfg. Its probably just a false error. If not, just copy this anywhere in your GM:
pawn Код:
native WP_Hash(buffer[], len, const str[]);
I have the native of WP_Hash already in the script, and I was able to compile the .pwn without any errors but when i started the server it had popped up with that error.
Reply
#4

Quote:
Originally Posted by polygxn
Посмотреть сообщение
If you have a nativechecker plugin then put it in the last place in your server.cfg. Its probably just a false error. If not, just copy this anywhere in your GM:
pawn Код:
native WP_Hash(buffer[], len, const str[]);
Quote:
Originally Posted by ******
Посмотреть сообщение
Compiling and running aren't the same thing. You need the include (which you have) and the plugin (which you don't).
The whirlpool plugin correct? I just included the whirlpool in the plugins, but it seemed to closes the samp-server.exe saying this in the server log


SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15:41:47]
[15:41:47] Server Plugins
[15:41:47] --------------
[15:41:47] Loading plugin: audio
[15:41:47]

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[15:41:47] Loaded.
[15:41:47] Loading plugin: sscanf
[15:41:47]

[15:41:47] ===============================

[15:41:47] sscanf plugin loaded.

[15:41:47] © 2009 Alex "******" Cole

[15:41:47] 0.3d-R2 500 Players "dnee"

[15:41:47] ===============================

[15:41:47] Loaded.
[15:41:47] Loading plugin: streamer
[15:41:47]

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

[15:41:47] Loaded.
[15:41:47] Loading plugin: whirlpool
[15:41:54]
[15:41:54] ==================
[15:41:54]
[15:41:54] Whirlpool loaded
[15:41:54]
[15:41:54] ==================
[15:41:54]
[15:41:54] Loaded.
[15:41:54] Loaded 4 plugins.

[15:41:54]
[15:41:54] Filterscripts
[15:41:54] ---------------
[15:41:54] Loading filterscript 'christmas.amx'...
[15:41:54] Loading filterscript 'anims.amx'...
[15:41:54] Loading filterscript 'yom_buttons.amx'...
[15:41:54] Loaded 3 filterscripts.

[15:41:54]
[15:41:54] =======================================
[15:41:54] | |
[15:41:54] | YSI version 1.03.0011 |
[15:41:54] | By Alex "******" Cole |
[15:41:54] | |
[15:41:54] | Checking the latest YSI version.. |
[15:41:54] | |
[15:41:54] =======================================
[15:41:54]
Reply
#5

Your SSCANF plugin is outdated.
Reply
#6

Quote:
Originally Posted by Logic_
Посмотреть сообщение
Your SSCANF plugin is outdated.
Where can I find the most recent updated sscanf
Reply
#7

https://github.com/maddinat0r/sscanf
https://sampforum.blast.hk/showthread.php?tid=570927

Also, your YSI is outdated... YEARS AGO. Are you trying to use an old gamemode?
Reply
#8

Quote:
Originally Posted by Crayder
Посмотреть сообщение
https://github.com/maddinat0r/sscanf
https://sampforum.blast.hk/showthread.php?tid=570927

Also, your YSI is outdated... YEARS AGO. Are you trying to use an old gamemode?
Yeah it looks like YSI is way outdated and yeah i'm trying to use an old gamemode.
Reply
#9

Quote:
Originally Posted by Despare
Посмотреть сообщение
Yeah it looks like YSI is way outdated and yeah i'm trying to use an old gamemode.
You'll have much better luck just using a newer gamemode or making your own from scratch. Keep in mind, making your own may seem scary, but it's so much better. Don't go for a high number of lines, go for simplicity and clean scripting. Get your ideas from these older gamemodes, but you'll actually know what they do if you implement them yourself.

Chances are, the gamemode you are using right now is completely outdated and is probably horribly inefficient.

Just a recommendation. I started where you are. Once you learn a little about scripting it is so much more fun to just do things on your own.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)