C 1
chengdu
xranzei 1
xranzei
zendor2 1
zendor2
Bvural41 1
Bvural41
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Almira2 1
Almira2
romegames 1
romegames
D 1
delimuratt
melankolıa18 1
melankolıa18
shrpnl 1
shrpnl
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com
Kaynak ikonu

Altın Konu Metin2 Environmental Login Background 1

indirmek için izniniz yok
  • Konuyu başlatan Konuyu başlatan ibrahim6516
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 14
  • Görüntüleme Görüntüleme 4K

ibrahim6516

EFSANE · 16 · Konum Bursa
Telefon Numarası Onaylanmış Üye TC Kimlik Numarası Doğrulanmış Üye
Fahri Üye
TM Üye
Katılım
8 Eki 2012
Konular
555
Mesajlar
1,301
Online süresi
2mo 3d
Reaksiyon Skoru
718
Altın Konu
68
TM Yaşı
13 Yıl 8 Ay 4 Gün
Başarım Puanı
282
MmoLira
2,295
DevLira
243
Ticaret - 100%
1   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!



Değişiklikler root/intrologin.py'de yapılmalıdır.

"uiScriptLocale'i içe aktar" ifadesini arayın ve şunu ekleyin:
kod
Kod:
# INTERACTIVE_LOGIN
import background
import grp
INTERACTIVE_LOGIN = 1 # ENABLE 1 DISABLE 0
# INTERACTIVE_LOGIN END

"app.ShowCursor ()" öğesini bulun ve şunu ekleyin:
Kod
Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            self.LoadMap()

"def Close (self):" ifadesini arayın ve yukarıya ekleyin:
Kod:

Kod:
 # INTERACTIVE_LOGIN
    def LoadMap(self):
        environments = [
            {'x' : 469600,'y': 953500, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 105.0, 'height' : 40.0, 'snow' : 0 },    #a1
            {'x' : 360800,'y': 877600, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 255.0, 'height' : 40.0, 'snow' : 0 },    #a3
            {'x' : 62400,'y': 167900, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 10.0, 'height' : 40.0, 'snow' : 0 },        #b1
            {'x' : 143000,'y': 237700, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 110.0, 'height' : 40.0, 'snow' : 0 },    #b3
            {'x' : 958600,'y': 263700, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 155.0, 'height' : 40.0, 'snow' : 0 },    #c1
            {'x' : 861200,'y': 243800, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 125.0, 'height' : 40.0, 'snow' : 0 },    #c3
            {'x' : 896400,'y': 21500, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 225.0, 'height' : 40.0, 'snow' : 0 },    #ox
            {'x' : 232600,'y': 521200, 'dis' : 2500.0, 'pit' : 10.0, 'rot' : 30.0, 'height' : 40.0, 'snow' : 0 },    #desert
            {'x' : 1106200,'y': 53600, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 90.0, 'height' : 40.0, 'snow' : 0 },    #trent2
            {'x' : 338900,'y': 754100, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 310.0, 'height' : 40.0, 'snow' : 0 },    #ork
            {'x' : 433800,'y': 170700, 'dis' : 2500.0, 'pit' : 10.0, 'rot' : 343.0, 'height' : 40.0, 'snow' : 1 },    #snow
            {'x' : 601700,'y': 707300, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 90.0, 'height' : 40.0, 'snow' : 0 },    #flame
            {'x' : 1104800,'y': 1783900, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 175.0, 'height' : 40.0, 'snow' : 0 },    #cape
            {'x' : 1057200,'y': 1622100, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 12.0, 'height' : 40.0, 'snow' : 0 },    #bay
            {'x' : 1175900,'y': 1584300, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 360.0, 'height' : 40.0, 'snow' : 0 },    #thunder
            {'x' : 1277800,'y': 1741300, 'dis' : 2500.0, 'pit' : -15.0, 'rot' : 1.0, 'height' : 40.0, 'snow' : 0 },    #dawn
            {'x' : 885440 ,'y': 102400 , 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 300.0, 'height' : 40.0, 'snow' : 0 },    #monkeyboss
        ]
        map_random = environments[app.GetRandom(0,len(environments)-1)]
        app.SetCamera(map_random['dis'], map_random['pit'], map_random['rot'], map_random['height'])
        net.Warp(map_random['x'], map_random['y']);

        background.SetViewDistanceSet(background.DISTANCE0, 25600)
        """
        background.SetViewDistanceSet(background.DISTANCE1, 19200)
        background.SetViewDistanceSet(background.DISTANCE2, 12800)
        background.SetViewDistanceSet(background.DISTANCE3, 9600)
        background.SetViewDistanceSet(background.DISTANCE4, 6400)
        """
        background.SelectViewDistanceNum(background.DISTANCE0)

        if map_random['snow'] == 1:
            background.EnableSnow(1)

        # From 21:00 to 5:59 the environment will set to night. Remove this part if you don't need it.
        h = time.localtime()[3]
        if h <= 5 or h >= 21:
            background.RegisterEnvironmentData(1, constInfo.ENVIRONMENT_NIGHT)
            background.SetEnvironmentData(1)
        else:
            background.SetEnvironmentData(0)

        self.GetChild("bg1").Hide()
        self.GetChild("bg2").Hide()

    def OnRender(self):
        if INTERACTIVE_LOGIN == 1:
            app.RenderGame()
            grp.PopState()
            grp.SetInterfaceRenderState()

    # INTERACTIVE_LOGIN END

