Problem(error/warning): Server log probb
Dio skripte: [ pawn ]//[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[23:04:46] filterscripts = "" (string)
[23:04:46]
[23:04:46] Server Plugins
[23:04:46] --------------
[23:04:46] Loading plugin: streamer
[23:04:46]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[23:04:46] Loaded.
[23:04:46] Loading plugin: sscanf
[23:04:46]
[23:04:46] ===============================
[23:04:46] sscanf plugin loaded.
[23:04:46] Version: 2.8.3
[23:04:46] (c) 2018 Alex "Y_Less" Cole
[23:04:46] ===============================
[23:04:46] Loaded.
[23:04:46] Loaded 2 plugins.
[23:04:47]
[23:04:47] Ban list
[23:04:47] --------
[23:04:47] Loaded: samp.ban
[23:04:47]
[23:04:47]
[23:04:47] Filterscripts
[23:04:47] ---------------
[23:04:47] Loaded 0 filterscripts.
[23:04:47]
[23:04:47] =======================================
[23:04:47] | |
[23:04:47] | YSI version 1.04.0000 |
[23:04:47] | By Alex "Y_Less" Cole |
[23:04:47] | |
[23:04:47] | Checking the latest YSI version.. |
[23:04:47] | |
[23:04:47] =======================================
[23:04:47]
[23:04:49] Ucitana server podesavanja.
[23:04:49] Ucitana podesavanja organizacija.
[23:04:49] |==============================================|
[23:04:49] | Underpoint RolePlay |
[23:04:49] | UP:RP |
[23:04:49] | by gReeDy.aMx |
[23:04:49] | Scripter gReeDy.aMx |
[23:04:49] | Maper Lemi & Nino |
[23:04:49] | Script Version v0.1 |
[23:04:49] | Community Owner gReeDy.aMx |
[23:04:49] |==============================================|
[23:04:49] Number of vehicle models: 79
[23:04:49]
[23:04:49] ========================================
[23:04:49] | |
[23:04:49] | Could not connect to update server |
[23:04:49] | at this time, (your code will |
[23:04:49] | still work (response was 301)). |
[23:04:49] | |
[23:04:49] ========================================
[23:04:49]
[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem)://
Zaključano
Problem sa UP modom
1,172
pregleda
15
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 5 godina
Jikyy wrote on April 18, 2020, 9:17 pm:
sve je updateaono sem YSI-a jer ne znam updateat.. daj pokusam izbaci mi errore 😄
@V01D
@V01D
Pa YSI i ti baca taj error jer je verzija starija od tebe prijatelju moj 😄
https://balkan-samp.com/forum/index.php?topic=134911.msg970204#msg970204
I to sto si napisao da izbacuje errore, napisi mi koje i resim ti za minut 🙂
pre 5 godina
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2342) : error 025: function heading differs from prototype
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2389) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2342) : error 025: function heading differs from prototype
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2389) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
pre 5 godina
Jikyy wrote on April 19, 2020, 12:38 pm:
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2342) : error 025: function heading differs from prototype
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2389) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2342) : error 025: function heading differs from prototype
C:\Users\User\Desktop\New Folder (2)\Underpoint RolePlay 0.3x\pawno\include\YSI\y_hooks/impl.inc(2389) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Pa daj linije pobogu si...
pre 5 godina
V01D wrote on April 19, 2020, 1:02 pm:
Pa daj linije pobogu si...
vmehanicar = AddStaticVehicleEx(525,1727.4473,-1763.3604,13.3816,269.5007,0,3,1000); 1755
CreateDynamicObject(970, 1591.31, -1074.95, 23.18, 0.00, 0.00, 117.50); 2342
CreateDynamicObject(970, 1685.79, -1117.15, 23.17, 0.00, 0.00, 90.00); 2389
@V01D
pre 5 godina
U slucaju da nisi dobro procitao, ne izbacuje ti error u gamemode-u, vec u pluginu.
Sta je potrebno uraditi? Otvoriti plugin u text editoru ( notepad, pawno, sublime, vscode, atom...) i zatim videti koje su to linije.
Sta zapravo znaci taj error?
Da uprostim, neka funkcija koju koristis u gamemode-u ima drugacije argumente nego definasana u YSI pluginu.
Sta je potrebno uraditi?
Potrebno je da samo posaljes te linije, da vidimo sta je u pitanju, zatim otvoris svoj gamemode i zamenis argumente iz tvoje funkcije, sa onom iz YSI-a..
Sta je potrebno uraditi? Otvoriti plugin u text editoru ( notepad, pawno, sublime, vscode, atom...) i zatim videti koje su to linije.
Sta zapravo znaci taj error?
Da uprostim, neka funkcija koju koristis u gamemode-u ima drugacije argumente nego definasana u YSI pluginu.
Sta je potrebno uraditi?
Potrebno je da samo posaljes te linije, da vidimo sta je u pitanju, zatim otvoris svoj gamemode i zamenis argumente iz tvoje funkcije, sa onom iz YSI-a..
pre 5 godina
V01D wrote on April 19, 2020, 1:14 pm:
U slucaju da nisi dobro procitao, ne izbacuje ti error u gamemode-u, vec u pluginu.
Sta je potrebno uraditi? Otvoriti plugin u text editoru ( notepad, pawno, sublime, vscode, atom...) i zatim videti koje su to linije.
Sta zapravo znaci taj error?
Da uprostim, neka funkcija koju koristis u gamemode-u ima drugacije argumente nego definasana u YSI pluginu.
Sta je potrebno uraditi?
Potrebno je da samo posaljes te linije, da vidimo sta je u pitanju, zatim otvoris svoj gamemode i zamenis argumente iz tvoje funkcije, sa onom iz YSI-a..
Sta je potrebno uraditi? Otvoriti plugin u text editoru ( notepad, pawno, sublime, vscode, atom...) i zatim videti koje su to linije.
Sta zapravo znaci taj error?
Da uprostim, neka funkcija koju koristis u gamemode-u ima drugacije argumente nego definasana u YSI pluginu.
Sta je potrebno uraditi?
Potrebno je da samo posaljes te linije, da vidimo sta je u pitanju, zatim otvoris svoj gamemode i zamenis argumente iz tvoje funkcije, sa onom iz YSI-a..
@V01D
Tu pocinje 1755:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
{
P:2("Hooks_OnUnoccupiedVehicleUpdate called: %d, %d, %d, %f, %f, %f, %f, %f, %f", vehicleid, playerid, passenger_seat, new_x, new_y, new_z, vel_x, vel_y, vel_z);
new
end = _:YSI_g_sCallbackEnd,
start = _:YSI_g_sCallbackStart,
ret = ALS_R_UnoccupiedVehicleUpdate;
while (start++ != end)
{
#emit PUSH.S vel_z
#emit PUSH.S vel_y
#emit PUSH.S vel_x
#emit PUSH.S new_z
#emit PUSH.S new_y
#emit PUSH.S new_x
#emit PUSH.S passenger_seat
#emit PUSH.S playerid
#emit PUSH.S vehicleid
// I wonder if I could hack the stack with a negative number so that when
// the called function returns it puts all the header data BACK on to the
// stack instead of removing the parameters and header.
#emit PUSH.C 36
#emit CONST.alt YSI_g_sCallbackAddresses
#emit LOAD.S.pri start
//#emit INC.pri
//#emit STOR.S.pri start
#emit LIDX
#emit MOVE.alt
#emit LCTRL 6
#emit ADD.C 24
#emit PUSH.pri
#emit MOVE.pri
#emit SCTRL 6
#emit MOVE.alt
#emit CONST.pri 0xFFFFFFFE
#emit AND
#emit PUSH.pri
#emit LOAD.S.pri ret
#emit AND
#emit POP.alt
#emit OR
#emit STOR.S.pri ret
if (ret < 0) return ret + 1;
}
return ret;
}
#if defined _ALS_OnUnoccupiedVehicleUpdate
#undef OnUnoccupiedVehicleUpdate
#else
#define _ALS_OnUnoccupiedVehicleUpdate
#endif
#define OnUnoccupiedVehicleUpdate S@@_OnUnoccupiedVehicleUpdate
HOOK_FORWARD
tu pocinje 2342
ublic OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
P:2("Hooks_OnPlayerTakeDamage called: %d, %d, %f, %d, %d", playerid, issuerid, Float:amount, weaponid, bodypart);
new
end = _:YSI_g_sCallbackEnd,
start = _:YSI_g_sCallbackStart,
ret = ALS_R_PlayerTakeDamage;
while (start++ != end)
{
#emit PUSH.S bodypart
#emit PUSH.S weaponid
#emit PUSH.S amount
#emit PUSH.S issuerid
#emit PUSH.S playerid
#emit PUSH.C 20
#emit CONST.alt YSI_g_sCallbackAddresses
#emit LOAD.S.pri start
//#emit INC.pri
//#emit STOR.S.pri start
#emit LIDX
#emit MOVE.alt
#emit LCTRL 6
#emit ADD.C 24
#emit PUSH.pri
#emit MOVE.pri
#emit SCTRL 6
#emit MOVE.alt
#emit CONST.pri 0xFFFFFFFE
#emit AND
#emit PUSH.pri
#emit LOAD.S.pri ret
#emit AND
#emit POP.alt
#emit OR
#emit STOR.S.pri ret
if (ret < 0) return ret + 1;
}
return ret;
}
#if defined _ALS_OnPlayerTakeDamage
#undef OnPlayerTakeDamage
#else
#define _ALS_OnPlayerTakeDamage
#endif
#define OnPlayerTakeDamage S@@_OnPlayerTakeDamage
HOOK_FORWARD
tu pocinje 2389
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
P:2("Hooks_OnPlayerGiveDamage called: %d, %d, %f, %d, %d", playerid, damagedid, Float:amount, weaponid, bodypart);
new
end = _:YSI_g_sCallbackEnd,
start = _:YSI_g_sCallbackStart,
ret = ALS_R_PlayerGiveDamage;
while (start++ != end)
{
#emit PUSH.S bodypart
#emit PUSH.S weaponid
#emit PUSH.S amount
#emit PUSH.S damagedid
#emit PUSH.S playerid
#emit PUSH.C 20
#emit CONST.alt YSI_g_sCallbackAddresses
#emit LOAD.S.pri start
//#emit INC.pri
//#emit STOR.S.pri start
#emit LIDX
#emit MOVE.alt
#emit LCTRL 6
#emit ADD.C 24
#emit PUSH.pri
#emit MOVE.pri
#emit SCTRL 6
#emit MOVE.alt
#emit CONST.pri 0xFFFFFFFE
#emit AND
#emit PUSH.pri
#emit LOAD.S.pri ret
#emit AND
#emit POP.alt
#emit OR
#emit STOR.S.pri ret
if (ret < 0) return ret + 1;
}
return ret;
}
#if defined _ALS_OnPlayerGiveDamage
#undef OnPlayerGiveDamage
#else
#define _ALS_OnPlayerGiveDamage
#endif
#define OnPlayerGiveDamage S@@_OnPlayerGiveDamage
HOOK_FORWARD
#if !defined _ALS_OnPlayerLogin
forward OnPlayerLogin(playerid, uid);
#endif
pre 5 godina
U svom pwn stisni CTRL + H ili CTRL + R (replace) i ovo:
find: OnUnoccupiedVehicleUpdate
I tu celu liniju edituj u ovo:
tako za ovo dole, nadjes u tvom modu i ubacis ovo iz YSIa
find: OnUnoccupiedVehicleUpdate
I tu celu liniju edituj u ovo:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)tako za ovo dole, nadjes u tvom modu i ubacis ovo iz YSIa
pre 5 godina
PP.inc wrote on April 19, 2020, 2:00 pm:
U svom pwn stisni CTRL + H ili CTRL + R (replace) i ovo:
find: OnUnoccupiedVehicleUpdate
I tu celu liniju edituj u ovo:
tako za ovo dole, nadjes u tvom modu i ubacis ovo iz YSIa
find: OnUnoccupiedVehicleUpdate
I tu celu liniju edituj u ovo:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)tako za ovo dole, nadjes u tvom modu i ubacis ovo iz YSIa
nemam to u svom pwn-u..
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava