Register for your free account! | Forgot your password?

You last visited: Today at 03:07

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

Advertisement



[C++/Pyhton] Inventory Shop Open

Discussion on [C++/Pyhton] Inventory Shop Open within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
karaca425's Avatar
 
elite*gold: 0
Join Date: May 2015
Posts: 13
Received Thanks: 9
[C++/Pyhton] Inventory Shop Open

char.cpp

search


Code:
RemoveSpecifyItem(50200, 1);
under

delete


Code:
else
return; // 보따리가 없으면 중단.
cmd_general.cpp open

search


Code:
ACMD(do_click_mall)
under add

Code:
ACMD(do_pazar_ac)
{
	if (ch->IsObserverMode() || ch->IsDead() || ch->IsStun() || ch->GetMountVnum() || ch->IsHorseRiding() == true || ch->IsOpenSafebox() || ch->GetShopOwner() || ch->GetMyShop() || ch->IsCubeOpen()  || ch->GetExchange()) 
	{
		return;
	}
	ch->ChatPacket(CHAT_TYPE_COMMAND, "OpenPrivateShop");
cmd.cpp open

search


Code:
ACMD(do_click_mall);
under add

Code:
ACMD(do_pazar_ac);
search

Code:
{ "click_mall",			do_click_mall,			0,	POS_DEAD,	GM_PLAYER		},
under add

Code:
{ "pazar_ac",			do_pazar_ac,			0,	POS_DEAD,	GM_PLAYER		},
Game Src Build :)
Game Src Build

root/uiinventory.py

search


Code:
self.mallButton = self.GetChild2("MallButton"
under add

Code:
self.karaca425Button = self.GetChild2("karaca425Button")
search
Code:
		# MallButton
		if self.mallButton:
			self.mallButton.SetEvent(ui.__mem_func__(self.ClickMallButton))

		if self.DSSButton:
			self.DSSButton.SetEvent(ui.__mem_func__(self.ClickDSSButton))
under add
Code:
		# Karaca425--Pazar System
		if self.karaca425Button:
			self.karaca425Button.SetEvent(ui.__mem_func__(self.Clickkaraca425Button))
			
		self.wndCostume = None
search
Code:
def ClickCostumeButton(self):
under add
Code:
	# Karaca425 Pazar System
	def Clickkaraca425Button(self):
		net.SendChatPacket("/pazar_ac")
locale/inventorywindow.py open

search
Code:
						{
							"name" : "MallButton",
							"type" : "button",

							"x" : 118,
							"y" : 148,

							"tooltip_text" : uiScriptLocale.MALL_TITLE,

							"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
						},

under add

Code:
                       {
                            "name" : "karaca425Button",
                            "type" : "button",


                            "x" : 118,
                            "y" : 107,


                            "tooltip_text" : "Pazar Ac",


                            "default_image" : "karaca425_button_01.tga",
                            "over_image" : "karaca425_button_02.tga",
                            "down_image" : "karaca425_button_03.tga",
                        },
finish

Download link root into






karaca425 is offline  
Thanks
3 Users
Old 05/09/2016, 15:05   #2
 
.Espox's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 1
Received Thanks: 0
Quote:
Originally Posted by xP3NG3Rx View Post
Unnecessary turkish codes, please more moarrr.
You are racist. Live people like you even embarrassing.
.Espox is offline  
Old 05/09/2016, 22:57   #3
 
karaca425's Avatar
 
elite*gold: 0
Join Date: May 2015
Posts: 13
Received Thanks: 9
Quote:
Originally Posted by xP3NG3Rx View Post
Unnecessary turkish codes, please more moarrr.
you being arrogant !
karaca425 is offline  
Old 05/09/2016, 23:25   #4
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
Quote:
Originally Posted by karaca425 View Post
you being arrogant !
Actually he isnt.
but if you post an turkish code, it is useless for people that dont speak that language.
You name all Strings with turkish names, so its hard to get their meanings.
basically worldwide programming language is english. You should use it, too.
xCPx is offline  
Thanks
6 Users
Reply


Similar Threads Similar Threads
Open Steam Inventory CS:GO
07/15/2015 - Counter-Strike Trading - 89 Replies
Ich verkaufe nur meine CS:GO Skins. Ich suche ONLY deutsche & offline PSC. https://steamcommunity.com/profiles/7656119820405 6367 Für das Knife will ich OVERPAY. 1/0/0
[Open]Inventory
06/24/2015 - Counter-Strike Trading - 0 Replies
Ich trade alles in meinen Inventar ich will nur Upgrades meinerseits und 1:1 vom Wert Steam Community :: ?Stareex? :: Item Inventory https://steamcommunity.com/tradeoffer/new/?partne r=141968028&token=FQfJ8baB
OPEN STEAM INVENTORY
05/31/2015 - Counter-Strike Trading - 1 Replies
Verkaufe alles außer das Knife(KNIFE NUR BEI OVERPAY) Steam Community :: ZenTuRiX Suche ONLY PSC
[Selling] Open Inventory
04/17/2015 - Counter-Strike Trading - 6 Replies
Hier verkaufe ich mein Inventar ihr könnt mir Offers senden oder mir PSC/e*gold anbieten. Ich hab jetzt nicht soo viel und soo krasses Zeug aber naja :D Wer interesse hat einfach ein Offer senden oder hier was in den Thread reinschreiben! Profil: Steam Community :: Shysaku *Trader*
Open Inventory Address
04/14/2011 - 12Sky2 - 6 Replies
can some one tell me the open inventory address or how to find it



All times are GMT +2. The time now is 03:07.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.