Jump to content

Fabi Marzan

Member
  • Content Count

    125
  • Joined

  • Last visited

  • Days Won

    3

Fabi Marzan last won the day on June 14

Fabi Marzan had the most liked content!

4 Followers

About Fabi Marzan

  • Rank
    Advanced

Profile Information

  • Localization
    Texas, USA
  • I am
    Tibiano
  • My character
    SoyFabi
  • Favorite OTServ
    Nto Premier
  • Bot preferred
    ElfBot 8.60
  • Interests
    Discord: https://discord.com/invite/rMwWvR4SVJ

Recent Profile Visitors

866 profile views
  1. function onUse(cid, item, fromPosition, target, toPosition, isHotkey) if getPlayerSkill(cid, SKILL_SWORD) and getPlayerSkill(cid, SKILL_AXE) and getPlayerSkill(cid, SKILL_CLUB) >= 15 then doTeleportThing(cid, toPosition, true) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE,"Acesso alcancado.") else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE,"Voce precisa de habilidade para passar.") end return true end Estes seriam os scripts, em qualquer caso, tendo maior ou igual a 15 você pode passar. (SO SWORD, AXE, CLUB), se quiser continuar colocando, é só colocar
  2. Desculpe, eu havia deletado algumas linhas pensando que elas funcionam da mesma maneira. Edite os scripts de uma maneira melhor. -----DISCORD:SoyFabi#5938 local combat_one = createCombatObject() setCombatParam(combat_one, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat_one, COMBAT_PARAM_DISTANCEEFFECT, 5) --/ Spell With Missile. setCombatParam(combat_one, COMBAT_PARAM_HITCOLOR, 210) --/ 180(red), 70(blue), 156(brown), 215(white), 145(red 2), 95(lightblue) setCombatFormula(combat_one, COMBAT_FORMULA_LEVELMAGIC, -1.0, -5500, -1.0, -6500) -----------------------&g
  3. O que você quer dizer com míssil? Isso? setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 5) -- Missile
  4. Tenta em vez de "doSendAnimatedText" troca por = doCreatureSay(_cid, expgain - expParty, TALKTYPE_ORANGE_1)
  5. Essa tabela "guild_wars" está faltando no SQL. Em SqlStudio, CREATE TABLE guild_wars ( id INTEGER NOT NULL, guild_id INT NOT NULL, enemy_id INT NOT NULL, [begin] BIGINT NOT NULL DEFAULT '0', [end] BIGINT NOT NULL DEFAULT '0', frags INT NOT NULL DEFAULT '0', payment BIGINT NOT NULL DEFAULT '0', guild_kills INT
  6. -----DISCORD:SoyFabi#5938 local combat = createCombatObject() local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, 215) --180(red), 70(blue), 156(brown), 215(white), 145(red 2), 95(lightblue) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.0, -1000, -1.0, -1000) ------------------- local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end ------------------- local function Effect(cid, target) local pos = getCreaturePosition(target) doSendMagic
  7. Vou improvisar: Em data/creaturescripts/scripts/login.lua Coloque isso em qualquer lugar. setPlayerStorageValue(cid, 10569, -1)
  8. local items = {itemid = 2160, count = 50, chance = 100} local town_id = 12 local chest = doCreateItemEx(2595) function onDeath(cid, corpse, deathList) local killers = deathList for _, pid in pairs(killers) do if isPlayer(pid) then doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, "Parabens! Voce matou o "..getCreatureName(cid).."!") doPlayerSendMailByName(getPlayerName(uid), doCreateItemEx(chest, items.itemid, items.count), getPlayerTown(town_id)) doAddContainerItem(chest, items.itemid, items.count) end end return true end
  9. Config.lua = maxPacketsPerSecond troca pra 300.
  10. A única coisa era remover o "else", e um pouco desnecessário, já que matá-lo não vai conseguir mais nada. local items = {itemid = 2160, count = 50, chance = 100} local town_id = 12 local chest = doCreateItemEx(2595) local killers = deathList function onDeath(cid, corpse, deathList) for _, pid in pairs(killers) do if isPlayer(pid) then doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, "Parabens! Voce matou o "..getCreatureName(cid).."!") doPlayerSendMailByName(getPlayerName(uid), doCreateItemEx(chest, items.itemid, items.count), getPlayerTown(town_id))
×
×
  • Create New...

Important Information

Confirmação de Termo