Ir para conteúdo

PostadorHunter

Conde
  • Total de itens

    962
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Tudo que PostadorHunter postou

  1. /\ viu o que ta escrito naquelas spites ali que tu posto ? REMOVIDO None of these sprites are public use
  2. /\ ?? não intendi porra nenhuma do seu post
  3. PostadorHunter

    Minecraft

    fodasse
  4. PostadorHunter

    Alavanca

    não vejo problema nenhum em postar aki
  5. Isso eu sei mais quero saber oq faz ele? Tipo monstro da mais exp, fica mais forte, o tempo fica mais rapido do spawn, sei lá.... depende do seu scriptaqui um exemplo do criador do código function onSpawn(cid) doBroadcastMessage("Monster ".. getCreatureName(cid).." was created.") return true end
  6. é um creature event que executa quando o monstro da respawn
  7. Créditos: Doggynub(Otland) Testado em tfs 0.4 creatureEvent.h: procure por: uint32_t executePrepareDeath(Creature* creature, DeathList deathList); em baixo coloque: uint32_t executeOnSpawn(Creature* creature); procure por: CREATURE_EVENT_DEATH, substitua a linha debaixo por: CREATURE_EVENT_PREPAREDEATH, CREATURE_EVENT_SPAWN creatureevent.cpp procure por: else if(tmpStr == "preparedeath") m_type = CREATURE_EVENT_PREPAREDEATH; em baixo coloque: else if(tmpStr == "spawn") m_type = CREATURE_EVENT_SPAWN; procure por: case CREATURE_EVENT_PREPAREDEATH: return "onPrepareDeath"; em baixo coloque case CREATURE_EVENT_SPAWN: return "onSpawn"; procure por: case CREATURE_EVENT_PREPAREDEATH: return "cid, deathList"; embaixo coloque: case CREATURE_EVENT_SPAWN: return "onSpawn"; procure por: case CREATURE_EVENT_PREPAREDEATH: return "cid, deathList"; embaixo coloque: case CREATURE_EVENT_SPAWN: return "cid"; Va até o final do arquivo e coloque uint32_t CreatureEvent::executeOnSpawn(Creature* creature) { //onSpawn(cid) if(m_interface->reserveEnv()) { ScriptEnviroment* env = m_interface->getEnv(); if(m_scripted == EVENT_SCRIPT_BUFFER) { env->setRealPos(creature->getPosition()); std::stringstream scriptstream; scriptstream << "local cid = " << env->addThing(creature) << std::endl; if(m_scriptData) scriptstream << *m_scriptData; bool result = true; if(m_interface->loadBuffer(scriptstream.str())) { lua_State* L = m_interface->getState(); result = m_interface->getGlobalBool(L, "_result", true); } m_interface->releaseEnv(); return result; } else { #ifdef __DEBUG_LUASCRIPTS__ std::stringstream desc; desc << creature->getName(); env->setEvent(desc.str()); #endif env->setScriptId(m_scriptId, m_interface); env->setRealPos(creature->getPosition()); lua_State* L = m_interface->getState(); m_interface->pushFunction(m_scriptId); lua_pushnumber(L, env->addThing(creature)); bool result = m_interface->callFunction(1); m_interface->releaseEnv(); return result; } } else { std::clog << "[Error - CreatureEvent::executeCast] Call stack overflow." << std::endl; return 0; } } monster.cpp procure por: void Monster::onCreatureAppear(const Creature* creature) { Creature::onCreatureAppear(creature); if(creature == this) { //We just spawned lets look around to see who is there. if(isSummon()) isMasterInRange = canSee(master->getPosition()); embaixo de uns 2 Enters e coloque: CreatureEventList spawn = getCreatureEvents(CREATURE_EVENT_SPAWN); for(CreatureEventList::iterator it = spawn.begin(); it != spawn.end(); ++it) (*it)->executeOnSpawn(this);
  8. Dragon Ball Versão 1.0 Wodbo-Bianco V6.0 WODBO DBWarrior Tibia GTA By Beddy -- esse aqui o autor removeu o conteudo Pokeserver Tfs 0.3.6 Pokemon Centurion 4.0
  9. tem uns ai que o link de download ta quebrado
  10. ali em cima você escreveu .tui ao invés de .otui
  11. http://www.4shared.com/archive/hggLc8go/SPREditor.html?
  12. http://www.4shared.com/archive/hggLc8go/SPREditor.html?
  13. /\ The file you attempted to download is an archive that is damaged or possibly encrypted. MediaFire does not support unlimited downloads of broken or encrypted archives and the limit for this file has been reached. This file may only be distributed from a premium account. We have informed the owner that sharing of this file has been limited and how they can resolve this issue. Still have questions, or think we've made a mistake? Please contact support for further assistance. http://www.4shared.com/archive/hggLc8go/SPREditor.html?
  14. /\ servidor muito bom você merece meus parabéns como anda esse de Tibia 3.0 ?
  15. reputado
  16. olha cara eu só digo que
  17. /\cara naboa vsf
  18. quem desbaniu esse animal ?
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...