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

    Block spell

    Spell:local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) function onCastSpell(cid, var) registerCreatureEvent(cid, "Protection") addEvent(function() if isPlayer(cid) then...
  2. GarQet

    NPC TRADE DONATE

    I thought that you asking for script where NPC is selling all premium items (same as on website - sms shop) for this 2157 points...
  3. GarQet

    NPC TRADE DONATE

    Note! I didn't test it. NPC.xml: <?xml version="1.0" encoding="UTF-8"?> <npc name="Exchanger" script="exchange.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="128" head="17" body="54" legs="114" feet="0" addons="2"/> <parameters> <parameter...
  4. GarQet

    Lua Gesior Bot scripts

    Replace correct part with this code (had the same problem as you): elseif(#playersOnline+#botsOnline < keepOnline) then for i = 1, maxChange do if(#playersOnline + #botsOnline+i <= keepOnline) then for i, bot in pairs(botsOffline) do...
  5. GarQet

    Chance to run a raid.

    It think this topic will help you: GlobalEvent - TM - Boss Raid System v1.3.0 (Release/Updated)
  6. GarQet

    Guild Public channel

    Under this part in chat.cpp: if(channelId == CHANNEL_GUILD) { switch(player->getGuildLevel()) { case GUILDLEVEL_VICE: return channel->talk(player, SPEAK_CHANNEL_O, text); case GUILDLEVEL_LEADER...
  7. GarQet

    Guild Public channel

    Update your ChatChannel::talk (chat.cpp), replace your code with this one: bool ChatChannel::talk(Player* player, SpeakClasses type, const std::string& text, uint32_t _time/* = 0*/) { UsersMap::iterator it = m_users.find(player->getID()); if(it == m_users.end()) return false...
  8. GarQet

    change house price

    house.cpp, find this line and edit it: sprintf(houseDescription, "It belongs to %s '%s'. Nobody owns this %s. It costs %d gold coins.", tmp.c_str(), name.c_str(), tmp.c_str(), price); Also remember to update items.xml, find gold nugget and add to it worth attribute: <attribute key="worth"...
  9. GarQet

    Destroy item by stepping on it

    <movevent type="StepIn" itemid="1111" event="script" value="plants.lua" /> function onStepIn(cid, item, position, fromPosition) local config = { plants = {1111, 1112, 1113}, broken_plant = 2222 } if isInArray(config.plants, item.itemid) then...
  10. GarQet

    Give extra health to a character

    Rune option: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)...
  11. GarQet

    Tp with storage value and summons monster OTX 2.9

    For each STORAGE you have specified monster and the room. After 60 seconds room is again available, if player or monster still is in, will be teleported out or killed (monster). If someone is in the room or just died in, the room will available after 60 seconds, you no need to use "stone"...
  12. GarQet

    War server scripts

    For sure its not the same, cause I see the error from latest version, check my newest post with code. Send me PM with details about teamviewer
  13. GarQet

    War server scripts

    Idk if you notice, but I updated the script today around 11 am...
  14. GarQet

    War server scripts

    Try this one: <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Skull System" version="1.0" author="GarQet" contact="https://otland.net/members/garqet.30076/" enabled="yes"> <description> Add those two functions to your lib/050-function.lua: function getPlayerTemporaryKills(cid)...
  15. GarQet

    War server scripts

    Are you sure that you check it correctly? What do you mean by saying: "the unskulled player never won a skull"? I don't get it, why? Another question, on your war server player while dying getting tp to temple? IMO the code is correctly written.
  16. GarQet

    War server scripts

    Ah, yh, forgot to add main function xD Script updated.
  17. GarQet

    War server scripts

    I didn't test this. Mod version. Add those two functions to your lib/050-function.lua: function getPlayerTemporaryKills(cid) local frags = db.getResult("SELECT `kills` FROM `players` WHERE `id` = '"..getPlayerGUID(cid).."';") if(frags:getID() == -1) then return...
  18. GarQet

    Lua Target in a spell.

    It's a spell, rune or what? You need to aim the target to cast this spell or just use spell like "exura sio "GarQet"? local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)...
  19. GarQet

    Protection Script for Knight

    Protection from what?
  20. GarQet

    Paladin rune

    Updated Paladin rune #Edit IDK if you noticed, but in your 1st screen which u placed here we can see that healing info is one sqm from player, so...
Back
Top