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 12:04

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

Advertisement



[PYTHON | RELEASE 3]Target level in the Exchange &&

Discussion on [PYTHON | RELEASE 3]Target level in the Exchange && within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 148
Received Thanks: 231
Cool [PYTHON | RELEASE 3]Target level in the Exchange &&

Hi. I'm Fatihbab34™
Actually, this system better with binary.. But I'm make python with lua.

NOTE : Together with Lua can cause problems..
NOTE2 : If you have error,you download "Exchange .py's" and this use.. Because this "PHP" Module sometimes give error lines..

Metin2 Offical Photo's;


Tutorial ;

*** ConstInfo.py *** Open and add :
PHP Code:
INPUT_IGNORE 0

                VID2 
0
                STHX2 
0

                PLAYER_LEVEL 
0
                PLAYER_NAMEE 

Open game.py and search : def __ServerCommand_Build(self):

Add the :
PHP Code:
"ticlevel"        self.Den7,
                
"pvp_den7"        self.Denn7,
                
"pvp_den8"        self.Denn8,
            
                
#Değerler..
                
"get_input_value7"        self.GetInputValue7,
                
"get_input_start7"        self.GetInputOn7,
                
"get_input_end7"        self.GetInputOff7
Function's ;

PHP Code:
def Denn7(selfdata):
        
dane data.split("|")
        
constInfo.PLAYER_LEVEL str(dane[0])
        
    
def Denn8(selfdata):
        
dane data.split("|")
        
constInfo.PLAYER_NAMEE str(dane[0])

    
def Den7(selfid):
        
constInfo.STHX2 int(id)
        
    
def GetInputOn7(self):
        
constInfo.INPUT_IGNORE 1
        
    def GetInputOff7
(self):
        
constInfo.INPUT_IGNORE 0
            
    def GetInputValue7
(self): # HP Sistemi değer girilen sayi*
        
net.SendQuestInputStringPacket(str(constInfo.VID2)) 
Close the "Game.py"

And Open root/uiexchange.py
Search : def OpenDialog(self):
And self.TitleName.SetText(locale.EXCHANGE_TITLE % (exchange.GetNameFromTarget())) This is change ;

PHP Code:
import event
        import constInfo
        event
.QuestButtonClick(constInfo.STHX2)
        
constInfo.VID2 player.GetTargetVID()
        
#Fatihbab34(90) with echange
        
