Ir para conteúdo

robi123

Membro
  • Registro em

  • Última visita

Tudo que robi123 postou

  1. @Qwizer pra mim nao funciona nao acontece nada, depois que mato alguem
  2. @Guilherme. pra qual versão TFs é este? eu uso 0.3.7
  3. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    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..
  4. robi123 postou uma resposta no tópico em Mapas de Tibia
    ARRUMA O LINK
  5. robi123 postou uma resposta no tópico em Mapas de Tibia
    ATUALIZA O LINK :d
  6. @PedroSTT eae pedro tbm preciso de algo assim se me da uma força?
  7. eu tive que mecher na source do ot opa, eu tive que mecher na source do ot
  8. Erro que da no ot client
  9. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    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?
  10. 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
  11. de nada
  12. @fiordy quer postar seu luascript.ccp e luascript.h para eu ver? ou tentar postar qual o erro ?
  13. 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..
  14. Eae, Consegue alterar para atacar X - Vocation no lugar de PK ? Tipo atacar Vocation= 2,4
  15. @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")
  16. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    oque ataca skull é NPC
  17. 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
  18. ta de sacanagem ? @xWhiteWolf é isso que ta acontecendo
  19. 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
  20. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    Mesmo assim vlw pela atenção .. foi dai que eu peguei o script ehehhe
  21. @Golf eae vc tem tfs 0.3.7 com opcode?? vc compila p mim?
  22. @Snowsz eae consegue me ajudar? tirar este erro da foto TFS 0.3.7
  23. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    eae @DukeeH A versão é tfs 0.3.7 safeFightButton = nil este é o comando do otclient que eu quero utilizar :D @aspira
  24. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    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")

Informação Importante

Confirmação de Termo