View Full Version : 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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
the skills are darkened in retail ?
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-07-2009, 04:51 AM. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).
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. Открыть источник (https://web.archive.org/web/20100324121529id_/http://www.postpacific.com:80/archive/index.php/t-384.html).