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

Overpowered creatures?

Vyperhate

New Member
Joined
Dec 12, 2011
Messages
21
Reaction score
0
Posting this here so I can hopefully figure out what is going on. Are some of the creatures buffed stronger than they should be on TFS? Bog Raiders totally owned a team of a 150 pally and 150 knight. It seemed like every attack landed and two bog raiders had them both in deep red in a matter of seconds... Surely that isn't right? o_O

A few things that seem very off to me compared the bog raiders on the official server. The main thing is they attack really fast. The interval is 2000, that is two seconds right? Because they seem to attack every second with both their life drain and bubble berserk (both hit simultaneously and start hitting from off the screen) check out this server log:

Code:
00:01 You lose 129 hitpoints due to an attack by a bog raider.
00:01 You lose 96 hitpoints due to an attack by a bog raider.
00:01 You are paralyzed.
00:01 You lose 90 hitpoints due to an attack by a bog raider.
00:01 You lose 129 hitpoints due to an attack by a bog raider.
00:01 You are paralyzed.
00:01 You lose 135 hitpoints due to an attack by a bog raider.
00:01 You lose 125 hitpoints due to an attack by a bog raider.
00:01 You are poisoned.
00:01 You lose 106 hitpoints due to an attack by a bog raider.

As you can see that was all in the course of a minute. What you can't see is that it was about 5 seconds...

This is what I'm seeing for bog raiders:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Bog Raider" nameDescription="a bog raider" race="venom" experience="800" speed="300" manacost="0">
    <health now="1300" max="1300"/>
    <look type="299" corpse="8951"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="0"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="0"/>
        <flag convinceable="0"/>
        <flag pushable="0"/>
        <flag canpushitems="1"/>
        <flag staticattack="15"/>
        <flag lightlevel="0"/>
        <flag lightcolor="0"/>
        <flag targetdistance="1"/>
        <flag runonhealth="1"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" skill="59" attack="60" poison="4"/>
        <attack name="lifedrain" interval="2000" min="-90" max="-140" target="1">
            <attribute key="areaEffect" value="redshimmer"/>
        </attack>
        <attack name="physical" interval="1000" chance="40" radius="2" target="0" min="-100" max="-175">
            <attribute key="shootEffect" value="smallearth"/>
        </attack>
        <attack name="speed" interval="1000" chance="40" range="7" target="1" speedchange="-500" durationn="8000">
            <attribute key="areaEffect" value="redshimmer"/>
        </attack>
    </attacks>
    <defenses armor="10" defense="15">
        <defense name="speed" interval="10000" chance="40" speedchange="310" duration="20000">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
        <defense name="healing" interval="5000" chance="60" min="50" max="80">
            <attribute key="areaEffect" value="blueshimmer"/>
        </defense>
    </defenses>
    <elements>
        <element deathPercent="-5"/>
        <element earthPercent="-30"/>
        <element firePercent="-85"/>
        <element physicalPercent="20"/>
        <element holyPercent="5"/>
        <element energyPercent="10"/>
        <element icePercent="5"/>
    </elements>
    <immunities>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="2000" chance="5">
        <voice sentence="Tchhh!"/>
        <voice sentence="Slurp!"/>
    </voices>
    <loot>
        <item id="2148" countmax="100" chance="50000"/><!-- gold coin -->
        <item id="2148" countmax="5" chance="50000"/><!-- gold coin -->
        <item id="10584" chance="9090"/><!-- boggy dreads -->
        <item id="8472" chance="2173"/><!-- great spirit potion -->
        <item id="7591" chance="1960"/><!-- great health potion -->
        <item id="2647" chance="1960"/><!-- plate legs -->
        <item id="8912" chance="1000"/><!-- springsprout rod -->
        <item id="8473" chance="704"/><!-- ultimate health potion -->
        <item id="8872" chance="537"/><!-- belted cape -->
        <item id="8891" chance="111"/><!-- paladin armor -->
    </loot>
</monster>
 
Code:
<attack name="physical" interval="1000" chance="40" radius="2" target="0" min="-100" max="-175">
            <attribute key="shootEffect" value="smallearth"/>
        </attack>
        <attack name="speed" interval="1000" chance="40" range="7" target="1" speedchange="-500" durationn="8000">
            <attribute key="areaEffect" value="redshimmer"/>
        </attack>

is the source of your problem(s) more than likely. Try changing their intervals to 2000 or lowering each attack's chance.
 
Ok, I've tweaked it down to 10% and added 10% chance to the life drain as well to help weaken them. They still seem stronger than they should be but they are coming more in line with what I would expect. I guess I'll just have to keep tweaking them.

On another note, I have a small question I'd rather not make an entirely new thread for unless it doesn't get answered here. But where would I find the information for food consumption rate? That is how long food provides regen? Usually a full character should get 20 minutes of regen but for some reason characters on my server only get about 5 minutes of regen, if that.
 
It should be in the food script. This is mine, TFS 1.0.

Code:
local food =
{
    [2362] = {8, "Crunch."},
    [2666] = {15, "Munch."},
    [2667] = {12, "Munch."},
    [2668] = {10, "Mmmm."},
    [2669] = {17, "Munch."},
    [2670] = {4, "Gulp."},
    [2671] = {30, "Chomp."},
    [2672] = {60, "Chomp."},
    [2673] = {5, "Yum."},
    [2674] = {6, "Yum."},
    [2675] = {13, "Yum."},
    [2676] = {8, "Yum."},
    [2677] = {1, "Yum."},
    [2678] = {18, "Slurp."},
    [2679] = {1, "Yum."},
    [2680] = {2, "Yum."},
    [2681] = {9, "Yum."},
    [2682] = {20, "Yum."},
    [2683] = {17, "Munch."},
    [2684] = {8, "Crunch."},
    [2685] = {6, "Munch."},
    [2686] = {9, "Crunch."},
    [2687] = {2, "Crunch."},
    [2688] = {9, "Munch."},
    [2689] = {10, "Crunch."},
    [2690] = {3, "Crunch."},
    [2691] = {8, "Crunch."},
    [2792] = {6, "Munch."},
    [2793] = {9, "Munch."},
    [2695] = {6, "Gulp."},
    [2696] = {9, "Smack."},
    [2787] = {9, "Munch."},
    [2788] = {4, "Munch."},
    [2789] = {22, "Munch."},
    [2790] = {30, "Munch."},
    [2791] = {30, "Munch."},
    [2792] = {6, "Munch."},
    [2794] = {3, "Munch."},
    [2795] = {36, "Munch."},
    [2796] = {5, "Munch."},
    [2793] = {9, "Munch."},
    [5097] = {4, "Yum."},
    [6125] = {8, "Gulp."},
    [6278] = {10, "Mmmm."},
    [6279] = {15, "Mmmm."},
    [6393] = {12, "Mmmm."},
    [6394] = {15, "Mmmm."},
    [6501] = {20, "Mmmm."},
    [6541] = {6, "Gulp."},
    [6542] = {6, "Gulp."},
    [6543] = {6, "Gulp."},
    [6544] = {6, "Gulp."},
    [6545] = {6, "Gulp."},
    [6569] = {1, "Mmmm."},
    [6574] = {4, "Mmmm."},
    [7158] = {15, "Munch."},
    [7159] = {13, "Munch."},
    [7372] = {7, "Yum."},
    [7373] = {7, "Yum."},
    [7374] = {7, "Yum."},
    [7375] = {7, "Yum."},
    [7376] = {7, "Yum."},
    [7377] = {7, "Yum."}
}
function onUse(cid, item, frompos, item2, topos)
    if(food[item.itemid] ~= nil) then
        if (getPlayerFood(cid) + food[item.itemid][1]) >= 400 then
            doPlayerSendCancel(cid, "You are full.")
        else
            doPlayerFeed(cid, food[item.itemid][1] * 4)
            doCreatureSay(cid, food[item.itemid][2], TALKTYPE_ORANGE_1)
            doRemoveItem(item.uid, 1)
        end
        return TRUE
    end
    return FALSE
end

I'd suggest you look at yours and make sure that yours is "if (getPlayerFood(cid) + food[item.itemid][1]) >= 400" or more, if you want players to have a higher capacity for being fed.
 
Thanks, yah I looked at that script and it looked fine to me. Here is mine:


Code:
local food =
{
    [2362] = {5, "Crunch."}, -- carrot
    [2666] = {15, "Munch."}, -- meat
    [2667] = {12, "Munch."}, -- fish
    [2668] = {10, "Mmmm."}, -- salmon
    [2669] = {17, "Munch."}, -- northern pike
    [2670] = {4, "Gulp."}, -- shrimp
    [2671] = {30, "Chomp."}, -- ham
    [2672] = {60, "Chomp."}, -- dragon ham
    [2673] = {5, "Yum."}, -- pear
    [2674] = {6, "Yum."}, -- red apple
    [2675] = {13, "Yum."}, -- orange
    [2676] = {8, "Yum."}, -- banana
    [2677] = {1, "Yum."}, -- blueberry
    [2678] = {18, "Slurp."}, -- coconut
    [2679] = {1, "Yum."}, -- cherry
    [2680] = {2, "Yum."}, -- strawberry
    [2681] = {9, "Yum."}, -- grapes
    [2682] = {20, "Yum."}, -- melon
    [2683] = {17, "Munch."}, -- pumpkin
    [2684] = {5, "Crunch."}, -- carrot
    [2685] = {6, "Munch."}, -- tomato
    [2686] = {9, "Crunch."}, -- corncob
    [2687] = {2, "Crunch."}, -- cookie
    [2688] = {2, "Munch."}, -- candy cane
    [2689] = {10, "Crunch."}, -- bread
    [2690] = {3, "Crunch."}, -- roll
    [2691] = {8, "Crunch."}, -- brown bread
    [2695] = {6, "Gulp."}, -- egg
    [2696] = {9, "Smack."}, -- cheese
    [2787] = {9, "Munch."}, -- white mushroom
    [2788] = {4, "Munch."}, -- red mushroom
    [2789] = {22, "Munch."}, -- brown mushroom
    [2790] = {30, "Munch."}, -- orange mushroom
    [2791] = {9, "Munch."}, -- wood mushroom
    [2792] = {6, "Munch."}, -- dark mushroom
    [2793] = {12, "Munch."}, -- some mushrooms
    [2794] = {3, "Munch."}, -- some mushrooms
    [2795] = {36, "Munch."}, -- fire mushroom
    [2796] = {5, "Munch."}, -- green mushroom
    [5097] = {4, "Yum."}, -- mango
    [6125] = {8, "Gulp."}, -- tortoise egg
    [6278] = {10, "Mmmm."}, -- cake
    [6279] = {15, "Mmmm."}, -- decorated cake
    [6393] = {12, "Mmmm."}, -- valentine's cake
    [6394] = {15, "Mmmm."}, -- cream cake
    [6501] = {20, "Mmmm."}, -- gingerbread man
    [6541] = {6, "Gulp."}, -- coloured egg (yellow)
    [6542] = {6, "Gulp."}, -- coloured egg (red)
    [6543] = {6, "Gulp."}, -- coloured egg (blue)
    [6544] = {6, "Gulp."}, -- coloured egg (green)
    [6545] = {6, "Gulp."}, -- coloured egg (purple)
    [6569] = {1, "Mmmm."}, -- candy
    [6574] = {5, "Mmmm."}, -- bar of chocolate
    [7158] = {15, "Munch."}, -- rainbow trout
    [7159] = {13, "Munch."}, -- green perch
    [7372] = {2, "Yum."}, -- ice cream cone (crispy chocolate chips)
    [7373] = {2, "Yum."}, -- ice cream cone (velvet vanilla)
    [7374] = {2, "Yum."}, -- ice cream cone (sweet strawberry)
    [7375] = {2, "Yum."}, -- ice cream cone (chilly cherry)
    [7376] = {2, "Yum."}, -- ice cream cone (mellow melon)
    [7377] = {2, "Yum."}, -- ice cream cone (blue-barian)
    [7909] = {4, "Crunch."}, -- walnut
    [7910] = {4, "Crunch."}, -- peanut
    [7963] = {60, "Munch."}, -- marlin
    [8112] = {9, "Urgh."}, -- scarab cheese
    [8838] = {10, "Gulp."}, -- potato
    [8839] = {5, "Yum."}, -- plum
    [8840] = {1, "Yum."}, -- raspberry
    [8841] = {1, "Urgh."}, -- lemon
    [8842] = {7, "Munch."}, -- cucumber
    [8843] = {5, "Crunch."}, -- onion
    [8844] = {1, "Gulp."}, -- jalapeño pepper
    [8845] = {5, "Munch."}, -- beetroot
    [8847] = {11, "Yum."}, -- chocolate cake
    [9005] = {7, "Slurp."}, -- yummy gummy worm
    [9114] = {5, "Crunch."}, -- bulb of garlic
    [9996] = {0, "Slurp."}, -- banana chocolate shake
    [10454] = {0, "Your head begins to feel better."}, -- headache pill
    [11246] = {15, "Yum."}, -- rice ball
    [11370] = {3, "Urgh."}, -- terramite eggs
    [11429] = {10, "Mmmm."}, -- crocodile steak
    [12415] = {20, "Yum."}, -- pineapple
    [12416] = {10, "Munch."}, -- aubergine
    [12417] = {8, "Crunch."}, -- broccoli
    [12418] = {9, "Crunch."}, -- cauliflower
    [12637] = {55, "Gulp."}, -- ectoplasmic sushi
    [12638] = {18, "Yum."}, -- dragonfruit
    [12639] = {2, "Munch."}, -- peas
    [13297] = {20, "Crunch."}, -- haunch of boar
    [15405] = {55, "Munch."}, -- sandfish
    [15487] = {14, "Urgh."}, -- larvae
    [15488] = {15, "Munch."}, -- deepling filet
    [16014] = {60, "Mmmm."}, -- anniversary cake
    [18397] = {33, "Munch."}, -- mushroom pie
    [19737] = {10, "Urgh."}, -- insectoid eggs
    [20100] = {15, "Smack."}, -- soft cheese
    [20101] = {12, "Smack."} -- rat cheese
}
function onUse(cid, item, frompos, item2, topos)
    if food[item.itemid] ~= nil then
        if (getPlayerFood(cid) + food[item.itemid][1]) >= 400 then
            doPlayerSendCancel(cid, "You are full.")
        else
            doPlayerFeed(cid, food[item.itemid][1] * 4)
            doCreatureSay(cid, food[item.itemid][2], TALKTYPE_ORANGE_1)
            doRemoveItem(item.uid, 1)
        end
        return true
    end
    return false
end
 
Nevermind on this post. Still trying to solve this issue though.

I actually went ahead and timed it. Regen lasts for ~7 mins 15 seconds.

Edit: Wait... Now I look at it in such detail it looks like it is regenerating the correct amount of HP/MP just at more than double the rate it should... How would I fix that?
 
Last edited:
Back
Top