• 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. MarkSmartRemark

    [Request] Special Food Spell

    @Obsdark Hey! i found a cheap way around all of this! I will make one spell, that creates item --.::.CONFIG.::.-- local item = 2677 --- Item ID number local cast_amount = 20 --- How many will spell create local max_item = 100 --- Maximum allowed in BP --.::.CONFIG.::.-- function...
  2. MarkSmartRemark

    [Request] Special Food Spell

    tried this too, it gives me no error but doesnt check for the 80.. just keeps casting
  3. MarkSmartRemark

    [Request] Special Food Spell

    gave me this error [20/02/2014 11:58:51] [Error - Spell Interface] [20/02/2014 11:58:51] data/spells/scripts/Mage/New/Conjure Refreshment.lua:onCastSpell [20/02/2014 11:58:51] Description: [20/02/2014 11:58:51] data/spells/scripts/Mage/New/Conjure Refreshment.lua:4: attempt to compare boolean...
  4. MarkSmartRemark

    [Request] Special Food Spell

    i tried with and without parenthesis and same error xDD i think for that to work like that it needs to be some type of function.. maybe like local function fot(cid) if getPlayerLevel(cid) <= 20 then fot = FOODS[1] elseif getPlayerLevel(cid) > 20 then fot = FOODS[2] end end then again im not...
  5. MarkSmartRemark

    [Request] Special Food Spell

    @Obsdark same error on the same line by "if" EDIT: I just tested the second part and it gives me the same errors as the first.. even when i change it up a little too. I think this script got me the closest local FOODS = {2677, 6543} -- Here put the ID of the food item/s-- function...
  6. MarkSmartRemark

    [Request] Special Food Spell

    gives me this error [20/02/2014 11:17:37] [Error - LuaScriptInterface::loadFile] data/spells/scripts/Mage/New/Conjure Refreshment.lua:3: unexpected symbol near 'if' [20/02/2014 11:17:37] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/Mage/New/Conjure Refreshment.lua)...
  7. MarkSmartRemark

    [Request] Special Food Spell

    ok so heres what the spell is at now, its getting very close. i changed the script to local FOODS = {2677, 6543} -- Here put the ID of the food item/s-- function onCastSpell(cid, var) local get = getPlayerPosition(cid) if getPlayerItemCount(cid, FOODS[1]) <= 80 then if...
  8. MarkSmartRemark

    [Request] Special Food Spell

    Ok, so when i tried this, all the parts where it says uid gave me error, so i changed to cid and it worked.. [20/02/2014 10:29:29] [Error - Spell Interface] [20/02/2014 10:29:29] data/spells/scripts/Mage/New/Conjure Refreshment.lua:onCastSpell [20/02/2014 10:29:29] Description: [20/02/2014...
  9. MarkSmartRemark

    [Request] Special Food Spell

    I posted as is, and got these errors.. i went fixing the first "(" errors but then it gave me that last one.. i also tried using the local "get" and put into the function but still the same error.. [20/02/2014 10:06:16] [Error - LuaScriptInterface::loadFile] data/spells/scripts/Mage/New/Conjure...
  10. MarkSmartRemark

    [Request] Special Food Spell

    yea i did, many times.. not really sure whats wrong
  11. MarkSmartRemark

    [Request] Special Food Spell

    Heyy it gave me this error now : / the first time i did it with parenthesis it gave me the same error and then i took off the [] and it gave me this.. [19/02/2014 23:26:25] [Error - Spell Interface] [19/02/2014 23:26:25] data/spells/scripts/Mage/New/Conjure Refreshment.lua:onCastSpell...
  12. MarkSmartRemark

    [Request] Special Food Spell

    heyy thanks for trying bro, it gave me this error first time i used without changing anything [19/02/2014 20:57:22] [Error - LuaScriptInterface::loadFile] data/spells/scripts/Mage/New/Conjure Refreshment.lua:5: ')' expected near 'canDropOnMap' [19/02/2014 20:57:22] [Warning - Event::loadScript]...
  13. MarkSmartRemark

    Spell (Wow) Evocation -- Spell that gives mana% every X seconds for Y long!

    sorry man ive tried almost everything, it hasnt worked for me.. i tried changing config many times and script many times.. it isnt working for me and doesnt show errors.. :/ for all of them it does the same thing, it sends first mana% and doesnt tick after wards
  14. MarkSmartRemark

    [Help] Ice spell issue

    @andu this is the error i got, i put it exactly how you put and i tried changing too and still gave me the same error [19/02/2014 19:17:25] Reloaded spells. [19/02/2014 19:17:30] [Error - Spell Interface] [19/02/2014 19:17:30] In a timer event called from: [19/02/2014 19:17:30]...
  15. MarkSmartRemark

    Spell (Wow) Evocation -- Spell that gives mana% every X seconds for Y long!

    @tetra20 worked! i miss the simplest things sometimes haha thank you.. will fix.
  16. MarkSmartRemark

    Spell (Wow) Evocation -- Spell that gives mana% every X seconds for Y long!

    Thanks @andu I just tested it out, im using 0.3.6 -8.6 client It does the initial tick, but after wards it doesnt do the ticks.. it shows the green message (which is awesome) but doesnt do ticks afterwards or remove the "regen" buff symbol when i move so im assuming it didnt cancel on move
  17. MarkSmartRemark

    [Help] Ice spell issue

    Hey is there a way to add a doSendAnimatedText on target?? For example it does blue shining effect and says "Frozen!" like in tps?
  18. MarkSmartRemark

    CreatureEvent Party Loot Share

    Will check right now @tetra20 Works perfectly. Sorry it took me a while was testing some other stuff out. It works perfectly though! Good job + EDIT: just poiting out if there is a "always" drop like Dragon Claw from demodras for example, it will put the item in a random party members BP so...
  19. MarkSmartRemark

    [Help] Ice spell issue

    Just tested and this works amazing!!!!!!! holy shitt youre good man. Thanks alot, it works perfectly.. EDIT: If you dont mind i will repost new spell with all credits to you.. would like to see spells like this in OT heh.. Good job man @andu Im sorry about bothering you again, but would this...
  20. MarkSmartRemark

    [Request] Special Food Spell

    Hi, Im looking for a code that does the following: Player casts spell and adds 20 of an item into his backpack. (spell) Example If he has 89 of these in backpack the spell will only add 11 to his backpack.(part of spell) If he already has 100 in backpack, spell will not work. EDIT: Spell...
Back
Top