[DEBUG] GetNumNatives

Deken Započeo Deken
pre 5 godina
3,386
pregleda
35
postova
Exnas.pwn
Godfather
pre 5 godina
Vidi da li se jos negde koristi OnScriptInit
Deken
Underboss
pre 5 godina
Sto se tice mog gamemode ne,samo se koristi u filterscripti za mapu
omcho
Enforcer
pre 5 godina
Deken wrote on August 9, 2020, 12:20 pm:
Sto se tice mog gamemode ne,samo se koristi u filterscripti za mapu


pa daj kod kako, jel kao 'hook' ili kao 'public'?

ako je public prebaci ga u 'hook' ne zaboravi da include Y_hooks na vrhu
Deken
Underboss
pre 5 godina
omcho wrote on August 9, 2020, 1:16 pm:
pa daj kod kako, jel kao 'hook' ili kao 'public'?

ako je public prebaci ga u 'hook' ne zaboravi da include Y_hooks na vrhu

public je,sacu u hook
sad ih je vise

17:10:49] Long callback execution detected (hang or performance issue)
[17:10:49]  =======================================
[17:10:49] AMX backtrace:
[17:10:49] #0 00000890 in GetRawAmxHeader (plain_amxhdr=@01110ee4 "^") at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:131
[17:10:49] 
[17:10:49] #1 00000a34 in GetAmxHeaderNow (amxhdr[AMX_HDR:17]=@00000078) at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:165
[17:10:49] Long callback execution detected (hang or performance issue)
[17:10:49] #2 00000ee0 in ResetStaticAmxHeader () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:189
[17:10:49] AMX backtrace:
[17:10:49] #3 00000f30 in GetAmxHeader (amxhdr[AMX_HDR:17]=@00002c68) at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:198
[17:10:49] #0 00000890 in GetRawAmxHeader (plain_amxhdr=@01110ee4 "^") at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:131
[17:10:49] #4 0000a504 in CodeScanInit (scanner[CodeScanner:164]=@01111cb4) at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc:971
[17:10:49] #1 00000a34 in GetAmxHeaderNow (amxhdr[AMX_HDR:17]=@00000078) at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:165
[17:10:49] #2 00000ee0 in ResetStaticAmxHeader () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:189
[17:10:49] #5 0000f91c in YVA2_Initalise () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Coding\y_va/impl.inc:507
[17:10:49] #3 00000f30 in GetAmxHeader (amxhdr[AMX_HDR:17]=@00002c68) at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:198
[17:10:49] #6 0000e21c in public AMX_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Coding\y_va/impl.inc:247
[17:10:49] #4 0000a504 in CodeScanInit (scanner[CodeScanner:164]=@01111cb4) at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc:971
[17:10:49] #7 0000bb48 in public Debug_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc:233
[17:10:49] #5 0000f91c in YVA2_Initalise () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Coding\y_va/impl.inc:507
[17:10:49] #8 0000b49c in public YVers_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc:703
[17:10:49] #6 0000e21c in public AMX_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Coding\y_va/impl.inc:247
[17:10:49] #10 0000ab48 in public OnGameModeInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc:236
[17:10:49] #7 0000bb48 in public Debug_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc:233
[17:10:49] #8 0000b49c in public YVers_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc:703
[17:10:49] #9 0000aed4 in public ScriptInit_OnScriptInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\y_version.inc:248
[17:10:49] #10 0000ab48 in public OnGameModeInit () at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc:236
[17:10:50]
XACK
Hustler
pre 5 godina
Nikada, ali nikada nemoj overloadovati OnScriptInit.
Uzmi sve mape i prebaci ih u mod pod OnGameModeInit.

Long callback execution detected (hang or performance issue) = sam opis kaze da si preterao.

Ako ne bude radilo stavi malo stariju verziju YSI-a pa potom probaj ponovo preci na noviju.
KUKI
Underboss
pre 5 godina
Napravi poseban pwn file
i copy ovo

#include "streamer"

#include "YSI_Coding\y_hooks"

//======================//

hook: OnPlayerConnect(playerid) {
return Y_HOOKS_CONTINUE_RETURN_1;
}

hook: OnGameModeInit() {
return Y_HOOKS_CONTINUE_RETURN_1;
}

Potreban ti je samo YSI i naravno streamer
       
Deken
Underboss
pre 5 godina
XACK wrote on August 9, 2020, 4:07 pm:
Nikada, ali nikada nemoj overloadovati OnScriptInit.
Uzmi sve mape i prebaci ih u mod pod OnGameModeInit.

Long callback execution detected (hang or performance issue) = sam opis kaze da si preterao.

Ako ne bude radilo stavi malo stariju verziju YSI-a pa potom probaj ponovo preci na noviju.

