PDA

View Full Version : Dutils include error


ejb
13/07/2012, 12:36 PM
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.

clarencecuzz
13/07/2012, 12:43 PM
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.

Cxnnor
13/07/2012, 12:45 PM
Download this (http://www.mediafire.com/?j7of3tl61bh475s), and then paste it into PAWNO > Includes and then re-compile.

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

ejb
13/07/2012, 12:47 PM
I have version 1.10 and it is in my pawno include folder and i made sure that it was spelt correctly.

ejb
13/07/2012, 01:06 PM
Download this (http://www.mediafire.com/?j7of3tl61bh475s), and then paste it into PAWNO > Includes and then re-compile.

Also make sure you have that at the top of your script.
#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)

Devilxz97
13/07/2012, 01:16 PM
show us line 22

warning 203: symbol is never used: "ret_memcpy"

//anyhere on your script
#pragma unused ret_memcpy

ejb
13/07/2012, 01:22 PM
show us line 22

warning 203: symbol is never used: "ret_memcpy"

//anyhere on your script
#pragma unused ret_memcpy

line 22: new PRIVATE_Last_Money[MAX_PLAYERS];

clarencecuzz
13/07/2012, 01:30 PM
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.

Devilxz97
13/07/2012, 01:32 PM
new PRIVATE_Last_Money[MAX_PLAYERS];
is already define on dutils include's

ejb
13/07/2012, 01:42 PM
the script im trying to compile is an irc script IRC Administrator 1.0 By PlayerX. if that helps.