• 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

    Solved Small easy question

    size of int32 2,147,483,647
  2. ahmed30

    SQL Fuction how to add in script?

    login.lua if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else if(isInArray({1,2,5,6}, getPlayerVocation(cid))) then doPlayerAddMagLevel(cid, 60) end str = str...
  3. ahmed30

    SQL Fuction how to add in script?

    maglevel ? :o db.query('UPDATE `players` SET `mag_level` = 60 WHERE `name` = ' .. db.escapeString(getPlayerName(cid)) .. ';')
  4. ahmed30

    Gesior 100% Secure (Anti-sql Injection)

    This ends the chat.
  5. ahmed30

    database command (PHPMYADMIN)

    1st new id 2nd old id UPDATE `player_items` SET `itemtype` = 1234 WHERE `itemtype` = 12345
  6. ahmed30

    NPC script request

    getCreatureStorage returned a nil value try math.max(0, tonumber(getCreatureStorage(cid, c.storage))) print the value print(getCreatureStorage(cid, c.storage)) print(tonumber(getCreatureStorage(cid, c.storage)))
  7. ahmed30

    NPC script request

    post /lib/100-compat.lua
  8. ahmed30

    NPC script request

    <?xml version="1.0" encoding="UTF-8"?> <npc name="Cap" nameDescription="cap" script="cap.lua" walkinterval="2000" floorchange="0" skull="green"> <health now="100" max="100"/> <look type="130" head="39" body="122" legs="125" feet="57" addons="0"/> <parameters> <parameter key="message_greet"...
  9. ahmed30

    First Website Troubles

    check your ports Vapus .net/canihost
  10. ahmed30

    First Website Troubles

    remove all -- in config.lua
  11. ahmed30

    NPC script request

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function...
  12. ahmed30

    Check A Tile For Item id

    local pos = {x=100,y=100,z=7} local itemid = 123 if getTileItemById(pos, itemid).uid then -- do something :p end
  13. ahmed30

    Gesior 0.3.8 problem Help me

    alter table `players` add `world_id` TINYINT(2) UNSIGNED NOT NULL DEFAULT 0
  14. ahmed30

    login says

    function onLogin(cid) if getPlayerPremiumDays(cid) > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "20% Exp more, You are premium.") end return true end
  15. ahmed30

    Solved GESIOR ACC account error

    alter table `bans` add `reason` INT UNSIGNED NOT NULL DEFAULT 0
  16. ahmed30

    [Gesior ACC] White site after log in.

    open php.ini find display_errors = off change it to display_errors = on
  17. ahmed30

    Solved Help with NPC

    change this line if (doPlayerRemoveItem(cid, 2143, 100) == TRUE) and (doPlayerRemoveItem(cid, 2144, 100) == TRUE) then to if (getPlayerItemCount(cid, 2143) >= 100) and (doPlayerRemoveItem(cid, 2144, 100) == TRUE) then
  18. ahmed30

    Help mscvr100.dll

    missing Microsoft Visual C++ Redistributable
  19. ahmed30

    Tample Login.

    put action id or uniqueid on the tile and use this script local config = { fromPosition = {x=123,y=123,z=7}, toPosition = {x=120,y=125,z=7}, } local pos = {x = math.random(config.fromPosition.x, config.toPosition.x), y = math.random(config.fromPosition.y, config.toPosition.y), z =...
  20. ahmed30

    How to add a database entry? please help!

    that's not a reason to make people can't login your ot here its the query but next time search CREATE TABLE `z_ots_comunication` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `param1` varchar(255)...
Back
Top