Jesam,sve isto!
Deken
Underboss
pre 5 godina
Švabо wrote on August 9, 2020, 4:20 pm:
Napravi poseban pwn file
i copy ovo

#include "streamer"

#include "YSI_Coding\y_hooks"

//======================//

hook: OnPlayerConnect(playerid) {
return Y_HOOKS_CONTINUE_RETURN_1;
}

hook: OnGameModeInit() {
return Y_HOOKS_CONTINUE_RETURN_1;
}

Potreban ti je samo YSI i naravno streamer
     

jesam,al jel bitno ime pwn file,ili ne i gde da ga stavim!
Deken
Underboss
pre 5 godina
Deken wrote on August 9, 2020, 9:06 pm:
jesam,al jel bitno ime pwn file,ili ne i gde da ga stavim!

Kad sam update ysi opet na 5.1 dobio sam pregrst nekih errora na gamemodu...

warning 230: no implementation for state "y_ini_writing_fast" in function "INI_HandleEntry", no fall-back // nemam tu liniju
i onda
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_version.inc(252) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(417) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(456) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(593) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(249) : error 017: undefined symbol "_y_utils_OnPlayerConnect"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(269) : error 017: undefined symbol "_y_utils_OnPlayerDisconnect"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(698) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\..\..\YSI_Core\y_core\..\..\indirection\indirection.inc(931) : error 017: undefined symbol "Indirection_OnFilterScriptInit"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\..\..\YSI_Core\y_core\..\..\indirection\indirection.inc(940) : error 017: undefined symbol "Indirection_OnGameModeInit"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_impl.inc(335) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(145) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(226) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(255) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(261) : error 075: input line too long (after substitutions)
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(267) : error 075: input line too long (after substitutions)
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(465) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(485) : error 017: undefined symbol "INI_FlushWithRestore"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(630) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(640) : error 004: function "INI_FindCallback" is not implemented
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(800) : error 017: undefined symbol "INI_FlushWithoutRestore"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(851) : error 017: undefined symbol "INI_FlushWithoutRestore"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1237) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1355) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1396) : error 017: undefined symbol "INI_HandleTag"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1466) : error 017: undefined symbol "INI_HandleComment"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1469) : error 017: undefined symbol "INI_HandleEnd"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1484) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1489) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1494) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1499) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1504) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1509) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1514) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1519) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1525) : error 017: undefined symbol "YSI_g"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1525 -- 1526) : warning 215: expression has no effect
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1526) : error 001: expected token: ";", but found "if"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1526) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1556) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1556) : error 001: expected token: "-identifier-", but found "stock"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1560) : error 017: undefined symbol "YSI_g"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1560 -- 1561) : warning 215: expression has no effect
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1561) : error 001: expected token: ";", but found "if"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1561) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1581) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1581) : error 001: expected token: "-identifier-", but found "stock"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1583) : error 017: undefined symbol "comment"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1584) : error 017: undefined symbol "YSI_g"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1584 -- 1586) : warning 215: expression has no effect
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586) : error 001: expected token: ";", but found "-identifier-"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586 -- 1587) : error 017: undefined symbol "comment"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586 -- 1587) : fatal error 107: too many error messages on one line

svi ovi ispod su zbog ovog gore al dok skontam sta je
Deken
Underboss
pre 5 godina
Deken wrote on August 9, 2020, 9:13 pm:
Kad sam update ysi opet na 5.1 dobio sam pregrst nekih errora na gamemodu...

warning 230: no implementation for state "y_ini_writing_fast" in function "INI_HandleEntry", no fall-back // nemam tu liniju
i onda
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_version.inc(252) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(417) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(456) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(593) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(249) : error 017: undefined symbol "_y_utils_OnPlayerConnect"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(269) : error 017: undefined symbol "_y_utils_OnPlayerDisconnect"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(698) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\..\..\YSI_Core\y_core\..\..\indirection\indirection.inc(931) : error 017: undefined symbol "Indirection_OnFilterScriptInit"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\..\..\YSI_Core\y_core\..\..\indirection\indirection.inc(940) : error 017: undefined symbol "Indirection_OnGameModeInit"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_impl.inc(335) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(145) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(226) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(255) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(261) : error 075: input line too long (after substitutions)
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(267) : error 075: input line too long (after substitutions)
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(465) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(485) : error 017: undefined symbol "INI_FlushWithRestore"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(630) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(640) : error 004: function "INI_FindCallback" is not implemented
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(800) : error 017: undefined symbol "INI_FlushWithoutRestore"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(851) : error 017: undefined symbol "INI_FlushWithoutRestore"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1237) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1355) : warning 219: local variable "pos" shadows a variable at a preceding level
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1396) : error 017: undefined symbol "INI_HandleTag"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1466) : error 017: undefined symbol "INI_HandleComment"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1469) : error 017: undefined symbol "INI_HandleEnd"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1484) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1489) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1494) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1499) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1504) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1509) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1514) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1519) : warning 209: function "INI_HandleEntry" should return a value
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1525) : error 017: undefined symbol "YSI_g"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1525 -- 1526) : warning 215: expression has no effect
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1526) : error 001: expected token: ";", but found "if"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1526) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1556) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1556) : error 001: expected token: "-identifier-", but found "stock"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1560) : error 017: undefined symbol "YSI_g"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1560 -- 1561) : warning 215: expression has no effect
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1561) : error 001: expected token: ";", but found "if"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1561) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1581) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1581) : error 001: expected token: "-identifier-", but found "stock"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1583) : error 017: undefined symbol "comment"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1584) : error 017: undefined symbol "YSI_g"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1584 -- 1586) : warning 215: expression has no effect
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586) : error 001: expected token: ";", but found "-identifier-"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586) : warning 217: loose indentation
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586 -- 1587) : error 017: undefined symbol "comment"
C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc(1586 -- 1587) : fatal error 107: too many error messages on one line

