Jump to content
Sign in to follow this  
punkndisaster

Anti Thief System(7.92) by dzojo16

Recommended Posts

Marcin    1
Marcin

@topic

 

muito bom kra =D

 

isso ajuda muito tongue.gif

 

~ cya ~

Share this post


Link to post
Xzbix    0
Xzbix

Erros...

 C:\Arquivos de programas\EasyPHP1-7\Evolutions 0.7.7 XML\source\player.cpp In member function `virtual ReturnValue Player::__queryAdd(int32_t, const Thing*, uint32_t, uint32_t) const':

1936 C:\Arquivos de programas\EasyPHP1-7\Evolutions 0.7.7 XML\source\player.cpp `player' undeclared (first use this function) 
(Each undeclared identifier is reported only once for each function it appears in.)

1937 C:\Arquivos de programas\EasyPHP1-7\Evolutions 0.7.7 XML\source\player.cpp return-statement with no value, in function returning 'ReturnValue'

 C:\Arquivos de programas\EasyPHP1-7\Evolutions 0.7.7 XML\source\dev-C++\Makefile.win [build Error]  [../../source/player.o] Error 1

 

=/ Arruma essa parte do codigo ae...

 

#ifdef THIEF
    else if(item->moveTicks > 0){
    player->sendCancelMessage(RET_NOTMOVEABLE);
    return;
    }

#endif

O Erro ta nessa parte ae..

Share this post


Link to post
dyegodb    0
dyegodb

pior explicado n existe ¬¬'

Share this post


Link to post
punkndisaster    0
punkndisaster

então se vira, esse code é pra source antiga. O problema do Xzbix é isso.

 

Atualiza você então. wink.gif

Share this post


Link to post
dyegodb    0
dyegodb

@punkndisaster

 

se axou o bom aposkoakpkop

Share this post


Link to post
Nephastus    0
Nephastus

#ifdef THIEF

if (item->moveTicks > 0){

       item->moveTicks -= 10;

       }

       if (item->moveTicks < 0){

       item->moveTicks == 0;

       }

       #endif

 

Pra que isso?

 

Ponha um else...

Não precisa ficar criando condições descessárias...

 

Além de mal estruturado, sua lógica está muito ruim.

 

Dica: Refaça.

Share this post


Link to post
bondx    0
bondx

aksoaksokaoskaso... tongue.gif

Demoro um poquinho pra min entender mas deu Certo ;}

 

Thx;*

Share this post


Link to post
bondx    0
bondx

aksoaksokaoskaso... tongue.gif

Demoro um poquinho pra min entender mas deu Certo ;}

 

Thx;*

Share this post


Link to post
punkndisaster    0
punkndisaster

Agora que descobri quem fez o code, atualizei lá.

 

Só extrai o code do dzojo16(DevLand), falam pra ele refazer então.wink.gif

Se achou a explicação um lixo, pega as sources da devland e adiciona.

 

Share this post


Link to post
punkndisaster    0
punkndisaster

Agora que descobri quem fez o code, atualizei lá.

 

Só extrai o code do dzojo16(DevLand), falam pra ele refazer então.wink.gif

Se achou a explicação um lixo, pega as sources da devland e adiciona.

 

Share this post


Link to post
Nephastus    0
Nephastus

@punkndisaster

Não achei a explicação um lixo e sim o código.

E não preciso pegar códigos de ninguém, principalmente código mal feito.

Share this post


Link to post
Nephastus    0
Nephastus

@punkndisaster

Não achei a explicação um lixo e sim o código.

E não preciso pegar códigos de ninguém, principalmente código mal feito.

Share this post


Link to post
Vista    0
Vista

Gostei do tópico cara wink.gif

Share this post


Link to post
Guadalupe    0
Guadalupe

muito bom, vai me ajuda muito, vlw cara rolleyes.gifrolleyes.gif

Share this post


Link to post
_k0rN_    0
_k0rN_

Esse negocio ate que é manero,

mais eu prefiro que os players briguem pelo que é seu.x]

Share this post


Link to post
Cidinho    0
Cidinho

Para quem nao sabe ondea add:

Na hora de ir em Procurar (CTRL+F) tem uma tab que procura em todos os arquivos, ai é só usar ela e fica facin achar

 

Share this post


Link to post
dingo    0
dingo

Muito bom esse code, é do tibia rl não?

Share this post


Link to post
camilo969    0
camilo969

../creature.cpp: In member function `virtual Item* Creature::getCorpse()':

../creature.cpp:494: error: no matching function for call to `Creature::getKillers(uint32_t*, Creature**)'

../creature.cpp:456: note: candidates are: bool Creature::getKillers(Creature**, Creature**)

 

make.exe: *** [../creature.o] Error 1

 

Execution terminated

 

 

 

==============

 

Ayuda!

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×