[Mega Release]IntroLogo Client Tutorial

06/26/2014 17:50 Andariel666#46
After the logo the minimap.dds flashes for a moment. Why??
06/27/2014 10:50 MrTherzon#47
How to change the text in the intro?
06/27/2014 12:34 Salvo96#48
Quote:
Originally Posted by .RC'MrTherzon View Post
How to change the text in the intro?
Changing the jpg files.


I have this error. I've copied what you do in the video.
[Only registered and activated users can see links. Click Here To Register...]
06/27/2014 15:17 Andariel666#49
Quote:
Originally Posted by Salvo96 View Post
I have this error. I've copied what you do in the video.
[Only registered and activated users can see links. Click Here To Register...]
Something is wrong in the networkmodule.py

I attached mine, it works perfectly for me.
06/27/2014 16:00 Salvo96#50
Quote:
Originally Posted by Andariel666 View Post
Something is wrong in the networkmodule.py

I attached mine, it works perfectly for me.
thanks a lot. This night i test it. But i think that this system doesn't work on all clients.
06/27/2014 16:35 DasSchwarzeT#51
If you want to make the Intrologo disableable:

prototype.py:

PHP Code:
import dbg
import app
import localeInfo
import wndMgr
import systemSetting
import mouseModule
import networkModule
import uiCandidate
import constInfo
import musicInfo
import stringCommander



#bind_me(locals().values())

def RunApp():
    
musicInfo.LoadLastPlayFieldMusic()
    
    
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
    
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
    
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)

    
app.SetMouseHandler(mouseModule.mouseController)
    
wndMgr.SetMouseHandler(mouseModule.mouseController)
    
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())

    try:
        
app.Create(localeInfo.APP_TITLEsystemSetting.GetWidth(), systemSetting.GetHeight(), 1)
    
except RuntimeErrormsg:
        
msg str(msg)
        if 
"CREATE_DEVICE" == msg:
            
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
        else:
            
dbg.LogBox("Metin2.%s" msg)
        return

    
app.SetCamera(1500.030.00.0180.0)

    
#Gets and sets the floating-point control word
    #app.SetControlFP()

    
if not mouseModule.mouseController.Create():
        return

    
mainStream networkModule.MainStream()
    
mainStream.Create()    
    
animationblock open("animation.txt""r")
    
aniinput animationblock.read()
    
animationblock.close()
    
#mainStream.SetLoadingPhase()

    
if aniinput == "1":
        
mainStream.SetLoginPhase()
    else:
        
mainStream.SetLogoPhase()
        
    
#mainStream.SetSelectCharacterPhase()
    #mainStream.SetCreateCharacterPhase()
    #mainStream.SetSelectEmpirePhase()
    #mainStream.SetGamePhase()
    
app.Loop()

    
mainStream.Destroy()

RunApp() 
After that create a animation.txt in the Metin2 folder. If you write a "1" its disabled. If you write something else, it's enabled.

Have fun!
06/27/2014 22:28 Andariel666#52
Quote:
Originally Posted by DasSchwarzeT View Post
If you want to make the Intrologo disableable:

prototype.py:

PHP Code:
import dbg
import app
import localeInfo
import wndMgr
import systemSetting
import mouseModule
import networkModule
import uiCandidate
import constInfo
import musicInfo
import stringCommander



#bind_me(locals().values())

def RunApp():
    
musicInfo.LoadLastPlayFieldMusic()
    
    
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
    
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
    
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)

    
app.SetMouseHandler(mouseModule.mouseController)
    
wndMgr.SetMouseHandler(mouseModule.mouseController)
    
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())

    try:
        
app.Create(localeInfo.APP_TITLEsystemSetting.GetWidth(), systemSetting.GetHeight(), 1)
    
except RuntimeErrormsg:
        
msg str(msg)
        if 
"CREATE_DEVICE" == msg:
            
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
        else:
            
dbg.LogBox("Metin2.%s" msg)
        return

    
app.SetCamera(1500.030.00.0180.0)

    
#Gets and sets the floating-point control word
    #app.SetControlFP()

    
if not mouseModule.mouseController.Create():
        return

    
mainStream networkModule.MainStream()
    
mainStream.Create()    
    
animationblock open("animation.txt""r")
    
aniinput animationblock.read()
    
animationblock.close()
    
#mainStream.SetLoadingPhase()

    
if aniinput == "1":
        
mainStream.SetLoginPhase()
    else:
        
mainStream.SetLogoPhase()
        
    
#mainStream.SetSelectCharacterPhase()
    #mainStream.SetCreateCharacterPhase()
    #mainStream.SetSelectEmpirePhase()
    #mainStream.SetGamePhase()
    
app.Loop()

    
mainStream.Destroy()

RunApp() 
After that create a animation.txt in the Metin2 folder. If you write a "1" its disabled. If you write something else, it's enabled.

Have fun!
Hm, very good idea. (+thanks given) I think we could build this function into the config file.


(Does somebody know the answer for my problem? Why flashes otu for a tiny moment the minimap.dd after the intro?)
06/27/2014 22:56 DasSchwarzeT#53
Quote:
Originally Posted by Andariel666 View Post
Hm, very good idea. (+thanks given) I think we could build this function into the config file.


(Does somebody know the answer for my problem? Why flashes otu for a tiny moment the minimap.dd after the intro?)
Yes. Here in elitepvpers there is a source for a config.. There you can easily add my new config.
06/28/2014 00:15 xCPx#54
Falls jemand n Config Source braucht hab nochn alten von mir hier iwo released :o

[Only registered and activated users can see links. Click Here To Register...]
06/28/2014 11:56 Andariel666#55
Quote:
Originally Posted by xCPx View Post
Falls jemand n Config Source braucht hab nochn alten von mir hier iwo released :o

[Only registered and activated users can see links. Click Here To Register...]
Danke schön!


Weißt jemand, was die Lösung für mein Problem ist?
07/19/2014 17:53 asteris77#56
not working on 40k binary . 2 starts from me only cuz i like the idea.
07/19/2014 18:25 [SA]Hylight#57
@asteris77

have 40k bin to and it works like a sharm!!
syserr
11/30/2016 10:57 oceanusPT#58
Is it possible add sound? Like mp3 at the same time? Can any one make one tutoril

Enviado do meu SM-G900F através de Tapatalk