Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 14:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE]Nonplayer Module Happy New Year!!!

Discussion on [RELEASE]Nonplayer Module Happy New Year!!! within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
sema1995's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 254
Received Thanks: 68
[RELEASE]Nonplayer Module Happy New Year!!!



HTML Code:
import ui
import playerSettingModule
import chr
import app
import grp
import player
import background
import constInfo
import nonplayer
import chrmgr

class NonplayerModule(ui.Window):
	def __init__(self):
		ui.Window.__init__(self)
		
		playerSettingModule.LoadGameData("INIT")			
		playerSettingModule.LoadGameData("NPC")
		playerSettingModule.LoadGameData("EFFECT")
		playerSettingModule.LoadGameData("ENEMY")			
		playerSettingModule.LoadGameData("SKILL")
		
		self.board = ui.Board()
		self.board.SetCenterPosition()
		self.board.SetSize(300,100)
		self.board.AddFlag("movable")
		self.board.Show()
		
		self.guerrero = ui.Button()
		self.guerrero.SetParent(self.board)
		self.guerrero.SetPosition(30,20)
		self.guerrero.SetUpVisual('d:/ymir work/ui/game/windows/tab_button_small_01.sub')
		self.guerrero.SetOverVisual('d:/ymir work/ui/game/windows/tab_button_small_02.sub')
		self.guerrero.SetDownVisual('d:/ymir work/ui/game/windows/tab_button_small_03.sub')
		self.guerrero.SetEvent(ui.__mem_func__(self.__Guerrero))
		self.guerrero.SetText("Guerrero")
		self.guerrero.Show()
		
		self.sura = ui.Button()
		self.sura.SetParent(self.board)
		self.sura.SetPosition(70,20)
		self.sura.SetUpVisual('d:/ymir work/ui/game/windows/tab_button_small_01.sub')
		self.sura.SetOverVisual('d:/ymir work/ui/game/windows/tab_button_small_02.sub')
		self.sura.SetDownVisual('d:/ymir work/ui/game/windows/tab_button_small_03.sub')
		self.sura.SetEvent(ui.__mem_func__(self.__Sura))
		self.sura.SetText("Sura")
		self.sura.Show()
		
		self.ninja = ui.Button()
		self.ninja.SetParent(self.board)
		self.ninja.SetPosition(110,20)
		self.ninja.SetUpVisual('d:/ymir work/ui/game/windows/tab_button_small_01.sub')
		self.ninja.SetOverVisual('d:/ymir work/ui/game/windows/tab_button_small_02.sub')
		self.ninja.SetDownVisual('d:/ymir work/ui/game/windows/tab_button_small_03.sub')
		self.ninja.SetEvent(ui.__mem_func__(self.__Ninja))
		self.ninja.SetText("ninja")
		self.ninja.Show()
		
		self.chamana = ui.Button()
		self.chamana.SetParent(self.board)
		self.chamana.SetPosition(150,20)
		self.chamana.SetUpVisual('d:/ymir work/ui/game/windows/tab_button_small_01.sub')
		self.chamana.SetOverVisual('d:/ymir work/ui/game/windows/tab_button_small_02.sub')
		self.chamana.SetDownVisual('d:/ymir work/ui/game/windows/tab_button_small_03.sub')
		self.chamana.SetEvent(ui.__mem_func__(self.__Chamana))
		self.chamana.SetText("Chamana")
		self.chamana.Show()
		
		self.emocion = ui.Button()
		self.emocion.SetParent(self.board)
		self.emocion.SetPosition(30,60)
		self.emocion.SetUpVisual('d:/ymir work/ui/game/windows/tab_button_small_01.sub')
		self.emocion.SetOverVisual('d:/ymir work/ui/game/windows/tab_button_small_02.sub')
		self.emocion.SetDownVisual('d:/ymir work/ui/game/windows/tab_button_small_03.sub')
		self.emocion.SetEvent(ui.__mem_func__(self.__Emocion))
		self.emocion.SetText("Emocion")
		self.emocion.Show()
		
		self.normal = ui.Button()
		self.normal.SetParent(self.board)
		self.normal.SetPosition(70,60)
		self.normal.SetUpVisual('d:/ymir work/ui/game/windows/tab_button_small_01.sub')
		self.normal.SetOverVisual('d:/ymir work/ui/game/windows/tab_button_small_02.sub')
		self.normal.SetDownVisual('d:/ymir work/ui/game/windows/tab_button_small_03.sub')
		self.normal.SetEvent(ui.__mem_func__(self.__Normal))
		self.normal.SetText("Normal")
		self.normal.Show()
		
	def __Emocion(self):
		chr.PushOnceMotion(chr.MOTION_DEAD, 0.1)
		
	def __Normal(self):
		chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
		
	def __Guerrero(self):
		x = 41800 #Position x ( in the map )
		y = 69400 #Position y ( in the map )
		self.__MakeCharacter(0,x, y)
		chr.SetArmor(20009)
		#chr.SetHair(1009)
		chr.SetWeapon(279)	
		#chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
		#chr.Refresh()

	def __Sura(self):
		x = 41800
		y = 69600
		self.__MakeCharacter(2,x, y)
		chr.SetArmor(11299)
		chr.SetWeapon(149)	
		#chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
		#chr.Refresh()

	def __Ninja(self):
		x = 41800
		y = 69800
		self.__MakeCharacter(1,x, y)
		chr.SetArmor(11299)
		chr.SetWeapon(2169)
		#chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
		#chr.Refresh()
	
	def __Chamana(self):
		x = 41800
		y = 70000 
		self.__MakeCharacter(3,x, y)	
		chr.SetArmor(11299)
		chr.SetWeapon(7199)
		#chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
		#chr.Refresh()

	def __MakeCharacter(self, race, x, y):
		nonplayer.GetEventType(1) 
		nonplayer.GetGradeByVID(1)
		nonplayer.GetLevelByVID(100)
		nonplayer.GetMonsterName("SeMa Test")
		
		nonplayer.LoadNonPlayerData()
		
		chr.CreateInstance(race)
		chr.SetInstanceType(chr.INSTANCE_TYPE_NPC)
		chr.SelectInstance(race)
		chr.SetVirtualID(race)
		chr.SetRace(race)
		chr.SetNameString("Test SeMa")

		chr.Refresh()
		#chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		#chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)

		chr.SetPixelPosition(x, y)
		chr.SetDirection(chr.DIR_SOUTHEAST)
		chr.SetMoveSpeed(300)
		chr.Render()
		grp.RestoreViewport()
		grp.PopState()
		grp.SetInterfaceRenderState()
		chr.Show()

	def OnUpdate(self):
		None


