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

    [Request] I need this Script Please ??

    Yeah, but that does not mean that the global storage is not set, just because you can't view it in your SQL-browser. You don't have to bother if it's in the servers cache or not.
  2. trollebror

    [Request] I need this Script Please ??

    0.3 global storages does not work correctly? Well then it's hard, I can tell.
  3. trollebror

    [Request] I need this Script Please ??

    So you are saving the global storage? I don't understand.
  4. trollebror

    [Request] I need this Script Please ??

    This is how I would do it if you're not saving global storage (don't know why you wouldn't though :D): local config = { jarItemId = 13500, brokenJarItemId = 13495, storage = 21100, numberOfJars = 3, breakJarMsg = "You have broken a jar!", summonMsg = "The tomb of Trollmeister has...
  5. trollebror

    items gives skill (or magic lvl) forever

    I'm droping my try with the 0.2.~ distro. It works for lower number skills, like 10-50~. After the 50~ skill the number of tries you need to advance to the next level become so big that it's converted to a 5e+49 number format. If anyone could come up with a smart solution for this I would...
  6. trollebror

    items gives skill (or magic lvl) forever

    I'm just curious, the lua function doPlayerAddSkill() does not exist on 0.2.~ correct?
  7. trollebror

    Script health

    If this does not work I don't know what's wrong with the script. If I were you I would make prints to progressively see where the script is failing. local function giveHPAndMP(cid, hp, mp) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + hp) -- give max health...
  8. trollebror

    Script health

    Are you sure you're using the correct vocation ids from your vocations.xml?
  9. trollebror

    Script health

    I think that maybe the character that you're trying the script with (pulling the lever) is neither a Guard, Necromancer, Archer or Priest. If it is not (could be non-voc/promoted archer then it won't do nothing).
  10. trollebror

    Random pick rewards

    Here you go: local REWARDS = { {2157, 5}, {6119, 1} } function loseOnZombieArena(cid) kickPlayerFromZombiesArea(cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "BOOM! You are dead.") local players = getZombiesEventPlayers() if(#players <= 1) then local...
  11. trollebror

    Script health

    It's better to add the new if-condition inside one if instead of having two if-statements, like this: local function giveHPAndMP(cid, hp, mp) setCreatureMaxHealth(cid, hp) -- give max health setCreatureMaxMana(cid, mp) -- give max mana doPlayerRemoveMoney(cid, 1000)...
  12. trollebror

    Script health

    If you are using distro 0.2.15~ you will not be able to use this script since it uses the two functions marked with red. local function giveHPAndMP(cid, hp, mp) setCreatureMaxHealth(cid, hp) -- give max health doCreatureAddHealth(cid, hp) setCreatureMaxMana(cid, mp) -- give max mana...
  13. trollebror

    Action Request

    Ops, corrected. :)
  14. trollebror

    How popular are you?

    4/10
  15. trollebror

    [Request] I need this Script Please ??

    If you explain what the script should do we who does not know what the Ornate Canopic Jar would have a chance to help you.
  16. trollebror

    Action Request

    Here you go Azzkaban: local TILE_POS = {x = 73, y = 590, z = 7} local RELOCATE_POS = {x = 73, y = 589, z = 7} local ITEM1= 407 local ITEM2 = 3219 local function swapTile() local blockingItem = getTileItemById(TILE_POS, ITEM1) if blockingItem and blockingItem.itemid == ITEM1 then...
  17. trollebror

    [Almost Solved] Need this script edited. Kill monster finish quest

    This should do what you want: elseif getCreatureStorage(cid, k.storage) >= k.kills and ((getCreatureStorage(cid, k.storage) - k.kills))%5 == 0 then
  18. trollebror

    Movements.xml error

    I'm pretty sure that the file is still missing some ending tag. Still same error.
  19. trollebror

    Movements.xml error

    You where missing a lot of ending tags to close each line, like this: This is good: <movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem"/> This is not closed (bad): <movevent type="Equip" itemid="8904" slot="shield" event="function" value="onEquipItem">...
  20. trollebror

    [ACTION] Key+Door+Delay

    I choose to implement this feature into the actions/other/doors.lua file where all the logic for keys is placed. This is my whole actions/other/doors.lua file. The green code is the added code. local AUTO_CLOSE_DOOR_ACTION_IDS = {6000, 6001} -- add the actionID of the key/door that you would...
Back
Top