self.TitleName.SetText(exchange.GetNameFromTarget() + "(" str(constInfo.PLAYER_LEVEL) + ")" " " "with exchange."
And This lua ..

PHP Code:
quest ticfb34 begin
    state start begin
        when login begin
            cmdchat
("ticlevel "..q.getcurrentquestindex())
        
end

        when info 
or button begin
            cmdchat
("get_input_start7")
            
local vid input(cmdchat("get_input_value7"))
            
cmdchat("get_input_end7")
            
local old_pc pc.select(vid)
            
local level pc.get_level()
            
local name pc.get_name() 
            
pc.select(old_pc)
            
cmdchat("pvp_den7 "..level.."") -- player is exchange level (player'ın ticarette leveli)
        end
    end
end 

Best Regards.
Fatihbab34™


Attached Files
File Type: rar Level In The Exchange.rar (1.3 KB, 140 views)
fatihbab34 is offline  
Thanks
9 Users
Old 09/04/2014, 15:14   #2
 
elite*gold: 5
Join Date: Mar 2013
Posts: 1,986
Received Thanks: 2,254
Hmm... It's not really necessary. I would use this:
xGr33n is offline  
Thanks
3 Users
Old 09/04/2014, 15:37   #3
 
Poccix's Avatar
 
elite*gold: 44
Join Date: Dec 2009
Posts: 1,696
Received Thanks: 3,833
Why? o.O The person stands near you, and you can see the level.
I think it's very useless. Sorry.
Poccix is offline  
Thanks
1 User
Old 09/04/2014, 15:41   #4

 
Avulsed's Avatar
 
elite*gold: 90
Join Date: Apr 2010
Posts: 1,887
Received Thanks: 1,793
Quote:
Originally Posted by Lord Poccix View Post
Why? o.O The person stands near you, and you can see the level.
I think it's very useless. Sorry.
The official server use this to better prevent scamming. Anyways i think the best way is to edit the source of the binary, but thanks for your work.
Avulsed is offline  
Thanks
1 User
Old 09/04/2014, 15:46   #5
 
[uLow]Beni's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,781
Received Thanks: 618
The idea is nice, but using the Server for getting the level is stupid.
You can just use a function under player, it will get the level of the vid.
[uLow]Beni is offline  
Thanks
1 User
Old 09/04/2014, 16:09   #6
 
elite*gold: 0
Join Date: Aug 2014
Posts: 39
Received Thanks: 6
thanks for sharing i was searching for this,
its like the original from the official Server
Zуe is offline  
Old 09/04/2014, 16:23   #7
 
LovecKrys's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 210
Received Thanks: 199
Sorry but this code is really awful
LovecKrys is offline  
Thanks
1 User
Old 09/04/2014, 18:11   #8
 
elite*gold: 0
Join Date: Aug 2013
Posts: 148
Received Thanks: 231
Quote:
Originally Posted by LovecKrys View Post
Sorry but this code is really awful
Yes but wanting to use, use..
fatihbab34 is offline  
Old 09/04/2014, 18:47   #9
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,937
Quote:
Originally Posted by fatihbab34 View Post
Yes but wanting to use, use..
I think it might be better to release a nice new switchbot
DasSchwarzeT is offline  
Old 09/04/2014, 19:55   #10
 
elite*gold: 0
Join Date: Aug 2013
Posts: 148
Received Thanks: 231
Quote:
Originally Posted by DasSchwarzeT View Post
I think it might be better to release a nice new switchbot
and AuktionsHaus
fatihbab34 is offline  
Old 09/04/2014, 20:42   #11
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Warum nicht direkt im src eingebunden?
.Risan. is offline  
Old 09/04/2014, 23:02   #12
 
vectorm2's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 17
Received Thanks: 15
Quote:
Originally Posted by Lord Poccix View Post
Why? o.O The person stands near you, and you can see the level.
I think it's very useless. Sorry.
senin ben olmayan aklını
vectorm2 is offline  
Old 09/05/2014, 00:52   #13
 
elite*gold: 0
Join Date: Jan 2013
Posts: 14
Received Thanks: 4
Quote:
Originally Posted by fatihbab34 View Post
Hi. I'm Fatihbab34™
Actually, this system better with binary.. But I'm make python with lua.

NOTE : Together with Lua can cause problems..
NOTE2 : If you have error,you download "Exchange .py's" and this use.. Because this "PHP" Module sometimes give error lines..

Metin2 Offical Photo's;


Tutorial ;

*** ConstInfo.py *** Open and add :
PHP Code:
INPUT_IGNORE 0

                VID2 
0
                STHX2 
0

                PLAYER_LEVEL 
0
                PLAYER_NAMEE 

Open game.py and search : def __ServerCommand_Build(self):

Add the :
PHP Code:
"ticlevel"        self.Den7,
                
"pvp_den7"        self.Denn7,
                
"pvp_den8"        self.Denn8,
            
                
#Değerler..
                
"get_input_value7"        self.GetInputValue7,
                
"get_input_start7"        self.GetInputOn7,
                
"get_input_end7"        self.GetInputOff7
Function's ;

PHP Code:
def Denn7(selfdata):
        
dane data.split("|")
        
constInfo.PLAYER_LEVEL str(dane[0])
        
    
def Denn8(selfdata):
        
dane data.split("|")
        
constInfo.PLAYER_NAMEE str(dane[0])

    
def Den7(selfid):
        
constInfo.STHX2 int(id)
        
    
def GetInputOn7(self):
        
constInfo.INPUT_IGNORE 1
        
    def GetInputOff7
(self):
        
constInfo.INPUT_IGNORE 0
            
    def GetInputValue7
(self): # HP Sistemi değer girilen sayi*
        
net.SendQuestInputStringPacket(str(constInfo.VID2)) 
Close the "Game.py"

And Open root/uiexchange.py
Search : def OpenDialog(self):
And self.TitleName.SetText(locale.EXCHANGE_TITLE % (exchange.GetNameFromTarget())) This is change ;

PHP Code:
import event
        import constInfo
        event
.QuestButtonClick(constInfo.STHX2)
        
constInfo.VID2 player.GetTargetVID()
        
#Fatihbab34(90) with echange
        
self.TitleName.SetText(exchange.GetNameFromTarget() + "(" str(constInfo.PLAYER_LEVEL) + ")" " " "with exchange."
And This lua ..

PHP Code:
quest ticfb34 begin
    state start begin
        when login begin
            cmdchat
("ticlevel "..q.getcurrentquestindex())
        
end

        when info 
or button begin
            cmdchat
("get_input_start7")
            
local vid input(cmdchat("get_input_value7"))
            
cmdchat("get_input_end7")
            
local old_pc pc.select(vid)
            
local level pc.get_level()
            
local name pc.get_name() 
            
pc.select(old_pc)
            
cmdchat("pvp_den7 "..level.."") -- player is exchange level (player'ın ticarette leveli)
        end
    end
end 

Best Regards.
Fatihbab34™



Teşekkürler

screenshot:
nitrex19 is offline  
Old 09/05/2014, 01:51   #14
Trade Restricted
 
elite*gold: 0
Join Date: Jun 2013
Posts: 1,332
Received Thanks: 534
Ist echt total nutzvoll! danke dir ! jetzt hat mein Leben wieder ein Sinn !
Bostanin Edhe is offline  
Old 09/05/2014, 02:31   #15
 
callmax's Avatar
 
elite*gold: 20
Join Date: Mar 2010
Posts: 1,166
Received Thanks: 684
warum überhaupt in den src einbinden, das ganze ist ja sogar rein in python möglich O.o
callmax is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release]Metin2 Pserver Level/Farmhilfe (PYTHON)
12/09/2016 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 34 Replies
Hi ich möchte euch heute meinen level- und farmbot/helfer vorstellen. Mommentan hat er folgende funktionen: - Speedhack - Angriffsspeedhack - Warphack - Stay and Attack modus (mit autopotter und Moblock sehr gut zum farmen)
Target Level
11/19/2009 - Aion - 1 Replies
Not too long ago, someone released a small program which simply added a tiny circle that would display the level of anything you target (including people of the opposite faction, which is what it was primarily used for). Anyone know of a new program which serves this purpose that is updated with the new patch?



All times are GMT +1. The time now is 12:05.


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.