• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. ziggy46802

    set storagevalue upon rune use

    How would I go about setting a storage value like doPlayerSetStorageValue(cid, 16000, +1) upon the use of a single charge of a rune? Like shooting one shot of a light magic missile would increase the storage value by 1.
  2. ziggy46802

    Lua return spell damage

    How do I get a return on how much a rune's damage did? As in the light magic missile script local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat...
  3. ziggy46802

    Spell Mug Rune

    Edit items.xml, the item ID being 2297 for this: <item id="2297" article="a" name="mug rune"> <attribute key="runeSpellName" value="adana furari" /> <attribute key="type" value="rune" /> <attribute key="weight" value="120" /> </item> Put this script in data/spells/scripts/custom spells...
  4. ziggy46802

    Storywriter Application for staff.

    sent you an add on skype
  5. ziggy46802

    Selling My Offer to players who want fully working server!

    I can attest to say that Polat knows what he is doing and will not scam you, if you really want his services, they are definitely worth it in my opinion.
  6. ziggy46802

    Solved how to make amulet stay forever?

    How do you make an item, say an amulet, stay on you when you die?
  7. ziggy46802

    Solved Add two fuction on haste spells?

    function onCastSpell(cid, var) if isPlayer(cid) == TRUE then if getPlayerStorageValue(cid, 11001) == 1 then doPlayerSendCancel(cid, "You cannot use spells while participating in events.") return false else if exhaustion.check(cid, 30030) then return FALSE...
  8. ziggy46802

    Level 1 from site?

    it should be in your config file in all the files from your ACC, should be set in there what the starting level is, whether players choose their vocations, all that.
  9. ziggy46802

    Solved Attributes items.xml

    heres one you might be looking for <attribute key="slotType" value="necklace" /> <attribute key="armor" value="5" /> <attribute key="defense" value="8" /> <attribute key="attack" value="16" /> <attribute key="weaponType" value="sword" /> <attribute key="absorbPercentManaDrain" value="5" />...
  10. ziggy46802

    Solved Add two fuction on haste spells?

    try this under oncastspell function onCastSpell(cid, var) if isPlayer(cid) == TRUE then if exhaustion.check(cid, 30030) then return FALSE if getPlayerStorageValue(cid, 11001) == 1 then doPlayerSendCancel(cid, "You can not use spells while participating in...
  11. ziggy46802

    Lua custom amulet wont work

    Okay, I have it set right in movements.xml and in items.xml because it used to work but was bugged, and ever since I fixed it I can't get it to work again. Here is the script function onEquip(cid, item, slot) if (getPlayerVocation(cid) == 8 or 4) then local sword =...
  12. ziggy46802

    NPC Ultimate Shield Dealer

    basically these 2 lines: function onPlayerEndTrade(cid) npcHandler:onPlayerEndTrade(cid) end function onPlayerCloseChannel(cid) npcHandler:onPlayerCloseChannel(cid) end and taking out the "1's" for quantity amount after each item EDIT- Just updated him, fixed a bug with ornate shield...
  13. ziggy46802

    Lua custom amulet does nothing

    ohhh ok sorry guys its been awhile for me since I've done this type of editing in ot's, thanks for your help :)
  14. ziggy46802

    Lua custom amulet does nothing

    I put the script in the actions folder and did edit the actions file as well. Heres the script function onEquip(cid, item, slot) if isPlayer(cid) then local sword = getPlayerSkillLevel(cid, 2) local axe = getPlayerSkillLevel(cid, 3) local club = getPlayerSkillLevel(cid, 1)...
  15. ziggy46802

    cant make a grass doodad created?

    local grass = {4528, 4529, 4530, 4531, 4532, 4533, 4534, 4535, 4536, 4537, 4538, 4539, 4540, 4541} function firstplant(cid, item) doItemSetAttribute(doCreateItem(6219, cid)), "aid", 15000) return true end function onUse(cid, item, fromPosition, itemEx, toPosition) if...
  16. ziggy46802

    cant find syntax error in npc script

    I'll post it later when the hoster is online
  17. ziggy46802

    cant find syntax error in npc script

    I don't know I'm not the hoster and don't have control over the counsel.
  18. ziggy46802

    cant find syntax error in npc script

    this script does not work local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  19. ziggy46802

    NPC Ultimate Shield Dealer

    Added in your script televolt, so people can use it instead of mine, which currently does not work on the newest TFS, until I update him. Even then after that people will have a choice for an xml based shopkeeper and a lua one so it's good for business. Thanks for your help with this one, and...
  20. ziggy46802

    Solved math.rand not working with onKill

    local chance = math.rand(2,5) if getCreatureName(target) == "Chicken" and getPlayerStorageValue(cid, 15001) ~= 2 then setPlayerStorageValue(cid, 15001, chance) doCreatureSay(cid, "You have added the creature 'Chicken' to your bestiary.", TALKTYPE_ORANGE_1) return true end...
Back
Top