Descarcati urmatoarele
2.Despachetam effect si in acesta adaugam resursele din linkul de mai sus.
3. Acum despachetam root in acesta editam urmatoarele fisiere .py :
Cod: Selectaţi tot
#########################################################################################
## Emoticon
EmoticonStr = "d:/ymir work/effect/etc/emoticon/"
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+0, "", EmoticonStr+"sweat.mse")
net.RegisterEmoticonString("(Ȳ´ç)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+1, "", EmoticonStr+"money.mse")
net.RegisterEmoticonString("(µ·)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+2, "", EmoticonStr+"happy.mse")
net.RegisterEmoticonString("(±â»Ã)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+3, "", EmoticonStr+"love_s.mse")
net.RegisterEmoticonString("(ÃþÆ)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+4, "", EmoticonStr+"love_l.mse")
net.RegisterEmoticonString("(»ç¶û)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+5, "", EmoticonStr+"angry.mse")
net.RegisterEmoticonString("(ºÃ³ë)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+6, "", EmoticonStr+"aha.mse")
net.RegisterEmoticonString("(¾ÆÇÃ)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+7, "", EmoticonStr+"gloom.mse")
net.RegisterEmoticonString("(¿ì¿ï)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+8, "", EmoticonStr+"sorry.mse")
net.RegisterEmoticonString("(Ã˼Û)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+9, "", EmoticonStr+"!_mix_back.mse")
net.RegisterEmoticonString("(!)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+10, "", EmoticonStr+"question.mse")
net.RegisterEmoticonString("(?)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+11, "", EmoticonStr+"fish.mse")
net.RegisterEmoticonString("(fish)")
adaugam mai jos
Cod: Selectaţi tot
#########################################################################################
## Emoticon
EmoticonStr = "d:/ymir work/effect/etc/emoticon/"
BuffStr = "d:/ymir work/effect/etc/buff/"
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+0, "", EmoticonStr+"sweat.mse")
net.RegisterEmoticonString("(Ȳ´ç)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+1, "", EmoticonStr+"money.mse")
net.RegisterEmoticonString("(µ·)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+2, "", EmoticonStr+"happy.mse")
net.RegisterEmoticonString("(±â»Ã)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+3, "", EmoticonStr+"love_s.mse")
net.RegisterEmoticonString("(ÃþÆ)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+4, "", EmoticonStr+"love_l.mse")
net.RegisterEmoticonString("(»ç¶û)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+5, "", EmoticonStr+"angry.mse")
net.RegisterEmoticonString("(ºÃ³ë)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+6, "", EmoticonStr+"aha.mse")
net.RegisterEmoticonString("(¾ÆÇÃ)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+7, "", EmoticonStr+"gloom.mse")
net.RegisterEmoticonString("(¿ì¿ï)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+8, "", EmoticonStr+"sorry.mse")
net.RegisterEmoticonString("(Ã˼Û)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+9, "", EmoticonStr+"!_mix_back.mse")
net.RegisterEmoticonString("(!)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+10, "", EmoticonStr+"question.mse")
net.RegisterEmoticonString("(?)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+11, "", EmoticonStr+"fish.mse")
net.RegisterEmoticonString("(fish)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", BuffStr+"buff_item1.mse")
net.RegisterEmoticonString("(b1)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+13, "", BuffStr+"buff_item2.mse")
net.RegisterEmoticonString("(b2)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+14, "", BuffStr+"buff_item3.mse")
net.RegisterEmoticonString("(b3)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+15, "", BuffStr+"buff_item4.mse")
net.RegisterEmoticonString("(b4)")
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+16, "", BuffStr+"buff_symbol1.mse")
net.RegisterEmoticonString("(b5)")
Dupa intrati in game.py si cautati linia:
si adaugati
Cod: Selectaţi tot
"buff1" : self.__buff1,
"buff2" : self.__buff2,
"buff3" : self.__buff3,
"buff4" : self.__buff4,
"buff5" : self.__buff5,
tot in game.py cautati
Cod: Selectaţi tot
def AskSafeboxPassword(self):
self.interface.AskSafeboxPassword()
adaugati mai jos
Cod: Selectaţi tot
def __buff1(self):
net.SendChatPacket("(b1)")
def __buff2(self):
net.SendChatPacket("(b2)")
def __buff3(self):
net.SendChatPacket("(b3)")
def __buff4(self):
net.SendChatPacket("(b4)")
def __buff5(self):
net.SendChatPacket("(b5)")
# End Buff
Intra in uichat.py si cauta linia de mai jos
Cod: Selectaţi tot
def __SendChatPacket(self, text, type):
# if text[0] == '/':
# if ENABLE_CHAT_COMMAND or constInfo.CONSOLE_ENABLE:
# pass
# else:
# return
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
else:
net.SendChatPacket(text, type)
si adaugati mai jos
Cod: Selectaţi tot
def __SendChatPacket(self, text, type):
if text == "(b1)":
return
if text == "(b2)":
return
if text == "(b3)":
return
if text == "(b4)":
return
if text == "(b5)":
return
elif net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
else:
net.SendChatPacket(text, type)
questul
Cod: Selectaţi tot
quest buffs begin
state start begin
when 71135.use begin
cmdchat("buff1")
end
when 71136.use begin
cmdchat("buff2")
end
when 71143.use begin
cmdchat("buff3")
end
when 71145.use begin
cmdchat("buff4")
end
when 71148.use begin
cmdchat("buff5")
end
when 71149.use begin
cmdchat("buff6")
end
end
end
nu uitati sa aranjati cu taburi
Ultima oară modificat 26 Feb 2016, 22:01 de către
F. Gabriel , modificat 1 dată în total.
Motiv: #LINK NOU !