-
Total de itens
103 -
Registro em
-
Última visita
Posts postados por Emooooo
-
-
13 minutos atrás, gabriel28 disse:
function onEquip(cid, item, slot) doTransformItem(item.uid, 7697, 1) doPlayerSendTextMessage(cid, 22, 'Sua rate de skill foi aumentada em 50%!') doPlayerSetSkillRate(cid, 0, getConfigValue("rateExperience")*1.5) -- 0 = fist fight, olhe em constant.lua pra ver o numero das outras skills e ir adicionando return true end function onDeEquip(cid, item, slot) doTransformItem(item.uid, 7708, 1) doPlayerSendTextMessage(cid, 22, 'Sua rate extra de skill foi cancelada.') doPlayerSetSkillRate(cid, 0, getConfigValue("rateExperience")) return true end
ok vo testa
vlw cara pego thx!
-
1 minuto atrás, VictorWEBMaster disse:
Pior que eu nao manjo, teria que ver source e perde um tempo... Queria ajudar, vamos ver alguém que saiba...
ok obrigdao
-
9 minutos atrás, VictorWEBMaster disse:
function onEquip(cid, item, slot) doTransformItem(item.uid, 7697, 1) doPlayerSendTextMessage(cid, 22, 'Agora ganha 2x mais experiencia!') doPlayerSetExperienceRate(cid, getConfigValue("rateExperience")*1.5) doPlayerSetExperienceRate(cid, getConfigValue("rateSkill")*1.5) 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
Já tentou dessa forma?
ta crashando o ot ! quando usa ele
-
TERIA COMO COLOCAR PARA SUBIR SKILL MAS RÁPIDO , NESSE RING.
PODERIA SER QUALQUER SKILL , CONTANDO QUE O PLAYER ESTIVESSE USANDO ELE.
TODAS AS SKILL , SWORD - AXE - MAGIC
function onEquip(cid, item, slot) doTransformItem(item.uid, 7697, 1) doPlayerSendTextMessage(cid, 22, 'Agora ganha 2x mais experiencia!') doPlayerSetExperienceRate(cid, getConfigValue("rateExperience")*1.5) 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
+REP
-
1 hora atrás, Brunds disse:
Bom não sou muito experiente mas eu vou dizer o que eu faria pegaria o sistema de top level com effect e procuraria a função do guild wars que seta o escudinho e colocaria no script do top level e removeria o effect do script assim ganharia o escudinho no lugar do effect
local config = {
tempo = 5, --
mensagem = {
texto = "[TOP]", --n
efeito = TEXTCOLOR_LIGHTBLUE -- doSendAnimatedText
},
efeito = 30, --doSendMagicEffect
globalstr = 150202 --
}
function TopEffect(cid)
local var = tostring(getGlobalStorageValue(config.globalstr)):gsub(':', ''):explode(',')
if not isCreature(cid) or getPlayerName(cid) ~= var[1] then return LUA_ERROR end
doSendAnimatedText(getCreaturePosition(cid), config.mensagem.texto, config.mensagem.efeito)
doSendMagicEffect(getCreaturePosition(cid), config.efeito)
addEvent(TopEffect, config.tempo*1000, cid)
end
function onLogin(cid)
if tonumber(getGlobalStorageValue(config.globalstr)) then -- virgin
local query = db.getResult("SELECT `name`, `level` FROM `players` WHERE `group_id` < 2 ORDER BY `level` DESC LIMIT 1")
if (query:getID() ~= -1) then
local name = query:getDataString("name")
setGlobalStorageValue(config.globalstr, ":"..name..",:"..query:getDataInt("level"))
if getPlayerName(cid) == name then
doCreatureSetGuildEmblem(cid, 1)
end
TopEffect(cid)
end
else
TopEffect(cid)
end
registerCreatureEvent(cid, "CheckTop")
return true
end
function onAdvance(cid, skill, oldLevel, newLevel)
if skill ~= SKILL__LEVEL then return true end
local var = tostring(getGlobalStorageValue(config.globalstr)):gsub(':', ''):explode(',')
if newLevel > tonumber(var[2]) then
doBroadcastMessage("O jogador " .. getPlayerName(cid) .. " tornou-se o novo Top Level. Parabens!", 22)
setGlobalStorageValue(config.globalstr, ":"..getPlayerName(cid)..",:"..newLevel)
doCreatureSetGuildEmblem(cid, 1)
TopEffect(cid)
end
return true
endaonde muda ae ?
-
-
alguém teria um piso que avisa que estão invadindo o castelo.
o que eu tenho aqui só avisa uma vez. depois não avisa mas.
tfs 0.3.6
+rep
-
pode fecha o topico ajeitei aqui. obrg
-
1 hora atrás, Yan Liima disse:
TFS 0.3.5? E ela tem o war system nas source? não adianta ter o script.lua sem a função nas source
sim ta com a função nas source!
-
quando eu o comando da war , dentro do chat da guild aparece isso.
You cannot execute this talkaction.
ajuda +rep
-
5 horas atrás, Taiger disse:
Area errada amigo.
move para a area correta , obr
-
-
hhhhhh
-
-
-
sim ele fica com 100 cargas . e vai gastando cada vez que morre , só que queria com 5 cargas só !
-
nao funcionou , testei esse aqui mas ele fica com 100 cargas
-
ja ta add no moveevents e mesmo assim , não ta sumindo !
-
amuleto que funciona como aol , mas contem 5 cargas .
mas ele não esta sumindo depois que morri 5 vezes.
ajuda ae pra ele sumir depois que morri 5 vezes.
tfs 0.3.6
+rep
<item id="11387" article="a" name="Lucky Clover Amulet">
<attribute key="description" value="this amulet works as amulet of loss and in case of death you lose only 5% of xp." />
<attribute key="weight" value="830" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="5" />
<attribute key="showattributes" value="1" />
<attribute key="showcharges" value="1" />------------------------------------------------------------------------------
script
function onDeath(cid, corpse, deathList)
local ID_ITEM = 11387
if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == ID_ITEM) then
doPlayerRemoveItem(cid, ID_ITEM, 1)
doCreatureSetDropLoot(cid, false)
doPlayerSetLossPercent(cid, experience, 5)end
return true
end
-
colocar exausted ou uma storage pra poder ser usa de 10 min em 10 min tfs 0.3.6
-- [( Script created by Doidin for XTibia.com )] --
function onUse(cid, item, fromPosition, item2, toPosition)local monstername1 = "Dragon Lord" -- Nome dos monstros que serão sumonados após o player clicar no item!
local monstername2 = "Dragon" -- Nome dos monstros que serão sumonados após o player clicar no item!
local monster1 = {x=930,y=907,z=7} -- Coordenas de a onde o monstro irá aparecer! (Dragon Lord)
local monster2 = {x=925,y=910,z=7} -- Coordenas de a onde o monstro irá aparecer! (Dragon Lord)
local monster3 = {x=929,y=906,z=7} -- Coordenas de a onde o monstro irá aparecer! (Dragon Lord)
local monster4 = {x=928,y=912,z=7} -- Coordenas de a onde o monstro irá aparecer! (Dragon)
local monster5 = {x=932,y=906,z=7} -- Coordenas de a onde o monstro irá aparecer! (Dragon)function Quest()
doPlayerSendTextMessage(cid,22,"You have found the secret item!")
doPlayerAddItem(cid,itemid,1)
endfunction Summon()
doSummonCreature(monstername1,monster1)
doSummonCreature(monstername1,monster2)
doSummonCreature(monstername1,monster3)
doSummonCreature(monstername2,monster4)
doSummonCreature(monstername2,monster5)
doSendMagicEffect(monster1,36)
doSendMagicEffect(monster2,36)
doSendMagicEffect(monster3,36)
doSendMagicEffect(monster4,36)
doSendMagicEffect(monster5,36)
enddoCreatureSay(cid,"You went in the wrong place, beware!",TALKTYPE_ORANGE_1)
addEvent(Summon,100)
addEvent(Summon,15000)
addEvent(Summon,30000)
addEvent(Summon,45000)
addEvent(Summon,60000)
addEvent(Summon,75000)
addEvent(Quest,6000)
end -
ok vo testar
-
aonde modifica para , que possa fazer a anihi , com 2 , 3 ou 4 players ? +reppp
local room = { -- room with demons
fromX = 1069,
fromY = 807,
fromZ = 8,toX = 1075,
toY = 813,
toZ = 8
}local monster_pos = {
[1] = {pos = {1074, 810, 8}, monster = "Demon"},
[2] = {pos = {1075, 810, 8}, monster = "Demon"},
[3] = {pos = {1072, 808, 8}, monster = "Demon"},
[4] = {pos = {1070, 808, 8}, monster = "Demon"},
[5] = {pos = {1073, 812, 8}, monster = "Demon"},
[6] = {pos = {1071, 812, 8}, monster = "Demon"}
}local players_pos = {
{x = 1099, y =842, z = 7, stackpos = 253},
{x = 1098, y =842, z = 7, stackpos = 253},
{x = 1097, y =842, z = 7, stackpos = 253},
{x = 1096, y =842, z = 7, stackpos = 253}
}local new_player_pos = {
{x = 1073, y = 810, z = 8},
{x = 1072, y = 810, z = 8},
{x = 1071, y = 810, z = 8},
{x = 1070, y = 810, z = 8}
}local playersOnly = "no"
local questLevel = 8function onUse(cid, item, fromPosition, itemEx, toPosition)
local all_ready, monsters, player, level = 0, 0, {}, 0
if item.itemid == 1945 then
for i = 1, #players_pos do
table.insert(player, 0)
end
for i = 1, #players_pos do
player = getThingfromPos(players_pos)
if player.itemid > 0 then
if string.lower(playersOnly) == "yes" then
if isPlayer(player.uid) == TRUE then
all_ready = all_ready+1
else
monsters = monsters+1
end
else
all_ready = all_ready+1
end
end
end
if all_ready == #players_pos then
for i = 1, #players_pos do
player = getThingfromPos(players_pos)
if isPlayer(player.uid) == TRUE then
if getPlayerLevel(player.uid) >= questLevel then
level = level+1
end
else
level = level+1
end
end
if level == #players_pos then
if string.lower(playersOnly) == "yes" and monsters == 0 or string.lower(playersOnly) == "no" then
for _, area in pairs(monster_pos) do
doSummonCreature(area.monster,{x=area.pos[1],y=area.pos[2],z=area.pos[3]})
end
for i = 1, #players_pos do
doSendMagicEffect(players_pos, CONST_ME_POFF)
doTeleportThing(player.uid, new_player_pos, FALSE)
doSendMagicEffect(new_player_pos, CONST_ME_ENERGYAREA)
doTransformItem(item.uid,1946)
end
else
doPlayerSendTextMessage(cid,19,"Only players can do this quest.")
end
else
doPlayerSendTextMessage(cid,19,"All Players have to be level "..questLevel.." to do this quest.")
end
else
doPlayerSendTextMessage(cid,19,"You need "..table.getn(players_pos).." players to do this quest.")
end
elseif item.itemid == 1946 then
local player_room = 0
for x = room.fromX, room.toX do
for y = room.fromY, room.toY do
for z = room.fromZ, room.toZ do
local pos = {x=x, y=y, z=z,stackpos = 253}
local thing = getThingfromPos(pos)
if thing.itemid > 0 then
if isPlayer(thing.uid) == TRUE then
player_room = player_room+1
end
end
end
end
end
if player_room >= 1 then
doPlayerSendTextMessage(cid,19,"There is already a team in the quest room.")
elseif player_room == 0 then
for x = room.fromX, room.toX do
for y = room.fromY, room.toY do
for z = room.fromZ, room.toZ do
local pos = {x=x, y=y, z=z,stackpos = 253}
local thing = getThingfromPos(pos)
if thing.itemid > 0 then
doRemoveCreature(thing.uid)
end
end
end
end
doTransformItem(item.uid,1945)
end
end
return TRUE
end -
PISO QUE QUANDO O PLAYER PASSA FICA SPAWNANDO MONSTRO POR UM TEMPO DETERMINADO , DEPOIS FAZ OS MONSTROS SUMIREM E APARECE TELEPORTE.
E NÃO DEIXAR DA ERRO QUANDO OS MONSTROS PASSAREM POR CIMA DO PISO.
+REP
TFS 0 3 6
-
ja arrumei ! obrigado
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
Fallembra Rox OT
em Websites
Postado
IP - fallembrarox.servegame.com
xp : 999
fast attack
24 horas online
8.6
SEM RESET
FREE DONATE
rox mapa
novos monstros
varias quest e eventos
raids
bosses
loot atualizado
balanceado
castelo 24