Effecte inele

Ghiduri şi tutoriale despre cum să vă îmbunătăţiţi serverul/clientul dv. de metin2.
Deconectat
Avatar utilizator
Marggraf
Membru Club
Membru Club
Mesaje: 1057
Membru din: 25 Mai 2014
Localitate: Bucuresti
Status: Loading
Server Metin2: loading...
Regat: Shinsoo
Mulțumiri acordate: 26
Mulțumiri primite: 33

Effecte inele

Mesajde Marggraf » 04 Aug 2015, 22:20

Imagine
Descarcati urmatoarele
Trebuie să fii logat sau înregistrat pentru a vedea acest link.
2.Despachetam effect si in acesta adaugam resursele din linkul de mai sus.
3. Acum despachetam root in acesta editam urmatoarele fisiere .py :
[spoiler]Intrati in playersettingmodule.py si cautati linia

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)")
[/spoiler]
Dupa intrati in game.py si cautati linia:

Cod: Selectaţi tot

"mall" : self.__InGameShop_Show,

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 !

Deconectat
Avatar utilizator
MrBrown
Nivel 1
Nivel 1
Mesaje: 91
Membru din: 10 Noi 2013
Status: Sunt bine mersi ^.^
Mulțumiri acordate: 0
Mulțumiri primite: 0

Re: Effecte inele

Mesajde MrBrown » 05 Aug 2015, 11:03

Se poate inchide!

Deconectat
Avatar utilizator
[SGA]Gabriel
Nivel 1
Nivel 1
Mesaje: 75
Membru din: 22 Oct 2014
Status: Sunt bine mersi ^.^
Regat: Jinno
Mulțumiri acordate: 1
Mulțumiri primite: 0

Re: Effecte inele

Mesajde [SGA]Gabriel » 14 Feb 2016, 15:05

Am facut tot merge dar tot nu functioneaza buff-urile!

Deconectat
Avatar utilizator
Marggraf
Membru Club
Membru Club
Mesaje: 1057
Membru din: 25 Mai 2014
Localitate: Bucuresti
Status: Loading
Server Metin2: loading...
Regat: Shinsoo
Mulțumiri acordate: 26
Mulțumiri primite: 33

Re: Effecte inele

Mesajde Marggraf » 14 Feb 2016, 19:15

ai type 16 la ele?

Deconectat
Avatar utilizator
INst1Nct
Nivel 1
Nivel 1
Mesaje: 64
Membru din: 11 Iul 2015
Status: Sunt bine mersi ^.^
Mulțumiri acordate: 3
Mulțumiri primite: 1

Re: Effecte inele

Mesajde INst1Nct » 21 Aug 2016, 14:44

mai are cineva sa puna la download efectele?
Linku' e mort


Înapoi la “Ghiduri şi Tutoriale”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: insignia2, Kagster și 18 vizitatori