SA-MP Forums Archive
Dutils include error - 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: Dutils include error (/showthread.php?tid=359228)



Dutils include error - ejb - 13.07.2012

I keep getting this error
E:\$$ san adreas $$\GTA - San Andreas\server\filterscripts\IRC3.pwn(46) : fatal error 100: cannot read from file: "dutils"

i have already downloaded dutils and put it in my includes folder.


Re: Dutils include error - clarencecuzz - 13.07.2012

Make sure you go into your 'pawno' folder, THEN go into the 'includes' folder which is located inside the pawno folder. Your includes must go in there, make sure you've spelled it correctly etc. Make sure you have the latest version of dutils.


Re: Dutils include error - Cxnnor - 13.07.2012

Download this, and then paste it into PAWNO > Includes and then re-compile.

Also make sure you have that at the top of your script.
pawn Code:
#include <dutils>



Re: Dutils include error - ejb - 13.07.2012

I have version 1.10 and it is in my pawno include folder and i made sure that it was spelt correctly.


Re: Dutils include error - ejb - 13.07.2012

Quote:
Originally Posted by Cxnnor
View Post
Download this, and then paste it into PAWNO > Includes and then re-compile.

Also make sure you have that at the top of your script.
pawn Code:
#include <dutils>
I downloaded it and i re-compile and i got 3 errors
E:\$$ san adreas $$\GTA - San Andreas\server\pawno\include\dutils.inc(22) : error 017: undefined symbol "MAX_PLAYERS"
E:\$$ san adreas $$\GTA - San Andreas\server\pawno\include\dutils.inc(489) : warning 203: symbol is never used: "ret_memcpy"
E:\$$ san adreas $$\GTA - San Andreas\server\pawno\include\dutils.inc(489 : error 013: no entry point (no public functions)


Re: Dutils include error - Devilxz97 - 13.07.2012

show us line 22

Code:
warning 203: symbol is never used: "ret_memcpy"
//anyhere on your script
pawn Code:
#pragma unused ret_memcpy



Re: Dutils include error - ejb - 13.07.2012

Quote:
Originally Posted by Devilxz97
View Post
show us line 22

Code:
warning 203: symbol is never used: "ret_memcpy"
//anyhere on your script
pawn Code:
#pragma unused ret_memcpy
line 22: new PRIVATE_Last_Money[MAX_PLAYERS];


Re: Dutils include error - clarencecuzz - 13.07.2012

I wouldn't edit the include file if I were you, it can lead to a lot of bad changes in your script's behavior.


Re: Dutils include error - Devilxz97 - 13.07.2012

pawn Code:
new PRIVATE_Last_Money[MAX_PLAYERS];
is already define on dutils include's


Re: Dutils include error - ejb - 13.07.2012

the script im trying to compile is an irc script IRC Administrator 1.0 By PlayerX. if that helps.