Register for your free account! | Forgot your password?

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

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

Advertisement



[Problem]Effect buff item

Discussion on [Problem]Effect buff item within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 6
Received Thanks: 0
[Problem]Effect buff item

Hi epvpers!

Yesterday I try to add some item with effect buff. So there are 3 problem:

1) How do I recall the effect buff in game witch "cmdchat" if the item type can't be 16? Do not tell me to put the type 18 because otherwise the item is not equipped in the two special slots.

2) The effect buff not start from the ground but from above the ead.

3) Writing in chat (buff1) or similar, runs the effect even without using the item.

So, these are the pieces of code that I added to the client:

game.py:

Code:
def __buff1(self):		net.SendChatPacket("(buff1)")
	def __buff2(self):
		net.SendChatPacket("(buff2)")
	def __buff3(self):
		net.SendChatPacket("(buff3)")
	def __pot1(self):
		net.SendChatPacket("(pot1)")
	def __pot2(self):

		net.SendChatPacket("(pot2)")
In -> def __ServerCommand_Build(self):
serverCommandList={
Code:
"buff1"                    : self.__buff1,
            "buff2"                    : self.__buff2,
            "buff3"                    : self.__buff3,
            "pot1"                    : self.__pot1,
            "pot2"                    : self.__pot2,
playersettingmodule.py:

Code:
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", BuffStr+"buff_item1.mse")
    net.RegisterEmoticonString("(buff1)")

    chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+13, "", BuffStr+"buff_item2.mse")
    net.RegisterEmoticonString("(buff2)")

    chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+14, "", BuffStr+"buff_item3.mse")
    net.RegisterEmoticonString("(buff3)")
And I said:

Code:
BuffStr = "d:/ymir work/effect/etc/buff/"
uichat.py:


Code:
def __SendChatPacket(self, text, type):
if text == "(buff1)":
            return
        elif text == "(buff2)":
            return
        elif text == "(buff3)":
            return
        elif text == "(pot1)":
            return
        elif text == "(pot2)":
            return
        elif net.IsChatInsultIn(text):
            chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
        else:
            net.SendChatPacket(text, type)
Hoping that I had made ​​it clear(i'm italian).

Curious to see if someone will help me.

Kind regards

Shagod6 is offline  
Old 11/10/2012, 11:50   #2
 
elite*gold: 0
Join Date: Sep 2012
Posts: 104
Received Thanks: 25
fail
Chezzi is offline  
Old 11/10/2012, 11:54   #3
 
elite*gold: 0
Join Date: Nov 2010
Posts: 2,997
Received Thanks: 3,391
Quote:
Originally Posted by Chezzi View Post
fail
Hilf lieber statt zu Failen.

b2t:
leider kp davon
CrystalPrime is offline  
Old 11/10/2012, 11:59   #4
 
elite*gold: 0
Join Date: Jan 2012
Posts: 6
Received Thanks: 0
I don't understand the reason for these answers.
Probably even you know how to solve.
Shagod6 is offline  
Old 11/10/2012, 12:45   #5
 
elite*gold: 5
Join Date: Oct 2010
Posts: 1,692
Received Thanks: 1,772
The Item type can be 16 but you also need to set the subtype to 2 and the flag to 9216

That means:

type= 16
subtype = 2
flag = 9216
DasKuchen is offline  
Old 11/10/2012, 13:00   #6
 
elite*gold: 0
Join Date: Jan 2012
Posts: 6
Received Thanks: 0
Ok Thank you for solved 1 of the problem!

Now, this is the second problem.

And the third: When I write in the normal chat "(buff1) or (buff2) or (buff3)" the client play the effect..

Any idea?
Shagod6 is offline  
Old 11/10/2012, 19:59   #7
 
elite*gold: 5
Join Date: Oct 2010
Posts: 1,692
Received Thanks: 1,772
Quote:
Originally Posted by Shagod6 View Post
Ok Thank you for solved 1 of the problem!

Now, this is the second problem.

And the third: When I write in the normal chat "(buff1) or (buff2) or (buff3)" the client play the effect..

Any idea?
2. problem = you need an other .mse file. i uploaded some of them.
3. problem = you need to edit uichat.py in the root.epk

I uploaded it for you
Attached Files
File Type: rar files.rar (14.4 KB, 160 views)
DasKuchen is offline  
Thanks
1 User
Old 11/11/2012, 00:48   #8
 
elite*gold: 0
Join Date: Jan 2012
Posts: 6
Received Thanks: 0
Thanks a lot man!

Moderator can close this topic!

Thank you so much DasKuchen! All problem solved!

Kind regards
Shagod6 is offline  
Old 02/04/2013, 13:13   #9
 
elite*gold: 0
Join Date: Sep 2012
Posts: 79
Received Thanks: 30
I've got a problem with these rings

The effect it's still above my head, even if i use DasKuchen's .msm. files

Help!
NabbHackeR is offline  
Reply


Similar Threads Similar Threads
Buff effect
06/14/2012 - Metin2 Private Server - 0 Replies
Does somebody know an tutorial with shaman buff that have wings ? I saw on yt on an buff from shaman that from clasic effect,it's have wings,and i haven`t found it till now.. iF somebody know,please tell me have a nice day
How Can i Fix Problem With skills / buff effect ... epic 7.3
04/09/2012 - Rappelz Private Server - 15 Replies
Hello all . How can i fix problem with skills / buff effects ? im upload all .sql from ptifou thread , and its not working good .. im cant upgrade Smite from 0/3 to 1/3 ... and when im take buffs and go to Character , im cant see on stat +33 from buff ... Who can help me , add me to skype : mafozh1899cn
[Discussion] Buff Effect`s on Gear/Deco
11/18/2011 - Rappelz Private Server - 7 Replies
Hey there, as many of you know, there is no released way, to get the ORIGINAL Buff Effect`s working. Mean`s for Example: If you have the Full R7 T1 Equip you don`t get the Buff`s (activity percentage 3%). Im currently try to fix it, but im afraid, that their is a issue with the Gameserver. And no, i don`t like it trough LUA, because it`s boring, to have the Buff`s all the time.
[HELP] with buff effect segnale
09/26/2011 - Dekaron Private Server - 2 Replies
I need help to add the effects of buff segnale, they do not appear when using the effects in the hands of the player, how can I get?



All times are GMT +1. The time now is 06:23.


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