Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 09:22

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

Advertisement



How to make switchbot buy bonus switcher from NPC?

Discussion on How to make switchbot buy bonus switcher from NPC? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 21
Received Thanks: 1
How to make switchbot buy bonus switcher from NPC?

Hello, I have the logininfo.py switchbot and I use it on a server.
It's the only switchbot I can use, because this server has protection, but somehow this switchbot works, lol.

So there is no bonus switcher at the NPC directly. To buy the bonus switcher you need to click on the NPC, then a windows will appear and you need to select from a list of quests the "Bonus Switcher" and then a new window will appear and select "I want to buy Bonus switcher". So there is no actual shop that I can let open in order for the switchbot to auto buy...

How could I make my switchbot bypass this and autobuy when there is no bonus switcher in the inventory. Because like this I always have to be near the PC to buy another bonus switcher.

The code of the switchbot where it buys from the shop I think it's this:

Code:
			if player.GetItemCountByVnum(int(Switchvalue)) <= 0:
				for eachSlot in xrange(shop.SHOP_SLOT_COUNT):
					getShopItemID = shop.GetItemID(eachSlot)
					if getShopItemID == int(Switchvalue) and not itemVNum == int(Switchvalue):
						net.SendShopBuyPacket(eachSlot)
Can you help me change this code in order to auto buy bonus switcher?
Or if there is something else I need to do, please teach me
xbossy is offline  
Old 07/02/2015, 05:53   #2
 
elite*gold: 0
Join Date: Jul 2015
Posts: 24
Received Thanks: 2
Nice
Famouz™ is offline  
Old 07/02/2015, 09:25   #3
 
elite*gold: 0
Join Date: Jul 2011
Posts: 21
Received Thanks: 1
Nice what??
I am asking how to do it, I don't explain how I do it...

Please help me make autobuy bonus switcher for this server!
xbossy is offline  
Old 07/02/2015, 09:36   #4

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Idk how to do it exactly in python, but i would do something like this:

Code:
class switchbot
	
	shopslot = 0
	
	def switch():
		if switchercount < 1:
			if vnum_in_slot(shopslot) != 71084:
				shopslot = getShopslotForVnum(71084)
			buy_item_from_shopslot(shopslot)
		
		#switch_boni
		
	def getShopslotForVnum(vnum):
		for i = 0, shopslotcount, 1:
			if vnum_in_slot(i) == vnum:
				return i
rollback is offline  
Old 07/02/2015, 15:20   #5
 
elite*gold: 0
Join Date: Jul 2011
Posts: 21
Received Thanks: 1
Thank you Sensi for your response, but your code does the same as the one I posted? Because I think they are the same..
I don't know if you understood, the NPC doesn't have bonus switcher in a shop. It's in a quest, I need to choose from a menu "bonus switcher" and I will receive the bonus switcher in my inventory. How can I do this automatically?

It's like this.
xbossy is offline  
Reply


Similar Threads Similar Threads
Help!! Bonus Switcher
02/04/2015 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 1 Replies
Hello. Kann jemand mir helfen, mit einem bonus switcher in nextworld2??? nextworld2.hu
PLEASE HELP! Bonus switcher
10/13/2013 - Metin2 Private Server - 2 Replies
I am trying to use the bonus switcher of Padmak but when i start it the metin2 client closes if some one could help me solve the problem or recomend me some other bonus switcher maybe a python bonus switcher and also tell me how to install it.
REQ: Can some1 make tutorial for Padmak's bonus switcher on english?
10/30/2011 - Metin2 - 5 Replies
Hi to every1,i have problems with deutch language and i don't know how to start bonus switcher,so can some1 who is good with english and deutsch translate the steps? It's about this hack - http://www.elitepvpers.com/forum/metin2-hacks-bots -cheats-exploits-macros/1411540-release-switchbotv 2-beta-padmak.html Thanks.
Bonus Switcher?
02/26/2011 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 1 Replies
HI! I play Valkyrie Mt2, and have heard that some of the gamers have ''bonusswitcher by padmak, and that it WORKS.. I have serched for the file for 4 hours and I couldnt find a program that works on Valkyrie.... Have some of you got the same problem, and can give me some help? the file I have downloaded is Bonus Switcher_by_Padmak(c) But it DOESNT work on Valkyrie, and I have followed many clips on youtube and have done all the things they showed in the clips, followed each instruction, but...
Hello i need A bonus Switcher hack to 6-7 bonus
01/24/2011 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 3 Replies
Hello all of this forum. i need a hack to change automatic and fast the 6-7 bonus. Please any person can create this hackk PM



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


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.