How to edit start item ?

03/04/2014 07:57 wisnu077#1
how to edit starting item in inventory bag and event inventory ? thx
03/04/2014 08:59 itdhos#2
[Only registered and activated users can see links. Click Here To Register...]
Maybe fixing your problem :D
Problem?
03/04/2014 09:59 wisnu077#3
Quote:
Originally Posted by itdhos View Post
[Only registered and activated users can see links. Click Here To Register...]
Maybe fixing your problem :D
Problem?
kidding me ? :D
03/04/2014 16:35 namvfpx#4
Use sql script, modify table RohanGame.dbo.TEventItem in the database.
03/04/2014 22:28 PenguinJoe#5
That adds items to the event inventory. It does not add items (like starting armor & weapons) to your new character's inventory so they can equip it in the tutorial area.

@itdhos: please be so kind as to provide the google search arguments that will find this answer. Or simply say you don't know since apparently you don't.
03/05/2014 02:37 namvfpx#6
Okay, this is solution, edit stored procedure RohanGame.dbo.ROHAN_CreateCharacter, add some items or skill buffed by insert more line:
Code:
INSERT INTO dbo.TEventItem (type, attr, stack, rank, equip_level, equip_dexterity, equip_intelligence, equip_strength, char_id) VALUES (change_to_wanted_item_id, 0, 1, 0, 0, 0, 0, 0, @char_id)

INSERT INTO dbo.TSkillAffect (char_id, kind, level, affect_time, event_time, param) VALUES (@char_id, change_to_wanted_skill,	0,	7200000,	0,	NULL)
You can do more something with creating character, or get character function, just learn more this RohanGame database structure.
03/05/2014 08:08 wisnu077#7
Quote:
Originally Posted by namvfpx View Post
Okay, this is solution, edit stored procedure RohanGame.dbo.ROHAN_CreateCharacter, add some items or skill buffed by insert more line:
Code:
INSERT INTO dbo.TEventItem (type, attr, stack, rank, equip_level, equip_dexterity, equip_intelligence, equip_strength, char_id) VALUES (change_to_wanted_item_id, 0, 1, 0, 0, 0, 0, 0, @char_id)

INSERT INTO dbo.TSkillAffect (char_id, kind, level, affect_time, event_time, param) VALUES (@char_id, change_to_wanted_skill,	0,	7200000,	0,	NULL)
You can do more something with creating character, or get character function, just learn more this RohanGame database structure.
dbo.ROHAN_CreateCharacter << modify ?

thank's sir :D it's work :D
01/13/2016 04:37 MrBuik#8
How To Edit In RohanGame.dbo.TEventItem ?
01/14/2016 12:51 radekslu#9
Lol, why didn't u just edit beginitem.bin?
01/14/2016 13:02 Dr.Dr.SheldonLeeCooper#10
Quote:
Originally Posted by radekslu View Post
Lol, why didn't u just edit beginitem.bin?
I bet he dont know how he can do that :D
01/14/2016 18:40 asdfRohan#11
Beginitem.bin is the way to go. Tho, as a sitenote, timed items have to be put into the event inventory.
01/15/2016 01:37 Ishtaria#12
Unless the timed items are sealed but that might just confuse him even more :awesome:
01/15/2016 10:54 asdfRohan#13
:awesome:
01/15/2016 12:27 radekslu#14
Not quite, i managed once to put timed items to beginitem.bin and they worked, i mean they didn't dissapear after relog.
01/15/2016 12:51 asdfRohan#15
Thats funny because the mapserver doesnt set the time flag when creating starter items.