SA-MP Forums Archive
pawno crash - 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: pawno crash (/showthread.php?tid=643816)



pawno crash - Derzhavin - 28.10.2017

hi, when i use #include <sqlitei> my pawno crashed. i downloaded it from github. if i delete this line all works fine


Re: pawno crash - GamezCEO - 28.10.2017

Try #include <sqlite>

Copy paste this


Re: pawno crash - Derzhavin - 28.10.2017

ofc this
Код:
\gamemodes\new.pwn(12) : fatal error 100: cannot read from file: "sqlite"
if i rename the include to "sqlite" it's still crash


Re: pawno crash - 10MIN - 28.10.2017

Did you put it on SERVER_FOLDER/pawno/include ?
This error means that you don't have the file in the include folder of pawncc. (it is not a pawn compiler crash)


Re: pawno crash - Derzhavin - 28.10.2017

Quote:
Originally Posted by 10MIN
Посмотреть сообщение
Did you put it on SERVER_FOLDER/pawno/include ?
Ofc i does it.
in first message i mean this

Quote:
Originally Posted by 10MIN
Посмотреть сообщение
Did you put it on SERVER_FOLDER/pawno/include ?
This error means that you don't have the file in the include folder of pawncc. (it is not a pawn compiler crash)
this error coming if i rename line like in message from GamezCEO


Re: pawno crash - GamezCEO - 28.10.2017

Here is another reason.

1) You are opening PAWNO.exe from a DIFFERENT folder where your desired GAMEMODE or FILTERSCRIPT is located. e.g.

MyFolder\nGamemodes\nCODTDM.pwn
MyFolder\nPAWNO\nPawno.exe

If I open the Pawno.exe from the same folder from where my gamemode or whatever I'm trying to edit is located, there won't be a problem.

But if it is like this:

MyFolder\Gamemodes\CODTDM.pwn
AnotherFolder\PAWNO\Pawno.exe

Then Pawno will give you an error that it cannot read from the file.


Re: pawno crash - Derzhavin - 28.10.2017

Quote:
Originally Posted by GamezCEO
Посмотреть сообщение
Here is another reason.

1) You are opening PAWNO.exe from a DIFFERENT folder where your desired GAMEMODE or FILTERSCRIPT is located. e.g.

MyFolder\nGamemodes\nCODTDM.pwn
MyFolder\nPAWNO\nPawno.exe

If I open the Pawno.exe from the same folder from where my gamemode or whatever I'm trying to edit is located, there won't be a problem.

But if it is like this:

MyFolder\Gamemodes\CODTDM.pwn
AnotherFolder\PAWNO\Pawno.exe

Then Pawno will give you an error that it cannot read from the file.
Unfortunately no

Problem still here


Re: pawno crash - OneDay - 28.10.2017

Try Notepad++ or sublime


Re: pawno crash - 10MIN - 28.10.2017

Something is wrong... I can compile without a crash my gm with sqlitei included (not used) with Zeex's Experimental and server package compilers without any error... Try to check your code and re-check the include. (make sure you've downloaded it from: https://github.com/oscar-broman/sqlitei)


Re: pawno crash - Derzhavin - 28.10.2017

Quote:
Originally Posted by OneDay
Посмотреть сообщение
Try Notepad++ or sublime
i will try it later, thx