Jump to content

Recommended Posts

Hey guys, is there a way to somehow run the quest on refine? i mean for example.

you have sword +8 and upgrade it to +9 then the chat message comes up saying "Player "xxx" has successfully upgraded sword to +9 , well done from Metin2 Team" i'd really appreciate your help :)

  • Love 1
Link to comment
https://metin2.dev/topic/5752-upgrade/
Share on other sites

  • Premium

 

 

it's possible and can be done by quest :)

 

No !

mr lybya please show us that quest

MrLibya , + I Tell U It Can't Be Made By Quest Only By C++

 

If you write quest function in C++ then yes, it can be made by quest lol.

 

Yeah ! when 6038.refine begin

If you're going to do something, then do it right.

Link to comment
https://metin2.dev/topic/5752-upgrade/#findComment-36694
Share on other sites

It's possible. I create a tutorial for you.

 

open: game.py

 

find: def RefineSuceededMessage(self):

 

after add: net.SendChatPacket("(Cali_Success)")

 

find: def RefineFailedMessage(self):

 

after add: net.SendChatPacket("(Cali_Failed)")

open: uichat.py

 

find: def __SendChatPacket(self, text, type):

 

after add: 

if text == "(Cali_Success)":
chat.AppendChat("Success text.")
return
if text == "(Cali_Failed)":
chat.AppendChat("Failed text.")
return
  • Love 1
Link to comment
https://metin2.dev/topic/5752-upgrade/#findComment-36923
Share on other sites

yes but how can i change that into a quest

for exemple IF i would like to apply this message only on this sword

item vnum 158 ---> 159

and only for this upgrade +8 --->+9

with your C++ edit , that message will shows to EVERY single upgrade

i want to focus only on some item . not all.

Can someone make a c++   and a quest
to let me understand how to make it works?

Link to comment
https://metin2.dev/topic/5752-upgrade/#findComment-36935
Share on other sites

  • Premium

 

It's possible. I create a tutorial for you.

 

open: game.py

 

find: def RefineSuceededMessage(self):

 

after add: net.SendChatPacket("(Cali_Success)")

 

find: def RefineFailedMessage(self):

 

after add: net.SendChatPacket("(Cali_Failed)")

open: uichat.py

 

find: def __SendChatPacket(self, text, type):

 

after add: 

if text == "(Cali_Success)":
chat.AppendChat("Success text.")
return
if text == "(Cali_Failed)":
chat.AppendChat("Failed text.")
return

 

This Only will show for my player , he want it for all + he dont want it for all items only few

If you're going to do something, then do it right.

Link to comment
https://metin2.dev/topic/5752-upgrade/#findComment-36943
Share on other sites

  • Premium

hmmm , there is multiple ways to make it ::

 

first by desiging special quest function ((when refine or what ever )) and then you can do it by quest

second by client but it not really specific .

third ^_^ look funny ,, to make it with new NPC you can make this NPC specific only to upgrade swords into +9 by quests commands and if it success it will send notice to all players ((text text text .... ))

Link to comment
https://metin2.dev/topic/5752-upgrade/#findComment-36945
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

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.