• 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!

[10.77][TFS 1.2] ORTS, a real map project

i know that this may be stupid but.. does the monster pack problem could be fix if i replace the monsters folder from the one of GitHub default?
 
its not that hard to fix go into the loot and delete the comments on the loot... and it will be solve. check for the names on console and, go into the monsters folder on data.
 
but there are more... and more errors in the monster pack.. i saw that it's a long work to fix all monsters errors.. see other posts related to this monster packs and u will see it's not just the ones that appear at the begging of the console when u start up the server
 
demon oak doesnt work it when u get to final part it summons as many demons as u cut on the tree it never lets u get access to rewards
 
i have just setup this server on my computer. I am able to access it locally with no problems.

just configured all port forwarding to route all requests to my router on port 7171-7172 through to my computer. configured the same on my computers firewall. no matter what i do i cannot get any of my friends to connect has anybody else experienced this problem? any tips or suggestions?! im at a complete loss. i like to think im good with networking but feeling like a noob atm
 
obsidian knife doesn't work neither;/
Try this
Code:
local MINOTAUR_LEATHER, LIZARD_LEATHER, GREEN_DRAGON_LEATHER, RED_DRAGON_LEATHER, HARDENED_BONE, BEHEMOTH_FANG = 5878, 5876, 5877, 5948, 5925, 5893

local config = {
    [3090] = {25, MINOTAUR_LEATHER},
    [2871] = {25, MINOTAUR_LEATHER},
    [2866] = {25, MINOTAUR_LEATHER},
    [2876] = {25, MINOTAUR_LEATHER},
    [3104] = {25, GREEN_DRAGON_LEATHER},
    [2881] = {25, RED_DRAGON_LEATHER},
    [2931] = {25, BEHEMOTH_FANG},
    [4256] = {25, LIZARD_LEATHER},
    [4259] = {25, LIZARD_LEATHER},
    [4262] = {25, LIZARD_LEATHER},
    [11285] = {25, LIZARD_LEATHER},
    [11277] = {25, LIZARD_LEATHER},
    [11269] = {25, LIZARD_LEATHER},
    [11273] = {25, LIZARD_LEATHER},
    [11281] = {25, LIZARD_LEATHER},
    [3031] = {25, HARDENED_BONE}
}

local pumpkin_items = {
    [1] = {2683},
    [2] = {2688, 50},
    [3] = {6571},
    [4] = {6492},
    [5] = {6574},
    [6] = {6526},
    [7] = {2096},
    [8] = {9005, 20}
}

