-
-
-
-
-
-
-
Erro Na Distro
Olá, estou com um pequeno problema na distro quando eu vou compilar ela meu tfs da esse seguinte erro >> http://imgur.com/5I7KfDt espero que alguem possa me ajudar, obrigado pela atenção.
-
(Resolvido)[Pedido] Transformar Hds em Scaraby Coin
qual é o id que se transforma em td?
-
(Resolvido)Pedido Script
Talesigorvr tipo eu quero a mesma script so que tipo cada boss aparecer criaturas diferentes tipo vamos supor tem 4 waves e elas tenhao uma duração de 10 minutos cada uma algo assim do genero me dando uma script assim eu edito ela certinho e Talesigorvr vlw dnv man sempre me ajudando :D
-
-
Pedido talkaction que muta player no help channel
cara concordo com você mais uma pergunta onde você aprendeu scripting?
-
(Resolvido)Pedido Script
Talesigorvr alem de aparecer boss pode colocar para tipo aparecer alguns monstros e depois de um tempo o boss?
-
(Resolvido)[Pedido] Transformar Hds em Scaraby Coin
Tente assim: local coins = {[12416] = {to = 2148},[2148] = {to = 2152, from = 12416}, [2152] = {to = 2160, from = 2148}, [2160] = {to = 2159, from = 2152},[2159] = {to = 2160, from = 2152},[2159] = {from = 2160}, [2160] = {from = 2159},}function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerFlagValue(cid, PLAYERFLAG_CANNOTPICKUPITEM)) then return false end local coin = coins[item.itemid] if(not coin) then return false end if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, coin.to, 1) elseif(coin.from ~= nil) then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX) end return trueend
-
-
(Resolvido)[Pedido] Transformar Hds em Scaraby Coin
Eu não estou em casa peguei a script do egyptPOWER como base adicionei apenas uma linha entao os creditos é dele, bom em fim Procure pelo arquivo changegold.lua na pasta actions/scripts e substitua por este, eu não testei a script então teste se der algum erro poste aqui que irei tentar lhe ajudar. local coins = { [12416] = {to = 2148}, [2148] = {to = 2152, from = 12416}, [2152] = {to = 2160, from = 2148}, [2160] = {to = 2159, from = 2152}, [2159] = {to = 2160, from = 2152}, [2159] = {from = 2160}, } function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerFlagValue(cid, PLAYERFLAG_CANNOTPICKUPITEM)) then return false end local coin = coins[item.itemid] if(not coin) then return false end if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, coin.to, 1) elseif(coin.from ~= nil) then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX) end return true end
-
(Resolvido)[Pedido] Transformar Hds em Scaraby Coin
me passe o id da scarab e o id do td.
-
-
Regeneration no Ditto
PORFAVOR talesigorvr responde meu post estou desisperado ;(((
-
Sistema De Pontuação
Alguem pode me ajudar?
-
Npc Sem Yes
Olá, eu estou com uma script de um npc que teleporta você por dinheiro, porém eu quero que eu seja teleportado sem eu falar yes. Por exemplo >> eu falo hi, e logo em seguida o nome da cidade que no caso é new city. Com está script q eu tenho é presiso falar hi, new city e yes para ser teleportado. Segue a script. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end -- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions! local travelNode = keywordHandler:addKeyword({'new city'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Você deseja ir para New City em troca de 1000 gps?'}) travelNode:addChildKeyword({''}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 1000, destination = {x=1558, y=956, z=14} }) travelNode:addChildKeyword({''}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 1000, destination = {x=1959, y=956, z=14} }) -- Makes sure the npc reacts when you say hi, bye etc. npcHandler:addModule(FocusModule:new())
-
Erro em 2 Scripts
ei cara me ajuda na minha script? responde meu post pf to desisperado atraz dakele sistema pfff
-
Ajuda entender essa parte do script
script boa rep + :D
-
Sistema De Pontuação
Me explica a script entao como funciona tudo certin como é quem tem que fazer pra add onde coloca tudo essas coisas entao pra n ter erro pf valendo 5 rep+
-
Sistema De Pontuação
eu tentei colocar uma q n to usando 7009 no piso q vou passar mais não funciona a script é está de uma verificada para mim, obrigado pela atenção. local timeToAddPoints = 1 -- tempo em segundos para adicionar um ponto. local storage = 87954 addPoints = {} local function doAddPoints (cid, storage) if not isPlayer(cid) then addPoints[cid] = nil return true end setPlayerStorageValue (cid, storage, getPlayerStorageValue (cid, storage) + 1) doSendAnimatedText (getThingPosition (cid), getCreatureName(cid).." ["..getPlayerStorageValue (cid, storage).."]", math.random (1,255)) addPoints[cid] = addEvent(doAddPoints, timeToAddPoints * 1000, cid, storage) return true end function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) then addPoints[cid] = addEvent(doAddPoints, timeToAddPoints * 1000, cid, storage) end return true end function onStepOut(cid) if isPlayer(cid) then stopEvent(addPoints[cid]) end return true end