Little instructions
1. Download the files.
2. Unpack the archive.
3. Unpack the client root.eix/.epk and ETC.eix/.epk and uiscript.eis/.epk files.
4. Open the game.py & search for this:
Code:
def __ServerCommand_Build(self):
5. Write there these:
Code:
"achievement" : self.__AchievementTest,
"achievementpoints" : self.__ShowAchievementPoints,
5,1. The original is:
Code:
def __ServerCommand_Build(self):
serverCommandList={
"ConsoleEnable" : self.__Console_Enable,
"DayMode" : self.__DayMode_Update,
"PRESERVE_DayMode" : self.__PRESERVE_DayMode_Update,
"CloseRestartWindow" : self.__RestartDialog_Close,
"OpenPrivateShop" : self.__PrivateShop_Open,
"PartyHealReady" : self.PartyHealReady,
"ShowMeSafeboxPassword" : self.AskSafeboxPassword,
"CloseSafebox" : self.CommandCloseSafebox,
# ITEM_MALL
"CloseMall" : self.CommandCloseMall,
"ShowMeMallPassword" : self.AskMallPassword,
"item_mall" : self.__ItemMall_Open,
# END_OF_ITEM_MALL
5,2. And the modified:
Code:
def __ServerCommand_Build(self):
serverCommandList={
"ConsoleEnable" : self.__Console_Enable,
"DayMode" : self.__DayMode_Update,
"PRESERVE_DayMode" : self.__PRESERVE_DayMode_Update,
"CloseRestartWindow" : self.__RestartDialog_Close,
"OpenPrivateShop" : self.__PrivateShop_Open,
"PartyHealReady" : self.PartyHealReady,
"ShowMeSafeboxPassword" : self.AskSafeboxPassword,
"CloseSafebox" : self.CommandCloseSafebox,
# Achievement System START
"achievement" : self.__AchievementTest,
"achievementpoints" : self.__ShowAchievementPoints,
# Achievement System END
# ITEM_MALL
"CloseMall" : self.CommandCloseMall,
"ShowMeMallPassword" : self.AskMallPassword,
"item_mall" : self.__ItemMall_Open,
# END_OF_ITEM_MALL
6. Now write to the random space for these (I wrote the end of game.py ):
Code:
# Achievement System START
def __ShowAchievementPoints(self, points):
import uiAchievement
import uiTaskbar
self.uiAchievement = uiAchievement.AchievementDialog()
uiAchievement.AchievementPoints = int(points)
def __AchievementTest(self, archivement):
import uiAchievement
self.uiAchievement = uiAchievement.AchievementDialog()
self.uiAchievement.Show(1, str(archivement))
self.uiAchievement.SetTop()
# Achievement System END
7. Save and close.
8. Drop the uiachievement.py to the root folder and write in the root_pack.xml this:
Code:
<File archivedPath="uiachievement.py" type="2"><![CDATA[Source\uiachievement.py]]></File>
9. Put the achievement_small.sub file in the "\ymir work\ui\public\" folder.
10. Put the achievement_small.dds file in the "\ymir work\ui\" folder.
11. Open the etc_pack.xml, and complete with two lines:
Code:
<File archivedPath="d:/ymir work/ui/public/achievement_small.sub" type="0"><![CDATA[Source\ymir work\ui\public\achievement_small.sub]]></File>
<File archivedPath="d:/ymir work/ui/achievement_small.dds" type="0"><![CDATA[Source\ymir work\ui\achievement_small.dds]]></File>
12. Now put the achievementboard.py in the uiscript folder, and open the uiscript_pack.xml, and complete with this:
Code:
<File archivedPath="uiscript/achievementboard.py" type="2"><![CDATA[Source\uiscript\achievementboard.py]]></File>
12,1. If you haven't got warteschleife.py:
Create a new text documentum, and write into:
Code:
import uiScriptLocale
window = {
"name" : "QuestionDialog",
"x" : SCREEN_WIDTH/2 - 125,
"y" : SCREEN_HEIGHT/2 - 52,
"width" : 0,
"height" : 0,
}
Save and close and rename to warteschleife.py. Open the uiscript_pack.xml and comlete with one line:
Code:
<File archivedPath="uiscript/warteschleife.py" type="2"><![CDATA[Source\uiscript\warteschleife.py]]></File>
13. Pack the client files, and change encryption type, if protected client.
14. Open the FileZilla, and connect up your server, go in the quest folder, download the quest_list file.
15. Open the quest_list and write into:
achieve_test.quest
[and one empty line for last]
Save and close.
16. Upload the quest_list and the achieve_test.quest in the quest folder, and run the sh make.sh or ./qc achieve_test.quest
17. Launch the game, and logging in, run the /reload q command, and enjoy.
Sorry for my bad English :handsdown:
I hope you succeed. :)