Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 23:48

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

Advertisement



[Help] Check, if player has gold bonusses

Discussion on [Help] Check, if player has gold bonusses within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
[Help] Check, if player has gold bonusses

Hello, can somebody help me, how to check in client in python, if player buy gold or silver bonusses

something as

if player.POINT_MALL_EXPBONUS == True "
do soomething
....

this doesnt work and i dont know, how to do it

Thank you
xworldx is offline  
Old 12/15/2013, 18:54   #2
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
I'm not sure if i got it right but if you mean what i think i have an answer for you:
Code:
quest something begin
	state start begin
		function has_mall_bonus()
			return mysql_query("SELECT COUNT(*) FROM account.account WHERE id='"..pc.get_account_id().."' AND (gold_expire>NOW() or silver_empire>NOW())")[1][1] == 1
		end
		when login begin
			if something.has_mall_bonus() then
				chat("You have an mall bonus (gold or silver)!")
			end
		end
	end
end
If you mean something else sorry^^

Kind Regards
.HC'Destrox is offline  
Old 12/15/2013, 19:01   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
this is in quest, but I need it in client
xworldx is offline  
Old 12/15/2013, 19:47   #4
 
elite*gold: 5
Join Date: Mar 2013
Posts: 1,986
Received Thanks: 2,254
Use cmdchat to send it to the client
xGr33n is offline  
Old 12/15/2013, 21:15   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
2xGr33n: this variable isnt in player.*** ??
can you send some small help how to do it?
I want to show button in uitarget.py in def ShowDefaultButton(self):

self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON.......***

for players with premium


Thx
xworldx is offline  
Old 12/16/2013, 17:45   #6
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
It's automatically shown, isn't it?
I don't know why you need this

Kind Regards
.HC'Destrox is offline  
Old 12/16/2013, 21:43   #7
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
show some button only for premium user
xworldx is offline  
Old 12/16/2013, 22:02   #8
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
Just send a cmdchat (like xGr33n said) and if it receives this cmdchat you show a image (in the game.py).

Kind Regards
.HC'Destrox is offline  
Reply


Similar Threads Similar Threads
[Sammelthread]Rewards/Bonusses
10/12/2013 - Facebook - 5 Replies
http://epvpimg.com/wyLYd.png Rewards|Game 3000 Coins|Criminal Case Energy|Marvel Avengers Alliance Random Reward|Dragon City Madallion Item|Texas HoldEm Poker 2 Hints|Hidden Shadows 2000 Gems|Zynga Elite Slots 300 Coins|Bubble Island
How to check bp of a player?
10/15/2010 - EO PServer Hosting - 10 Replies
example: I want only players below 500 bp part of the event, as I do? What type, date or stop I use? Thank. Kiss
CHECK THIS IF UR RONDOW PLAYER ;)
05/25/2010 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 2 Replies
Jap ur right.. i didnt see that was already posted. #Request to delete and sorry.
Check if a player of the other faction is online
05/12/2006 - WoW Exploits, Hacks, Tools & Macros - 2 Replies
If u wanna know if a player of the opposite faction is currently online, there are several possibilities to find out. with every method, you know if he's on or off by: -> if he's offline: player not found. -> if he's online: error msg, opposite faction 1. you can /ignore the player. 2. you can invite the player into a group.



All times are GMT +2. The time now is 23:48.


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.