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

Wysłany: 2008-03-29, 21:13


Marian_Wacuch







Wiek: 31
Na forum: 6818 dni
Posty: 9

Piwa: 2

Respekt: 50

Niestety to nie to ale juz mam good! Dam piwo za checi :D

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-03-29, 21:53


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
Kod:

C:\Documents and Settings\Fx\Pulpit\m\Godfather\gamemodes\Untitled.pwn(14) : error 017: undefined symbol "CreateObject"
C:\Documents and Settings\Fx\Pulpit\m\Godfather\gamemodes\Untitled.pwn(81) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Fx\Pulpit\m\Godfather\gamemodes\Untitled.pwn(81) : warning 215: expression has no effect
C:\Documents and Settings\Fx\Pulpit\m\Godfather\gamemodes\Untitled.pwn(81) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Fx\Pulpit\m\Godfather\gamemodes\Untitled.pwn(81) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Fx\Pulpit\m\Godfather\gamemodes\Untitled.pwn(81) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


5 Errors.




Jak zdefiniowa CreateObject ??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-03-29, 22:41


Pr0f3ssi0n4LisT







Wiek: 25
Na forum: 6846 dni
Posty: 120

Piwa: 3653

Respekt: 117,8
Respekt: 117,8

daj na gorze
Kod:

#include <a_objects>


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-03-29, 23:39


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
dzi?ki :piwo: dla ciebie

I jeszcze jeden problem

Kod:

C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\Untitled.pwn(82) : error 017: undefined symbol "PlayerInfo"
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\Untitled.pwn(82) : warning 215: expression has no effect
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\Untitled.pwn(82) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\Untitled.pwn(82) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\Untitled.pwn(82) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


4 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-03-31, 20:30


Brendon16







Wiek: 34
Na forum: 6658 dni
Posty: 38

Piwa: 72

Respekt: 50

Kod:

new JoinPed[52][1] = {
{253},//NG
{287},
{179},
{286},//FBI
{163},
{164},
{280},//SWAT
{285},
{288},//Policja
{283},
{281},
{284},
{282},
{295},//ICA
{186},
{127},
{165},
{166},
{101},
{49},//Triada
{294},
{57},
{120},
{117},
{123},
{113},//LCN
{125},
{124},
{98},
{223},
{126},
{104},//GU
{103},
{102},
{122},
{47},
{48},
{111},//Rosjanie
{112},
{290},//Ochrona
{206},
{71},
{67},
{66},
{299},
{297},//?owcy g??w
{128},
{202},
{261},
{242},
{72}
};


W pozyzszym kodzie jest bl?d:
Kod:

pwn(1134) : error 052: multi-dimensional arrays must be fully initialized


za znalezienie go i pomoc :piwo:

Podpis
Programuję za jedzenie
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-03-31, 21:17


Shaun

Młodszy Programer






Wiek: 32
Na forum: 6894 dni
Posty: 463
Nick w MP: Shaun

Piwa: 1786

Respekt: 96

"Brendon16" napisał/a:

new JoinPed[52][1] = {

te 52 to jest liczba tych skin?w, policz te skiny pod spodem i zamiast 52 daj to co Ci wysz?o ;)

Podpis
,
pomogłem ci ?? Wystarczy jak podziękujesz ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-01, 14:07


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
Przepraszam a jak rozwi?za? ten problem :

Kod:

C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1417) : error 017: undefined symbol "bramapol"
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1531) : warning 225: unreachable code
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1532) : error 017: undefined symbol "PlayerInfo"
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1532) : warning 215: expression has no effect
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1532) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1532) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Fx\Pulpit\m\GODFAT~1\GAMEMO~1\PCRP.pwn(1532) : fatal error 107: too many error messages on one line

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


5 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-01, 17:59


Brendon16







Wiek: 34
Na forum: 6658 dni
Posty: 38

Piwa: 72

Respekt: 50

