SA-MP Forums Archive
[HELP]Y_Ini Error[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]Y_Ini Error[HELP] (/showthread.php?tid=544783)



[HELP]Y_Ini Error[HELP] - Justinclaveria123 - 04.11.2014

Hi can someone help? because i compiled my GM and i included y_ini
and i found this error

Quote:

D:\MYSAMPServerBeginning\pawno\include\YSI\..\YSI_ Storage\y_ini.inc(206) : fatal error 100: cannot read from file: "..\amx\os"

Please HELP


Re: [HELP]Y_Ini Error[HELP] - Blade_Cervetti - 04.11.2014

I have included that whole folder for you. I hope this helps. Also, be sure to place this in your pawno/includes folder



DISCLAIMER: I take no credit for the work that ****** has done on these files. Only simply trying to help.


Re: [HELP]Y_Ini Error[HELP] - Justinclaveria123 - 04.11.2014

where do i need to put? and i need to put only the folder amx?


Re: [HELP]Y_Ini Error[HELP] - Blade_Cervetti - 04.11.2014

Quote:
Originally Posted by Justinclaveria123
Посмотреть сообщение
where do i need to put? and i need to put only the folder amx?
I would start with just that folder since that is what your error is referring to. Extract the folder within the rar file and go to your includes folder that is inside the pawno folder and put that folder there.


Re: [HELP]Y_Ini Error[HELP] - Justinclaveria123 - 04.11.2014

sorry for double comment . but the folder is empty .

is this right? but i still get that error


Re: [HELP]Y_Ini Error[HELP] - Blade_Cervetti - 04.11.2014

hmmm....do you have the y_amx.inc? Im like throwing spaghetti at this point. I think Im confusing myself, but Im trying to help you figure this out.


Re: [HELP]Y_Ini Error[HELP] - Justinclaveria123 - 04.11.2014

Yes , i have that y_amx.inc on the YSI_Storage folder


Re: [HELP]Y_Ini Error[HELP] - Blade_Cervetti - 04.11.2014

Okay, This is just a shot in the dark. But I also use YSI for a lot and this is all I have and have no issues. See what it does for you. Remove what you have and try this.


Re: [HELP]Y_Ini Error[HELP] - Justinclaveria123 - 04.11.2014

Now i got this errors and warnings

Quote:

../include/gl_common.inc(13 : error 025: function heading differs from prototype
../include/gl_common.inc(139) : error 021: symbol already defined: "isNumeric"
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(627) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(647) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(696) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(763) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(783) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(801) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(822) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(853) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(88 : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(915) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\pawno\include\YSI\y_ini.i nc(947) : warning 219: local variable "file" shadows a variable at a preceding level
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(327) : warning 235: public function lacks forward declaration (symbol "RandomMessage")
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "IsLogged"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "file"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "gArmySpawns"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "gMedicalSpawns"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "gPoliceSpawns"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "gRandomSpawns_LasVenturas"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "gRandomSpawns_LosSantos"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(541) : warning 203: symbol is never used: "gRandomSpawns_SanFierro"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(139) : warning 204: symbol is assigned a value that is never used: "icons"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(139 -- 541) : warning 203: symbol is never used: "ismuted"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(352) : warning 204: symbol is assigned a value that is never used: "positionx"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(353) : warning 204: symbol is assigned a value that is never used: "positiony"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(354) : warning 204: symbol is assigned a value that is never used: "positionz"
D:\MYSAMPServerBeginning\gamemodes\nvi.pwn(354 -- 541) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.




Re: [HELP]Y_Ini Error[HELP] - Blade_Cervetti - 04.11.2014

Quote:
Originally Posted by Justinclaveria123
Посмотреть сообщение
Now i got this errors and warnings
Now we're getting somewhere.

As for the first error:

https://sampforum.blast.hk/showthread.php?tid=488198

The second: I would just remove the new defining. Its already defined, and pawno is reading two definition so its throwing an error.