Tudo que gristony postou
- BrPokeOT
- BrPokeOT
-
[Duvida]função lua no c++
olhei o seu arquivo lua.cpp //setPokemonLevel(cid,level) lua_register(m_luaState, "SetPokemonLevel", LuaScriptInterface::luaSetPokemonLevel); amigo pq tá maiúsculo tem que ser assim //setPokemonLevel(cid,level) lua_register(m_luaState, "setPokemonLevel", LuaScriptInterface::luaSetPokemonLevel);
-
Erondino pokemons selvagens e capturados,função onSpawn()
tem que registrar no xml do poke né pois onspawn é um evento tem que registrar no xml do poke para usar so um xml vc vai ter que bloquear a magia sair só se o poke for de summon
-
[Duvida]converte de int32_t para double
qual a desse ponto meu chapa? tenta assim this->healthMax = (this->getMaxHealth() * (1.0 + (0.1 * (level - 1))));
- BrPokeOT
- BrPokeOT
- BrPokeOT
-
BrPokeOT
sim, pois nick não é um system simples, mas não será mas refeito o nick, pois já está na sua versão final. o nick tá perfeito. price system na ball --> readicionado e refeito na source. o price no item é colocado uma tang no xml do item o price na ball é colocado uma tang no xml do poke
- BrPokeOT
-
BrPokeOT
--- • Nick system --> removido --- • Price na ball system --> removido --- • Price system --> refeito na source --- • Look system --> refeito na source --- • Pefect Nick system --> adicionado --- • Pefect Pokeball system "carregar 6 pokes"--> adicionado --- • Pefect Passive system "passive and agressive" --> adicionado --- • Ipp system "identifier pokemon player identificador de pokemon de player todos os pokes que são de player tem um identificador/simbolozinho"--> adicionado
-
BrPokeOT
Projeto Inicio BrPokeOT é um projeto que começou em 2013 por mim e aberos, e que teve muitos imprevisto, e assim nunca saindo realmente de apenas um projeto, mas agora resolvi voltar com o projeto, que de certa forma nunca parou, pois eu sempre mexia nos codes do BPO para aprender mais, e passar o tempo e então ia fazendo/melhorando as coisas e deixando na pasta do BPO, e então o serve acabou crescendo bastante e serviu de base "algumas vesões dela, que por sinal são bastante vesões e a maioria não existe mais, pois eu nao fazia muito backup e ficava sempre com a ultima versão" para alguns projetos como o PokeVks "que acabou também não saindo do papel" e a atual base do HPokemon. Bom no projeto ultimatemente está somente eu. PS: como todo projeto serio o BPO tem source. OBS: estarei atualizando o topic constantemente, com noticias do andamento do projeto e etc. bom isso é apenas uma pequena caracteristica das coisas que tem no projeto/já foi feito, bom como eu nao fiquei fazendo changelog depois que o projeto tinha ficado parado e eu continuava mexendo "só por mexer" então eu só conseguir trazer essas caracteristicas poriquanto que foram do inicio do projeto poriquanto. Logo Logo mais coisas. Pagina FaceBook: https://www.facebook.com/brpokeot/ ChangeLog -------Changelog 0.1------- * Nick system beta ---> 20% * Ordem system ---> 100% * Goback system ---> 100% * Ride system ---> 100% * Fly system ---> 100% * Control mid system ---> 100% * Sistema de balaciamento, pokes dos players. ---> 100% * Sistema de balanciamento, pokes wilds. ---> 100% * Passive attck system ---> 98% * Boost system ---> 100% * Moves system ---> 90% * Potion system ---> 100% * Revive system ---> 100% * Box system ---> 80% -------Changelog 0.2------- * !sellhouse ---> 100% * Box ---> 100% * Moves ---> 100% * Nick system beta ---> removido * Burn system ---> adicionado. * Poison system ---> adicionado. * Confuse system ---> adicionado. * Sleep system ---> adicionado. * Miss system ---> adicionado. * Fear system ---> adicionado. * Silence system ---> adicionado. * Stun system ---> adicionado. * Paralyze system ---> adicionado. * Slow system ---> adicionado. * leech system ---> adicionado. * Buff system ---> adicionado. -------Changelog 0.3------- * !pokeball ---> 100% * Catch ---> 100% * Duel system beta ---> adicionado. * Offense system ---> adicionado. * Defense system ---> adicionado. * Agility system ---> adicionado. * Vitality system ---> adicionado. * Specialattack system ---> adicionado. -------Changelog 0.4------- * Nick system ---> 80% * Food system ---> 100% * Ditto system ---> 99.99% * Defense system ---> removido. -------Changelog 0.5------- * Boost system ---> adicionado. * Felicidade e love system ---> adicionado. * Duel system beta ---> 100%. * Defense system beta ---> adicionado. * Shiny ditto system ---> adicionado. -------Changelog 0.6------- * Atks wilds ---> 100% * Atks pokes player ---> 100% * Moves ---> 98% * ordem system ---> 99.9% * ditto system ---> 100% * Control mid ---> 100% * effects dos sistemas ---> 98% * Primeira geração ---> 99.9% * Primeira geração catch ---> 99.9% -------Changelog 0.7------- * Surf ---> Fixed. * Catch ---> agora pode jogar ball para capturar o pokemon de longe. * Passive attack ---> adicionado. * !fly ---> comando !fly adicionado. ele so pode ser usando quando se está em fly, ao usar ele você ficar andando sozinho. * Msg do loot trocada de cor, de branca para verde. * Mug fishing ---> Fixed. -------Changelog 0.8------- * Atks dos pokémons ficam mais forte a cada lvl do player igual a life do poke. * Red Gyarados ---> agora é Shiny Gyarados. * Elite Hitmonlee ---> agora é Shiny Hitmonlee. * Elite Hitmonchan ---> agora é Shiny Hitmonchan. * Elite Farfetch'd ---> agora é Shiny Farfetch'd. * Big Snolax ---> agora é Shiny Snolax. * Elder Charizard ---> agora é Shiny Charizard. * Surf ---> arrumado. * Bug das cordas para subir dos bueros ---> Fixed. * Oufit ride do shiny venusaur e shiny arcanine ---> Fixed. * Outfit fly Shiny gengar e gengar ---> Fixed. * a msg de quando solta o pokemon ---> Fixed. * Escadas rolantes ---> Fixed. * Teleport ---> Fixed. * Shiny aleatório ---> adicionado. * Clan ---> adicionado. * Revive agora cura os status também. * Gym ---> adicionado. * Passive attack ---> adicionado. -------Changelog 0.9------- * Saffari ---> adicionado. * Tirado os nomes shinys dos pokemons shiny. * Corrigido bug do look do player ---> Fixed. * Mudado de "see a" para "Você está vendo" do look em objetos. * Corrigido o catch que só dava para usar pokeball ---> Fixed. * Nick system ---> adicionado. * Ditto ---> melhorado. * Look ---> melhorado. * Price nas balls ---> adicionado. * Corrigido a saffari ball ---> Fixed. * Shiny balls ---> adicionadas. * Fly do elder charizard ---> Fixed. * Npc pokemon collector ---> Fixed. * Nome do Eevee ---> Fixed. * Npc guru ---> Adicionado. * Npc de aura ---> Adicionado. * Boost machine ---> Fixed. * Teleport ---> Fixed. * Pvp ---> Fixed. * Nomes das potions e medicine ---> Fixed. * Catch elder charizard ---> Fixed. * Catch red gyarados ---> Fixed. * Catch elite farfetch'd ---> Fixed. * Catch dark abra ---> Fixed. * Bug que podia sair do fly quando dava h1 ou h2 ---> Fixed. * Medicine ---> Adicionado. * System de carregar 3 poke de lvl baixo e 1 de lvl alto ---> Adicionado. * Duel system beta ---> Adicionado. * Refeito nick system. * look ---> Fixed. * look ---> Melhorado. * Trocado os inicias para Charmander, Squitler e Bulbasaur. * Ditto Melhorado de novo. * Exp reajustada. * Bug que o pokemon desaparecia ao se distanciar do player ---> Fixed. * Bug do spawn ---> Fixed.. * System de Vantagem, Desvantagem, Resistência e Imunidade ---> adicionado. * Price dos pokes no pokemon collector ---> Fixed. * Copse do scyther ---> Fixed. * Copse do mr. mime ---> Fixed. * Box que não ganhava pokemon ---> Fixed. * Atk Shredder Team ---> Fixed. * Atk Mimic Wall ---> Fixed. * Pokemons shiny que nao dava para usar ---> Fixed. * Nurse ---> Fixed. * Catch ---> Fixed. Imagens
-
parecer level do pokemon inimigo
amigo nao recomendo a funcao setcreaturename pois ela é limitada e uma funcao boa acho dificil de auguem lhe arrumar de graca XD
-
Mercado Poketibia
isso é um sistema bem complexo e exige do serve tbm não só de um module no client esse system é um dos que pretendo fazer assim quando eu tiver tempo livre caso alguem tente fazer use opcode e se possivel tente usar a source do serve tbm mais tbm pode se fazer só com db e lua mesmo
- TV System por caotic
-
Como almento as sprite no old client base poke dinamite
para aumentar o limite de spr de 65k do old voce presisa fazer uma dll que aumente esse limite
-
(Resolvido)[DUVIDA] Piso que remove items por slot
Usa assim function onStepIn(cid, item, fromPosition, itemEx, toPosition) local slot = {1, 4, 7, 6, 5} for i = 1, #slot do local slot_item = getPlayerSlotItem(cid, slot).uid if slot_item > 0 then doRemoveItem(slot_item, 1) end end doSendMagicEffect(getThingPos(cid), 13) return true end
- Set Outfit - Client Tibia
- TV System por caotic
-
pedido sistema de leilão igual do pxg
como já foi dito ali em cima, é bem difícil que isso apareça tão cedo no fórum e, se aparecer coisa que acho difícil. esse sistema é chato de se fazer pois mexe com db e etc, é o oh isso.
-
(erro) Pokebar
Isso é na parte Sever side e não recomendo usar essa CD bar na verdade não recomendo usaroupas as CD bar disponibilizada por aí pois até agora não vi nem um 100 % funcional/funfando direitim sem bug
-
[Auto Stacking] Tio SniX
tente assim Cylinder* Container::__queryDestination(int32_t& index, const Thing* thing, Item* destItem, uint32_t&) { if(index == 254 /*move up*/) { index = INDEX_WHEREEVER; *destItem = NULL; Container* parentContainer = dynamic_cast(getParent()); if(parentContainer) return parentContainer; return this; } else if(index == 255 /*add wherever*/){ index = INDEX_WHEREEVER; *destItem = NULL; } else if(index >= (int32_t)capacity()){ /* if you have a container, maximize it to show all 20 slots then you open a bag that is inside the container you will have a bag with 8 slots and a "grey" area where the other 12 slots where from the container if you drop the item on that grey area the client calculates the slot position as if the bag has 20 slots */ index = INDEX_WHEREEVER; *destItem = NULL; } const Item* item = thing->getItem(); if(item == NULL){ return this; } if(item->isStackable()){ if(item->getParent() != this){ //try find a suitable item to stack with uint32_t n = 0; for(ItemList::iterator cit = itemlist.begin(); cit != itemlist.end(); ++cit){ if((*cit) != item && (*cit)->getID() == item->getID() && (*cit)->getItemCount() < 100){ *destItem = (*cit); index = n; return this; } ++n; } } } if(index != INDEX_WHEREEVER){ Thing* destThing = __getThing(index); if(destThing) *destItem = destThing->getItem(); Cylinder* subCylinder = dynamic_cast(*destItem); if(subCylinder){ index = INDEX_WHEREEVER; *destItem = NULL; return subCylinder; } } return this; }
-
[Auto Stacking] Tio SniX
aonde perde pra colocar isso Cylinder* Container::__queryDestination(int32_t& index, const Thing* thing, Item** destItem, uint32_t&) { if(index == 254 /*move up*/) { index = INDEX_WHEREEVER; *destItem = NULL; Container* parentContainer = dynamic_cast(getParent()); if(parentContainer) return parentContainer; return this; } else if(index == 255 /*add wherever*/){ index = INDEX_WHEREEVER; *destItem = NULL; } else if(index >= (int32_t)capacity()){ /* if you have a container, maximize it to show all 20 slots then you open a bag that is inside the container you will have a bag with 8 slots and a "grey" area where the other 12 slots where from the container if you drop the item on that grey area the client calculates the slot position as if the bag has 20 slots */ index = INDEX_WHEREEVER; *destItem = NULL; } const Item* item = thing->getItem(); if(item == NULL){ return this; } if(item->isStackable()){ if(item->getParent() != this){ //try find a suitable item to stack with uint32_t n = 0; for(ItemList::iterator cit = itemlist.begin(); cit != itemlist.end(); ++cit){ if((*cit) != item && (*cit)->getID() == item->getID() && (*cit)->getItemCount() < 100){ *destItem = (*cit); index = n; return this; } ++n; } } } if(index != INDEX_WHEREEVER){ Thing* destThing = __getThing(index); if(destThing) *destItem = destThing->getItem(); Cylinder* subCylinder = dynamic_cast(*destItem); if(subCylinder){ index = INDEX_WHEREEVER; *destItem = NULL; return subCylinder; } } return this; } coloca isso Cylinder* Container::__queryDestination(int32_t& index, const Thing* thing, Item** destItem, uint32_t&) { if(index == 254 /*move up*/) { index = INDEX_WHEREEVER; *destItem = NULL; Container* parentContainer = dynamic_cast(getParent()); if(parentContainer) return parentContainer; return this; else if(index == 255 /*add wherever*/){ index = INDEX_WHEREEVER; *destItem = NULL; } else if(index >= (int32_t)capacity()){ /* if you have a container, maximize it to show all 20 slots then you open a bag that is inside the container you will have a bag with 8 slots and a "grey" area where the other 12 slots where from the container if you drop the item on that grey area the client calculates the slot position as if the bag has 20 slots */ index = INDEX_WHEREEVER; *destItem = NULL; } const Item* item = thing->getItem(); if(item == NULL){ return this; } if(item->isStackable()){ if(item->getParent() != this){ //try find a suitable item to stack with uint32_t n = 0; for(ItemList::iterator cit = itemlist.begin(); cit != itemlist.end(); ++cit){ if((*cit) != item && (*cit)->getID() == item->getID() && (*cit)->getItemCount() < 100){ *destItem = (*cit); index = n; return this; } ++n; } } } if(index != INDEX_WHEREEVER){ Thing* destThing = __getThing(index); if(destThing) *destItem = destThing->getItem(); Cylinder* subCylinder = dynamic_cast(*destItem); if(subCylinder){ index = INDEX_WHEREEVER; *destItem = NULL; return subCylinder; } } return this; }
-
Pedido do Tiu SniX
mania de querer tudo nas maos ne amigo se tivesse procurado teria achado so que tem no 4shared e aqui mesmo no tk fui no 4shared coloquei pokemon online menos de 1 minuto achei ai http://www.4shared.com/postDownload/LGD73x66/PokemonOnline12.html
- [Pedido] Sistema de elemento com cores