SSCANF WARNING: STRING BUFFERS OVERFLOW
#1

Hello all please help me with this problem its about ppc_housing bug:

In the samp-server.exe it saysing after the ppc housing is loaded: sscanf warning string buffers overflow

In-game my houses is loading, but /gohome and other dialogs in the house system isn't working i have all return 0 in ondialogresponse.

I didn't change anything it came automatically!! How to fix it please?

I have all plugins so thats not the problem (?)

Heres the code of the script: http://users.telenet.be/vge/download...PC_Housing.pwn

please help me
Reply
#2

that means that in sscanf: you have buffer overflowing.
s[50]s[50]
Think that it is this line. Try increasing numbers on it, and see what happens.
Reply
#3

Now i changed the max houses to lower, now i ain't getting the warning but still the dialogs isnt working
Reply
#4

Quote:
Originally Posted by Hillo
Посмотреть сообщение
Now i changed the max houses to lower, now i ain't getting the warning but still the dialogs isnt working
I suggest you using enum or EasyDialog include for dialogs, so the id do not collide.
Reply
#5

Quote:
Originally Posted by [WSF]ThA_Devil
Посмотреть сообщение
I suggest you using enum or EasyDialog include for dialogs, so the id do not collide.
And how i can do that ?
Reply
#6

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#7

Can you just please tell me, i dont understand?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)