-
-
-
Slot Machine[OTC][Module]
Esse problema ocorre por que o buffer retorna o valor em forma de STRING. Substitua no seu código, if ( buffer ~= 1 ) then por: if ( buffer ~= '1' ) then e pronto :). Se alguém souber criptografar arquivos e puder me ajudar agradeço!
-
Erro: Warning - Protocol::RSA_decrypt] Not valid packet size
E ae glra, é o seguinte... eu estava fazendo edição nas source do meu OTserv para aumenta o campo de visão do player e tal... ai eu fiz as edições e segui as dicas de um tutorial... esse tutorial: In the server files under Protocolgame.cpp I replaced void ProtocolGameAddMapDescription(NetworkMessage_ptr msg, const Position& pos) { msg->AddByte(0x64); msg->AddPosition(player->getPosition()); GetMapDescription(pos.x - 8, pos.y - 6, pos.z, 18, 14, msg); } with void ProtocolGameAddMapDescription(NetworkMessage_ptr msg, const Position& pos) { msg->AddByte(0x64); msg->AddPosition(player->getPosition()); GetMapDescription(pos.x - 14, pos.y - 12, pos.z, 30, 26, msg); } As stated by Flatlander - the width and height of the map is x 2 that of the pos value PLUS 2. I then replaced the appropriate values under "GetFloorDescription" and "AddMapDescription". Make sure you replace the current values with the ones you have set in "void ProtocolGame::AddMapDescription". You will be able to gauge what values need to replace the default values just by falling the trend. I also changed the values for the Spectators: getSpectators(list, destPos, false, true, 18, 18 14, 14); to getSpectators(list, destPos, false, true, 30, 30, 26, 26); In map.h I replaced static const int32_t maxViewportX = 11; //min value: maxClientViewportX + 1 static const int32_t maxViewportY = 11; //min value: maxClientViewportY + 1 static const int32_t maxClientViewportX = 8; static const int32_t maxClientViewportY = 6; with static const int32_t maxViewportX = 18; //min value: maxClientViewportX + 1 static const int32_t maxViewportY = 18; //min value: maxClientViewportY + 1 static const int32_t maxClientViewportX = 15; static const int32_t maxClientViewportY = 11; That concludes the changes i made in the server files. Now over to the client source files: under map.cpp void MapresetAwareRange() { AwareRange range; range.left = 8; range.top = 6; range.bottom = 7; range.right = 9; setAwareRange(range); } was replaced with void MapresetAwareRange() { AwareRange range; range.left = 14; range.top = 12; range.bottom = 13; range.right = 15; setAwareRange(range); } -------------------------------------------------------------- Fiz essas edições compilei as source deu tudo certo, so que quando fui ligar o server não estava mais conseguindo entrar aparecia esse erro do titulo e o TFS trava e pede pra ser encerrado... Se alguém tiver ideia do que pode ter ocorrido me ajude ai pls. obs1:Eu já tentei simplesmente desfazer as mudanças, porém o erro persiste! obs2:O server funcionava perfeitamente antes disso!
-
Como excluir ou add Commands OTserver 7.8
É um NOWS (Naruto Of Wars) Dno.
-
Como excluir ou add Commands OTserver 7.8
No server não tem a pasta "talkactions"
-
RME Tíbia 7.81
Galera queria saber como é possível abrir um mapa 7.81 no rme. Eu tenho o simone mão editor só q é horrível eu clicko em propriedades de um item ele trava e fecha. Se alguem souber como, agradeço!
-
Como excluir ou add Commands OTserver 7.8
Olá galera, este é meu primeiro tópico no TK. Estou com seguinte problema: Eu tenho um server de Narutibia 7.81 e eu quero alterar um comando de alterar outfit do player que é (!ropa4859) quero mudar ele e não sei como. E também gostaria de saber como add um novo comando q eu queira no meu server?

lointlet
Membro
-
Registro em
-
Última visita