Problem(error/warning):Ovako koristim ovaj mod Nova Kuca 1.8.9x ili obrnuto, i kad startam server udjem, mod je unknown ne znam zasto. Poslacu server log ako treba?
Dio skripte: [ pawn ]vaš odgovor[ /pawn ] /
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ] /
Slika/video ingame problema(obavezno ako je ingame problem): /
Evo server log
*** Streamer Plugin v2.9.4 by Incognito unloaded ***
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[15:58:37]
[15:58:37] Server Plugins
[15:58:37] --------------
[15:58:37] Loading plugin: crashdetect
[15:58:37] CrashDetect v4.18.1 is OK.
[15:58:37] Loaded.
[15:58:37] Loading plugin: sscanf
[15:58:37]
[15:58:37] ===============================
[15:58:37] sscanf plugin loaded.
[15:58:37] Version: 2.8.3
[15:58:37] (c) 2018 Alex "Y_Less" Cole
[15:58:37] ===============================
[15:58:37] Loaded.
[15:58:37] Loading plugin: SKY
[15:58:37] Loaded.
[15:58:37] Loading plugin: streamer
[15:58:38]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[15:58:38] Loaded.
[15:58:38] Loaded 4 plugins.
[15:58:38]
[15:58:38] Filterscripts
[15:58:38] ---------------
[15:58:38] Loading filterscript 'Animlist.amx'...
[15:58:38] Unable to load filterscript 'Animlist.amx'.
[15:58:38] Loaded 0 filterscripts.
[15:58:38]
[15:58:38] --------------------------------------
[15:58:38] Anticheat Ucitan!
[15:58:38] Anticheat verzija: 1.9.45
[15:58:38] Prilagodio serveru Overlord
[15:58:38] --------------------------------------
[15:58:38]
[15:58:38]
[15:58:38]
[15:58:38] =======================================
[15:58:38] | |
[15:58:38] | YSI version 3.09.0684 |
[15:58:38] | By Alex "Y_Less" Cole |
[15:58:38] | |
[15:58:38] =======================================
[15:58:38]
[15:58:38]
[15:58:38]
[15:58:40] 0. - Klinac - Sinoc
[15:58:40] 1. - Nema
[15:58:40] 2. - Prioriteti
[15:58:40] 3. - Nema
[15:58:40] 4. - Nema
[15:58:40] 5. - Nema
[15:58:40] 6. - Nema
[15:58:40] 7. - Nema
[15:58:40] 8. - Nema
[15:58:40] 9. - Nema
[15:58:40] 10. - Nema
[15:58:40] 11. - Nema
[15:58:40] 12. - Nema
[15:58:40] 13. - Nema
[15:58:40] 14. - Nema
[15:58:40] 15. - Nema
[15:58:40] 16. - Nema
[15:58:40] 17. - Nema
[15:58:40] 18. - Nema
[15:58:40] 19. - Nema
[15:58:40] 20. - Nema
[15:58:41] 21. - Nema
[15:58:41] 22. - Nema
[15:58:41] 23. - Nema
[15:58:41] 24. - Nema
[15:58:41] 25. - Nema
[15:58:41] 26. - Nema
[15:58:41] 27. - Nema
[15:58:41] 28. - Nema
[15:58:41] 29. - Nema
[15:58:41] 30. - Nema
[15:58:41] 31. - Nema
[15:58:41] 32. - Nema
[15:58:41] 33. - Nema
[15:58:41] 34. - Nema
[15:58:41] 35. - Nema
[15:58:41] 36. - Nema
[15:58:41] 37. - Nema
[15:58:41] 38. - Nema
[15:58:41] 39. - Nema
[15:58:41] [debug] Run time error 4: "Array index out of bounds"
[15:58:41] [debug] Attempted to read/write array element at index 500 in array of size 500
[15:58:41] [debug] AMX backtrace:
[15:58:41] [debug] #0 00630de0 in public LoadATPports () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Server\gamemodes\nk-rpg.pwn:42477
[15:58:41] [debug] #1 0039f7d0 in public Itter_OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Server\gamemodes\nk-rpg.pwn:3819
[15:58:41] [debug] #2 native CallLocalFunction () from samp-server.exe
[15:58:41] [debug] #3 0009b2cc in ?? () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\YSI\y_iterate.inc:791
[15:58:41] [debug] #4 0007f910 in public ScriptInit_OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\YSI\y_hooks/impl.inc:498
[15:58:41] [debug] #5 00078e54 in public SSCANF_OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\YSI\internal\..\y_scriptinit.inc:171
[15:58:41] [debug] #6 000720fc in public ac_OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\sscanf2.inc:211
[15:58:41] [debug] #7 0003719c in public WC_OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\overlord-ac.inc:3066
[15:58:41] [debug] #8 0000e434 in public FIXES_OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\weapon-config.inc:2038
[15:58:41] [debug] #9 native CallLocalFunction () from samp-server.exe
[15:58:41] [debug] #10 00001bec in public OnGameModeInit () at C:\Users\Deba\Desktop\Nova Kuca x1.8.9\Compiler BRZI\pawno\include\fixes.inc:1403
[15:58:41] |============================================|
[15:58:41] | NKuca RPG |
[15:58:41] | NKuca |
[15:58:41] | by Nova Kuca Community |
[15:58:41] | Scripter Nova Kuca Community |
[15:58:41] | Maper Softic |
[15:58:41] | Script Version x1.8.9 |
[15:58:41] | Community Owner Nova Kuca Community |
[15:58:41] | Skripta ucitana za 109 ms |
[15:58:41] |============================================|
[15:58:41] Level pri registraciji: 10
[15:58:41] Novac pri registraciji: 5000000
[15:58:41] Number of vehicle models: 63
daj
LoadATPports ()
Izvini brate gdje da to nadjem nisam bas upoznat??
Citat: Ferari.pwn poslato Jun 08, 2020, 17:49:22 POSLE PODNE
Izvini brate gdje da to nadjem nisam bas upoznat??
u skripti?
Jel ovo brate
forward LoadATPports( );
public LoadATPports( ) {
if( fexist( F_ATPPORT ) ) {
new File:_h_handler = fopen( F_ATPPORT, io_read ), _l_str[256], i = 0;
new arrCoords[ 6][64 ];
while( fread( _h_handler, _l_str ) ) {
split( _l_str, arrCoords, ',' );
atpportInfo[ i][atpportID ] = strval( arrCoords[ 0 ] );
atpportInfo[ i][atpportCreated ] = strval( arrCoords[ 1 ] );
strmid( atpportInfo[ i][atpportName ], arrCoords[ 2 ], 0, strlen( arrCoords[ 2 ] ), 255);
atpportInfo[ i][atpportPos][0 ] = floatstr( arrCoords[ 3 ] );
atpportInfo[ i][atpportPos][1 ] = floatstr( arrCoords[ 4 ] );
atpportInfo[ i][atpportPos][2 ] = floatstr( arrCoords[ 5 ] );
i++;
}
fclose(_h_handler);
}
return 1;
Citat: Ferari.pwn poslato Jun 08, 2020, 17:56:03 POSLE PODNE
Jel ovo brate
forward LoadATPports( );
public LoadATPports( ) {
if( fexist( F_ATPPORT ) ) {
new File:_h_handler = fopen( F_ATPPORT, io_read ), _l_str[256], i = 0;
new arrCoords[ 6][64 ];
while( fread( _h_handler, _l_str ) ) {
split( _l_str, arrCoords, ',' );
atpportInfo[ i][atpportID ] = strval( arrCoords[ 0 ] );
atpportInfo[ i][atpportCreated ] = strval( arrCoords[ 1 ] );
strmid( atpportInfo[ i][atpportName ], arrCoords[ 2 ], 0, strlen( arrCoords[ 2 ] ), 255);
atpportInfo[ i][atpportPos][0 ] = floatstr( arrCoords[ 3 ] );
atpportInfo[ i][atpportPos][1 ] = floatstr( arrCoords[ 4 ] );
atpportInfo[ i][atpportPos][2 ] = floatstr( arrCoords[ 5 ] );
i++;
}
fclose(_h_handler);
}
Hoces pomoci Vedrane?
jel ti to port za admine ili?
U F_ATPORT fajlu trebas da imas 500 linija koliko sam skontao, mada ne razumem se u y_ini
Hvala svima, glup sam ja za to nisam skontao ali valjda cu nekad, ne znam fixati.