Tudo que robi123 postou
- [CreatureEvent] Rank Militar
- [CreatureEvent] Rank Militar
-
(Resolvido)[PEDIDO] Remover parede temporariamente por alavanca
@CoyoteStark qual a action ?
-
Facção System
ola pessoal alguém me ajuda a criar um sistema de facção? Quero fazer que as vocações 1,2,3,4,5 só possam atacar as vocações 6,7,8,9,10 e vice versão... nao ataca nem magia nem target..
-
Xenomorph Unknown
ARRUMA O LINK
-
Abyssal Shores
ATUALIZA O LINK :d
-
Sistema de FACÇÕES
@PedroSTT eae pedro tbm preciso de algo assim se me da uma força?
-
Dano Player X Monstro
eu tive que mecher na source do ot opa, eu tive que mecher na source do ot
-
Spell Bar Move
-
Spell Bar Move
Bom dia, tarde, Galera Eu instalei um spell bar no meu ot client, porem não esta aparecendo as magias nos quadradinho alguém me da uma força?
-
Spell Bar Move
Bom dia, tarde, Galera Eu instalei um spell bar no meu ot client, porem não esta aparecendo as magias nos quadradinho alguém me da uma força? Modules -> game_folds
-
Safe Mod para tibia 8.6
de nada
-
Safe Mod para tibia 8.6
@fiordy quer postar seu luascript.ccp e luascript.h para eu ver? ou tentar postar qual o erro ?
-
Safe Mod para tibia 8.6
Galera eu consegui fazer funcionar no meu caso fazendo o seguinte. TFS 0.3.7 Na Soucer do ot - luascript.cpp int32_t LuaInterface::luaGetPlayerSecureMode(lua_State* L) { //getPlayerSecureMode(cid) ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID((uint32_t)popNumber(L)); if(!player) { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND)); lua_pushboolean(L, false); } else lua_pushnumber(L, player->getSecureMode()); return 1; } int32_t LuaInterface::luaGetPlayerFightMode(lua_State* L) { //getPlayerFightMode(cid) ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID((uint32_t)popNumber(L)); if(!player) { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND)); lua_pushboolean(L, false); } else lua_pushnumber(L, player->getAttackFactor()); return 1; } //getPlayerSecureMode lua_register(m_luaState, "getPlayerSecureMode", LuaInterface::luaGetPlayerSecureMode); //getPlayerFightMode lua_register(m_luaState, "getPlayerFightMode", LuaInterface::luaGetPlayerFightMode); luacript.h //getPlayerFightMode(cid) static int32_t luaGetPlayerFightMode(lua_State* L); //getPlayerSecureMode(cid) static int32_t luaGetPlayerSecureMode(lua_State* L); Ai compilei depois.. Fui no ot e fiz o seguinte... creaturescript.xml <event type="combat" name="SafeCombat" event="script" value="safemode.lua"/> creaturescripts\scripts\safemode.lua function onCombat(cid, target) if(target and isPlayer(target) and getPlayerSecureMode(cid) == 0) then doPlayerSendCancel(cid, "Turn secure mode off if you really want to attack unmarked players.") return false elseif(target and isPlayer(target) and getPlayerSecureMode(cid) == 1) then return true end end creaturescripts\scripts\login.lua registerCreatureEvent(cid, "SafeCombat") Então Quanto to com a mão aberta não ataca ninguém nem em área nem magia nem target.. se fecha a mão ai ataca todo tipo de magia..
-
[NPC Guard] Ataca Skulls e Monsters, Invasores
Eae, Consegue alterar para atacar X - Vocation no lugar de PK ? Tipo atacar Vocation= 2,4
-
Safe Mod para tibia 8.6
@xWhiteWolf deixar somente estes ativo? <event type="combat" name="RaczkaSkull" event="script" value="raczka1.lua"/> ---------------------------- function onCombat(cid, target) if(target and isPlayer(target) and getPlayerSecureMode(cid)) then doPlayerSendCancel(cid, "Turn secure mode off if you really want to attack unmarked players.") return false end return true end --------------- registerCreatureEvent(cid, "RaczkaSkull")
-
Monster Guard
oque ataca skull é NPC
-
Safe Mod para tibia 8.6
Na imagem ta mostrando que o player nao esta perdendo vida ou seja nao leva hit não esta funcionando... to usando o modelo da Otland
-
Safe Mod para tibia 8.6
-
Safe Mod para tibia 8.6
eae wolf eu instalei no tfs 0.3.6 mais ele nao tira hit da uma força/? ta aparecendo uma msg ali em branco
-
Safe Mod
Mesmo assim vlw pela atenção .. foi dai que eu peguei o script ehehhe
- Tfs 854, 860 opcode copilado
-
(AJUDA) ERROR: Unable to send extended opcode 1, extended opcodes are not enabled
-
Safe Mod
eae @DukeeH A versão é tfs 0.3.7 safeFightButton = nil este é o comando do otclient que eu quero utilizar :D @aspira
-
Safe Mod
Ae Galera. Eu tenho este modelo safe mod para 8.6 Mais preciso alterar o seguinte. Na source do jogo preciso que ele verifique o estado atual da mãozinha!!! Para que eu não tenha que digitar !pvp no jogo... da uma força ai @DukeeH /o/ \o\ <talkaction words="!pvp" event="script" value="pvplayer.lua"/> function onSay(cid, words, param) local storage = 742867 setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) <= 0 and 1 or 0) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"[Safe Mode] Agora seu sistema PvP está "..(getPlayerStorageValue(cid, storage) <= 0 and "desativado" or "ativado")..".") return true end function onCombat(cid, target) local storage = 742867 if isPlayer(cid) and isPlayer(target) and getPlayerStorageValue(cid, storage) > 0 then -- secure ativado n ataca ngm return false end return true end function onTarget(cid, target) local storage = 742867 if isPlayer(cid) and isPlayer(target) and getPlayerStorageValue(cid, storage) > 0 then setPlayerStorageValue(cid, storage, 0) -- desativar caso eu der target em alguém end return true end <event type="combat" name="SafeCombat" event="script" value="safemode.lua"/> <event type="target" name="SafeTarget" event="script" value="safemode.lua"/> registerCreatureEvent(cid, "SafeCombat") registerCreatureEvent(cid, "SafeTarget")