Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: warningi
1. Warningi w LS
Dzie? dobry, posiadam taki problem na swoim serwerze, ?e jak jedzie si? drog? na Idlewood (przewa?nie) to pokazuj? si? warningi, kt?re s? przedstawione na dole.Wie kto? jak to naprawi??

Kod:

Warning(opcode 0x108): Exception 0xC0000005 at 0x59F7A8

Warning(opcode 0x108): Exception 0xC0000005 at 0x59F7A8
2. WARNINGI
Witam. jak moge to naprawi?? Denerwuje mnie to ju?. Ten progressbar cos nie dzia?a. pr?bowa?em ju? r??nych includ?w, ale to na nic.

LINK: https://pastebin.com/0gg2J0Ex

Przez ten progressbar i te inne warningi, nie chc? mi dzia?a? itemy na mapie, i paski ?ycia, zainfekowanych, jedzenia i picia. HELP

>> TAKIE CO?: Infekcja.pwn(10963) : warning 217: loose indentation <<
wiem co to jest. wiec o tym mi mowic nie musicie.
3. Warningi - bugi
Witam, jak to naprawi??
WARNING: [glowne]/ogrpg-db/s_db.lua:25: dbPoll failed; Table 'db32846.aj' doesn't exist.

PYS 3.0

w .sql nie bylo takiej tabeli, a jak j? tworze to i tak wywala tego warninga

Kod:

local result=dbPoll(query, -1)
4. Warningi
Pawn

new Float:TowarCP[][] =
{
    {-
30.182337.0224.14,     "Punkt nr.1"},
    {
135.961946.8318.93,     "Punkt nr.2"},
    {-
334.591522.6874.92,    "Punkt nr.3"},
    {
2299.5213.6726.48,      "Punkt nr.4"},
    {-
509.46, -188.4578.13,    "Punkt nr.5"},
    {-
1892.88, -1712.6521.32,  "Punkt nr.6"},
    {-
1626.23, -2698.6948.53,  "Punkt nr.7"},

};


Pawn

E
:Nutagamemodessss.pwn(185) : warning 213tag mismatch
E
:Nutagamemodessss.pwn(186) : warning 213tag mismatch
E
:Nutagamemodessss.pwn(187) : warning 213tag mismatch
E
:Nutagamemodessss.pwn(188) : warning 213tag mismatch
E
:Nutagamemodessss.pwn(189) : warning 213tag mismatch
E
:Nutagamemodessss.pwn(190) : warning 213tag mismatch
E
:Nutagamemodessss.pwn(191) : warning 213tag mismatch
5. Warningi
Jak naprawic takie warning?

Kod:

C:UsersUserDesktopservpawnoincludefader.inc(98) : error 004: function "OnPlayerScreenFade" is not implemented
C:UsersUserDesktopservpawnoincludefader.inc(114) : error 004: function "OnPlayerScreenColorFade" is not implemented
C:UsersUserDesktopservgamemodesPTW.pwn(4090) : warning 202: number of arguments does not match definition
C:UsersUserDesktopservgamemodesPTW.pwn(4102) : warning 202: number of arguments does not match definition
C:UsersUserDesktopservgamemodesPTW.pwn(4103) : warning 202: number of arguments does not match definition
C:UsersUserDesktopservgamemodesPTW.pwn(18447) : error 017: undefined symbol "ShowPlayerFadeScreenToBlank"
C:UsersUserDesktopservgamemodesPTW.pwn(18467) : warning 235: public function lacks forward declaration (symbol "OnPlayerFadeScreenEnd")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


[ Komentarz dodany przez: Iggy: 2015-11-28, 18:56 ]
Doda?em tagi [code]//Iggy.
6. Warningi
Warningi :
[code]C:UsersIGDesktopitsp.pwn(2552) : error 029: invalid expression, assumed zero
C:UsersIGDesktopitsp.pwn(2956) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(9837) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(10488) : warning 202: number of arguments does not match definition
C:UsersIGDesktopitsp.pwn(10489) : warning 202: number of arguments does not match definition
C:UsersIGDesktopitsp.pwn(12755) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12768) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12785) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12800) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12826) : warning 203: symbol is never used: "MAX_PLAYERS_"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
[/code]

Bawi?em si? wybiera?k?:

[code]AddPlayerClass(185,2813.2769,970.9973,10.8250,283.3890,0,0,0,0,0,0); // Kierowca ----> 4
AddPlayerClass(266,964.87,1734.49,9.11,190.0502,0,0,0,0,0,0); //Gliny ----> 5
AddPlayerClass(284,964.87,1734.49,9.11,190.0502,0,0,0,0,0,0); //Gl...
7. TriggerServerEvent warningi
Witajcie, mianowicie mam problem z moj? funkcj?, w db3 wy?wietla si?
Kod:

ERROR: Client (Lala) triggered serverside event sprawdz_towar1 but event is not added to serverside


s-side:
]function Towar1(player)
    -- 
moj kod bla bla bla
end
addEvent
("sprawdz_towar1"true )
addEventHandler("sprawdz_towar1"resourceRootTowar1)


c-side:
function wybierz(player)
                --
moj kod bla bla
        triggerServerEvent
("sprawdz_towar1"resourceRoot)
end
addEventHandler
("onClientGUIClick"xwybierzwybierz)


funkcja po stronie s-side kt?ra jest wywo?ywana po klikni?ciu w button nie dzia?a a w db3 b??d co da?em u g?ry.

Za pomoc dzi?kuje
8. [INNE] Odpalenie na klawisz - warningi
Witam mam problem zrobi?em sobie ?wiatla na klawis oraz odpalanie silnika , i teraz mam takie Warningi , i chcia?bym je usun? oto one:

[code]warning 219: local variable "engine" shadows a variable at a preceding level
warning 219: local variable "lights" shadows a variable at a preceding level
warning 219: local variable "alarm" shadows a variable at a preceding level
warning 219: local variable "doors" shadows a variable at a preceding level
warning 219: local variable "bonnet" shadows a variable at a preceding level
warning 219: local variable "boot" shadows a variable at a preceding level
warning 219: local variable "objective" shadows a variable at a preceding level
warning 219: local variable "engine" shadows a variable at a preceding level
warning 219: local variable "lights" shadows a variable at a preceding level
warning 219: local variable "alarm" shadows a variable at a preceding level
warning 219: local variable "doors" shadows a variable at a preceding level
warning 219: local variable "bonnet" shadows a variable at a preceding level
warning 219: local variable "boot" shadows a variable at a preceding level
warning 219: local variable "objective" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


14 Warnings.
[/code]


[code]LINIJKA:

new vid ...
9. [INNE] Warningi w SetPlayerScore, oraz GivePlayerMoney.
Kod:

C:UsersBocianDesktopm?j SAMPprojektbocianjd.pwn(2886) : warning 213: tag mismatch
C:UsersBocianDesktopm?j SAMPprojektbocianjd.pwn(2887) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.


Linijki kt?rych to dotyczy(Kod w momencie wypakowania towaru):
Kod:

SetPlayerScore(playerid, GetPlayerScore(playerid)+ScoreZaDowoz);
GivePlayerMoney(playerid, 5000-KasaZaDowoz);

Je?li w tych linijkach zamiast ScoreZaDowoz i KasaZaDowoz wpisz? liczb? na sztywno, np. 500 to wszystko jest ok.
Da si? jako? tak zastosowa? te fukcje aby dodawa?y warto?? z np. zmiennej "ScoreZaDowoz" ?

Ma kto? z was jaki? pomys??
10. [INNE] warningi
Kod:

C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : error 001: expected token: "-string end-", but found "-identifier-"
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : warning 215: expression has no effect
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : error 001: expected token: ";", but found ")"
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : error 029: invalid expression, assumed zero
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


a ty daje kawalek tego pwn

Kod:

new tmp[256];
new e,f,g;
tmp = dini_Get(string,"Flaga");
CTFFlagPos[0] = floatstr("strok"(tmp,e,','));
CTFFlagPos[1] = floatstr(strtok(tmp,e,','));
CTFFlagPos[2] = floatstr(strtok(tmp,e,','));
tmp = dini_Get(string,"Spawn1");
CTFSpawnPos[0][0] = floatstr(strtok(tmp,f,','));
CTFSpawnPos[0][1] = floatstr(strtok(tmp,f,','));
CTFSpawnPos[0][2] = floatstr(strtok(tmp,f,','));
tmp = dini_Get(string,"Spawn2");
CTFSpawnPos[1][0] = floatstr(strtok(tmp,g,','));
CTFSpawnPos[1][1] = floatstr(strtok(tmp,g,','));
CTFSpawnPos[1][2] = floatstr(strtok(tmp,g,','));
tmp = dini_Get(string,"Interior");
CTFInterior = strval(tmp);



pomoze ktos naprawic??[/code]
11. [GF] Pawno, warningi nie wiem o co chodzi.
Cze??, mam problem powiedzcie o co mi chodzi, mam takie warningi
Kod:

C:UsersUserDesktopsamp03dsvr_win32samp03dsvr_win32gamemodesaa.pwn(13299) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:UsersUserDesktopsamp03dsvr_win32samp03dsvr_win32gamemodesaa.pwn(13310) : warning 202: number of arguments does not match definition


Kod linijka 13310

Kod:


CMD:astop(playerid, params[])
{
if(AnimkaPostrzal[playerid]==1)return Tip(playerid, "Nie mo?esz w tej chwili u?y? tej komendy.");
ClearAnimations(playerid);
return 1;
}

Kod linijka 13299


Kod:

Tip(playerid, text[],String[])
{
format(String,sizeof(String),"{C4C4C4}Tip {C4C4C4}»{C4C4C4} %s",text);
SendClientMessage(playerid, -1, String);
return 1;
}



Prosz? o pomoc, oczywi?cie za wszelkie starania z pomoc? piwka !