Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Problem dla Koksa...


Bertia.PL

Rekomendowane odpowiedzi

Opublikowano
Rozpakowujemy root i edytujemy


game.py


szukamy :

# END_OF_WEDDING

dodajemy:

# NEW_EFFECTS

"buff1" : self.__buff1,

"buff2" : self.__buff2,

"buff3" : self.__buff3,

"buff4" : self.__buff4,

"buff5" : self.__buff5,

"buff6" : self.__buff6,

"buff7" : self.__buff7,

"buff8" : self.__buff8,

"buff9" : self.__buff9,

"buff10" : self.__buff10,

# END_NEW_EFFECTS



na sam koniec:


# NEW_EFFECTS

def __buff1(self):

net.SendChatPacket("(buff1)")

def __buff2(self):

net.SendChatPacket("(buff2)")

def __buff3(self):

net.SendChatPacket("(buff3)")

def __buff4(self):

net.SendChatPacket("(buff4)")

def __buff5(self):

net.SendChatPacket("(buff5)")

def __buff6(self):

net.SendChatPacket("(buff6)")

def __buff7(self):

net.SendChatPacket("(buff7)")

def __buff8(self):

net.SendChatPacket("(buff8)")

def __buff9(self):

net.SendChatPacket("(buff9)")

def __buff10(self):

net.SendChatPacket("(buff10)")

# END_NEW_EFFECTS


Otwieramy playersettingmodule.py

szukamy:

EmoticonStr = "d:/ymir work/effect/etc/emoticon/"

dodajemy:

BuffStr = "d:/ymir work/effect/etc/buff/"

szukamy:

net.RegisterEmoticonString("(fish)")

dodajemy:



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)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+15, "", BuffStr+"buff_item4.mse")

net.RegisterEmoticonString("(buff4)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+16, "", BuffStr+"buff_item5.mse")

net.RegisterEmoticonString("(buff5)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+17, "", BuffStr+"buff_item6.mse")

net.RegisterEmoticonString("(buff6)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+18, "", BuffStr+"buff_item7.mse")

net.RegisterEmoticonString("(buff7)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+19, "", BuffStr+"buff_item8.mse")

net.RegisterEmoticonString("(buff8)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+20, "", BuffStr+"buff_item9.mse")

net.RegisterEmoticonString("(buff9)")


chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+21, "", BuffStr+"buff_item10.mse")

net.RegisterEmoticonString("(buff10)")


Otwieramy:

uichat.py

szukamy:

# return



# return


if text == "(buff1)":

return

elif text == "(buff2)":

return

elif text == "(buff3)":

return

elif text == "(pot1)":

return

elif text == "(pot2)":

return

elif text == "(buff4)":

return

elif text == "(buff5)":

return

elif text == "(buff6)":

return

elif text == "(buff7)":

return

elif text == "(buff8)":

return

elif text == "(buff9)":

return

elif text == "(buff10)":

return

elif net.IsChatInsultIn(text):





51167500413021741676.gif


 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...