Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2010-01-09, 15:02


Michalec

Dokładnie.






Wiek: 30
Na forum: 6502 dni
Posty: 163
Nick w MP: []Damianos[]

Piwa: 99

Respekt: 86,6

Kod:

ShowMenuForPlayer(playerid, Baza);
;)

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 15:33


zenio98







Wiek: 33
Na forum: 6120 dni
Posty: 38

Piwa: 740

Respekt: 50

Michalec, Dzieki ale teraz mam takie bledy
Kod:

C:\Documents and Settings\XX\Pulpit\server\pawno\4.0.pwn(239) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.

linijka
Kod:

ShowMenuForPlayer(playerid, Baza);


Podpis
[b]
[url=viewtopic.php?t=35109]Baza admina v3.0[/url]
[url=viewtopic.php?t=35943]baza admina 5.0[/url]

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 17:13


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Kod:

ShowMenuForPlayer(Baza,playerid);

Tak ma byc Michalec.


Sprawdz czy menu aby napewno nazywa sie Baza :roll:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 17:27


Colder

???






Wiek: 30
Na forum: 6270 dni
Posty: 30

Piwa: 1277

Respekt: 50

Kod:


C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(4870) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(4879) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36110) : error 017: undefined symbol "StripNewLine"
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36111) : error 017: undefined symbol "equal"
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36114) : error 017: undefined symbol "dini_PRIVATE_ExtractValue"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.

Witam, oto kilka b??d?w przez kt?ry skrypt Matimor'a nie chce si? skomplikowa?... Mowa o : http://gtaonline.pl/viewt...der=asc&start=0 .
Linki b??dne to :
Kod:

new string[32];

Kod:

new string[64];

Kod:

StripNewLine(tmpres);

Kod:

if (equal(dini_PRIVATE_ExtractKey(tmpres),key,true))

Kod:

strcat(tmpres2,dini_PRIVATE_ExtractValue(tmpres));

B?agam o pomoc ten skrypt pozwoli mi na zlikwidowanie bardzo powa?nego bugu ale nie mog? go skomplikowa?.....

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 17:36


barthez_novelli







Wiek: 36
Na forum: 6154 dni
Posty: 2

Piwa: 1

Respekt: 50

Witam. mam w swojej mapie bardzo du?o warning?w kt?rym niestety, ale nie umiem podo?a?.
Szukam osooby kt?ra mi je usunie. Oferuj? jakie? wynagrodzenie(jeszcze nie wiem w jakiej posatci)
GG: 6184508

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 17:37


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Colder,sam dol skryptu:

Kod:


forward StripNewLine(string[]);
public StripNewLine(string[])
{
new len = strlen(string);
if (string[0]==0) return ;
if ((string[len - 1] == '\n') || (string[len - 1] == '\r'))
{
string[len - 1] = 0;
if (string[0]==0) return ;
if ((string[len - 2] == '\n') || (string[len - 2] == '\r')) string[len - 2] = 0;
}
}


Kod:

stock dini_PRIVATE_ExtractValue(line[]) {
new tmp[MAX_STRING];
tmp[0]=0;
if (strfind(line,"=",true)==-1) {
return tmp;
}
set(tmp,ret_memcpy(line,strfind(line,"=",true)+1,strlen(line)));
return tmp;
}

Kod:


stock equal(str1[],str2[],bool:ignorecase) {
if (strlen(str1)!=strlen(str2)) return false;
if (strcmp(str1,str2,ignorecase)==0) return true;
return false;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 17:43


Colder

???






Wiek: 30
Na forum: 6270 dni
Posty: 30

Piwa: 1277

Respekt: 50

Ehh :( jednak co? jeszcze :
Kod:


C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(4870) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(4879) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36111) : error 017: undefined symbol "dini_PRIVATE_ExtractKey"
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36194) : error 017: undefined symbol "set"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


[ Dodano: 2010-01-09, 19:57 ]
Je?eli nic nie da si? zrobi? to mam pytanie znacie mo?e jaki? system aut nie w cars.cfg ?

Podpis
Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2010-01-09, 20:07


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Kod:


Kod:


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 20:15


zenio98







Wiek: 33
Na forum: 6120 dni
Posty: 38

Piwa: 740

Respekt: 50

Teraz nan tak :( :
Kod:

C:\Documents and Settings\XX\Pulpit\server\pawno\4.0.pwn(239) : warning 213: tag mismatch
C:\Documents and Settings\XX\Pulpit\server\pawno\4.0.pwn(246) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.


linijki
239:
Kod:

ShowMenuForPlayer(Menu, playerid);

246 :
Kod:

if(CurrentMenu == bar1)

Za pomoc stawie nawet 3 piwka bo bardzo tego potrzebuje !

Podpis
[b]
[url=viewtopic.php?t=35109]Baza admina v3.0[/url]
[url=viewtopic.php?t=35943]baza admina 5.0[/url]

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 20:52


Colder

???






Wiek: 30
Na forum: 6270 dni
Posty: 30

Piwa: 1277

Respekt: 50

Bo?e w takich momentach chce to wszystko pier******....
Kolejny raz prosz? o pomoc ;/ ;( :
Kod:

C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(4870) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(4879) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36197) : error 017: undefined symbol "ret_memcpy"
C:\Documents and Settings\Colder\Pulpit\PAWNO!\kopia 2.mis(36205) : error 017: undefined symbol "strlower"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 21:35


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Kolder,

Kod:


Kod:


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 22:24


Colder

???






Wiek: 30
Na forum: 6270 dni
Posty: 30

Piwa: 1277

Respekt: 50

Ju? wszytko dzia?a xqz jeste? wielki.

PS. Czemu te forum zjada "[i]" w code -.-

Podpis
Ostatnio zmieniony przez Colder 2010-01-10, 00:18, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-09, 23:24


_tmk_







Wiek: 29
Na forum: 6108 dni
Posty: 39
Nick w MP: TmK

Piwa: 380

Respekt: 56

witam mam pare error?w na mapie i prosze o pomoc
Kod:


C:\Documents and Settings\JA\Pulpit\byp.pwn(1709) : error 017: undefined symbol "teleid"
C:\Documents and Settings\JA\Pulpit\byp.pwn(1711) : error 017: undefined symbol "teleid"
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : error 017: undefined symbol "teleid"
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : error 017: undefined symbol "telename"
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : error 029: invalid expression, assumed zero
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : fatal error 107: too many error messages on one line


linia 1709:

teleid = strval(tmp);

linia 1711:

if (IsPlayerConnected(giveplayerid) && IsPlayerConnected(teleid)) {


linia 1714:

GetPlayerName(teleid, telename, sizeof(telename));



Bardzo prosze o jak najszybsz? pomoc. Oczywi?cie daje piwo.
z g?ry dzi?kuje

Podpis

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-10, 11:59


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

_tmk_, linie nr. 1709 daj tak:

Kod:

new teleid=strval(tmp);


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-10, 12:45


_tmk_







Wiek: 29
Na forum: 6108 dni
Posty: 39
Nick w MP: TmK

Piwa: 380

Respekt: 56

dzi?ki i jeszcze to zostalo by?bym bardzo wdzi?czny za pomoc

C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : error 017: undefined symbol "telename"
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : error 017: undefined symbol "telename"
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : error 029: invalid expression, assumed zero
C:\Documents and Settings\JA\Pulpit\byp.pwn(1714) : fatal error 107: too many error messages on one line


linijka 1714:

GetPlayerName(teleid, telename, sizeof(telename));

za pomoc oczywiscie leci piwko

Podpis

Postaw piwo autorowi tego posta
 

 
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » BŁĘDY PRZY KOMPILACJI - ROZWIĄZANIE Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku