[Abschieds-Release]Achievement System

09/14/2011 01:28 TehImpulse#61
man es bringt dia nichts eyy weil die warteschleife.py fehlt ohne die kriegst du ingame direkt kick man

game.py öffnen das suchen

Quote:
snd.FadeInMusic("BGM/" + musicInfo.fieldMusic)
darunter. eine zeile noch machen die leer ist sonst fehler
09/14/2011 02:18 xP3NG3Rx#62
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,
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>
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. :)
09/14/2011 02:20 .Flynn.#63
Habs danke.
mfg
Flynn
09/14/2011 02:34 TehImpulse#64
Quote:
Originally Posted by xP3NG3Rx View Post
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,
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>
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. :)
hi

i think that help me !! THANKS BRO BEST

IT WORKS ALL DONE ! THX
es geht perfekt ty
09/14/2011 03:38 haimodelu#65
Quote:
Originally Posted by xP3NG3Rx View Post
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,
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>
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. :)
Tested. Perfect instructions.Thank you.
@ RealFreak - ultra release, doesn`t matter the reason, you just have bad friends, doesn`t mean you have to quit.Thank you for your work to develop this.
09/14/2011 07:02 Computercrack#66
Quote:
Originally Posted by RealFreak View Post
xCPx und .Howan

[21:21:59] xCPx: euer achievement system haben viele leute.
[00:26:53] xCPx: lachkick natührlich
[00:54:55] xCPx: ich hab es von jemandem der es direkt von realfreak hat
Wegen solchen Clowns hörst du auf?
Die sind einfach nur Noobs keine Eignen Ideen.
09/14/2011 07:05 RealFreak#67
Quote:
Originally Posted by Computercrack View Post
Wegen solchen Clowns hörst du auf?
Die sind einfach nur Noobs keine Eignen Ideen.
was würdest du machen, wenn alle deine scripts geklaut werden^^
Munter weitermachen?
Eher nicht.

Btw thx xP3NG3Rx, hab mals howto geaddet
09/14/2011 07:21 passy305#68
Quote:
Originally Posted by ~АLeЖ~ View Post
omg das macht Passy aber jz richtig Sauer...
Glaub ich iwi nicht :awesome:
Ich steh hinter Reali egal was er macht .. :p

Quote:
Originally Posted by RealFreak View Post
was würdest du machen, wenn alle deine scripts geklaut werden^^
Munter weitermachen?
Eher nicht.

Btw thx xP3NG3Rx, hab mals howto geaddet
:3

B2T:
Ob nu public oder nicht ~85% der Section könnens eh nicht verwenden weil sies nicht gebacken bekommen, es einzubaun :rolleyes:
09/14/2011 07:23 .Risan.#69
Quote:
Originally Posted by passy305 View Post
Glaub ich iwi nicht :awesome:
Ich steh hinter Reali egal was er macht .. :p



:3

B2T:
Ob nu public oder nicht ~85% der Section könnens eh nicht verwenden weil sies nicht gebacken bekommen, es einzubaun :rolleyes:
Und 60% der section kann nichtmal quest schreiben...

EDIT:
Funzt alles...
09/14/2011 07:50 Moogle™#70
Schade das du gehst, ich hätte es echt nicht gedacht von xCPx das er/du so bist echt <.< weiste Kumpel gibt dir nen Tipp was man machen könnte du setzt seine Idee einfach um und dann schickst du ihm das noch nichtmal obwohl es seine Idee war mit dem " Gruppen Chat " sag ich nur


Viel Glück weiterhin Reali :)
09/14/2011 08:01 socressor#71
omg Realfreak *__* net gehn <.<<....

btw.

PythonScriptLoader.LoadScriptFile(self, "UIScript/WarteSchleife.py")

^this???

habe es eingebaut und auch kein Fehler bekommen. Sehe Button ingame aber nicht..
09/14/2011 08:31 RealFreak#72
Quote:
Originally Posted by Moogle™ View Post
Schade das du gehst, ich hätte es echt nicht gedacht von xCPx das er/du so bist echt <.< weiste Kumpel gibt dir nen Tipp was man machen könnte du setzt seine Idee einfach um und dann schickst du ihm das noch nichtmal obwohl es seine Idee war mit dem " Gruppen Chat " sag ich nur


Viel Glück weiterhin Reali :)
war nicht passys Absicht, er wollte nurs Clientdesign schicken.
Passy trifft absolut keine Schuld^^

