SA-MP Forums Archive
Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (/showthread.php?tid=636648)



Help - solstice_ - 01.07.2017

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


Re: Help - Sew_Sumi - 01.07.2017

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

Searching error messages generally returns results.


Re: Help - solstice_ - 02.07.2017

It didn't work...


Re: Help - JasonRiggs - 02.07.2017

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..


Re: Help - Sew_Sumi - 02.07.2017

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.


Re: Help - solstice_ - 03.07.2017

bumpp


Re: Help - Sew_Sumi - 03.07.2017

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.