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

    /m spawn player

    IMO easiest way in that case is to remove "afk" players by globalevent: function onThink(interval, lastExecution, thinkInterval) for _, pid in ipairs(getPlayersOnline()) do if getPlayerIdleTime(pid) > 15 * 1000 * 60 and not isBot(pid) then doRemoveCreature(pid, true)...
  2. GarQet

    Lua Variables Lua

    local variables = { 5145, -- DREAM_MATTER 5144, -- CLUSTER_OF_SOLACE 5147, -- CRUDE_UMBRAL_BLADE 5148, -- UMBRAL_BLADE 5149 -- UMBRAL_MASTER_BLADE } variables[1] -- means DREAM_MATTER variables[4] -- means UMBRAL_BLADE ect.
  3. GarQet

    Death Times script

    function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) local amount = db.storeQuery("SELECT COUNT(*) FROM `player_deaths` WHERE `player_id` = '".. getPlayerGUID(cid) .."'") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have died "...
  4. GarQet

    C++ [0.4] Checking storage and using it while damage

    Its an additional extras for people who made quests on server. So if someone will do it he gaining one point of storage. I don't have any other idea how to implement this. By using LUA and statschange it also crashing server cause of stack overflow. While compiling im not receving any errors...
  5. GarQet

    Prevent placing item in arrow slot (movements)

    <movevent type="Equip" itemid="9999" slot="ammo" function="onEquipItem" script="9999.lua"/> <movevent type="DeEquip" itemid="9999" slot="ammo" function="onDeEquipItem" script="9999.lua"/> 9999.lua: function onEquip(cid, item, slot) doPlayerSendTextMessage(cid, 25, "You cannot...
  6. GarQet

    C++ [0.4] Checking storage and using it while damage

    Hello everyone! Im looking for small help. Im not that good in C++ as in LUA and I have a huge problem. I wanted to create small additional thing in C++ but this thing randomly crashes server. Randomly means like few minutes after start server, few hours or days... I don't even know what error...
  7. GarQet

    Noblity System

    Which tfs?
  8. GarQet

    Spell only Healing Party

    Updated
  9. GarQet

    Spell only Healing Party

    Updated
  10. GarQet

    [RME] Mam pewien problem.

    Gyazo - 855f06442efbca0dd3bb8a33055e3206.png
  11. GarQet

    Scripter Need scripter to make 3 scripts

    Let me know how much you will pay for these 3 scripts. They are really time-consuming.
  12. GarQet

    Spell only Healing Party

    function startHealingMembers(members, health_amount, rands) for i = 1, members do members[i]:addHealth(health_amount) members[i]:sendMagicEffect(CONST_ME_GREEN) end addEvent(startHealingMembers, 1000, members, health_amount, rands - 1) end function onCastSpell(creature...
  13. GarQet

    Event scroll. TFS 1.2

    Event Exp scroll (idk if this script will work, my 1st script): Also u need to add lane to your creaturescripts and register this in login.lua function onKill(creature, target) local multiplier = 10 -- 10% percent more than default local storage = 99999 if...
  14. GarQet

    [LUA] Party camping + cooking + sleeping + other

    1st part is easy and you can do this by onStatsChange in creaturescripts. 2nd part i don't get this one: -Script might contain hp,mana,speed and attack penalties (describe it better or give an example) I could made some mistakes in code, check if it works: actions.xml: <action...
  15. GarQet

    explain this script

    ... Example 1+1: !answer 2 Giving you 2 random numers, which u must add/substrack and give the answer - result
  16. GarQet

    Lua Speedchange vs paralyze

    Make normal spell and under function onCastSpell... put doChangeSpeed(cid, getCreatureBaseSpeed(cid))
  17. GarQet

    Block spell

    Post updated
  18. GarQet

    Block spell

    Post updated Don't register event in login.lua
  19. GarQet

    Manarune heal friend

    <action itemid="YOURitemID" event="script" value="script.lua" allowfaruse="1"/> allowfaruse="1"
Back
Top