x = NonplayerModule()
Happy New Year!!!
sema1995 is offline  
Thanks
22 Users
Old 01/01/2014, 01:06   #2
 
elite*gold: 0
Join Date: Sep 2010
Posts: 73
Received Thanks: 31
Thanks
Gracias ^^
galetlefrancais is offline  
Old 01/01/2014, 01:49   #3
 
Dexam™'s Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 165
Received Thanks: 206
thanks!!!


mfg
Dexam™ is offline  
Old 01/01/2014, 01:57   #4
 
*~.ιηνιη¢ιвℓє.~*'s Avatar
 
elite*gold: 5
Join Date: Dec 2011
Posts: 1,823
Received Thanks: 951
Thanks <3

Happy new Year my friend :-)
*~.ιηνιη¢ιвℓє.~* is offline  
Old 01/01/2014, 11:50   #5
 
Summex's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 738
Received Thanks: 227
Now everybody will spawn many bots with this then make a screenshot and say: Wohoo look we have 1000 players online at the same time
Summex is offline  
Thanks
1 User
Old 01/01/2014, 15:47   #6
 
stσям™'s Avatar
 
elite*gold: 350
Join Date: Oct 2011
Posts: 176
Received Thanks: 49
Quote:
Originally Posted by Summex View Post
Now everybody will spawn many bots with this then make a screenshot and say: Wohoo look we have 1000 players online at the same time
Haha, Classic ^^

SEMA! Thanks for the release
stσям™ is offline  
Old 01/01/2014, 15:49   #7
 
.Cyous's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 2,575
Received Thanks: 916
Haha okay thanks.
Happy new Year.

Gruß,
.Cyous
.Cyous is offline  
Old 01/01/2014, 15:59   #8
 
elite*gold: 0
Join Date: Sep 2012
Posts: 127
Received Thanks: 12
thanks ! i like it and happy new year !
but can you add some thing to make them dacing? ^^
CubeFr is offline  
Old 01/01/2014, 16:41   #9
 
elite*gold: 2
Join Date: Jun 2013
Posts: 1,063
Received Thanks: 1,724
Thanks! Now I can try something
ProfessorEnte is offline  
Old 01/01/2014, 17:43   #10
 
Zetsu WoC™'s Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 212
Received Thanks: 178
so close if you know what i mean.
Zetsu WoC™ is offline  
Old 01/04/2014, 19:56   #11
 
niquetamereputain's Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 145
Received Thanks: 23
Utility ?^^ happy new year
niquetamereputain is offline  
Old 01/05/2014, 00:22   #12
 
stσям™'s Avatar
 
elite*gold: 350
Join Date: Oct 2011
Posts: 176
Received Thanks: 49
Quote:
Originally Posted by CubeFr View Post
thanks ! i like it and happy new year !
but can you add some thing to make them dacing? ^^


def __Emocion(self):
chr.PushOnceMotion(chr.MOTION_DANCE_4, 0.1)


stσям™ is offline  
Old 01/05/2014, 02:10   #13
 
sneidder's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 189
Received Thanks: 47
sema es mi travesti favorito
sneidder is offline  
Old 01/05/2014, 03:44   #14
 
elite*gold: 780
Join Date: Jan 2014
Posts: 193
Received Thanks: 58
Gute Arbeit,

Danke fürs Releasen,

werden viele gebrauchen.

mfg
Radeon' is offline  
Old 01/05/2014, 04:01   #15
 
Jоe's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 749
Received Thanks: 188
useless
Jоe is offline  
Reply


Similar Threads Similar Threads
[Release]Zijific Nude Wallhack(Advance Happy New Year)
01/03/2013 - Soldier Front Philippines - 1 Replies
Intructions 1. Download This File :::Zijific Nude Wallhack.exe 2. Click The Injector 3. Browse The DLL 4. Open DF Launcher 5. LOg-in Your ACCOUNT Bo0o0o0oo0m!!! God Bless You AlL.. And Happy New Year
[Release]Zijific Nude Wallhack(Advance Happy New Year)
12/30/2012 - Soldier Front Philippines - 1 Replies
Intructions 1. Download This File :::Zijific Nude Wallhack.exe 2. Click The Injector 3. Browse The DLL 4. Open DF Launcher 5. LOg-in Your ACCOUNT Bo0o0o0oo0m!!! God Bless You AlL.. And Happy New Year
[Release]Zijific Nude Wallhack(Advance Happy New Year)
12/26/2012 - Soldier Front - 2 Replies
Intructions 1. Download This File :::Zijific Nude Wallhack.exe 2. Click The Injector 3. Browse The DLL 4. Open DF Launcher 5. LOg-in Your ACCOUNT Bo0o0o0oo0m!!! God Bless You AlL.. And Happy New Year



All times are GMT +1. The time now is 14:09.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.