PDA

View Full Version : [SHARE] Create shortcuts on Create Character


max_rain
27.04.2006, 13:40
Взял за основу:
https://postpacific.mmorpg-game.online/forum/viewtopic.php?t=2287&start=0
спасибо ему.

При сзоадини песроанжа содзатюся кнкопи на бысртой панлее, а имнено
1 - подеьм вещей
4 - аткаа
12 - кнгиа tutorial guide

Объсяняю по этаапм:
1. Убиратее из setting.txt tutorial_guide
2. Открывеате в Enterprise Manager lin2world, там проецудры и нахдоите lin_CreateChar нажиамете свйсотво и до вызова в коцне: GO
пишем:



INSERT INTO shortcut_data
(char_id, slotnum,shortcut_type,shortcut_id,shortcut_macro)
VALUES
(@char_id,0,3,5,'')

INSERT INTO shortcut_data
(char_id, slotnum,shortcut_type,shortcut_id,shortcut_macro)
VALUES
(@char_id,3,3,2,'')

exec lin_CreateItem @char_id, 5588, 1, 0, 0, 0, 0, 0, 0

declare @itemz_id int
select top 1 @itemz_id = item_id from user_item (nolock) where item_type = 5588 and char_id = @char_id
INSERT INTO shortcut_data
(char_id, slotnum,shortcut_type,shortcut_id,shortcut_macro)
VALUES
(@char_id,11,1,@itemz_id,'')


p.s. googl`у привет

Den2Fast
27.04.2006, 15:07
Пасиба, тестю:)

Sunrise
27.04.2006, 16:05
thx