Ktoś zaczął resharować moje kody, dla tego umieszcze mój kod i tutaj, może się przydać.
Achievements Engine - automatyczny, XML BasedCzym są achievementy, mówić chyba nie trzeba - są to 'osiągnięcia' za które gracz może otrzymywać nagrody. Przykładowy achievement:
Cytat<achievement id="1" name="Test Achievement" description="Test description of the sample achievement, you can change everything by editing xml file! Nothing more, everything is fully automatic." reward="57,10000" minLevel="80" minPvPCount="200" minPkCount="300" minClanLevel="5" mustBeHero="true"/>
Wszystko sprowadza się do dodania nowego 'osiagniecia' w pliku achievements.xml - reszta generuje się automatycznie.
2. Screenshots:- Every player may check his achievements status, info
(achievement list generated automatically from achievement xml list created by admin)
(https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Fi56.tinypic.com%2Fw6xc02.jpg&hash=3eefefc24b6879bf16ef383b92c8e3a8257a11be) (https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Foi53.tinypic.com%2Fdo5dkw.jpg&hash=a4093a9e41f5e932132c415711d3fde8f32b58b2)
Not Completed - means player doesnt meet conditions of the achievement to get reward.
Get Reward - player meet each condition of the achievement, click info to click get reward button and receive reward for achievement.
Completed - means player already received reward for completing this achievement.
- By clicking info player may check info about achievement, check if he meet conditions of this achievement etc (and if meet, may see get reward button to get reward)
(https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Foi54.tinypic.com%2Fqs0a6r.jpg&hash=022d1afdeee18732abadf98a513383c6881069ed) (https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Fi54.tinypic.com%2F2nsnseu.jpg&hash=7cdfece92de61e396a49c4f7353a6f12194fdb06)
Everything is generated automatically - admin simply have to create new achievements in achievements.xml file, and thats all - everything will be done, loaded and generated by engine.
Versja 1.0 - strasznie -_-' napisana (hardcoded, tylko 5 możliwych warunków 'conditions')
Versja 2.0 - przpisana, łatwe tworzenie własnych 'conditionów' Jedyny mały problem to wyświetlanie nazw conditionów, ale naprawa zajmie 5 min.
W wersji 2.0 można stosować następujące 'conditiony'
(https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Foi53.tinypic.com%2F2czt2ee.jpg&hash=db8551d0c3eea90506fd5335e8d1bf31548fe7dc)
Download... (http://www.megaupload.com/?d=QG38Y16J123)
Autor: Ja.
Gratuluje pomysłu. Pierwszy raz się z czymś takim w L2 spotykam. Na pewno ten dodatek urozmaici grę, jeśli ktoś zdecyduje się go dodać na serwer :P
Tylko link jest niesprawny.