Jump to content

Recommended Posts

cross-channel maintenance can be turned on or off.

When you start the maintenance, the maintenance screen is instantly displayed to the players who are in the game.

The maintenance screen appears for players who log into the game.

When you cancel the maintenance, the maintenance screen is closed for all players.

M2 Download Center

This is the hidden content, please

https://metin2.download/picture/h0v1boNcx2yUamagChuseUk6NZ46nozo/.png

I coded the system open to development. You can add the reason for maintenance if you want.

Edited by Kio
Core X - External 2 Internal
  • Metin2 Dev 229
  • kekw 2
  • Eyes 3
  • Smile Tear 1
  • Confused 1
  • Scream 1
  • Good 40
  • Love 12
  • Love 114
Link to comment
https://metin2.dev/topic/29952-maintenance-system-for-p2p/
Share on other sites

  • 6 months later...
  • Active Member

Nice. It works very well.

A little problem, after every teleport the window open again and again and again

Fix:

game.py

search:

class GameWindow(ui.ScriptWindow):
 

under 

self.guildWarQuestionDialog = None

add

        self.maintenance = None
        self.maintenance = uimaintenance.MaintenanceWindow()
 

search in     def Close(self): for 

        self.affectShower = None
and add under:

        self.maintenance = None

 

replace whole function: def Maintenancegui(self,time,duration):

with

    def Maintenancegui(self,time,duration):
        if self.maintenance:
            self.maintenance.Open(time,duration)

  • Love 1
Link to comment
https://metin2.dev/topic/29952-maintenance-system-for-p2p/#findComment-158101
Share on other sites

  • 5 months later...
On 6/10/2023 at 4:15 PM, Kidro said:

Nice. It works very well.

A little problem, after every teleport the window open again and again and again

Fix:

game.py

search:

class GameWindow(ui.ScriptWindow):
 

under 

self.guildWarQuestionDialog = None

add

        self.maintenance = None
        self.maintenance = uimaintenance.MaintenanceWindow()
 

search in     def Close(self): for 

        self.affectShower = None
and add under:

        self.maintenance = None

 

replace whole function: def Maintenancegui(self,time,duration):

with

    def Maintenancegui(self,time,duration):
        if self.maintenance:
            self.maintenance.Open(time,duration)

I must have missed it, thank you dude ?

Link to comment
https://metin2.dev/topic/29952-maintenance-system-for-p2p/#findComment-161297
Share on other sites

  • 1 month later...
  • 3 months later...
  • Former Staff
1 minute ago, Order66 said:

I found the center.tga, you can download the system with that.

This is the hidden content, please

There is no difference with the archive in the first post, they are the same. ?

Link to comment
https://metin2.dev/topic/29952-maintenance-system-for-p2p/#findComment-165080
Share on other sites

  • Former Staff
34 minutes ago, Order66 said:

yes, sorry i uploaded the previous verison.

Here is the new link:

This is the hidden content, please

Thanks, first link updated.

  • Metin2 Dev 5
  • Good 1
  • Love 2
Link to comment
https://metin2.dev/topic/29952-maintenance-system-for-p2p/#findComment-165082
Share on other sites

  • 1 year later...

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.