
Tudo que mullino postou
-
(Resolvido)Ajuda Dodge Ne Items
no caso ficaria asim? doItemSetAttribute(itemEx.uid,'name', getItemNameById(itemEx.itemid)..' +'..(Dodge+1)) ?
-
Erro actions
Bom dia Galerinha do tk estou com um erro aparecendo na distrito. pode ajudar?? [Error - Action Interface] data/actions/scripts/tools/rope.lua:onUse Description: (luaGetThingFromPosition) Tile not found [Error - Action Interface] data/actions/scripts/tools/rope.lua:onUse Description: data/lib/050-function.lua:37: bad argument #1 to 'ipairs' (table expected, got number) stack traceback: [C]: in function 'ipairs' data/lib/050-function.lua:37: in function 'isInArray' data/actions/scripts/tools/rope.lua:13: in function <data/actions/scripts/tools/rope.lua:2> local holeId = {294, 369, 370, 383, 392, 408, 409, 427, 428, 430, 462, 469, 470, 482, 484, 485, 489, 924, 3135, 3136} function onUse(cid, item, fromPosition, itemEx, toPosition) local groundTile = getThingfromPos(toPosition) if groundTile.itemid == 384 or groundTile.itemid == 418 or groundTile.itemid == 8278 then doTeleportThing(cid, {x = toPosition.x, y = toPosition.y + 1, z = toPosition.z - 1}, FALSE) elseif isInArray(holeId, itemEx.itemid) == TRUE then local hole = getThingfromPos({x = toPosition.x, y = toPosition.y, z = toPosition.z + 1, stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE}) if hole.itemid > 0 then doTeleportThing(hole.uid, {x = toPosition.x, y = toPosition.y + 1, z = toPosition.z}, FALSE) else doPlayerSendCancel(cid, "Sorry, not possible.") end elseif isInArray(5967, itemEx.itemid) == TRUE then doSetGameState(GAMESTATE_SHUTDOWN) else return FALSE end return TRUE end
-
Error MoveEvent executeEquip Call stack overflow
vc pode me ajudar os 3 utlimos que coloquei foi esses function onEquip(cid, item, slot) doTransformItem(item.uid, 10502, 1) doPlayerSendTextMessage(cid, 22, 'Agora ganha 3x mais experiencia!') doPlayerSetExperienceRate(cid, getConfigValue("rateExperience")*0.3) return TRUE end function onDeEquip(cid, item, slot) doTransformItem(item.uid, 7708, 1) doPlayerSendTextMessage(cid, 22, 'Experiencia extra cancelada.') doPlayerSetExperienceRate(cid, 1) return TRUE end --------------------------------------------------------------------------------------------------------------------------- function onEquip(cid, item, slot) setPlayerStorageValue(cid, 23000,1) return TRUE end function onDeEquip(cid, item, slot) setPlayerStorageValue(cid, 23000,- 1) return TRUE end ------------------------------------------------------------------------------------------------------------------------------- function onEquip(cid, item, slot) setPlayerStorageValue(cid, 24000,1) return TRUE end function onDeEquip(cid, item, slot) setPlayerStorageValue(cid, 24000,- 1) return TRUE end -------------------------------------------------------------------------------------------------------------------------------- e esse function Paralizy(cid) if not isCreature(cid) then return LUA_ERROR end local HelmetID = 12692 --- ID DO ITEM if getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == HelmetID then doRemoveCondition(cid, CONDITION_PARALYZE) addEvent(Paralizy, 1*100, cid) end return true end function onEquip(cid, item, slot) doRemoveCondition(cid, CONDITION_PARALYZE) addEvent(Paralizy, 1*100, cid) return true end
-
[Resolvido} Critical system para armas com script
oi amigo conseguio o script?? pode passar?
-
Dodge System (Por Item)
Tem como fazer um desse mas com critical so pra armas???
-
Error MoveEvent executeEquip Call stack overflow
alguem ajuda ? Igmats has logged out. [Error - MoveEvent::executeEquip] Call stack overflow. [Error - MoveEvent::executeEquip] Call stack overflow. [Error - MoveEvent::executeEquip] Call stack overflow. [Error - MoveEvent::executeEquip] Call stack overflow.
-
[Pedido] Correção Scripts
Abre o arquivo da ctrl + f e pesquisa ? E retira do codico Vai ter uma sinais de ? Interrogação ? Só vc apagar eles
-
Experience Weapon System
o meu nao funcionou nao deu erro nenhum mas tbm a arma nao mostra ganhando experiencia e nao mudou nada nela alguem pode ajudar uso otx tfs 004
-
Script Reflect
So add a TAG reflect no items xml
-
(Resolvido)Script Anti-roubo para tfs 0.4
Como instalar esse script
-
[AJUDA] Critical,Mana Drain,%Life,+Life,AttackSpeed,Lifesteal
Eu achei um q add Dodge ao item mas tá dando conflito com o upgrade system +1 +2 +3
-
[AJUDA] Critical,Mana Drain,%Life,+Life,AttackSpeed,Lifesteal
Também estou atrás dissu aki no TK mas é complicado de alguém fazer para nós pois são muitas scripts
-
(Resolvido)comando apanas uma vez por player
boa noite galerinha do tk estou com uma talkaction tipo e uma talkaction que o player usa e ganha 1 dia de vip mas esta com um bug eu gostaria que o player so pudesse usar esse comando uma vez soh e nao conseguir usar mais function onSay(cid, words, param, channel) local storage,days = (getPlayerAccountId(cid)+753200),1 if getGlobalStorageValue(storage) > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce só pode usar esse comando 1 vez por account!") return true end setGlobalStorageValue(storage, 1) addCharacterAcess(cid, (days <= 0 and 1 or days)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você recebeu "..days.." dias de VIP, bom jogo!") addEvent(doRemoveCreature,1000,cid) return true end o players usa hoje mas quando acaba a vip dele ele consegue usar novamente tem como arrumar pra min para nao pode usar mais?? des de ja obrigado +rep
-
(Resolvido)Ajuda Dodge Ne Items
Bom dia galerinha do tk consegui achar um script de dodgem em items mas tem um problema ele ta dano comflito com o upgrade system que tenho quando uso a pedra dodg no item ele fica + 1 +2 +3 +4 e +5 queria tirar issu deixar com que ele so add as % de dodge no item pq tenho um sistema de upgrade que add no item +1 ate + 10 function isHandItem(uid) -- NW based on Mock uid = uid or 0 if isInArray({1,2,3,4,5,6}, getItemWeaponType(uid)) then return true end return false end function getItemDodgePercent(itemuid) return getItemAttribute(itemuid, "dodgePercent") or 0 end function setItemDodgePercent(uid, percent) doItemSetAttribute(uid, "description", "[Dodge: "..percent.."%]") doItemSetAttribute(uid, "dodgePercent", percent) end function onUse(cid, item, fromPosition, itemEx, toPosition) level = 0 local upgrade = { [1] = {min = 1, max = 5, chance = 100}, [2] = {min = 5, max = 10, chance = 80}, [3] = {min = 10, max = 20, chance = 60}, [4] = {min = 20, max = 40, chance = 40}, [5] = {min = 40, max = 50, chance = 20} } function isWearing(uid) -- NW based on Mock uid = uid or 0 if isInArray({uid}, getPlayerSlotItem(cid, 1).uid) or isInArray({uid}, getPlayerSlotItem(cid, 4).uid) or isInArray({uid}, getPlayerSlotItem(cid, 7).uid) or isInArray({uid}, getPlayerSlotItem(cid, 8).uid) then return true end return false end if isHandItem(itemEx.uid) or isWearing(itemEx.uid) then local name = getItemName(itemEx.uid) local atual = math.floor(getItemDodgePercent(itemEx.uid)*10)/10 for i = 1, #upgrade do if string.find(tostring(name),"+".. i .."") then level = i end end if level >= #upgrade then doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"Your item is already on max level, you can't upgrade it any further.") return true end if math.random(0,100) <= upgrade[level + 1].chance then doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"You leveled your "..getItemNameById(itemEx.itemid).." to ".. level+1 ..".") setItemDodgePercent(itemEx.uid, atual + (math.random(upgrade[level+1].min,upgrade[level+1].max))/10) doItemSetAttribute(itemEx.uid,'name', getItemNameById(itemEx.itemid)..' +'..(level+1)) doSendMagicEffect(toPosition, math.random(28,30)) else setItemDodgePercent(itemEx.uid, 0) doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"Your "..getItemNameById(item.itemid).." has failed and destroyed the dodge of your "..getItemNameById(itemEx.itemid).." in the process") doSendMagicEffect(toPosition, 4) end else doPlayerSendTextMessage(cid, 24,"You cant refine this item.") end return true end
-
[Pedido] Premiaçao por tempo online
o meu deu esse erro [Error - CreatureScript Interface] In a timer event called from: data/creaturescripts/scripts/onreward.lua:onLogin Description: data/creaturescripts/scripts/onreward.lua:21: attempt to index local 'item' (a nil value) stack traceback: data/creaturescripts/scripts/onreward.lua:21: in function <data/creaturescripts/scripts/onreward.lua:16> -- made by static -- local items = { [1] = { itemid = 11192, count = 10, }, [2] = { itemid = 11192, count = 20 } } local events = {} local function addReward(cid, rewardId) if not isPlayer(cid) then return end local item = items[rewardId or #items] doPlayerAddItem(cid, item.itemid, item.count) events[cid] = addEvent(addReward, 60 * 60 * 1000, cid, rewardId + 1) end function onLogin(cid) events[cid] = addEvent(addReward, 60 * 60 * 1000, cid, 1) return true end function onLogout(cid) if events[cid] then stopEvent(events[cid]) events[cid] = nil end return true end
-
CreatureScript ERRO
Kkkkk
-
Ajuda Configurar Paypal
Boa noite galerinha do tk vcs pode me ajudar como configuro o paypal no meu gesior? nao aparece a opçao de compra por paypal no meu gesiro ja fiz uma conta no paypal mas nao sei colocar ele no gesior alguem pode me ajudar pliss
-
[Pedido] Premiaçao por tempo online
obrigado mano vou testar tem como colocar uma menssagem para oo player que recebeu o item falando paraben vc ficou 1 hora online e ganhou x item e depois parabens vc ficou 2 horas online e ganhao x item
-
[Pedido] Premiaçao por tempo online
vc conseguio esse script amigo pode passar?
-
Segmentation Fault (Urgente pfvr)
ajuda ae amigo o meu esta com o memso problema root@root:/home/otserv# gdb ot core GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ot...done. /home/otserv/core: No such file or directory. (gdb)
-
Players nukando meu ot
ou mano vc entrou la como testador de bugs nao achou nada nao ?? ta foda aki acho q nao e o bug do account mananger nao olha o erro que deu Mago Robert has logged in. > Broadcasted message: "[/all]: [Vayne]: alguem vai alguma quest ?". Naridrin has logged in. > Broadcasted message: "O jogador Vayne Matou O Terr�vel Gonka e Recebeu o Outfit Supremo! Parabens Guerreiro!". > Broadcasted message: "O jogador Vayne Matou O Terr�vel Gonka e Recebeu o Outfit Supremo! Parabens Guerreiro!". Account Manager has logged in. Account Manager has logged out. Matheus has logged in. Segmentation fault root@root:/home/otserv# ja nao sei mais onde mecher!!! olha o erro no gdb root@root:/home/otserv# gdb ot core GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ot...done. /home/otserv/core: No such file or directory. (gdb)
-
Item bate em area 3x3
otima ideia posso posso pegar quando fizerem?
-
(Resolvido)Ajuda Otx Trava no save
essa eu ja resolvi obrigado brother
-
Erro Script Ajuda
blz obrigado
-
Erro Script Ajuda
so onde ta a statua que tem que ser pz ou tbm nao prescisa?