Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 05:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release/HowTo] Automatischer Tag/Nacht MOD(richtet sich nach Uhrzeit)

Discussion on [Release/HowTo] Automatischer Tag/Nacht MOD(richtet sich nach Uhrzeit) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Closed Thread
 
Old   #1

 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
[Release/HowTo] Automatischer Tag/Nacht MOD(richtet sich nach Uhrzeit)

Sry bin dumm D
#closerequest
Mr. 'Avenue™ is offline  
Thanks
2 Users
Old 03/16/2013, 15:31   #2
 
elite*gold: 10
Join Date: Jan 2013
Posts: 471
Received Thanks: 228
Danke Ave, brauche ich zwar nicht aber egal :P
[LxR].Vulka' is offline  
Old 03/16/2013, 15:39   #3
 
DexterSK's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 160
Received Thanks: 161
game.py
PHP Code:
# TAG NACHT
    
def    day_night(self):
        
import time

        localtime 
time.strftime("%H")
        if 
day.nacht == 0:

            if 
localtime == "01" or localtime == "02" or localtime == "03" or localtime == "04" or localtime == "05" or localtime == "06" or localtime == "07" or localtime == "00" or localtime == "23" or localtime == "22" or localtime == "21":
                
background.RegisterEnvironmentData(1constInfo.ENVIRONMENT_NIGHT)
                
background.SetEnvironmentData(1)
                
day.tag 0
                day
.nacht 1
        
if day.tag == 0:        
            if 
localtime == "10" or localtime == "11" or localtime == "12" or localtime == "13" or localtime == "14" or localtime == "15" or localtime == "16" or localtime == "17" or localtime == "18" :
                
background.SetEnvironmentData(0)
                
day.tag 1
                day
.nacht 0
            
if localtime == "08" or localtime == "09" or localtime == "19" or localtime == "20":
                
background.RegisterEnvironmentData(2constInfo.ENVIRONMENT_EVENING)
                
background.SetEnvironmentData(2)
                
day.tag 1
                day
.nacht 0
    
# TAG NACHT END 
day.py
PHP Code:
nacht 0
tag 

constinfo.py
PHP Code:
ENVIRONMENT_MORNING "d:/ymir work/environment/morning.msenv"
ENVIRONMENT_AFTERNOON "d:/ymir work/environment/afternoon.msenv"
ENVIRONMENT_EVENING "d:/ymir work/environment/evening.msenv"
ENVIRONMENT_NIGHT "d:/ymir work/environment/moonlight04.msenv" 
DexterSK is offline  
Thanks
6 Users
Old 03/16/2013, 17:50   #4

 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
Quote:
Originally Posted by DexterSK View Post
game.py
PHP Code:
# TAG NACHT
    
def    day_night(self):
        
import time

        localtime 
time.strftime("%H")
        if 
day.nacht == 0:

            if 
localtime == "01" or localtime == "02" or localtime == "03" or localtime == "04" or localtime == "05" or localtime == "06" or localtime == "07" or localtime == "00" or localtime == "23" or localtime == "22" or localtime == "21":
                
background.RegisterEnvironmentData(1constInfo.ENVIRONMENT_NIGHT)
                
background.SetEnvironmentData(1)
                
day.tag 0
                day
.nacht 1
        
if day.tag == 0:        
            if 
localtime == "10" or localtime == "11" or localtime == "12" or localtime == "13" or localtime == "14" or localtime == "15" or localtime == "16" or localtime == "17" or localtime == "18" :
                
background.SetEnvironmentData(0)
                
day.tag 1
                day
.nacht 0
            
if localtime == "08" or localtime == "09" or localtime == "19" or localtime == "20":
                
background.RegisterEnvironmentData(2constInfo.ENVIRONMENT_EVENING)
                
background.SetEnvironmentData(2)
                
day.tag 1
                day
.nacht 0
    
# TAG NACHT END 
day.py
PHP Code:
nacht 0
tag 

constinfo.py
PHP Code:
ENVIRONMENT_MORNING "d:/ymir work/environment/morning.msenv"
ENVIRONMENT_AFTERNOON "d:/ymir work/environment/afternoon.msenv"
ENVIRONMENT_EVENING "d:/ymir work/environment/evening.msenv"
ENVIRONMENT_NIGHT "d:/ymir work/environment/moonlight04.msenv" 
Hatte des selbe eben drin,
nur halt OHNE BUG bei dir fehlt noch
Code:
import day
wegen day.py
Mr. 'Avenue™ is offline  
Old 03/16/2013, 18:34   #5
 
elite*gold: 0
Join Date: Feb 2013
Posts: 268
Received Thanks: 425
Ist doch bereits Public Avenue.
Baum' is offline  
Thanks
2 Users
Old 03/16/2013, 19:10   #6
 
ToBii™'s Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 385
Received Thanks: 260
Hab ich doch bereits veröffentlicht
Zwar nur mit einem Abend aber Prinzip ist es ja das selbe.
ToBii™ is offline  
Old 03/16/2013, 20:13   #7
 
elite*gold: 32
The Black Market: 120/0/1
Join Date: Mar 2012
Posts: 6,716
Received Thanks: 2,737
Quote:
Originally Posted by .Avenue™ View Post
Sry bin dumm D
#closerequest
#closed
Syuki is offline  
Thanks
1 User
Closed Thread

Tags
automatisch, day night auto, gui, metin2, tag nacht


Similar Threads Similar Threads
Ligasystem wonach richtet sich Soloque?
02/08/2013 - League of Legends - 6 Replies
Hey, wollte mal Fragen wonach sich jetzt alles richtet? Momentan kotzt es nämlich mächtig an das man nurnoch volldeppen als teammates bekommt... Vor allem da man seit S3 nichtmehr solo carrien kann... Ich will nicht sagen, dass meine Spiele immer 1a sind.. Aber ich habe die letzten 4 spiele zu 100% meine Lane gewonnen, bin roamen gegangen und entweder haben meine Teammates gefeedet, geleavt oder den Tank gefocust... Und nach 20 Minuten nen Ryze Mitte mit 50 creeps und nen Yorick mit 40 im...
[Howto]Ingame Uhrzeit "Aktuelle Uhrzeit"
07/29/2012 - Metin2 PServer Guides & Strategies - 17 Replies
Gelöscht auf Crank's Wunsch weil der Kerle Zickig auf die Section ist :D
Anonymous: Operation UnManifest richtet sich gegen Norwegen-Amokläufer Breivik
07/28/2011 - User Submitted News - 8 Replies
Anonymous: Operation UnManifest soll dazu dienen, das Manifest des Norwegen-Attentäters Anders Breivik zu einem Quatsch-Manifest umzuschreiben.Operation UnManifest heißt die Aktion, die von Mitgliedern des Webkollektivs Anonymous ins Leben gerufen wurde. Der Aufruf zielt darauf ab, dass die zahlreichen, im Internet kursierenden Kopien des Manifests des Norwegen-Attentäters Anders Breitvik so verändert werden, dass sie den Täter ins Lächerliche ziehen. Nach Ansicht von Anonymous verhindere man...
20 nach 2 nacht
03/07/2009 - Off Topic - 1 Replies
ich spiele css was spielt ihr??? :)



All times are GMT +1. The time now is 05:32.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.