"ServerStateChecker.Update ()" öğesini bulun ve şunu ekleyin:
Kod:

Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            app.UpdateGame()

"app.HideCursor ()" ifadesini arayın ve şunu ekleyin:
Kod:
Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            background.Destroy()

Link:
Virüs Totall

:
 
Son düzenleme:

En Çok Reaksiyon Alan Mesajlar

Öğeyi görmek için üye olmalısınız.

Değişiklikler root/intrologin.py'de yapılmalıdır.

"uiScriptLocale'i içe aktar" ifadesini arayın ve şunu ekleyin:
kod
Kod:
# INTERACTIVE_LOGIN
import background
import grp
INTERACTIVE_LOGIN = 1 # ENABLE 1 DISABLE 0
# INTERACTIVE_LOGIN END

"app.ShowCursor ()" öğesini bulun ve şunu ekleyin:
Kod
Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            self.LoadMap()

"def Close (self):" ifadesini arayın ve yukarıya ekleyin:
Kod:

Kod:
 # INTERACTIVE_LOGIN
    def LoadMap(self):
        environments = [
            {'x' : 469600,'y': 953500, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 105.0, 'height' : 40.0, 'snow' : 0 },    #a1
            {'x' : 360800,'y': 877600, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 255.0, 'height' : 40.0, 'snow' : 0 },    #a3
            {'x' : 62400,'y': 167900, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 10.0, 'height' : 40.0, 'snow' : 0 },        #b1
            {'x' : 143000,'y': 237700, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 110.0, 'height' : 40.0, 'snow' : 0 },    #b3
            {'x' : 958600,'y': 263700, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 155.0, 'height' : 40.0, 'snow' : 0 },    #c1
            {'x' : 861200,'y': 243800, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 125.0, 'height' : 40.0, 'snow' : 0 },    #c3
            {'x' : 896400,'y': 21500, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 225.0, 'height' : 40.0, 'snow' : 0 },    #ox
            {'x' : 232600,'y': 521200, 'dis' : 2500.0, 'pit' : 10.0, 'rot' : 30.0, 'height' : 40.0, 'snow' : 0 },    #desert
            {'x' : 1106200,'y': 53600, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 90.0, 'height' : 40.0, 'snow' : 0 },    #trent2
            {'x' : 338900,'y': 754100, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 310.0, 'height' : 40.0, 'snow' : 0 },    #ork
            {'x' : 433800,'y': 170700, 'dis' : 2500.0, 'pit' : 10.0, 'rot' : 343.0, 'height' : 40.0, 'snow' : 1 },    #snow
            {'x' : 601700,'y': 707300, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 90.0, 'height' : 40.0, 'snow' : 0 },    #flame
            {'x' : 1104800,'y': 1783900, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 175.0, 'height' : 40.0, 'snow' : 0 },    #cape
            {'x' : 1057200,'y': 1622100, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 12.0, 'height' : 40.0, 'snow' : 0 },    #bay
            {'x' : 1175900,'y': 1584300, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 360.0, 'height' : 40.0, 'snow' : 0 },    #thunder
            {'x' : 1277800,'y': 1741300, 'dis' : 2500.0, 'pit' : -15.0, 'rot' : 1.0, 'height' : 40.0, 'snow' : 0 },    #dawn
            {'x' : 885440 ,'y': 102400 , 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 300.0, 'height' : 40.0, 'snow' : 0 },    #monkeyboss
        ]
        map_random = environments[app.GetRandom(0,len(environments)-1)]
        app.SetCamera(map_random['dis'], map_random['pit'], map_random['rot'], map_random['height'])
        net.Warp(map_random['x'], map_random['y']);

        background.SetViewDistanceSet(background.DISTANCE0, 25600)
        """
        background.SetViewDistanceSet(background.DISTANCE1, 19200)
        background.SetViewDistanceSet(background.DISTANCE2, 12800)
        background.SetViewDistanceSet(background.DISTANCE3, 9600)
        background.SetViewDistanceSet(background.DISTANCE4, 6400)
        """
        background.SelectViewDistanceNum(background.DISTANCE0)

        if map_random['snow'] == 1:
            background.EnableSnow(1)

        # From 21:00 to 5:59 the environment will set to night. Remove this part if you don't need it.
        h = time.localtime()[3]
        if h <= 5 or h >= 21:
            background.RegisterEnvironmentData(1, constInfo.ENVIRONMENT_NIGHT)
            background.SetEnvironmentData(1)
        else:
            background.SetEnvironmentData(0)

        self.GetChild("bg1").Hide()
        self.GetChild("bg2").Hide()

    def OnRender(self):
        if INTERACTIVE_LOGIN == 1:
            app.RenderGame()
            grp.PopState()
            grp.SetInterfaceRenderState()

    # INTERACTIVE_LOGIN END

