- Monstros e Items 10.94 10.98 10.99
-
Klailos Completa - 10.90
ah sim eu sai excluindo tb e deu certo...e outra ,tem items abaixo do mapa que causam dbug...removi eles tb
-
- Monstros e Items 10.94 10.98 10.99
-
Converter script 0.4 para 1.2
Sera que alguem me ajuda a converter essa script abaixo, pelo que vi nao tem aqui no forum ela: /*/data/npc create Testserver Assistant.xml and add Code: <?xml version="1.0" encoding="UTF-8"?> <npc name="Testserver Assistant" script="testserver_assistant.lua" walkinterval="4000" floorchange="0"> <health now="100" max="100"/> <look type="73" /> <parameters> <parameter key="message_greet" value="Hey |PLAYERNAME|. I'm Testserver Assistant and can give {money} and {experience} which will be useful for testing on Exodum server."/> <parameter key="message_farewell" value="Good bye!"/> <parameter key="message_walkaway" value="Good bye!" /> </parameters> </npc> /*/data/npc/scripts create testserver_assistant.lua and add Code: --EXODUM OTS --BY SZAFI (Old Sessam) --http://tibia.net.pl/members/156613-Old-Sessam --http://otland.net/members/szafi.32524/ --skype: sessam5 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end --DAWANIE 10 CRYSTAL COINS local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, "money") then selfSay("Do you want 10 crystal coins?", cid) talkState[talkUser] = 1 elseif msgcontains(msg, "yes") and talkState[talkUser] == 1 then selfSay("Here you are.", cid) doPlayerAddItem(cid, 2160, 10) talkState[talkUser] = 0 if(not npcHandler:isFocused(cid)) then return false end --DAWANIE 254237300 EXPA elseif msgcontains(msg, "experience") then selfSay("Do you want experience?", cid) talkState[talkUser] = 2 elseif msgcontains(msg, "yes") and talkState[talkUser] == 2 and getPlayerStorageValue(cid, 15211) == 1 then selfSay("Sorry. Experience I can add only one time per character.", cid) elseif getPlayerStorageValue(cid, 15211) == -1 then selfSay("Here you are.", cid) doPlayerAddExp(cid, 254237300) doCreatureSetStorage(cid, 15211, 1) talkState[talkUser] = 0 if(not npcHandler:isFocused(cid)) then return false end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
Klailos Completa - 10.90
descobriram o item que esta dando dbug perto da escada do dp?
-
tibira reagiu a uma resposta no tópico: GLOBAL FULL [TFS 1.2 - Reward System, BattleField Event, Seacrest Ground] EXCLUSIVO
-
alguem reconhece esse erro ? [Error - MoveEvent::executeStep] Call stack overflow
tem algum problema no seu movements , pode ser algum item que ao ser usado causa esse erro e a distro fecha, vou procurar aqui pois tenho um serv tfs 1.2 se encontrar te falo...
-
[10.90] Vanaheim Global Opensource - TFS 1.2
Grande Bruno Minervino, muito bom esse seu trabalho, só gostaria de uma informação , qual map editor vc esta usando? pois quando eu abro no meu map editor e salvo alguns npcs e monstro somen ou sao trocados por npc.
-
(Resolvido)[Pedido] (Action) item quando clicar cria 1 monstro e item quebrar
entao marque a melhor resposta...
-
CREATURESCRIPT -- SPIKE TASK
alguem sabe oq pode ser esse erro? Lua Script Error: [CreatureScript Interface] data/creaturescripts/scripts/spike task/drillworm.lua:onKill data/creaturescripts/scripts/spike task/drillworm.lua:12: attempt to index field 'spikeTask' (a nil value) stack traceback: [C]: in function '__index' data/creaturescripts/scripts/spike task/drillworm.lua:12: in function
-
Editando Wands & Rods
ate ai tudo bem, mas e para aumentar somente o ataque dessa wand?
-
(Resolvido)[Pedido] (Action) item quando clicar cria 1 monstro e item quebrar
function onUse(cid, item, fromPosition, target, toPosition, isHotkey) if target.itemid == 22636 then doRemoveItem(item.uid) Game.createMonster("Zavarash", {x = 33567, y = 32420, z = 12}, false, true) end doTeleportThing(cid, {x = 33568, y = 32414, z = 12}, false) end return true
-
problema com as potions mastermind potion, berserk potion e bullseye potion
tente isso: local berserker = Condition(CONDITION_ATTRIBUTES) berserker:setParameter(CONDITION_PARAM_TICKS, 10 * 60 * 1000) berserker:setParameter(CONDITION_PARAM_SKILL_MELEE, 5) berserker:setParameter(CONDITION_PARAM_SKILL_SHIELD, -10) local mastermind = Condition(CONDITION_ATTRIBUTES) mastermind:setParameter(CONDITION_PARAM_TICKS, 10 * 60 * 1000) mastermind:setParameter(CONDITION_PARAM_STAT_MAGICPOINTS, 3) mastermind:setParameter(CONDITION_PARAM_SKILL_SHIELD, -10) local bullseye = Condition(CONDITION_ATTRIBUTES) bullseye:setParameter(CONDITION_PARAM_TICKS, 30 * 60 * 1000) bullseye:setParameter(CONDITION_PARAM_SKILL_DISTANCE, 5) bullseye:setParameter(CONDITION_PARAM_SKILL_SHIELD, -10) local config = { [7439] = berserker, [7440] = mastermind, [7443] = bullseye } function onUse(cid, item, fromPosition, itemEx, toPosition) local useItem = config[item.itemid] if not useItem then return true end local player = Player(cid) local vocations = {1, 2, 5, 6} if item.itemid == 7440 then if not isInArray(vocations, player:getVocation():getBase():getId()) then doPlayerSendTextMessage(cid, 18 ,'Only sorcerers and druids may drink this fluid.', TALKTYPE_MONSTER_SAY) return true end end local cStorage = player:getStorageValue(Storage.Achievements.PotionAddict) if cStorage < 100000 then player:setStorageValue(Storage.Achievements.PotionAddict, math.max(1, cStorage) + 1) elseif cStorage == 100000 then player:addAchievement('Potion Addict') player:setStorageValue(Storage.Achievements.PotionAddict, 100001) end player:addCondition(useItem) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) Item(item.uid):remove(1) return true end
-
BUG MUITO LOKO COM A PARALYSER
ta dando esse erro: Lua Script Error: [spell Interface] data/spells/scripts/support/paralyze rune.lua luaSetConditionParam(). Condition not found stack traceback: [C]: in function 'setConditionParam' data/spells/scripts/support/paralyze rune.lua:6: in main chunk
-
BUG MUITO LOKO COM A PARALYSER
uso tfs 1.0
-
(Resolvido)[PEDIDO] Caldeirão acumulativo de items
blz, agradeço sua ajuda