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

    Lua attempt to compare number with nil

    i been trying to make a script that would make stop ppl from lvling once they reach a level X till they do a certain quest. did this below but i keep getting "attempt to compare number with nil" if(getPlayerStorageValue(cid, 9996) == -1 and newlevel >= 250) then doCreatureSay(cid...
  2. C

    Advance save error

    Using the following code : local config1= { savePlayersOnAdvance = true } function onAdvance(cid, skill, oldLevel, newLevel) if(config1.savePlayersOnAdvance) then doPlayerSave(cid, true) end doPlayerSendTextMessage(cid, skill) if newlevel == 500 then...
  3. C

    Movements problem

    im using crying damson 0.3.6. when i was using older version, the following code was working <movevent event="StepIn" itemid="1504" script="holyfield.lua"/> Now, for some reason that i can understand, it doesnt do anything anymore. My file exist but onStepIn do nothing. any idea?
  4. C

    Solved LUA problem

    I was using Crying Damson 0.3.5pl1 and upgraded to Crying Damson 0.3.6pl1 recently. While checking out if all my script were still working well, i found an error. function onUse(cid, item, frompos, item2, topos) doSetItemActionId(item.uid,102) end Before that i update, this script was...
  5. C

    Calculating loot chance

    Let's say we got that into a monster file. Monster A <item id="AAAA" chance="100000"/> <item id="BBBB" chance="50000"/> <item id="CCCC" chance="25000"> <item id="DDDD" chance="17500"> <item id="EEEE" chance="8750"> My question is, how can you calculate the chance...
  6. C

    lua script problem since update

    i updated to the beta version recently. b4 i was using a script that was summoning some monster around the person who "liberated" the monster. now i got 2 errors :blink:. 1-when i open the server i get "luaGetCreaturePosition(). Creature not found". 2-when the script is activated i get...
  7. C

    Unserialize attr_type o.o?

    When i run my server, i get that error on all items that got attribute. That mean charges left, time left and even key #. Here is 1 of the error that im getting everytime that some1 log. [06/09/2008 15:43:43] Failed to unserialize attr_type: 16 for item: 6132 [06/09/2008 15:43:43]...
Back
Top