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

    script after killing the monster you can go through the door

    There's a talkaction for that /pos x, y, z
  2. Hyresu

    script after killing the monster you can go through the door

    It's a creaturescript, you must name the script MonsterDoor.lua and save it in data/creaturescripts/scripts Add a line in data/creaturescripts/creaturescript.xml <event type="kill" name="MonsterDoor" script="MonsterDoor.lua"/> And in data/creaturescripts/scripts/others/login.lua...
  3. Hyresu

    script after killing the monster you can go through the door

    Use a door like 1257, set actionId to the same you will use as storage in this script local storage = 108476 local monstername = "demon" function onKill(player, target) if target:isPlayer() or target:getMaster() or target:getName():lower() ~= monstername:lower() then return true...
  4. Hyresu

    globalsave and shutdown server

    No, try replacing the script with the last one that I wrote, you said you edited the 60000, right? If it doesn't work, use this one local shutdown = true local clean = false local closeServer = false local minutes = 5 -- Min 1 minute local notify = true local function ServerSave() if...
  5. Hyresu

    The door won't close itself

    The closingDoor script only works when the player steps out of the door, as I see, when your script opens the door, the player does not get into the door, you must add the doTeleportThing(cid, topos) after opening the door in your actions script Like this function onUse(cid, item, frompos...
  6. Hyresu

    TFS 1.X+ Loot Channel can't be done accurately?

    As far as I know, sendTextMessage allows for a 3rd parameter being the channel Id player:sendTextMessage(33, "Test", 3)
  7. Hyresu

    Monsters Doenst Pass on field?

    If the monster has the flag <flag canwalkonenergy="1" /> It will go through even if you don't hit it However, because the demon isn't inmune to energy damage, it will try to avoid the fields
  8. Hyresu

    Mana rune tfs 1.x+

    local runes = { [2298] = { voc = {1, 2, 3, 4, 5, 6, 7, 8}, min = {level = 1, maglv = 6}, max = {level = 1, maglv = 8}, } } local likePotions = true function onUse(cid, item, fromPosition, target, toPosition, isHotkey) local i = runes[item.itemid]...
  9. Hyresu

    weapons with elemental damage hit little with spell [TFS 1.3]

    Im trying to guess what's going on with a mixed damage weapon If you use -100, -100 on the function onGetFormulaValues for normal weapons like umbral master slayer it will hit 100 always but with gnome sword it will be 100 physical and the energy damage is calculated anyways ¿? 1580500086 I...
  10. Hyresu

    globalsave and shutdown server

    Change serverSaveNotifyDuration = 24 * 60 * 60 --- every one day To serverSaveNotifyDuration = 5 That value isn't the interval for the server save local function ServerSave() if configManager.getBoolean(configKeys.SERVER_SAVE_CLEAN_MAP) then cleanMap() end if...
  11. Hyresu

    weapons with elemental damage hit little with spell [TFS 1.3]

    Check your inbox, I will try to help you in detail and post here the results I tested myself the script and it's working
  12. Hyresu

    weapons with elemental damage hit little with spell [TFS 1.3]

    add bellow skillTotal print(eledmg + attack) reload and try the spell, then upload a screenshot of your console also, I edited the code a few times, check if you are using the last one
  13. Hyresu

    weapons with elemental damage hit little with spell [TFS 1.3]

    Change local skillTotal = skill * attack to local weapon = player:getSlotItem(CONST_SLOT_LEFT).itemid local eledmg = ItemType(weapon):getElementDamage() ~= nil and ItemType(weapon):getElementDamage() or 0 local skillTotal = skill * (attack + eledmg)
  14. Hyresu

    House Dummie

    local skills = { [32384] = {id=SKILL_SWORD,voc=4}, -- KNIGHT [32385] = {id=SKILL_AXE,voc=4}, -- KNIGHT [32386] = {id=SKILL_CLUB,voc=4}, -- KNIGHT [32387] = {id=SKILL_DISTANCE,voc=3,range=CONST_ANI_SIMPLEARROW}, -- PALADIN [32388] =...
  15. Hyresu

    House Dummie

    Try with this one local skills = { [32384] = {id=SKILL_SWORD,voc=4}, -- KNIGHT [32385] = {id=SKILL_AXE,voc=4}, -- KNIGHT [32386] = {id=SKILL_CLUB,voc=4}, -- KNIGHT [32387] = {id=SKILL_DISTANCE,voc=3,range=CONST_ANI_SIMPLEARROW}, -- PALADIN [32388] =...
  16. Hyresu

    Removing the "Golden" from the set

    void ProtocolGame::sendBlessStatus() { NetworkMessage msg; uint8_t blessCount = 0; uint8_t maxBlessings = (player->operatingSystem == CLIENTOS_NEW_WINDOWS) ? 8 : 6; for (int i = 1; i <= maxBlessings; i++) { if (player->hasBlessing(i)) { blessCount++; }...
  17. Hyresu

    Exit Character

    Can you post your player.cpp?
  18. Hyresu

    [10.00/11] OTXServer Full Global Daily Updated!

    Got a date to release 11.40?
  19. Hyresu

    CreatureEvent Kills and Deaths on Look

    For who wants with look yourself : remove and thing.uid ~= cid
  20. Hyresu

    doPlayerAddPercentLevel(cid, percent)

    Simple, nice and useful x3
Back
Top