e 1: zamieniles nazwe innej bramy, teraz musisz znalezc gdzie jeszce jest ta druga i ja tez zmienic
PS: jedna masz na poczatku w okolo 400 linijce (new brama***), a druga dalej w miejscu gdzie podajesz obiekty np:
Kod:

bramalcn = CreateObject(980, 777.9187, -1330.2277, 13.7524, 0, 0, 359.1406);//brama

e 2: zle wpisana komenda, moze zly plik include albo rakuje gdzies { lub }
e 3: w iejscu gdzie jest ";" musisz wpisac "};"
e 4: zle wpisana komenda albo nie wypelniona

Podpis
Programuję za jedzenie
Ostatnio zmieniony przez Brendon16 2008-04-01, 18:03, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-01, 18:00


sponcz







Wiek: 34
Na forum: 6705 dni
Posty: 2



Respekt: 50

C:\Documents and Settings\Tomek\Pulpit\taxi.pwn(11) : fatal error 100: cannot read from file: "sinterior"

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


1 Error.

Ma kto? tego include`a?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-01, 18:02


Shaun

Młodszy Programer






Wiek: 32
Na forum: 6894 dni
Posty: 463
Nick w MP: Shaun

Piwa: 1786

Respekt: 96

Nie masz includ'a "sinterior"...

Podpis
,
pomogłem ci ?? Wystarczy jak podziękujesz ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-01, 21:28


AdiX







Wiek: 31
Na forum: 6802 dni
Posty: 100

Piwa: 932

Respekt: 50

sponcz, ?ap Includa sinterior

http://www.sendspace.pl/file/fImuPQuF/

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-02, 18:14


Francis







Wiek: 33
Na forum: 6677 dni
Posty: 2

Piwa: 38

Respekt: 50

Pomoze mi ktos z tymi b??dam?? tu macie link do mapki PWN jak bedziecie umieli naprawic bledy lub podajcie tutaj daje PIWKA!!

Kod:

C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(6867) : error 004: function "FixHour" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(7003) : error 001: expected token: ",", but found ";"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(7155) : error 004: function "FixHour" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(7192) : error 004: function "FixHour" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(12443) : error 004: function "FixHour" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(14136) : error 004: function "SetCamBack" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(16360) : error 017: undefined symbol "IsVehicleInUse"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25612) : error 029: invalid expression, assumed zero
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25612) : warning 215: expression has no effect
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25612) : error 001: expected token: ";", but found "if"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25749) : error 029: invalid expression, assumed zero
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25749) : error 004: function "IdleKick" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25770) : error 029: invalid expression, assumed zero
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25770) : error 004: function "OnPlayerText" is not implemented
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25776) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25778) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25780) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25783) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25786) : error 017: undefined symbol "text"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25789) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25793) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25793) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25793) : error 017: undefined symbol "playerid"
C:\DOCUME~1\STRIKE~1\Pulpit\gf02.pwn(25793) : fatal error 107: too many error messages on one line

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


22 Errors.


Podpis
[/url]
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-02, 21:30


Smutny







Wiek: 33
Na forum: 6737 dni
Posty: 1

Piwa: 56

Respekt: 50

Kod:

D:\xx\xx.pwn(580) : error 033: array must be indexed (variable "playername")
D:\xx\xx.pwn(610) : error 033: array must be indexed (variable "gambleAreas")
D:\xx\xx.pwn(632) : error 033: array must be indexed (variable "checkCoords")
D:\xx\xx.pwn(818) : warning 215: expression has no effect
D:\xx\xx.pwn(1148) : warning 225: unreachable code
D:\xx\xx.pwn(1577) : warning 215: expression has no effect
D:\xx\xx.pwn(1606) : warning 215: expression has no effect
D:\xx\xx.pwn(1637) : warning 215: expression has no effect
D:\xx\xx.pwn(3203) : error 029: invalid expression, assumed zero
D:\xx\xx.pwn(3203) : error 029: invalid expression, assumed zero
D:\xx\xx.pwn(3203) : error 029: invalid expression, assumed zero
D:\xx\xx.pwn(3203) : fatal error 107: too many error messages on one line


Linia: 578 - 586
Kod:

public GetPlayerId(playername[])
{
if (IsNumeric(playername))
if (IsPlayerConnected(strval(playername))) return strval(playername);
else
for (new i=0;i<MAX_PLAYERS;i++)
if ((IsPlayerConnected(i)) && (strcmp(playername, gPlayerName[i], true) == 0)) return i;
return INVALID_PLAYER_ID;
}


Linia: 606 - 621
Kod:

for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) {
for(new j=0; j < MAX_CASINO; j++) {
if(isPlayerInArea(i,gambleAreas[j])) {
gambleWarning[i]++;
GameTextForPlayer(i,"~g~Hazard ~r~nie ~g~jest dozwolony!~r~UWA?AJ!",10000,5);
if(gambleWarning[i] > 3) {
SetPlayerHealth(i,0);
ResetPlayerMoney(i);
}
}
}
}
}
}


Linia: 630 - 637
Kod:

if(IsPlayerConnected(i)) {
for(new j=0; j < MAX_POINTS; j++) {
if(isPlayerInArea(i, checkCoords[j])) {
if(playerCheckpoint[i]!=j) {
DisablePlayerCheckpoint(i);
SetPlayerCheckpoint(i, checkpoints[j][0],checkpoints[j][1],checkpoints[j][2],2);
playerCheckpoint[i] = j;
}


Linia: 814 - 819
Kod:

forward LoginTimeout();
public LoginTimeout()
{
for (new i=0;i<MAX_PLAYERS;i++)
if (logged[i] == 0 && GetPlayerState(i) != PLAYER_STATE_NONE) KickMsg(i, "Uchrona", "Login timeout!");
}


Linia: 1148 - 1157
Kod:

if(strcmp(cmd, "/register", true) == 0) {

new tmp[256];
new tmp2[256];
new playername[MAX_PLAYER_NAME];
tmp = dini_Get(FILE_SETTINGS, "register");
if (strval(tmp) == 0) {
SendClientMessage(playerid, COLOR_RED, "* Ju? nie mo?na sie rejestrowa?!");
return 1;
}


Linia: 3203 - 3209
Kod:

public OnPlayerCommandText(playerid, text[])
{
if(text[0] == '!') {
if(playerGang[playerid] > 0) {
new gangChat[256];
new senderName[MAX_PLAYER_NAME];
new string[256];


Takie oto b?edy mam w mapce je?eli kto? wie gdzie co mam ?le prosz? o odpowied? w tym temacie lub na gg 1541697 niewidoczny zawsze z g?ry thx

Ostatnio zmieniony przez Smutny 2008-04-03, 07:20, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-03, 00:57


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
kto mi pomo?e dam piwko...
Kod:

C:\DOCUME~1\Fx\Pulpit\pl.pwn(2703) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(2704) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(5053) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(5751) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(7035) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(7071) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8425) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8433) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8516) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8522) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8526) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8547) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8551) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8572) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8576) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8597) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8601) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8622) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8626) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8645) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8697) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(8717) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(9486) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(9502) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(16314) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(16334) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(16355) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(16410) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(16775) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(20018) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(20034) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(20107) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(25339) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pl.pwn(25344) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 6040 bytes
Code size: 1141880 bytes
Data size: 2195560 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3359864 bytes

34 Warnings.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-03, 01:01


Pr0f3ssi0n4LisT







Wiek: 25
Na forum: 6846 dni
Posty: 120

Piwa: 3653

Respekt: 117,8
Respekt: 117,8

Sa 2 sposoby zeby to naprawic szybki i wolniejszy :P
SZYBKI - gora mapki
Kod:

#pragma tabsize 0

WOLNIEJSZY - poukladac kod

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
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