Jump to content
×
×
  • Create New...
  • 0

problem with root add effect


Aliremawi

Question

hay guys*
how i can add effect from the client side (with code)
i do this step 
I go to  playersettingmodule.py   and i add this 
    BuffStr = "d:/ymir work/effect/etc/buff/"  under EmoticonStr = "d:/ymir work/effect/etc/emoticon/"  
after this I add 
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", BuffStr+"redfenix.mse")
    net.RegisterEmoticonString("(b8)") 
under this
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+11, "", EmoticonStr+"fish.mse")
net.RegisterEmoticonString("(fish)")
 after this i go to game.py I add this
"buff8"                    : self.__buff8,
under 
"mall"                    : self.__InGameShop_Show  
in the final I add this  
# Buff
def __buff8(self):
net.SendChatPacket("(b8)") 
# End Buff  
under this 
def AskSafeboxPassword(self):
but when i run the game i gut this error 

Hidden Content

    Give reaction to this post to see the hidden content.

pls i want fix for this problem i need to be able to add effect like this
if any body make this error or say to me what should i do 
iwont forrget this favor
 

line 616 =     net.RegisterEmoticonString("(b8)") 

Link to comment

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.