"ServerStateChecker.Update ()" öğesini bulun ve şunu ekleyin:
Kod:

Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            app.UpdateGame()

"app.HideCursor ()" ifadesini arayın ve şunu ekleyin:
Kod:
Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            background.Destroy()

Link:Öğeyi görmek için üye olmalısınız.
Virüs Totall
Öğeyi görmek için üye olmalısınız.

:
Teşekkürler hocam


Değişiklikler root/intrologin.py'de yapılmalıdır.

"uiScriptLocale'i içe aktar" ifadesini arayın ve şunu ekleyin:
kod
Kod:
# INTERACTIVE_LOGIN
import background
import grp
INTERACTIVE_LOGIN = 1 # ENABLE 1 DISABLE 0
# INTERACTIVE_LOGIN END

"app.ShowCursor ()" öğesini bulun ve şunu ekleyin:
Kod
Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            self.LoadMap()

"def Close (self):" ifadesini arayın ve yukarıya ekleyin:
Kod:

Kod:
 # INTERACTIVE_LOGIN
    def LoadMap(self):
        environments = [
            {'x' : 469600,'y': 953500, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 105.0, 'height' : 40.0, 'snow' : 0 },    #a1
            {'x' : 360800,'y': 877600, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 255.0, 'height' : 40.0, 'snow' : 0 },    #a3
            {'x' : 62400,'y': 167900, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 10.0, 'height' : 40.0, 'snow' : 0 },        #b1
            {'x' : 143000,'y': 237700, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 110.0, 'height' : 40.0, 'snow' : 0 },    #b3
            {'x' : 958600,'y': 263700, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 155.0, 'height' : 40.0, 'snow' : 0 },    #c1
            {'x' : 861200,'y': 243800, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 125.0, 'height' : 40.0, 'snow' : 0 },    #c3
            {'x' : 896400,'y': 21500, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 225.0, 'height' : 40.0, 'snow' : 0 },    #ox
            {'x' : 232600,'y': 521200, 'dis' : 2500.0, 'pit' : 10.0, 'rot' : 30.0, 'height' : 40.0, 'snow' : 0 },    #desert
            {'x' : 1106200,'y': 53600, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 90.0, 'height' : 40.0, 'snow' : 0 },    #trent2
            {'x' : 338900,'y': 754100, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 310.0, 'height' : 40.0, 'snow' : 0 },    #ork
            {'x' : 433800,'y': 170700, 'dis' : 2500.0, 'pit' : 10.0, 'rot' : 343.0, 'height' : 40.0, 'snow' : 1 },    #snow
            {'x' : 601700,'y': 707300, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 90.0, 'height' : 40.0, 'snow' : 0 },    #flame
            {'x' : 1104800,'y': 1783900, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 175.0, 'height' : 40.0, 'snow' : 0 },    #cape
            {'x' : 1057200,'y': 1622100, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 12.0, 'height' : 40.0, 'snow' : 0 },    #bay
            {'x' : 1175900,'y': 1584300, 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 360.0, 'height' : 40.0, 'snow' : 0 },    #thunder
            {'x' : 1277800,'y': 1741300, 'dis' : 2500.0, 'pit' : -15.0, 'rot' : 1.0, 'height' : 40.0, 'snow' : 0 },    #dawn
            {'x' : 885440 ,'y': 102400 , 'dis' : 2500.0, 'pit' : 5.0, 'rot' : 300.0, 'height' : 40.0, 'snow' : 0 },    #monkeyboss
        ]
        map_random = environments[app.GetRandom(0,len(environments)-1)]
        app.SetCamera(map_random['dis'], map_random['pit'], map_random['rot'], map_random['height'])
        net.Warp(map_random['x'], map_random['y']);

        background.SetViewDistanceSet(background.DISTANCE0, 25600)
        """
        background.SetViewDistanceSet(background.DISTANCE1, 19200)
        background.SetViewDistanceSet(background.DISTANCE2, 12800)
        background.SetViewDistanceSet(background.DISTANCE3, 9600)
        background.SetViewDistanceSet(background.DISTANCE4, 6400)
        """
        background.SelectViewDistanceNum(background.DISTANCE0)

        if map_random['snow'] == 1:
            background.EnableSnow(1)

        # From 21:00 to 5:59 the environment will set to night. Remove this part if you don't need it.
        h = time.localtime()[3]
        if h <= 5 or h >= 21:
            background.RegisterEnvironmentData(1, constInfo.ENVIRONMENT_NIGHT)
            background.SetEnvironmentData(1)
        else:
            background.SetEnvironmentData(0)

        self.GetChild("bg1").Hide()
        self.GetChild("bg2").Hide()

    def OnRender(self):
        if INTERACTIVE_LOGIN == 1:
            app.RenderGame()
            grp.PopState()
            grp.SetInterfaceRenderState()

    # INTERACTIVE_LOGIN END

"ServerStateChecker.Update ()" öğesini bulun ve şunu ekleyin:
Kod:

Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            app.UpdateGame()

"app.HideCursor ()" ifadesini arayın ve şunu ekleyin:
Kod:
Kod:
 if INTERACTIVE_LOGIN == 1: # INTERACTIVE_LOGIN
            background.Destroy()

Link:
Virüs Totall

:

Teşekkürler hocam
 
Eski saltanat girişi de var. Bulunmuyordu piyasada

Paylaşım için teşekkürler
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst