Help with YSI - 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 with YSI (
/showthread.php?tid=548700)
Help with YSI -
ilepopivanov - 01.12.2014
When I compile without YSI it's compile fine
Код:
(5024) : warning 219: local variable "targetid" shadows a variable at a preceding level
(5125) : warning 219: local variable "partijatext" shadows a variable at a preceding level
(5126) : warning 213: tag mismatch
(5126) : warning 213: tag mismatch
(5127) : warning 213: tag mismatch
(5127) : warning 213: tag mismatch
(5128) : warning 204: symbol is assigned a value that is never used: "otext"
(14071) : warning 219: local variable "targetid" shadows a variable at a preceding level
(14087) : warning 219: local variable "targetid" shadows a variable at a preceding level
(14103) : warning 219: local variable "targetid" shadows a variable at a preceding level
(47827) : warning 213: tag mismatch
(47827) : warning 213: tag mismatch
(47833) : warning 213: tag mismatch
(47833) : warning 213: tag mismatch
(63660) : warning 213: tag mismatch
(63661) : warning 213: tag mismatch
(63680) : warning 213: tag mismatch
(63726) : warning 213: tag mismatch
(63734) : warning 213: tag mismatch
(63744) : warning 213: tag mismatch
(63752) : warning 213: tag mismatch
(63780) : warning 213: tag mismatch
(63780) : warning 213: tag mismatch
(63784) : warning 213: tag mismatch
(63784) : warning 213: tag mismatch
(72602) : warning 213: tag mismatch
(72603) : warning 213: tag mismatch
(77633) : warning 219: local variable "targetid" shadows a variable at a preceding level
(83126) : warning 219: local variable "targetid" shadows a variable at a preceding level
(86578) : warning 203: symbol is never used: "AC_BS_SetPlayerInterior"
(86578) : warning 203: symbol is never used: "AC_BS_SetPlayerPos"
(86578) : warning 203: symbol is never used: "imaognometi"
(86578) : warning 203: symbol is never used: "partijatext"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 16684 bytes
Code size: 4473284 bytes
Data size: 7259896 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5607 cells (22428 bytes)
Total requirements:11766248 bytes
33 Warnings.
But when I add YSI in includes I can't compile gamemode
Код:
D:\pawno\include\YSI\y_amx.inc(391) : warning 219: local variable "base" shadows a variable at a preceding level
D:\pawno\include\YSI\y_amx.inc(439) : warning 219: local variable "base" shadows a variable at a preceding level
D:\pawno\include\YSI\y_amx.inc(660) : warning 219: local variable "base" shadows a variable at a preceding level
D:\pawno\include\YSI\y_utils.inc(727) : error 021: symbol already defined: "ReturnPlayerName"
D:\pawno\include\YSI\internal\y_shortfunc.inc(167) : warning 219: local variable "v" shadows a variable at a preceding level
D:\pawno\include\YSI\internal\y_shortfunc.inc(182) : warning 219: local variable "v" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(2026) : error 021: symbol already defined: "OnPlayerUpdate"
D:\pawno\include\YSI\y_hooks/impl.inc(2861) : warning 219: local variable "playertextid" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rx" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "ry" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rz" shadows a variable at a preceding level
(1222) : error 025: function heading differs from prototype
(5025) : warning 219: local variable "targetid" shadows a variable at a preceding level
(5126) : warning 219: local variable "partijatext" shadows a variable at a preceding level
(5127) : warning 213: tag mismatch
(5127) : warning 213: tag mismatch
(5128) : warning 213: tag mismatch
(5128) : warning 213: tag mismatch
(5129) : warning 204: symbol is assigned a value that is never used: "otext"
(14072) : warning 219: local variable "targetid" shadows a variable at a preceding level
(14088) : warning 219: local variable "targetid" shadows a variable at a preceding level
(14104) : warning 219: local variable "targetid" shadows a variable at a preceding level
(29224) : error 025: function heading differs from prototype
(30208) : error 004: function "S@@_OnPlayerUpdate" is not implemented
(30214) : error 004: function "S@@_OnPlayerUpdate" is not implemented
(30220) : error 004: function "S@@_OnPlayerUpdate" is not implemented
(44478) : error 035: argument type mismatch (argument 2)
(47828) : warning 213: tag mismatch
(47828) : warning 213: tag mismatch
(47834) : warning 213: tag mismatch
(47834) : warning 213: tag mismatch
(54299) : error 035: argument type mismatch (argument 2)
(63661) : warning 213: tag mismatch
(63662) : warning 213: tag mismatch
(63681) : warning 213: tag mismatch
(63727) : warning 213: tag mismatch
(63735) : warning 213: tag mismatch
(63745) : warning 213: tag mismatch
(63753) : warning 213: tag mismatch
(63781) : warning 213: tag mismatch
(63781) : warning 213: tag mismatch
(63785) : warning 213: tag mismatch
(63785) : warning 213: tag mismatch
(72603) : warning 213: tag mismatch
(72604) : warning 213: tag mismatch
(77634) : warning 219: local variable "targetid" shadows a variable at a preceding level
(83127) : warning 219: local variable "targetid" shadows a variable at a preceding level
(86579) : warning 203: symbol is never used: "AC_BS_SetPlayerInterior"
(86579) : warning 203: symbol is never used: "AC_BS_SetPlayerPos"
(86579) : warning 203: symbol is never used: "imaognometi"
(86579) : warning 203: symbol is never used: "partijatext"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
9 Errors.
Re: Help with YSI -
Runn3R - 01.12.2014
Probably missing a bracket somewhere.
Re: Help with YSI -
ilepopivanov - 01.12.2014
But without YSI compiles fine
Re: Help with YSI -
Runn3R - 01.12.2014
Код:
(5024) : warning 219: local variable "targetid" shadows a variable at a preceding level
(5125) : warning 219: local variable "partijatext" shadows a variable at a preceding level
(5126) : warning 213: tag mismatch
(5126) : warning 213: tag mismatch
(5127) : warning 213: tag mismatch
(5127) : warning 213: tag mismatch
(5128) : warning 204: symbol is assigned a value that is never used: "otext"
(14071) : warning 219: local variable "targetid" shadows a variable at a preceding level
(14087) : warning 219: local variable "targetid" shadows a variable at a preceding level
(14103) : warning 219: local variable "targetid" shadows a variable at a preceding level
(47827) : warning 213: tag mismatch
(47827) : warning 213: tag mismatch
(47833) : warning 213: tag mismatch
(47833) : warning 213: tag mismatch
(63660) : warning 213: tag mismatch
(63661) : warning 213: tag mismatch
(63680) : warning 213: tag mismatch
(63726) : warning 213: tag mismatch
(63734) : warning 213: tag mismatch
(63744) : warning 213: tag mismatch
(63752) : warning 213: tag mismatch
(63780) : warning 213: tag mismatch
(63780) : warning 213: tag mismatch
(63784) : warning 213: tag mismatch
(63784) : warning 213: tag mismatch
(72602) : warning 213: tag mismatch
(72603) : warning 213: tag mismatch
(77633) : warning 219: local variable "targetid" shadows a variable at a preceding level
(83126) : warning 219: local variable "targetid" shadows a variable at a preceding level
(86578) : warning 203: symbol is never used: "AC_BS_SetPlayerInterior"
(86578) : warning 203: symbol is never used: "AC_BS_SetPlayerPos"
(86578) : warning 203: symbol is never used: "imaognometi"
(86578) : warning 203: symbol is never used: "partijatext"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 16684 bytes
Code size: 4473284 bytes
Data size: 7259896 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5607 cells (22428 bytes)
Total requirements:11766248 bytes
33 Warnings.
This is compiling fine?? Are you like nuts? You need to fix these warnings.
Re: Help with YSI -
ilepopivanov - 01.12.2014
I will try
Re: Help with YSI -
ilepopivanov - 01.12.2014
I fix warnings and again errors
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 16684 bytes
Code size: 4464264 bytes
Data size: 7251572 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5607 cells (22428 bytes)
Total requirements:11748904 bytes
Код:
D:\pawno\include\YSI\y_amx.inc(391) : warning 219: local variable "base" shadows a variable at a preceding level
D:\pawno\include\YSI\y_amx.inc(439) : warning 219: local variable "base" shadows a variable at a preceding level
D:\pawno\include\YSI\y_amx.inc(660) : warning 219: local variable "base" shadows a variable at a preceding level
D:\pawno\include\YSI\y_utils.inc(727) : error 021: symbol already defined: "ReturnPlayerName"
D:\GalaxyTown\pawno\include\YSI\internal\y_shortfunc.inc(167) : warning 219: local variable "v" shadows a variable at a preceding level
D:\pawno\include\YSI\internal\y_shortfunc.inc(182) : warning 219: local variable "v" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(2026) : error 021: symbol already defined: "OnPlayerUpdate"
D:\pawno\include\YSI\y_hooks/impl.inc(2861) : warning 219: local variable "playertextid" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rx" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "ry" shadows a variable at a preceding level
D:\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rz" shadows a variable at a preceding level
D:\gamemodes\GalaxyTown.pwn(1212) : error 025: function heading differs from prototype
D:\gamemodes\GalaxyTown.pwn(29211) : error 025: function heading differs from prototype
D:\gamemodes\GalaxyTown.pwn(30195) : error 004: function "S@@_OnPlayerUpdate" is not implemented
D:\gamemodes\GalaxyTown.pwn(30201) : error 004: function "S@@_OnPlayerUpdate" is not implemented
D:\gamemodes\GalaxyTown.pwn(30207) : error 004: function "S@@_OnPlayerUpdate" is not implemented
D:\gamemodes\GalaxyTown.pwn(44445) : error 035: argument type mismatch (argument 2)
D:\gamemodes\GalaxyTown.pwn(54241) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
9 Errors.
Re: Help with YSI -
Runn3R - 01.12.2014
Download the lastest YSI libary.