View Full Version : L2Extend Augmentation issue
I just updated my rev yesterday and tried augmentation system.
I can't save any of my augmented item to the database so I added some debug and found out I had "strange" augmentation id ( > 1000000000 )
Is there a problem in the random augmentation formula ? Does someone else get those big id ?
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-19-2009, 11:18 PM. Открыть источник (https://web.archive.org/web/20100324122837id_/http://www.postpacific.com:80/archive/index.php/t-848.html).
Maximum augmentation id is - 1073496060 = 16380*65536 + 16380, you have always two effects which are represent as two numbers in one.
Randomize formule is rewritten from l2j, but i am afraid that it doesn't work very well, when i was testing creating augmented weapons it seems that it put for same weapon always same effect in it.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-19-2009, 11:45 PM. Открыть источник (https://web.archive.org/web/20100324122837id_/http://www.postpacific.com:80/archive/index.php/t-848.html).
1073496060 is the max? How do you use this Id with augmentation data after ?
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-20-2009, 03:16 AM. Открыть источник (https://web.archive.org/web/20100324122837id_/http://www.postpacific.com:80/archive/index.php/t-848.html).
Maximum augmentation id is - 1073496060 = 16380*65536 + 16380, you have always two effects which are represent as two numbers in one.
Augment Code = AugID1 << 16 + AugID2
Augmentations mapped in optiondata_client-e.dat, you can probably find a shared "augmentation_data.txt" with the skill ids ... here
http://pastebin.com/m59f9b517
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-20-2009, 07:05 AM. Открыть источник (https://web.archive.org/web/20100324122837id_/http://www.postpacific.com:80/archive/index.php/t-848.html).
1073496060 is the max? How do you use this Id with augmentation data after ?
Calculated AugmentationId is sending to client as INT32 as part of information about item.
You can get first effect as: augmentationId & 0xFFFF, and second effect as: augmentationId >> 16.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-20-2009, 08:58 AM. Открыть источник (https://web.archive.org/web/20100324122837id_/http://www.postpacific.com:80/archive/index.php/t-848.html).