Simple script that will automatically set you day / night in Metin2
We go to constInfo.py
we add it at the very top:
We're going to game.py
We are looking for it
We add under:
We are looking now
We replace it with something like this:
We go to the bottom of the game.py file and add this code:
We go to constInfo.py
we add it at the very top:
Python:
ENVIRONMENT_EVENING="d:/ymir work/environment/evening.msenv"
night = 0
day = 0
We are looking for it
Python:
class GameWindow(ui.ScriptWindow):
def __init__(self, stream):
We add under:
Python:
constInfo.night = 0
constInfo.day = 0
We are looking now
Python:
def OnUpdate(self):
app.UpdateGame()
Python:
def OnUpdate(self):
self.day_night()
app.UpdateGame()


