Jump to content
rango

Destello Piruleta

Recommended Posts

Buenas!

 

Aki teneis un turorial de como añadir los efectos de la piruleta y de los anillos sin editar el metin2client.bin

 

Primero descompilamos el root y abrimos el playersettings.py y buscamos (fish) y debajo de el añadimos

 

chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+11, "", EmoticonStr+"buff1.mse")

net.RegisterEmoticonString("(buff1)")

chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", EmoticonStr+"buff2.mse")

net.RegisterEmoticonString("(buff2)")

chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+13, "", EmoticonStr+"buff3.mse")

net.RegisterEmoticonString("(buff3)")

chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+14, "", EmoticonStr+"buff4.mse")

net.RegisterEmoticonString("(buff4)")

 

Ahora vamos abrimos el game.py y buscamos "mall" y debajo añadimos

"buff1" : self.__buff1,

"buff2" : self.__buff2,

"buff3" : self.__buff3,

"buff4" : self.__buff4,

 

Después al final del documento mas o menos añadimos

 

def _buff1(self):

net.SendChatPacket("(buff1)")

def _buff2(self):

net.SendChatPacket("(buff2)")

def _buff3(self):

net.SendChatPacket("(buff3)")

def _buff4(self):

net.SendChatPacket("(buff4)")

 

Después de haber hecho esto en el game pasamos al uichat.py en ese archivo def __SendChatPacket y añadimos

 

if text == "(buff1)":

return

if text == "(buff2)":

return

if text == "(buff3)":

return

if text == "(buff4)":

returnXML

XML Para Los Efectos

<File archivedPath="d:/ymir work/effect/etc/emoticon/buff_item1.mde" type="1"><![CDATA[Sourceymir workeffectetcemoticonbuff_item1.mde]]></File>	  
<File archivedPath="d:/ymir work/effect/etc/emoticon/buff_item1.mse" type="1"><![CDATA[Sourceymir workeffectetcemoticonbuff_item1.mse]]></File>	  
<File archivedPath="d:/ymir work/effect/etc/emoticon/buff_item2.mse" type="1"><![CDATA[Sourceymir workeffectetcemoticonbuff_item2.mse]]></File>	  
<File archivedPath="d:/ymir work/effect/etc/emoticon/buff_item3.mse" type="1"><![CDATA[Sourceymir workeffectetcemoticonbuff_item3.mse]]></File>	  
<File archivedPath="d:/ymir work/effect/etc/emoticon/buff_item4.mse" type="1"><![CDATA[Sourceymir workeffectetcemoticonbuff_item4.mse]]></File>					  
<File archivedPath="d:/ymir work/effect/etc/emoticon/candy1.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticoncandy1.dds]]></File>	
<File archivedPath="d:/ymir work/effect/etc/emoticon/happy_ring1.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonhappy_ring1.dds]]></File>	
<File archivedPath="d:/ymir work/effect/etc/emoticon/item_buff1.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonitem_buff1.dds]]></File>	  
<File archivedPath="d:/ymir work/effect/etc/emoticon/light010.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonlight010.dds]]></File>		  
<File archivedPath="d:/ymir work/effect/etc/emoticon/light012.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonlight012.dds]]></File>		  
<File archivedPath="d:/ymir work/effect/etc/emoticon/light017.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonlight017.dds]]></File>		  
<File archivedPath="d:/ymir work/effect/etc/emoticon/light616.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonlight616.dds]]></File>		  
<File archivedPath="d:/ymir work/effect/etc/emoticon/ring1.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonring1.dds]]></File>							
<File archivedPath="d:/ymir work/effect/etc/emoticon/heart_pendant1.dds" type="2"><![CDATA[Sourceymir workeffectetcemoticonheart_pendant1.dds]]></File>
Quest

quest buffs begin
state start begin
when 71135.use begin
item.remove()
cmdchat("buff1")
end
when 71136.use begin
item.remove()
cmdchat("buff2")
end
when 71143.use begin
item.remove()
cmdchat("buff3")
end
when 71145.use begin
item.remove()
cmdchat("buff4")
end
end
end

Imagen enviada

Linck De Descarga

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

Testeado En Mt2Celestial

 

Creditos:

EPVP y Ami Por Postearlos xD

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...