svi ovi ispod su zbog ovog gore al dok skontam sta je

Gledao sam ysiov odgovor
 #define INI_WriteTag(%0,%1,%2); 																	\
if (YSI_g_sTagNeeded)                                                                            \
{                                                                      \                                                                                            \
if (YSI_g_sNL)                                                                              \
fwrite((%0), "\n");                                                                    \
else                                                                                        \
YSI_g_sNL = true;                                                                      \
fwrite((%0), "["), fwrite((%0), %1);                                                        \
if (%2)                                                                                  \
fwrite((%0), "] : "), fwrite((%0), %2), %2 = '\0';                                  \
else                                                                                        \
fwrite((%0), "]");                                                                      \
YSI_g_sTagNeeded = false;                                                        \
                                                               
do ovog je najverovatnije,testiramo sam da izbrisem ove crte svi erori nestanu osim function lacks declaration ili function lacks header
XACK
Hustler
pre 5 godina
Ne znam da li si obrisao sve sto sam ti napisao gore, posto meni izgleda kao da si nesto radio oko scriptinita tj. menjao, jer nema logike da ne radi.
Vrati se jednu verziju YSI-a nazad i ako ti radi mozes i ostati na njoj mada ne znam sta si sve radio da izazoves ove gresketine.

INI_WriteTag uopste ne bi smeo tako da izgleda sa tim back slashovima...
Deken
Underboss
pre 5 godina
XACK wrote on August 12, 2020, 12:22 am:
Ne znam da li si obrisao sve sto sam ti napisao gore, posto meni izgleda kao da si nesto radio oko scriptinita tj. menjao, jer nema logike da ne radi.
Vrati se jednu verziju YSI-a nazad i ako ti radi mozes i ostati na njoj mada ne znam sta si sve radio da izazoves ove gresketine.

INI_WriteTag uopste ne bi smeo tako da izgleda sa tim back slashovima...

To je YSI inc
XACK
Hustler
pre 5 godina
Druze, znam da je YSI, ali ovo nije nova verzija.

U novoj verziji INI_WriteTag uopste nije postavljen kao makro funkcija vec kao interna funkcija:

static stock INI_WriteTag(File:file, const tag[], format[])
{
if (YSI_g_sTagNeeded)
{
YSI_g_sNL = !YSI_g_sNL || fwrite(file, "\n"),
fwrite(file, "["),
fwrite(file, tag),
YSI_g_sTagNeeded = false;
if (format)
{
fwrite(file, "] : "),
fwrite(file, format),
format = '\0';
}
else
{
fwrite(file, "]");
}
}
}


Jesi li siguran da si skinuo YSI sa ovog linka?
https://github.com/pawn-lang/YSI-Includes
Deken
Underboss
pre 5 godina
XACK wrote on August 12, 2020, 8:10 am:
Druze, znam da je YSI, ali ovo nije nova verzija.

U novoj verziji INI_WriteTag uopste nije postavljen kao makro funkcija vec kao interna funkcija:

static stock INI_WriteTag(File:file, const tag[], format[])
{
if (YSI_g_sTagNeeded)
{
YSI_g_sNL = !YSI_g_sNL || fwrite(file, "\n"),
fwrite(file, "["),
fwrite(file, tag),
YSI_g_sTagNeeded = false;
if (format)
{
fwrite(file, "] : "),
fwrite(file, format),
format = '\0';
}
else
{
fwrite(file, "]");
}
}
}


Jesi li siguran da si skinuo YSI sa ovog linka?
https://github.com/pawn-lang/YSI-Includes

Da jesam,ali meni nije tako
King of the Jungle
Wheel Man
pre 5 godina
Long callback execution detected (hang or performance issue)
Dodaj ovo u server.cfg 😄
long_call_time 0

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava