Hi all,
Im newbie in making private rohan server, i saw many people asking for edit weapon/amor/pet, this is the way I edit these items stats via sql management studio.
If you can make a private server, you should have sql server and management studio, im using MS SQL Server 2008 R2 and its management studio.
I m using server version from [Only registered and activated users can see links. Click Here To Register...]
First you need connect to SQL server, then make new query. To run a sql command, simply select command block then hit F5 or click Execute button.
Use this command to select DB:
Use this command to find character id:
Get your character id (id column), then use it in this command:
Find your item, and get its id in TItem table (id column) and some fields we need, this is my Fenaty's Ray:
To edit item, just change field by update command (dont forget the comma (,) between updated fields)
Now we see the attr value:
represented by hex character string after "0x", hex character: 0-9,A-F, each item option is represented by 6 character: 2 option type, 4 option value, as my weapon, these are options:
032900 --- 03: psy, 0x0029 = 30 ------------------- +30 psy
041400 --- 04: int, 0x0014 = 20 ------------------- +20 int
0B1400 --- 0B: mobility --------------------------- +20 %mobi
0C1400 --- 0C: attk speed ------------------------- +20 %attk speed
0D0F00 --- 0D: %crit, 0x000F ---------------------- +15 % crit
177800 --- 17: %HP, 0x0078 = 120 ------------------ +120% HP
224600 --- 22: % Dmg Drop, 0x0046 = 70 ------------ +70% DD
467800 --- 46: All stats, 0x0078 = 120 ------------ +120 All stats
473C00 --- 47: %all attack, 0x003C = 60 ----------- +60% attack
550F00 --- 55: weapon enchanted, 000F = 15 -------- enchanted 15
And all "00.." left is just filled for hex string length.
I used calculator (programmer mode) to calculate value, ex: DEC 430 => HEX 1AE = 01 AE, switch position and fill to hex string: AE01
and update to DB:
This is some option I known:
By the way, Im new in setting private server, Gratt underground and ronelia dont have mobs in my server, is there anyone can give me monster file or show me the way to make mobs for these maps.
Thanks
Im newbie in making private rohan server, i saw many people asking for edit weapon/amor/pet, this is the way I edit these items stats via sql management studio.
If you can make a private server, you should have sql server and management studio, im using MS SQL Server 2008 R2 and its management studio.
I m using server version from [Only registered and activated users can see links. Click Here To Register...]
First you need connect to SQL server, then make new query. To run a sql command, simply select command block then hit F5 or click Execute button.
Use this command to select DB:
Code:
use RohanGame;
Code:
select * from RohanGame.dbo.TCharacter;
Code:
select t.name, i.* from TItem as i join BA_database_item as t on i.type = t.id where i.char_id = your_char_id_here order by t.name asc;
Code:
id=94 attr=0x0329000414000B14000C14000D0F00177800224600467800473C00550F00000000000000000000000000 equip_level=75 equip_strength=0 equip_dexterity=0 equip_intelligent=0
Code:
update TItem set attr= your_new_attr, equip_level = 1, equip_strength=0, equip_dexterity=0, equip_intelligent=0 where id = 94;
Code:
0x0329000414000B14000C14000D0F00177800224600467800473C00550F00000000000000000000000000
032900 --- 03: psy, 0x0029 = 30 ------------------- +30 psy
041400 --- 04: int, 0x0014 = 20 ------------------- +20 int
0B1400 --- 0B: mobility --------------------------- +20 %mobi
0C1400 --- 0C: attk speed ------------------------- +20 %attk speed
0D0F00 --- 0D: %crit, 0x000F ---------------------- +15 % crit
177800 --- 17: %HP, 0x0078 = 120 ------------------ +120% HP
224600 --- 22: % Dmg Drop, 0x0046 = 70 ------------ +70% DD
467800 --- 46: All stats, 0x0078 = 120 ------------ +120 All stats
473C00 --- 47: %all attack, 0x003C = 60 ----------- +60% attack
550F00 --- 55: weapon enchanted, 000F = 15 -------- enchanted 15
And all "00.." left is just filled for hex string length.
I used calculator (programmer mode) to calculate value, ex: DEC 430 => HEX 1AE = 01 AE, switch position and fill to hex string: AE01
and update to DB:
Code:
update TItem set attr=0x0329000414000B14000C14000D0F00177800224600467800473C00550F00000000000000000000000000 where id = 94;
By the way, Im new in setting private server, Gratt underground and ronelia dont have mobs in my server, is there anyone can give me monster file or show me the way to make mobs for these maps.
Thanks