Wysłany: 2012-12-05, 21:09
BocianJD
Wiek: 36 Na forum: 4985 dni Posty: 16
Nick w MP: BocianJD
Witam,
Znalaz?em takiego antycheata:
http://pastebin.com/LQ9aZ36M
Jednak po skopiowaniu do Pawno nie kompilowa? si?.
Dziwne wyda?o mi si?, ?e s? tam zwyk?e nawiasy zamiast klamer.
Poprawi?em wi?c to i zamieni?em wszystkie nawiasy na klamry(oczywi?cie tylko te co trzeba).
Errory nadal wyst?powa?y, wi?c doda?em include, oraz zdefiniowa?em funkcje.
Nie wiem tylko czy dobrze zrobi?em:
Kod: #include <a_samp>
#include <dini>
#include <dudb>
new GetPlayerClan;
new Kickuj;
new Banuj;
new BanujHost;
new PlayerToPoint;
Ca?y czas pojawiaj? mi si? errory:
Kod: C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(1041) : error 012: invalid function call, not a valid address
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(1041) : warning 215: expression has no effect
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(1041) : error 001: expected token: ";", but found ")"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(1041) : error 029: invalid expression, assumed zero
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(1041) : 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.
Linijka kt?rej to dotyczy(znajduje si? ona w: public OnPlayerConnect(playerid)):
Kod: strdel(Nick, 0, strlen(GetPlayerClan(playerid)));
Macie jakie? pomys?y?
A mo?e kto? ma dzia?aj?c? wersje tego AntyCheata?
Wysłany: 2012-12-05, 21:42
The Fake
Wiek: 29 Na forum: 5964 dni Posty: 36
Nick w MP: isoa.fake
Piwa : 17
spr?buj zmieni? tablice na g?rze mapy
Kod:
na Kod: new Nick[MAX_PLAYER_NAME];
je?eli nie pomo?e to:
Kod: strdel(Nick, 0, strlen(GetPlayerClan(playerid)));
zmie? na
Kod:
new strclan = strlen(GetPlayerClan(playerid));
strdel(Nick, 0, strclan);
A, i usu? 'new GetPlayerClan;'
Wysłany: 2012-12-05, 22:54
BocianJD
Wiek: 36 Na forum: 4985 dni Posty: 16
Nick w MP: BocianJD
Zrobi?em wszystko co napisa?e?, niestety dalej jest problem:
(...)
Jak na razie cofn??em zmiany, bo chyba nie w tym by? b??d.
[ Dodano : 2012-12-06, 01:48 ]
Pisz? posta pod postem poniewa? chcia?bym przedstawi? spraw? w innym ?wietle.
Poprawi?em klamry do ko?ca(sprawdzi?em na koniec licznikiem klamer) i wedle orygina?u nic innego nie zmienia?em.
Oto kod kt?ry teraz mam:
http://pastebin.com/t2chEUMZ
B??dy:
Kod: C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(802) : error 017: undefined symbol "strtok"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(802) : error 033: array must be indexed (variable "tmp")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(813) : error 017: undefined symbol "strtok"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(813) : error 033: array must be indexed (variable "tmp")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(826) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(827) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(828) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(829) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(830) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(831) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(832) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(833) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(834) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(835) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(836) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(837) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(838) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(839) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(840) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(841) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(842) : error 017: undefined symbol "dini_Get"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(842) : error 033: array must be indexed (variable "str")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(844) : error 017: undefined symbol "dini_Get"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(844) : error 033: array must be indexed (variable "Nick")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(849) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(850) : error 017: undefined symbol "dini_Int"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Zar?wno dini jak i strtok, oraz inne s? zdefiniowane na dole.
Wygl?da jakby nie czyta? definicji zdefiniowanych na dole skryptu.
Co mo?e by? tego przyczyn??
Wysłany: 2012-12-06, 11:14
The Fake
Wiek: 29 Na forum: 5964 dni Posty: 36
Nick w MP: isoa.fake
Piwa : 17
podopisuj 'stock' przed ka?d? definicj?, mo?e to jest przyczyn?
Przyk?ad:
Kod:
stock GetPlayerClan(playerid)
{
Wysłany: 2012-12-06, 11:36
Maggi1
Wiek: 32 Na forum: 5374 dni Posty: 32
Piwa : 807
undefined symbol
Nie zdefiniowane symbole, wrzu? PLUGIN DINI. te powinny znikna?
Co to strtok prosze:
Kod: strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Wysłany: 2012-12-09, 10:53
Adrianek1
Wiek: 36 Na forum: 4958 dni Posty: 136
Nick w MP: Forcer
Piwa : 1434
"BocianJD" napisał/a :Zrobi?em wszystko co napisa?e?, niestety dalej jest problem:
(...)
Jak na razie cofn??em zmiany, bo chyba nie w tym by? b??d.
[ Dodano : 2012-12-06, 01:48 ]
Pisz? posta pod postem poniewa? chcia?bym przedstawi? spraw? w innym ?wietle.
Poprawi?em klamry do ko?ca(sprawdzi?em na koniec licznikiem klamer) i wedle orygina?u nic innego nie zmienia?em.
Oto kod kt?ry teraz mam:
http://pastebin.com/t2chEUMZ
B??dy:
Kod: C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(802) : error 017: undefined symbol "strtok"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(802) : error 033: array must be indexed (variable "tmp")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(813) : error 017: undefined symbol "strtok"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(813) : error 033: array must be indexed (variable "tmp")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(826) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(827) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(828) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(829) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(830) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(831) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(832) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(833) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(834) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(835) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(836) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(837) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(838) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(839) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(840) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(841) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(842) : error 017: undefined symbol "dini_Get"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(842) : error 033: array must be indexed (variable "str")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(844) : error 017: undefined symbol "dini_Get"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(844) : error 033: array must be indexed (variable "Nick")
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(849) : error 017: undefined symbol "dini_Int"
C:\Users\Bocian\Desktop\AntyCheat v2.8.pwn(850) : error 017: undefined symbol "dini_Int"
Compilation gtaonline compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Zar?wno dini jak i strtok, oraz inne s? zdefiniowane na dole.
Wygl?da jakby nie czyta? definicji zdefiniowanych na dole skryptu.
Co mo?e by? tego przyczyn??
Spr?buj zaaktualizowa? includy pod 0.3e
Tagi: uszkodzony :: antycheat
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: