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

(Solved) RealOTS Game Binary (Paid Job)

Olddies

Classicot.com
Premium User
Joined
Nov 21, 2009
Messages
1,172
Solutions
12
Reaction score
309
Location
Dominican Republic 🇩🇴
Hello friends, i'm looking someone with the knowleadge of editing the RealOTS game binary and what i want is to change
Code:
HP And MP Regeneration Sticks
Skills Rates
Mag Level Rate
Loot Rate
Spawn Rate
whoever wants the job just send me PM here.
 
Hello friends, i'm looking someone with the knowleadge of editing the RealOTS game binary and what i want is to change
Code:
HP And MP Regeneration Sticks
Skills Rates
Mag Level Rate
Loot Rate
Spawn Rate
whoever wants the job just send me PM here.

Loot rate you can set manually in every monster file, or make some sort of script to change it the way you want.
Spawn rate is set in monsters.db if I'm not mistaken.
 
ok thanks for the tip but about the loot rate this is how the monster.mob looks
Code:
# Tibia - graphical Multi-User-Dungeon
# MonsterRace File
# 2005/10/12 - 16:37:51

RaceNumber    = 77
Name          = "amazon"
Article       = "an"
Outfit        = (137, 113-120-95-115)
Corpse        = 4247
Blood         = Blood
Experience    = 9000
SummonCost    = 390
FleeThreshold = 10
Attack        = 16
Defend        = 11
Armor         = 11
Poison        = 0
LoseTarget    = 50
Strategy      = (100, 0, 0, 0)

Flags         = {KickBoxes,
                 Unpushable,
                 DistanceFighting}

Skills        = {(HitPoints, 110, 0, 110, 0, 0, 0),
                 (GoStrength, 46, 0, 46, 0, 0, 0),
                 (CarryStrength, 800, 0, 800, 0, 0, 0),
                 (FistFighting, 24, 24, 24, 100, 1200, 1)}

Spells        = {Victim (7, 9, 0) -> Damage (1, 25, 5) : 10}

Inventory     = {(3602, 1, 300),
                 (3008, 1, 4),
                 (3267, 1, 800),
                 (3031, 20, 500),
                 (3361, 1, 500),
                 (3273, 1, 230),
                 (3114, 2, 800),
                 (3030, 1, 2),
                 (3426, 1, 55),
                 (2920, 1, 55)}

Talk          = {"Yeeee ha!",
                 "Your head will be mine!"}
and this is the script i did use for change the exp rate, but how i should use it to change the loot rate?
Code:
<?php
$rate = 3;
foreach(glob('*.mon') as $k => $v)
{
    $str = file_get_contents($v);
    preg_match('/^Experience    = (\d+)/m', $str, $exp);
    $old = (int)$exp[1];
    $new = round($old * $rate);
    if($old !== $new)
    {
        $str = preg_replace('/^Experience    = (\d+)/m', 'Experience    = '.$new, $str);
        file_put_contents($v, $str);
    }
}
?>
 
Back
Top