• 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

    MySql Error

    localhost/phpmyadmin > sql 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) NOT NULL, `param2` varchar(255) NOT NULL, `param3` varchar(255) NOT NULL...
  2. ahmed30

    Solved !frags command problem

    it's not mistake you can use ' or " if exhaustion.get(cid, str) doesn't work then it seems like you don't have this in data/lib/034-exhaustion.lua exhaustion = { check = function (cid, storage) if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then return false end return...
  3. ahmed30

    Solved !frags command problem

    well the first one which i gave you is working but you don't have in data/lib exhaustion.set ~~etc anyway this will work :p local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList =...
  4. ahmed30

    Solved !frags command problem

    command !frags with exhausted local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList = getBooleanFromString(getConfigValue('advancedFragList')) } local useExhausted = true -- use exhausted or not local wait = 5 -- 5 second...
  5. ahmed30

    Solved !frags command problem

    its not bug in the script :w00t: open config.lua search for advancedFragList = true change it to advancedFragList = false
  6. ahmed30

    MoveEvent Healingtiles

    local time = 10 -- exhuastion time (second) local amount = 250 -- heal amount function onStepIn(cid, item, position, fromPosition) if exhaustion.check(cid, 1234) then return doPlayerSendCancel(cid, "you are exhausted for "..exhaustion.get(cid, 1234).." second") end if isPlayer(cid) then...
  7. ahmed30

    [Globalevent] Modify script, is it possible?

    change doPlayerAddHealth to doCreatureAddHealth
  8. ahmed30

    MoveEvent Healingtiles

    just change this line to doCreatureAddHealth(cid, config.healthheal) jajaja
  9. ahmed30

    MoveEvent Healingtiles

    shorter ? :p function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) then if getCreatureMana(cid) < getCreatureMaxMana(cid) then doSendAnimatedText(getThingPos(cid), '+' .. getCreatureMaxMana(cid) - getCreatureMana(cid), 180) doPlayerAddMana(cid, getCreatureMaxMana(cid) -...
  10. ahmed30

    modify a easy script

    local cost = 15000 -- how much money local item = 8473 -- item id local amount = 100 -- how many function onSay(cid, words, param, channel) if(getTilePzInfo(getCreaturePosition(cid))) then if doPlayerRemoveMoney(cid, cost) then doPlayerAddItem(cid, item, amount) doCreatureSay(cid, "You...
  11. ahmed30

    Players with the promotion lose less experience after death and promotion item

    open login.lua search for this line local loss = getConfigValue('deathLostPercent') change this function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end to this local...
  12. ahmed30

    Need a learn spell action

    local spell = "dark star wave" function onUse(cid, item, fromPosition, itemEx, toPosition) if isSorcerer(cid) or isDruid(cid) then if not getPlayerLearnedInstantSpell(cid, spell) then doPlayerLearnInstantSpell(cid, spell) doCreatureSay(cid, "You Just learned " .. spell .. " !!"...
  13. ahmed30

    Windows Add record for player online on website [Gesior]

    it should be installed with gesior account records.php <?PHP $zapytanie = $SQL->query('SELECT * FROM `server_record` ORDER BY `record` DESC LIMIT 25;'); foreach($zapytanie as $wynik) { $data = date("d/m/Y, G:i:s", $wynik['timestamp']); $gracze++; if(is_int($gracze / 2))...
  14. ahmed30

    Vip Script NEED :P

    ya but i don't want him to spam next the tp so get back him to temple better ? :p
  15. ahmed30

    Aol Forever! problem!

    the first one which i gave you protect you from losing items what ever your skull but if you need this it's oki but it's the same :p function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) if (getCreatureSkullType(cid) >= 4) then if (getPlayerSlotItem(cid...
  16. ahmed30

    Vip Script NEED :P

    just put Uniqueid on the stairs and use this script :p movements.xml <movevent type="StepIn" uniqueid="30000" event="script" value="viptp.lua"/> create file viptp.lua local place = {x=927, y=1014, z=8} function onStepIn(cid, item, pos, fromPos) if isPlayer(cid) then if...
  17. ahmed30

    Windows Need Help php scripten

    ALTER TABLE `accounts` ADD `lastday` INT UNSIGNED NOT NULL DEFAULT '0';
  18. ahmed30

    players get max magic level on login

    check creaturescripts maybe login.lua or something
  19. ahmed30

    Windows Need Help php scripten

    CREATE TABLE `z_shop_offer` ( `id` int(11) NOT NULL auto_increment, `points` int(11) NOT NULL default '0', `itemid1` int(11) NOT NULL default '0', `count1` int(11) NOT NULL default '0', `itemid2` int(11) NOT NULL default '0', `count2` int(11) NOT NULL default '0', `offer_type`...
Back
Top