YSI fatal error
#1

Hello, so I'm getting this message when I start the server, in server_log:
Code:
*** YSI Fatal Error: Could not write function name in "Hooks_MakePublicPointer".
How can I fix this?
Reply
#2

check if include is the newest
Reply
#3

Quote:
Originally Posted by Florin48
View Post
check if include is the newest
Well, I don't think is because of that.

Recently my gamemode wasn't modular (hasn't all the scripts/job/vehicles, etc into different .inc), it was only on the .pwn file, so I've was thinking that to make my gamemode modular, and I did that, and now, i'm receving this message.
Reply
#4

Bump, anyone?
Reply
#5

Quote:
Originally Posted by Y_Less
View Post
Are there any functions you only hook once?
EDIT:

Well, after you said that, i've start looking to all my hooked functions, and I found this hook to by a problem:

Code:
DEFINE_HOOK_REPLACEMENT(DamageStatusUpdate, Dsup);

hook OnVehicleDsup(vehicleid, playerid)
{
	printf("OnVehicleDamageStatusUpdate hooked - called for playerid: %d, vehicleid: %d", playerid, vehicleid);
	return 1;
}
Reply
#6

Quote:
Originally Posted by Y_Less
View Post
Just use the normal replacements. Ahh, yes, that would do it. The replacement should be no more than 8 characters shorter than the original.
Thanks, fixed!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)