Solutions
-
tetheuscunha's post in (Resolvido)[PEDIDO] SPRITES até o 12.30 was marked as the answerBoa madrugada, mano tenho esse cliente aqui 10.00 porém com as sprites do 12.20
https://gitlab.com/guilhermesidney/cliente10/
-
tetheuscunha's post in (Resolvido)quero colocar o efeito da wand pra sair sd e não consigo! ! was marked as the answerVá na pasta weapons/script e crie um arquivo chamado lunar staff.lua e coloque isso dentro
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -50, -1, -50, 5, 5, 4, 7) function onUseWeapon(cid, var) return doCombat(cid, combat, var) end
Agora abra o arquivo weapons.xml e adicione essa linha
<wand id="7424" level="1" mana="0" min="2" max="3" event="script" value="lunar staff.lua"> <vocation id="1"/> <vocation id="2"/> <vocation id="5"/> <vocation id="6"/> </wand> -
tetheuscunha's post in (Resolvido)Ao jogar o item no chão o item é teleportado was marked as the answer<movevent event="AddItem" pos="1776,1732,7" script="dicetrash.lua"/> <!-- 1776 1732 7 --> local item_exceptions = {2152, 2160, 5792, 5793, 5794, 5795, 5796, 5797, 9971} local positionTo = {x=32817, y=31600, z=9} -- Position para onde o item vai ser mandado function onAddItem(item, tile, pos) if not isInArray(item_exceptions, item.itemid) then doTeleportThing(item.uid, positionTo) end return true end
-
tetheuscunha's post in (Resolvido)Ajuda em Sistema de Points +REP was marked as the answer
-
tetheuscunha's post in (Resolvido)pisar e voltar se nao tiver item was marked as the answer
-
tetheuscunha's post in (Resolvido)Arma Editada was marked as the answerDo geniumOt, são dois scripts totalmente diferente um do outro. O que muda nele e uma action.
Vai ate na pasta weapon/scripts, e cria 2 arquivos .lua e cole cada um dentro.
Target:
Area
abre o arquivo weapons.xml e coloque essas linhas la dentro
(2x) <wand id="ID_ITEM" level="1" mana="0" min="2" max="3" event="script" value="ARQUIVO.lua"><vocation id="1"/></wand>
Agora vai em action e cria um arquivo .lua, e coloca isso dentro.
<action itemid="ID_ITEM1" script="ARQUIVO.lua" />
<action itemid="ID_ITEM2" script="ARQUIVO.lua" />
-
tetheuscunha's post in (Resolvido)Npc tipo oracle was marked as the answerOlá
The Oracle.xml
oracle.lua
Promotion.xml
promotion.lua
-
tetheuscunha's post in (Resolvido)Npc's was marked as the answerVocê pode usar o NPC Oracle.
use este vocations.xml
data/npc/scripts/oracle.lua
- Tem que mudar o DESTINATION (onde o player vai ser transportado assim que virar aquela vocation) (TOWN e a cidade em que ele nasce)
data/npc/The Oracle.xml
-
tetheuscunha's post in (Resolvido)Perde tudo quando morre was marked as the answerBlessing só e alterável nas sources, tem algumas linhas no config.lua que tu consegue mexer, são essas
blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 3
Ver se algumas delas lhe ajuda em algo.
-
tetheuscunha's post in [i] não funciona? was marked as the answerEm programação algo entre os COLCHETES é uma função, por isso aqui quando se coloca [,i,] sem as vírgulas ele ativa a função ITÁLICO, já presente na codificação do site.
-
tetheuscunha's post in (Resolvido)Bichos dando hit um no outro was marked as the answerE que ele ainda não foi aprovado.
Ate amanha ele e aprovado, fique olhando.
-
tetheuscunha's post in (Resolvido)Texto em Piso! was marked as the answerTenta Esse :
<globalevent name="text" interval="3500" script="text.lua"/>
-
tetheuscunha's post in Não consigo usar Spoiler was marked as the answerTente usar assim
[spoiler] CONTEÚDO AQUI [/spoiler] -
tetheuscunha's post in (Resolvido)Bug ao colocar Vip na frente do nick was marked as the answerTente Esse :
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 35400 then
queststatus = getPlayerStorageValue(cid,35400)
if queststatus == -1 or queststatus == 0 then
doCreatureSay(cid, "VOcê recebeu seu beneficio por ser vip!", TALKTYPE_ORANGE_1)
db.query("UPDATE `players` SET `name` = '[Premium] "..getCreatureName(cid).."' WHERE `id` = "..getPlayerGUID(cid)..";")
doPlayerSendTextMessage(cid,25,"Você será kickado em 5 segundos para mudança de nome.")
doPlayerAddAddons(cid, 1)
addEvent(doRemoveCreature, 5*1000, cid, true)
setPlayerStorageValue(cid, 35400, 1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE)
else
doPlayerSendTextMessage(cid,22,"você ja tem o [Premium] no nome.")
end
return true
end
end