[DEBUG] GetNumNatives


Započeo Deken, Avgust 06, 2020, 14:29:07 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Vidi da li se jos negde koristi OnScriptInit

Sto se tice mog gamemode ne,samo se koristi u filterscripti za mapu

Citat: Deken poslato Avgust 09, 2020, 14:20:54 POSLE PODNE
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

Citat: omcho poslato Avgust 09, 2020, 15:16:43 POSLE PODNE
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] [debug] Long callback execution detected (hang or performance issue)
[17:10:49]  ======================================= 
[17:10:49] [debug] AMX backtrace:
[17:10:49] [debug] #0 00000890 in GetRawAmxHeader (plain_amxhdr[14]=@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] [debug] #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] [debug] Long callback execution detected (hang or performance issue)
[17:10:49] [debug] #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] [debug] AMX backtrace:
[17:10:49] [debug] #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] [debug] #0 00000890 in GetRawAmxHeader (plain_amxhdr[14]=@01110ee4 "^") at C:\Users\dbosn_000\Desktop\BALRP\pawno\include\YSI\YSI_Storage\..\YSI_Internal\..\amx\amx_header.inc:131
[17:10:49] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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] [debug] #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]

Poslednja Izmena: Avgust 09, 2020, 17:11:59 POSLE PODNE od Deken

Nikada, ali nikada nemoj overloadovati OnScriptInit.
Uzmi sve mape i prebaci ih u mod pod OnGameModeInit.

[debug] 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.
Those parts of the system that you can hit with a hammer (not advised) are called hardware; those program instructions that you can only curse at are called software

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
       

Citat: XACK poslato Avgust 09, 2020, 18:07:45 POSLE PODNE
Nikada, ali nikada nemoj overloadovati OnScriptInit.
Uzmi sve mape i prebaci ih u mod pod OnGameModeInit.

[debug] 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!
Poslednja Izmena: Avgust 09, 2020, 23:09:49 POSLE PODNE od Deken

Citat: Švabо poslato Avgust 09, 2020, 18:20:06 POSLE PODNE
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!

Citat: Deken poslato Avgust 09, 2020, 23:06:01 POSLE PODNE
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
Poslednja Izmena: Avgust 09, 2020, 23:15:52 POSLE PODNE od Deken

Citat: Deken poslato Avgust 09, 2020, 23:13:40 POSLE PODNE
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[0])                                                                                  \
			fwrite((%0), "] : "), fwrite((%0), %2), %2[0] = '\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

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...
Those parts of the system that you can hit with a hammer (not advised) are called hardware; those program instructions that you can only curse at are called software

Citat: XACK poslato Avgust 12, 2020, 02:22:31 PRE PODNE
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

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[0])
		{
			fwrite(file, "] : "),
			fwrite(file, format),
			format[0] = '\0';
		}
		else
		{
			fwrite(file, "]");
		}
	}
}


Jesi li siguran da si skinuo YSI sa ovog linka?
https://github.com/pawn-lang/YSI-Includes
Those parts of the system that you can hit with a hammer (not advised) are called hardware; those program instructions that you can only curse at are called software

Citat: XACK poslato Avgust 12, 2020, 10:10:44 PRE PODNE
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[0])
		{
			fwrite(file, "] : "),
			fwrite(file, format),
			format[0] = '\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

[debug] Long callback execution detected (hang or performance issue)
Dodaj ovo u server.cfg :D
long_call_time 0
Citat: XunderNebitno koliko god bio dobar i sa tobom Makenzi, Vedranom, Ziletom, Lanijem i ko se vec sve tu proziva moram se sloziti sa Krampom.
Umjesto toga sto se prozivate, ovaj forum bi mogao biti mnogo ljepse mjesto za pocetnike kada bi vi iskusniji usli u normalnu raspravu - podijelite svoj kod i napisite zasto je bolji od koda koji je neko drugi podijelio.


Pa... Hajde da probamo?