#1

Hi, can someone help me please. I have a root linux and i put all linux files there, when i start the server everything is ok, it starts. But when i connect, it stops. Then putty shows me this:

amx/amxfile.c:101: fgets_cell: Assertion `fp!=((void *)0)' failed. Aborted

Can anyone help please.. thanks
Reply
#2

https://github.com/Zeex/samp-plugin-...tect/issues/25

Searching error messages generally returns results.
Reply
#3

It didn't work...
Reply
#4

Quote:

You are using fread without making sure the return value from fopen is not 0.

It is pretty easy, You have tried to open a file without making sure that it exists, for example ur account file, without getting it created, I am saying for example, Try making sure that all the files are created, before opening it to load from it..
Reply
#5

Yea, it wasn't a fix, it was more information to help you find where the issue was... But it is caused by the fread without making sure the file is actually present.
Reply
#6

bumpp
Reply
#7

Quote:
Originally Posted by Engoo
View Post
bumpp
Can you actually say something rather than simply bumping...


After all, you've not provided any code, you've been advised of one situation this can occur, and you simply come back with "not working"...


You're going to need to pass something back to this, otherwise you're just not going to get a single answer.




And waiting out for a copy-paste solution is a terrible idea, especially when you haven't provided any code whatsoever.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)