• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. ahmed30

    I need help with last deaths

    insert it into database
  2. ahmed30

    I need help with last deaths

    delete from player_deaths where date > UNIX_TIMESTAMP()
  3. ahmed30

    (urgent) need this Script

    it doesn't worth it local function checkMonsters(from, to) local t = {} for x = from.x, to.x do for y = from.y, to.y do for z = from.z, to.z do local c = getTopCreature({x = x , y = y, z = z}).uid if isMonster(c) then table.insert(t, c) end end end...
  4. ahmed30

    [Need a fix] (internalGetPlayerInfo) Player not found when requesting player info #1

    local c = { from = {x = 100, y = 100, z = 7}, to = {x = 100, y = 100, z = 7}, boss_pos = {x = 100, y = 100, z = 7}, player_pos = {x = 100, y = 100, z = 7}, str = 9933, boss = "?" } local function checkPlayers(from, to) local list = {} for x = from.x, to.x do for y = from.y, to.y do...
  5. ahmed30

    [Need a fix] (internalGetPlayerInfo) Player not found when requesting player info #1

    local c = { from = {x = 100, y = 100, z = 7}, to = {x = 100, y = 100, z = 7}, boss_pos = {x = 100, y = 100, z = 7}, player_pos = {x = 100, y = 100, z = 7}, boss = "?" } local function checkPlayers(from, to) local list = {} for x = from.x, to.x do for y = from.y, to.y do for z =...
  6. ahmed30

    summons!

    function onTargetTile(cid, position) position.stackpos = 255 doConvinceCreature(cid, doCreateMonster("Tammed Bear", position, false)) doSendMagicEffect(position, CONST_ME_MAGIC_BLUE) return true end local arr = { {0, 0, 0}, {0, 3, 0}, {0, 0, 0}, } local area, combat = createCombatArea(arr)...
  7. ahmed30

    summons!

    function onTargetTile(cid, position) position.stackpos = 255 doConvinceCreature(cid, doCreateMonster("Tammed Bear", position, false)) doSendMagicEffect(position, CONST_ME_MAGIC_BLUE) return true end local arr = { {0, 0, 0}, {0, 3, 0}, {0, 0, 0}, } local area, combat = createCombatArea(arr)...
  8. ahmed30

    Use item - get premium points, use item - get random item from sms shop. Rep+

    local ids = {123,1234,12345} function onUse(cid, item, fromPosition, itemEx, toPosition) doPlayerAddItem(cid, ids[math.random(#ids)], 1) doCreatureSay(cid, "????????", TALKTYPE_ORANGE_1, cid) doRemoveItem(item.uid, 1) return true end
  9. ahmed30

    Remove Monters

    local config = {"Ghazbaran","Morgaroth","Zulazza the Corruptor","Ferumbras","Orshabaal","Brutus Bloodbeard","Deadeye Devious","Lethal Lissy","Ron the Ripper","The Horned Fox","Demodras","Necropharus","The Old Widow","Sir Valorcrest","Zevelong Duskbringer","Diblis The Fair","Arachir the Ancient...
  10. ahmed30

    Check Account Information in Game

    function onSay(cid, words, param, channel) if(param == "") then return doPlayerSendTextMessage(cid,27,"Command param required.") end local pid = getPlayerByName(param) if(not pid) then return doPlayerSendTextMessage(cid,27,"player with this name doesn't exists") else local info =...
  11. ahmed30

    Help Me With New Spell

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) return doCombat(cid, combat, var) end in spells.xml must be direction="1"
  12. ahmed30

    Storage ID Door and chest

    replace != 1 with ~= 1 :p
  13. ahmed30

    Check Account Information in Game

    enough bumping :P function onSay(cid, words, param, channel) if(param == "") then return doPlayerSendTextMessage(cid,27,"Command param required.") end local pid = getPlayerByName(param) if(not pid) then return doPlayerSendTextMessage(cid,27,"player with this name doesn't exists") else...
  14. ahmed30

    View Character bug (website)

    $player_deaths = $SQL->query('SELECT `id`, `date`, `level` FROM `player_deaths` WHERE `player_id` = '.$player->getId().' ORDER BY `date` DESC LIMIT 0,10;');
  15. ahmed30

    Npc Exchanger

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local t = {} local item = 2160 -- item id local count = 20 -- count of itemID local points = 20 -- amount of premium points function onCreatureAppear(cid)...
  16. ahmed30

    Solved Talkaction help please!

    change status == 1 to status = 1 change if words = "XXXX" then to if words == "XXX" then
  17. ahmed30

    Vocations bug!

    ok what's his promotion level after he login? SELECT `promotion` FROM `players` WHERE `name` = 'Jack Tha Ripper' LIMIT 1;
  18. ahmed30

    Vocations bug!

    just try these because this happen when the player trying to login with invalid vocationId UPDATE `players` SET `vocation` = '8' WHERE `name` = 'player_name_here'; UPDATE `players` SET `promotion` = '1' WHERE `name` = 'Player_name_here';
  19. ahmed30

    Vocations bug!

    post vocations.xml
  20. ahmed30

    Vocations bug!

    he got invalid promotion level try Update `players` SET `promotion` = '1' WHERE `name` = 'Player_name_here'; Update `players` SET `vocation` = '8' WHERE `name` = 'player_name_here';
Back
Top