Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   Transformation issues - Vanguard / Inquisitor (https://postpacific.mmorpg-game.online/showthread.php?t=1000384)

Aldryss 07.06.2009 04:08

Transformation issues - Vanguard / Inquisitor
 
Since CT1, people are allowed to use transformation skills, with those transformations, they gain new skills and lose their regular skills.

I'm trying to make Vanguard and Inquisitor at the moment and I'm wondering what could be the best method.

Saving user skill list (dunno how atm), delete it, give user new skills and reverse the process when the skill is desactivated ?

Any ideas someone ?

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 04:08 AM. Открыть источник.

roxaz 07.06.2009 04:42

Transformation issues - Vanguard / Inquisitor
 
or add enabled flag to the skills. send to player and allow to use only enabled skills

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 04:42 AM. Открыть источник.

kishay 07.06.2009 04:43

Transformation issues - Vanguard / Inquisitor
 
check request use skill packet? proboly, if user is transformed, ignore, maby hook the sent skill list packet.. if transformed, send a new skill list packet of only thos skills, and check in the shortcut packet fix if there transformed, one of the vars for the skill shortcuts greys out the button on the hot bar.. like retail

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 04:43 AM. Открыть источник.

Aldryss 07.06.2009 04:51

Transformation issues - Vanguard / Inquisitor
 
the skills are darkened in retail ?

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 04:51 AM. Открыть источник.

kishay 07.06.2009 05:03

Transformation issues - Vanguard / Inquisitor
 
http://img14.imageshack.us/img14/7136/26092347.png

yes, on the hotbar they do, as shown in that picture

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 05:03 AM. Открыть источник.

Transe 07.06.2009 05:15

Transformation issues - Vanguard / Inquisitor
 
btw, the transformation system has another one bug. When the user log out the transformation is set to 0 but the abnormal stays. So you need to delete the abnormal too :)

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 05:15 AM. Открыть источник.

kishay 07.06.2009 05:30

Transformation issues - Vanguard / Inquisitor
 
no, it needs db saving, something i never wrote for it, or to change the transform skills to pumps

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 05:30 AM. Открыть источник.

mrmac 03.07.2009 13:27

Transformation issues - Vanguard / Inquisitor
 
Best method to me seems:

parser for allowed skills when in transform.

Upon transform begin with a p_effect

reset skills, loop and acquire from parser.

a better way would be to save transformed in user_data

and upon enter world, if transform, reset and acquire based on id.

Your only issue is to figure out how to effectively only wipe skills in mem.

also dont forget cshortcutinfo and block :)

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-03-2009, 01:27 PM. Открыть источник.


All times are GMT. The time now is 17:16.