[Ajuda] Include DOF2 warnings
#1

Alguйm sabe como tirar esses warnings e se isso prejudica algo ?


Estou voltando agr com SAMP, nгo me lembro como eu tirei antes, recuperei meu GM desatualizado ;/
Reply
#2

Na imagem nгo da pra ver todo o warning, copia e cola!
Mais pratico!
Reply
#3

Sгo todos por causa da variбvel "f" no DOF2..

Quote:

C:\Users\BR\Desktop\Outros\GM\LYW\pawno\include\DO F2.inc(275) : warning 219: local variable "f" shadows a variable at a preceding level
C:\Users\BR\Desktop\Outros\GM\LYW\pawno\include\DO F2.inc(97 : warning 219: local variable "f" shadows a variable at a preceding level
C:\Users\BR\Desktop\Outros\GM\LYW\pawno\include\DO F2.inc(1037) : warning 219: local variable "f" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.

Reply
#4

Na include DOF2 Tem uma var definida com o nome "file"

talvez tenha que trocar de nome esses erros das linhas ai..

poste as 3 linhas dos erros
Reply
#5

Tenta
Reply
#6

Quote:
Originally Posted by Marllun
Посмотреть сообщение
Tenta
Agr deu 1 warnings..
Quote:

C:\Users\BR\Desktop\Outros\GM\LYW\pawno\include\DO F2.inc(792) : warning 219: local variable "f" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 10244 bytes
Code size: 2515100 bytes
Data size: 4324288 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 6866016 bytes

1 Warning.

E o samp-server.exe abre e fecha ;/
Quote:

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[05:20:10] filterscripts = "" (string)
[05:20:10]
[05:20:10] Server Plugins
[05:20:10] --------------
[05:20:10] Loading plugin: crashdetect
[05:20:10] CrashDetect plugin 4.19
[05:20:10] Loaded.
[05:20:10] Loading plugin: streamer
[05:20:10]

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[05:20:10] Loaded.
[05:20:10] Loaded 2 plugins.

[05:20:10]
[05:20:10] Filterscripts
[05:20:10] ---------------
[05:20:10] Loaded 0 filterscripts.

[05:20:12] [debug] Server crashed while executing LYW.amx
[05:20:12] [debug] AMX backtrace:
[05:20:12] [debug] #0 native fclose () from samp-server.exe
[05:20:12] [debug] #1 000015cc in ?? (4712384, 4450856) from LYW.amx
[05:20:12] [debug] #2 00245664 in ?? () from LYW.amx
[05:20:12] [debug] #3 00035c8c in public Iter_OnGameModeInit () from LYW.amx
[05:20:12] [debug] #4 native CallLocalFunction () from samp-server.exe
[05:20:12] [debug] #5 00000a48 in public OnGameModeInit () from LYW.amx
[05:20:12] [debug] Native backtrace:
[05:20:12] [debug] #0 0049939b in ?? () from samp-server.exe
[05:20:12] [debug] #1 004056cd in ?? () from samp-server.exe
[05:20:12] [debug] #2 744dd82a in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #3 744e4fe8 in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #4 744da1a7 in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #5 744dd87a in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #6 73963374 in ?? () from plugins\streamer.DLL
[05:20:12] [debug] #7 004746be in ?? () from samp-server.exe
[05:20:12] [debug] #8 004010b6 in ?? () from samp-server.exe
[05:20:12] [debug] #9 744dd82a in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #10 744e4fe8 in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #11 744da1a7 in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #12 744dd87a in ?? () from plugins\crashdetect.DLL
[05:20:12] [debug] #13 73963374 in ?? () from plugins\streamer.DLL
[05:20:12] [debug] #14 0046f654 in ?? () from samp-server.exe
[05:20:12] [debug] #15 65646f6d in ?? () from samp-server.exe
[05:20:12] [debug] #16 594c2f73 in ?? () from samp-server.exe
[05:20:12] [debug] #17 6d612e57 in ?? () from samp-server.exe
[05:20:12] [debug] Registers:
[05:20:12] [debug] EAX: 0018f508 EBX: 00000001 ECX: 00000000 EDX: 004056c0
[05:20:12] [debug] ESI: 00000000 EDI: 0000000d EBP: 594c2f73 ESP: 00515c08
[05:20:12] [debug] EIP: 6d612e57 EFLAGS: 00010286
[05:20:12] [debug] Stack:
[05:20:12] [debug] ESP+00000000: 00000078 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000020: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+000000c0: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+000000e0: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000100: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000120: 00000000 00000dc9 00000000 00000000
[05:20:12] [debug] ESP+00000140: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000160: 00000601 00000006 00000001 00000001
[05:20:12] [debug] ESP+00000180: 00000000 00000000 00516020 00000000
[05:20:12] [debug] ESP+000001a0: 00000000 00000000 0025c908 ffffffff
[05:20:12] [debug] ESP+000001c0: 0025c930 ffffffff 00000000 00000000
[05:20:12] [debug] ESP+000001e0: 00000000 00000000 00000000 00000fa0
[05:20:12] [debug] ESP+00000200: 00000000 00000fa0 0025c9a8 ffffffff
[05:20:12] [debug] ESP+00000220: 0025c9d0 ffffffff 00000000 00000000
[05:20:12] [debug] ESP+00000240: 00000000 00000000 00000000 00000fa0
[05:20:12] [debug] ESP+00000260: 00000000 00000fa0 0025ca48 ffffffff
[05:20:12] [debug] ESP+00000280: 0025ca70 ffffffff 00000000 00000000
[05:20:12] [debug] ESP+000002a0: 00000000 00000000 00000000 00000fa0
[05:20:12] [debug] ESP+000002c0: 00000000 00000fa0 0025ce00 ffffffff
[05:20:12] [debug] ESP+000002e0: 0025ce28 ffffffff 00000000 00000000
[05:20:12] [debug] ESP+00000300: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000320: 751a259e 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000340: 00690066 00690063 006c0061 00640020
[05:20:12] [debug] ESP+00000360: 00000000 00000000 00000000 00000000
[05:20:12] [debug] ESP+00000380: 03e7003b 00000000 006f0048 00e10072
[05:20:12] [debug] ESP+000003a0: 006c0069 00690065 006f0072 00640020
[05:20:12] [debug] ESP+000003c0: 00000000 00000000 000a0000 00030006
[05:20:12] [debug] ESP+000003e0: 00000000 00000001 00000000 00000000
[05:20:12] [debug] Loaded modules:
[05:20:12] [debug] 00400000 - 00519000 samp-server.exe
[05:20:12] [debug] 77840000 - 779c0000 ntdll.dll
[05:20:12] [debug] 75190000 - 752a0000 kernel32.dll
[05:20:12] [debug] 767b0000 - 767f7000 KERNELBASE.dll
[05:20:12] [debug] 75680000 - 762cc000 SHELL32.dll
[05:20:12] [debug] 773b0000 - 7745c000 msvcrt.dll
[05:20:12] [debug] 77100000 - 77157000 SHLWAPI.dll
[05:20:12] [debug] 77210000 - 772a0000 GDI32.dll
[05:20:12] [debug] 76dc0000 - 76ec0000 USER32.dll
[05:20:12] [debug] 76630000 - 766d1000 ADVAPI32.dll
[05:20:12] [debug] 76aa0000 - 76ab9000 sechost.dll
[05:20:12] [debug] 76530000 - 76620000 RPCRT4.dll
[05:20:12] [debug] 750f0000 - 75150000 SspiCli.dll
[05:20:12] [debug] 750e0000 - 750ec000 CRYPTBASE.dll
[05:20:12] [debug] 75600000 - 7560a000 LPK.dll
[05:20:12] [debug] 76480000 - 7651d000 USP10.dll
[05:20:12] [debug] 73240000 - 73247000 WSOCK32.dll
[05:20:12] [debug] 75150000 - 75185000 WS2_32.dll
[05:20:12] [debug] 75670000 - 75676000 NSI.dll
[05:20:12] [debug] 732a0000 - 732d2000 WINMM.dll
[05:20:12] [debug] 76810000 - 76870000 IMM32.DLL
[05:20:12] [debug] 76880000 - 7694d000 MSCTF.dll
[05:20:12] [debug] 744c0000 - 74511000 crashdetect.DLL
[05:20:12] [debug] 739d0000 - 73a39000 MSVCP100.dll
[05:20:12] [debug] 723b0000 - 7246f000 MSVCR100.dll
[05:20:12] [debug] 73960000 - 739c7000 streamer.DLL
[05:20:12] [debug] 70cd0000 - 70d3d000 MSVCP140.dll
[05:20:12] [debug] 744a0000 - 744b5000 VCRUNTIME140.dll
[05:20:12] [debug] 74ca0000 - 74ca4000 api-ms-win-crt-runtime-l1-1-0.dll
[05:20:12] [debug] 70be0000 - 70cc1000 ucrtbase.DLL
[05:20:12] [debug] 74c90000 - 74c93000 api-ms-win-core-timezone-l1-1-0.dll
[05:20:12] [debug] 74c80000 - 74c83000 api-ms-win-core-file-l2-1-0.dll
[05:20:12] [debug] 74490000 - 74493000 api-ms-win-core-localization-l1-2-0.dll
[05:20:12] [debug] 72e30000 - 72e33000 api-ms-win-core-synch-l1-2-0.dll
[05:20:12] [debug] 74480000 - 74483000 api-ms-win-core-processthreads-l1-1-1.dll
[05:20:12] [debug] 74470000 - 74473000 api-ms-win-core-file-l1-2-0.dll
[05:20:12] [debug] 738d0000 - 738d4000 api-ms-win-crt-string-l1-1-0.dll
[05:20:12] [debug] 738c0000 - 738c3000 api-ms-win-crt-heap-l1-1-0.dll
[05:20:12] [debug] 738b0000 - 738b4000 api-ms-win-crt-stdio-l1-1-0.dll
[05:20:12] [debug] 738a0000 - 738a4000 api-ms-win-crt-convert-l1-1-0.dll
[05:20:12] [debug] 73890000 - 73893000 api-ms-win-crt-locale-l1-1-0.dll
[05:20:12] [debug] 73880000 - 73885000 api-ms-win-crt-math-l1-1-0.dll
[05:20:12] [debug] 73870000 - 73875000 api-ms-win-crt-multibyte-l1-1-0.dll
[05:20:12] [debug] 73860000 - 73863000 api-ms-win-crt-time-l1-1-0.dll
[05:20:12] [debug] 73090000 - 73093000 api-ms-win-crt-filesystem-l1-1-0.dll
[05:20:12] [debug] 723a0000 - 723a3000 api-ms-win-crt-environment-l1-1-0.dll
[05:20:12] [debug] 72390000 - 72393000 api-ms-win-crt-utility-l1-1-0.dll
[05:20:12] [debug] 73390000 - 733cc000 mswsock.dll
[05:20:12] [debug] 730c0000 - 730c5000 wshtcpip.dll
[05:20:12] [debug] 73290000 - 732a0000 NLAapi.dll
[05:20:12] [debug] 73280000 - 73290000 napinsp.dll
[05:20:12] [debug] 73260000 - 73272000 pnrpnsp.dll
[05:20:12] [debug] 73810000 - 73854000 DNSAPI.dll
[05:20:12] [debug] 73250000 - 73258000 winrnr.dll
[05:20:12] [debug] 74bd0000 - 74bec000 IPHLPAPI.DLL
[05:20:12] [debug] 74bc0000 - 74bc7000 WINNSI.DLL
[05:20:12] [debug] 72340000 - 72378000 fwpuclnt.dll
[05:20:12] [debug] 72e40000 - 72e46000 rasadhlp.dll

Reply
#7

Quote:
Originally Posted by Welconha
Посмотреть сообщение
Agr deu 1 warnings..


E o samp-server.exe abre e fecha ;/
Esse aviso estб relacionado a uma variavel que estб como status global e local ao mesmo tempo.(Lembrando que includes/Modulos/plugins e etc tambйm fazem parte do seu GM)
Apenas renomeie a variavel no seu GM...
Reply
#8

Quote:
Originally Posted by Minerva
Посмотреть сообщение
Esse aviso estб relacionado a uma variavel que estб como status global e local ao mesmo tempo.(Lembrando que includes/Modulos/plugins e etc tambйm fazem parte do seu GM)
Apenas renomeie a variavel no seu GM...
Consegui, obrigado!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)