local sculpting = {
    [7441] = {randsize = 4, newid = 7442},
    [7442] = {randsize = 5, newid = 7444},
    [7444] = {randsize = 6, newid = 7445},
    [7445] = {randsize = 7, newid = 7446},
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if itemEx.itemid == 8961 then
        if getPlayerStorageValue(cid, 81279) <= 0 then
            doCreatureSay(cid, "Happy Halloween!", TALKTYPE_MONSTER)
            doSendMagicEffect(getCreaturePosition(cid), math.random(28,30))
            setPlayerStorageValue(cid, 81279, 1)
            local v = pumpkin_items[math.random(#pumpkin_items)]
            doPlayerAddItem(cid, v[1], v[2] or 1)
        else
            doCreatureSay(cid, "You already used your knife on the corpse.", TALKTYPE_MONSTER, false, cid)
        end
        return true
    end

    -- Sculpting
    local v = sculpting[itemEx.itemid]
    if v then
        if(math.random(v.randsize) == 1) then
            doTransformItem(itemEx.uid, v.newid)
        else
            doRemoveItem(itemEx.uid)
            doCreatureSay(cid, "The attempt at sculpting failed miserably.", TALKTYPE_MONSTER)
        end
        doSendMagicEffect(toPosition, CONST_ME_HITAREA)
        return true
    end

-- summons
if itemEx.actionid == 91347 then
    return doPlayerSendCancel(cid, "You cant skin a summon corpse.")
end
    -- Skinning
    v = config[itemEx.itemid]
    if not v then
        return false
    elseif math.random(100) <= v[1] then
        doPlayerAddItem(cid, v[2], 1)
        doSendMagicEffect(toPosition, CONST_ME_MAGIC_GREEN)
    else
        doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
    end
    doTransformItem(itemEx.uid, itemEx.itemid + 1)
    doDecayItem(itemEx.uid)

    return true
end
Code:
    <action itemid="5908" script="tools/obsidian_knife.lua"/>
 
Try this
Code:
local MINOTAUR_LEATHER, LIZARD_LEATHER, GREEN_DRAGON_LEATHER, RED_DRAGON_LEATHER, HARDENED_BONE, BEHEMOTH_FANG = 5878, 5876, 5877, 5948, 5925, 5893

local config = {
    [3090] = {25, MINOTAUR_LEATHER},
    [2871] = {25, MINOTAUR_LEATHER},
    [2866] = {25, MINOTAUR_LEATHER},
    [2876] = {25, MINOTAUR_LEATHER},
    [3104] = {25, GREEN_DRAGON_LEATHER},
    [2881] = {25, RED_DRAGON_LEATHER},
    [2931] = {25, BEHEMOTH_FANG},
    [4256] = {25, LIZARD_LEATHER},
    [4259] = {25, LIZARD_LEATHER},
    [4262] = {25, LIZARD_LEATHER},
    [11285] = {25, LIZARD_LEATHER},
    [11277] = {25, LIZARD_LEATHER},
    [11269] = {25, LIZARD_LEATHER},
    [11273] = {25, LIZARD_LEATHER},
    [11281] = {25, LIZARD_LEATHER},
    [3031] = {25, HARDENED_BONE}
}

local pumpkin_items = {
    [1] = {2683},
    [2] = {2688, 50},
    [3] = {6571},
    [4] = {6492},
    [5] = {6574},
    [6] = {6526},
    [7] = {2096},
    [8] = {9005, 20}
}

local sculpting = {
    [7441] = {randsize = 4, newid = 7442},
    [7442] = {randsize = 5, newid = 7444},
    [7444] = {randsize = 6, newid = 7445},
    [7445] = {randsize = 7, newid = 7446},
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if itemEx.itemid == 8961 then
        if getPlayerStorageValue(cid, 81279) <= 0 then
            doCreatureSay(cid, "Happy Halloween!", TALKTYPE_MONSTER)
            doSendMagicEffect(getCreaturePosition(cid), math.random(28,30))
            setPlayerStorageValue(cid, 81279, 1)
            local v = pumpkin_items[math.random(#pumpkin_items)]
            doPlayerAddItem(cid, v[1], v[2] or 1)
        else
            doCreatureSay(cid, "You already used your knife on the corpse.", TALKTYPE_MONSTER, false, cid)
        end
        return true
    end

    -- Sculpting
    local v = sculpting[itemEx.itemid]
    if v then
        if(math.random(v.randsize) == 1) then
            doTransformItem(itemEx.uid, v.newid)
        else
            doRemoveItem(itemEx.uid)
            doCreatureSay(cid, "The attempt at sculpting failed miserably.", TALKTYPE_MONSTER)
        end
        doSendMagicEffect(toPosition, CONST_ME_HITAREA)
        return true
    end

-- summons
if itemEx.actionid == 91347 then
    return doPlayerSendCancel(cid, "You cant skin a summon corpse.")
end
    -- Skinning
    v = config[itemEx.itemid]
    if not v then
        return false
    elseif math.random(100) <= v[1] then
        doPlayerAddItem(cid, v[2], 1)
        doSendMagicEffect(toPosition, CONST_ME_MAGIC_GREEN)
    else
        doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
    end
    doTransformItem(itemEx.uid, itemEx.itemid + 1)
    doDecayItem(itemEx.uid)

    return true
end
Code:
    <action itemid="5908" script="tools/obsidian_knife.lua"/>

Crashes the client when you use the knife on an ice cube.
 
I've downloaded compiled version and after few minutes it crashes. Any ideas what can I do to fix it?
 
Yeah, that obsidian knife script crashes my server also this one here works perfect though i've already tested it. You can sculpt ice cubes, and also skin all skin able monsters excluded summons works great

creaturescripts.xml
Code:
<event type="kill" name="SummonKill" event="script" value="obsidianknife.lua"/>
<event type="login" name="obs_login" event="script" value="obsidianknife.lua"/>
<event type="death" name="ObMonsterCheck" event="script" value="obsidianknife.lua"/>
data/creaturescripts/scripts/obsidianknife.lua
Code:
function onLogin(cid)
registerCreatureEvent(cid, "SummonKill")
return true
end
function onKill(cid, target)
if isMonster(target) and isPlayer(getCreatureMaster(target)) then
registerCreatureEvent(target, "ObMonsterCheck")
end

return true
end
function onDeath(cid, corpse)
doItemSetAttribute(corpse.uid, "aid", 91347)
return true
end
actions.xml
Code:
<action itemid="5908" event="script" value="tools/obsidian_knife.lua"/>

data/actions/scripts/tools/obsidian_knife.lua

Code:
local MINOTAUR_LEATHER, LIZARD_LEATHER, GREEN_DRAGON_LEATHER, RED_DRAGON_LEATHER, HARDENED_BONE, BEHEMOTH_FANG = 5878, 5876, 5877, 5948, 5925, 5893

local config = {
[3090] = {25, MINOTAUR_LEATHER},
[2871] = {25, MINOTAUR_LEATHER},
[2866] = {25, MINOTAUR_LEATHER},
[2876] = {25, MINOTAUR_LEATHER},
[3104] = {25, GREEN_DRAGON_LEATHER},
[2881] = {25, RED_DRAGON_LEATHER},
[2931] = {25, BEHEMOTH_FANG},
[4256] = {25, LIZARD_LEATHER},
[4259] = {25, LIZARD_LEATHER},
[4262] = {25, LIZARD_LEATHER},
[11285] = {25, LIZARD_LEATHER},
[11277] = {25, LIZARD_LEATHER},
[11269] = {25, LIZARD_LEATHER},
[11273] = {25, LIZARD_LEATHER},
[11281] = {25, LIZARD_LEATHER},
[3031] = {25, HARDENED_BONE}
}

local pumpkin_items = {
[1] = {2683},
[2] = {2688, 50},
[3] = {6571},
[4] = {6492},
[5] = {6574},
[6] = {6526},
[7] = {2096},
[8] = {9005, 20}
}

local sculpting = {
[7441] = {randsize = 4, newid = 7442},
[7442] = {randsize = 5, newid = 7444},
[7444] = {randsize = 6, newid = 7445},
[7445] = {randsize = 7, newid = 7446},
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
if itemEx.itemid == 8961 then
if getPlayerStorageValue(cid, 81279) <= 0 then
doCreatureSay(cid, "Happy Halloween!", TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid), math.random(28,30))
setPlayerStorageValue(cid, 81279, 1)
local v = pumpkin_items[math.random(#pumpkin_items)]
doPlayerAddItem(cid, v[1], v[2] or 1)
else
doCreatureSay(cid, "You already used your knife on the corpse.", TALKTYPE_ORANGE_1, false, cid)
end
return true
end

-- Sculpting
local v = sculpting[itemEx.itemid]
if v then
if(math.random(v.randsize) == 1) then
doTransformItem(itemEx.uid, v.newid)
else
doRemoveItem(itemEx.uid)
doCreatureSay(cid, "The attempt at sculpting failed miserably.", TALKTYPE_ORANGE_1)
end
doSendMagicEffect(toPosition, CONST_ME_HITAREA)
return true
end

-- summons
if itemEx.actionid == 91347 then
return doPlayerSendCancel(cid, "You cant skin a summon corpse.")
end

-- Skinning
v = config[itemEx.itemid]
if not v then
return false
elseif math.random(100) <= v[1] then
doPlayerAddItem(cid, v[2], 1)
doSendMagicEffect(toPosition, CONST_ME_MAGIC_GREEN)
else
doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
end
doTransformItem(itemEx.uid, itemEx.itemid + 1)
doDecayItem(itemEx.uid)
return true
end
 
Hello guys, I found some annoying bugs:
  1. Energy Ring, appears to function but when they attack, hit in hp and not in mana.
  2. Npcs bug (ex: Hanna in thais and Briasol in Ab)
  • whether to put the option to sell / buy, can not sell the Small rubys, emeralds, saphire, white pearl and black pearl.
  • If I put only the option to sell, sell works correctly all the stones.
  • If you just buy put option, everything works properly too.
  • However, if you use the 2 options, I can not sell certain stones. (Small rubys, emeralds, saphire, white pearl and black pearl...)
3. Enchantment stones, weapons, shields (rainbow shield)
Is bug. when I try to enchant stones or even use them already in some enchanted stone in weapon or shield rainbow, shows an error.​

please help me :S
 
Update your sources and recompile.
 
anyone know why everyone can get poi rewards i have tried to edit movements but cant figure it out thanks
 
Hello guys, i have a problem when trying to create an items with my god.

i try to make for example 100 royals spears but it does not work as normally u do like.. (/i royal spear 100) <- that's for summoning 100 royals spears,
in here i can't do that action.. i just can do -> (/i royal spear) without number.. does anyone knows how to summon an item in quantities at the same time?

Thanks in advance for your answers :)
 
Hello guys, i have a problem when trying to create an items with my god.

i try to make for example 100 royals spears but it does not work as normally u do like.. (/i royal spear 100) <- that's for summoning 100 royals spears,
in here i can't do that action.. i just can do -> (/i royal spear) without number.. does anyone knows how to summon an item in quantities at the same time?

Thanks in advance for your answers :)

Have you tried /i royal spear, 100?
 
Back
Top