Schaut aber mal in xCPx Signatur:
Quote:
Zitat Crank™:
Zitat:
[17:32:05] Gummibärchen Rudolfus: get skillz noob
[17:32:14] xCPx: ;D ;D
[17:33:07] xCPx: alles wird gut lieber olli
[17:39:05] Gummibärchen Rudolfus: vergessen zu sagen
[17:39:26] Gummibärchen Rudolfus: DU BIST EIN VOLLIDIOT SUCH DIR RL, FEUNDE, FAMILE
[17:39:31] Gummibärchen Rudolfus: fucking bob
[17:39:35] xCPx: ich hab dich auch lieb
Er ist stolz darauf, Crank ausgenutzt zu haben und seine Sachen published zu haben.
Next:
[Only registered and activated users can see links. Click Here To Register...]
Added paar GMs bei meinem GM Online Board und schreibt daraufhin sein Copyright drunter.

Nais oder?

Quote:
Originally Posted by socressor View Post
omg Realfreak *__* net gehn <.<<....

btw.

PythonScriptLoader.LoadScriptFile(self, "UIScript/WarteSchleife.py")

^this???

habe es eingebaut und auch kein Fehler bekommen. Sehe Button ingame aber nicht..
Das ist ein script, welches sich per Quest aktivieren lässt.
Dafür ist auch der Quest da.
09/14/2011 08:43 socressor#73
Quote:
Originally Posted by RealFreak View Post
war nicht passys Absicht, er wollte nurs Clientdesign schicken.
Passy trifft absolut keine Schuld^^

Schaut aber mal in xCPx Signatur:

Er ist stolz darauf, Crank ausgenutzt zu haben und seine Sachen published zu haben.
Next:
[Only registered and activated users can see links. Click Here To Register...]
Added paar GMs bei meinem GM Online Board und schreibt daraufhin sein Copyright drunter.

Nais oder?


Das ist ein script, welches sich per Quest aktivieren lässt.
Dafür ist auch der Quest da.

omg xCpx wtf oO das is low^^...


@ Real
Ok habs soweit gefunden^^ nur jez krieg ich ne error oO

PHP Code:

0914 08
:42:07909 :: Failed to load script file UIScript/WarteSchleife.py
0914 08
:42:07940 :: 
ui.py(line:2625LoadScriptFile
system
.py(line:192execfile
system
.py(line:161Run
system
.py(line:176__LoadTextFile__
system
.py(line:61__init__

LoadScriptFile 
exceptions.IOError:No file or directory

0914 08
:42:07940 :: ============================================================================================================
0914 08:42:07940 :: Abort!!!!


0914 08:42:07942 :: 
uiAchievement.py(line:148__LoadDialog
ui
.py(line:2630LoadScriptFile
exception
.py(line:36Abort

WaitingDialog
.LoadDialog.BindObject exceptions.SystemExit:

0914 08:42:07942 :: ============================================================================================================
0914 08:42:07942 :: Abort!!!! 
09/14/2011 08:47 RealFreak#74
Quote:
Originally Posted by socressor View Post
omg xCpx wtf oO das is low^^...


@ Real
Ok habs soweit gefunden^^ nur jez krieg ich ne error oO

PHP Code:

0914 08
:42:07909 :: Failed to load script file UIScript/WarteSchleife.py
0914 08
:42:07940 :: 
ui.py(line:2625LoadScriptFile
system
.py(line:192execfile
system
.py(line:161Run
system
.py(line:176__LoadTextFile__
system
.py(line:61__init__

LoadScriptFile 
exceptions.IOError:No file or directory

0914 08
:42:07940 :: ============================================================================================================
0914 08:42:07940 :: Abort!!!!


0914 08:42:07942 :: 
uiAchievement.py(line:148__LoadDialog
ui
.py(line:2630LoadScriptFile
exception
.py(line:36Abort

WaitingDialog
.LoadDialog.BindObject exceptions.SystemExit:

0914 08:42:07942 :: ============================================================================================================
0914 08:42:07942 :: Abort!!!! 
0914 08:42:07909 :: Failed to load script file : UIScript/WarteSchleife.py
vergessen in den Anhang zu packen, istn leeres script:
PHP Code:
window = {
    
"name" "WaitingDialog",

    
"x" 0,
    
"y" 0,

    
"width" 0,
    
"height" 0,

09/14/2011 08:59 vinni03#75
It works, thanks :D

Screen:
[Only registered and activated users can see links. Click Here To Register...]