[POMOC] JunkBuster i Xtreme Admin

Započeo [VG] Moren0, Septembar 21, 2011, 14:24:58 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Kao prvo dobar dan svima :D

Znaci ja sam koristio junkbuster sa obicnim admin sisemom a ne FS. i sad sam odlucio sa ubacim Xtreme Admin, ali kada stavim #include <JunkBuster>
izbaci mi ove errore:
C:\Users\ADMIN\Desktop\SERVER\pawno\include\JunkBuster.inc(1281) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\SERVER\pawno\include\JunkBuster.inc(1681) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\SERVER\pawno\include\JunkBuster.inc(2694) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\SERVER\pawno\include\dutils.inc(199) : error 025: function heading differs from prototype
C:\Users\ADMIN\Desktop\SERVER\pawno\include\dutils.inc(199) : error 021: symbol already defined: "JB_SetPlayerMoney"
C:\Users\ADMIN\Desktop\SERVER\pawno\include\dutils.inc(202) : warning 209: function "JB_SetPlayerMoney" should return a value
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(504) : error 035: argument type mismatch (argument 2)
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(1307) : error 035: argument type mismatch (argument 2)
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(1924) : error 025: function heading differs from prototype
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(1925) : error 021: symbol already defined: "MutePlayer"
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(2201) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.




a kad bez junkbuster inc izbaci mi samo 1 warning C:\Users\ADMIN\Desktop\a\AdminFS.pwn(2201) : warning 203: symbol is never used: "ret_memcpy"

Pa ako moze pomoc i jos nesto.. nisam skontao ovaj korak sa junkbusterom :D  :
Step 4)
You are using a custom admin system with for example levels? Not only RCON?
You can link this admin system with JunkBuster.
JunkBuster can't recognize your adminsystem so you must add a function.

Function (This is only an EXAMPLE!):

public IsPlayerAdminCall(playerid)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
return 1;
else
return 0;
}


moze pomoc  ?

C:\Users\ADMIN\Desktop\a\AdminFS.pwn(2201) : warning 203: symbol is never used: "ret_memcpy"

Prevod: Simbol se nikada nije koristio "ret_memcpy" sto znaci da obrises taj red gde je "ret_memcpy"

[quote author=[OG]undeR. link=topic=31320.msg235667#msg235667 date=1316608030]
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(2201) : warning 203: symbol is never used: "ret_memcpy"

Prevod: Simbol se nikada nije koristio "ret_memcpy" sto znaci da obrises taj red gde je "ret_memcpy"
[/quote]
to je red 2201, tj zadnji red na skripti
dcmd(reloadfs, 8, cmdtext);
return 0;
}

to su zadnja tri reda :S
nemogu zagradu izbrisat

taj ret_mempcy ti je negdje u nekom incu, stavi na pocetak skripte:
Kod (CodeMan) [Izaberi]
#pragma unused ret_mempcy



Citat: CodeMan poslato Septembar 21, 2011, 14:36:56 POSLE PODNE
taj ret_mempcy ti je negdje u nekom incu, stavi na pocetak skripte:
Kod (CodeMan) [Izaberi]
#pragma unused ret_mempcy
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(2201)// nebi reko de je u incu
sta pricas pisalo bi da je u incu ali ovde nepise
pritisni CTRL +  F i trazi to ret_mempcy i obrisi
Vratio sam se ponovo ocekjute novi server...


Citat: CodeMan poslato Septembar 21, 2011, 14:36:56 POSLE PODNE
taj ret_mempcy ti je negdje u nekom incu, stavi na pocetak skripte:
Kod (CodeMan) [Izaberi]
#pragma unused ret_mempcy
stavio sam to pragma i vidi sta mi sad izbaci:
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(25) : error 017: undefined symbol "ret_mempcy"
C:\Users\ADMIN\Desktop\a\AdminFS.pwn(2202) : warning 203: symbol is never used: "ret_memcpy"

otkud tebi stoji tu
Respect: Gagi, Maki187, Phillips, TerminuS, Neno, Lepotic, [AL] K4[Я]!K3â,,¢, Gotti747