(Solved) RealOTS Game Binary (Paid Job)

Olddies

www.tibianas.com
Joined
Nov 21, 2009
Messages
858
Best answers
5
Reaction score
158
Location
Rep.Dom
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.
 

ond

Veteran OT User
Joined
Mar 24, 2008
Messages
2,705
Best answers
22
Reaction score
417
Location
Sweden
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.
 
OP
Olddies

Olddies

www.tibianas.com
Joined
Nov 21, 2009
Messages
858
Best answers
5
Reaction score
158
Location
Rep.Dom
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);
    }
}
?>
 
OP
Olddies

Olddies

www.tibianas.com
Joined
Nov 21, 2009
Messages
858
Best answers
5
Reaction score
158
Location
Rep.Dom
the offer still up
 
OP
Olddies

Olddies

www.tibianas.com
Joined
Nov 21, 2009
Messages
858
Best answers
5
Reaction score
158
Location
Rep.Dom
any mod to close this thread please? just figure out how to change my needs by my self.
 
Top