Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 11:27

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

Advertisement



[Source] How to Add new Load Pics.

Discussion on [Source] How to Add new Load Pics. within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 2
Join Date: Jul 2009
Posts: 1,447
Received Thanks: 922
[Source] How to Add new Load Pics.

So, heute zeige ich euch wie man neue Lade Pictures Addet, wenn man die World ändert.

Ihr kennt die Pics alles, mann geht in sein Guild House dann kommt das so ein schöner Lade Bildschirm mit einem Guild House drauf ._.

Nun zeige ich euch, wie ihr diese ändert / neue eigene addet.

Als erstes öffnet ihr in der Neuz die datei DPClient.cpp is in der Solution "Neuz" und da im ordner "Source Files" Relativ weit oben.

Dort geht ihr in zeile 2279 dort müsstet ihr das finden:

PHP Code:
CString strPath MakePath"Theme\\", ::GetLanguage(), szMapFile[xRandom0)] );
    
// ¸Ê(´øÀü) ·Îµù½Ã À̹ÌÁö Ãâ·Â
    
CWorld::m_nZoomLevel 0;
    
CWndWorldpWndWorld = (CWndWorld*)g_WndMng.GetWndBaseAPP_WORLD );

#if __VER >= 11 // __GUILD_COMBAT_1TO1
    
if( dwWorldID == WI_WORLD_GUILDWAR || (dwWorldID >= WI_WORLD_GUILDWAR1TO1_0 && dwWorldID <= WI_WORLD_GUILDWAR1TO1_L) )
#else // __GUILD_COMBAT_1TO1
     
if( dwWorldID == WI_WORLD_GUILDWAR )
#endif // __GUILD_COMBAT_1TO1
    
{
        
strPath MakePath"Theme\\Default\\""MapLoading_GuildWar.tga" );
    }

.. 
usw 
Diese zeile passt bei mir, wenn die bei euch etwas anders ist, ist net schlimm einfach bissl scrollen

Nun löscht ihr den code von hier:

PHP Code:
#if __VER >= 11 // __GUILD_COMBAT_1TO1
    
if( dwWorldID == WI_WORLD_GUILDWAR || (dwWorldID >= WI_WORLD_GUILDWAR1TO1_0 && dwWorldID <= WI_WORLD_GUILDWAR1TO1_L) )
#else // __GUILD_COMBAT_1TO1 
Bis hier:

PHP Code:
        if( pWndWorld )
#endif //__GUILD_COMBAT_1TO1
            
pWndWorld->m_dwGuildCombatTime 0xffffffff;
    } 
Darunter sollte sich das befinden:

PHP Code:
    if( pWndWorld )
        
pWndWorld->m_pSelectRenderObj NULL;

    
g_Neuz.m_TexLoading.LoadTextureg_Neuz.m_pd3dDevicestrPath0xffff00ffFALSE ); 
Diese nicht Löschen!

nun Kopiert ihr das:

PHP Code:
    switch(dwWorldID)
    {
        case 
WI_WORLD_GUILDWARstrPath MakePath"Theme\\Default\\""MapLoading_GuildWar.tga" ); break;
        case 
WI_WORLD_GUILDWAR1TO1_0strPath MakePath"Theme\\Default\\""MapLoading_GuildWar.tga" ); break;
        case 
WI_WORLD_GUILDWAR1TO1_LstrPath MakePath"Theme\\Default\\""MapLoading_GuildWar.tga" ); break;

        case 
WI_INSTANCE_OMINOUSstrPath MakePath"Theme\\Default\\""MapLoading_Ominous.tga" ); break;
        case 
WI_INSTANCE_OMINOUS_1strPath MakePath"Theme\\Default\\""MapLoading_Ominous_1.tga" ); break;
        case 
WI_INSTANCE_DREADFULCAVEstrPath MakePath"Theme\\Default\\""MapLoading_DreadfulCave.tga" ); break;
        case 
WI_INSTANCE_BEHAMAHstrPath MakePath"Theme\\Default\\""MapLoading_Behemoth.tga" ); break;

        case 
WI_GUILDHOUSE_SMALLstrPath MakePath"Theme\\", ::GetLanguage(), "MapLoading_Guildhouse.tga" ); break;
        case 
WI_GUILDHOUSE_MIDDLEstrPath MakePath"Theme\\", ::GetLanguage(), "MapLoading_Guildhouse.tga" ); break;        
        case 
WI_GUILDHOUSE_LARGEstrPath MakePath"Theme\\", ::GetLanguage(), "MapLoading_Guildhouse.tga" ); break;
    } 
Zwischen:

PHP Code:
    CString strPath MakePath"Theme\\", ::GetLanguage(), szMapFile[xRandom0)] );
    
// ¸Ê(´øÀü) ·Îµù½Ã À̹ÌÁö Ãâ·Â
    
CWorld::m_nZoomLevel 0;
    
CWndWorldpWndWorld = (CWndWorld*)g_WndMng.GetWndBaseAPP_WORLD );

HIER DER CODE!

    if( 
pWndWorld )
        
pWndWorld->m_pSelectRenderObj NULL;

    
g_Neuz.m_TexLoading.LoadTextureg_Neuz.m_pd3dDevicestrPath0xffff00ffFALSE );
    
    
g_Neuz.m_bTexLoad TRUE;
    
g_Neuz.m_nTexAlpha 255;
    if(
SUCCEEDED(g_Neuz.m_pd3dDevice->BeginScene())) 
So nun werden die Load Pics so geladen, ich hab das einfach alles in einen Switch Case gepackt, weil der code dann etwas kleiner ist.

Wer meint ich hab einen Fehler gemacht, weil ich das:

PHP Code:
    else if( GuildHouse->IsMyGuildHousedwWorldID ) )
        
strPath MakePath"Theme\\", ::GetLanguage(), "MapLoading_Guildhouse.tga" ); 
Rauß hab, meint das Falsche, IsMyGuildHouse wählt zwischen:

- WI_GUILDHOUSE_SMALL
- WI_GUILDHOUSE_MIDDLE
- WI_GUILDHOUSE_LARGE

Aus, aber das steht oben in meinem Code auch, bei den 3 Guild Häusern ändert sich das Bild nie.

Nun Folgendes, wer neue adden will macht einen weiteren Case unter meinen.

Beispiel:

PHP Code:
case CRASY_WORLDstrPath MakePath"Theme\\", ::GetLanguage(), "CrasyWorld.tga" ); break;

Aufbau

case WOLRD_IDstrPath MakePath"Theme\\", ::GetLanguage(), "PIC.tga" ); break;

WORLD_ID zu finden in der defineWorld.
So nun, ich habe bereits den V16 Dungeon Screen (BEHEMAH) bereits geaddet wie ihr oben seht, das müsst ihr nun mit v17 machen, wer diesen Dungeon in seinem Server hat

So, viel spaß

Wer hilfe braucht kann mir gerne ein PN senden.

Mfg.
.Crasy is offline  
Thanks
12 Users
Old 05/16/2011, 15:36   #2



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,471
#Added to Index
Sedrika is offline  
Old 05/16/2011, 15:37   #3
 
Chriѕ's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,084
Received Thanks: 504
ty Crasy hat mir geholfen ! Nice TuT !
Chriѕ is offline  
Old 05/16/2011, 17:39   #4
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
coole idee aber wenn man ein kleines bissel sucht hat man das schnell gefunden,

aber für die leute die keine lust haben auf jeden fall gut

hast ein thanks
Velmore is offline  
Reply


Similar Threads Similar Threads
[5165] When i debug source wont load due to something in the npc.cs HELP ME
01/13/2012 - CO2 Private Server - 2 Replies
I was putting in npcs in my server all was good until i put in a few final npcs and then i had a problem. I dont know if i delete something or what but it says this. Input string was not in a correct format.Format exception was unhandled EntityID = uint.Parse(Info); is where it seems to be wrong at. If someone could please teamviewer with me to figure what i did that would be great. Please just PM me if you want to.
Sell Source Binary v3.5, The Strongest Source in the world of private server
03/20/2011 - Conquer Online 2 Trading - 3 Replies
http://i797.photobucket.com/albums/yy253/aymanelkb er/vmwvhk.gif Wolves Private Server http://www.monsterup.com/upload/1258602276638.jpg Some Info About Source 2- Full Transalite 100% 3- Reborn ( 1 , 2 , 3 , 4) With Ninja Full work 100% 4- Plus ( +1 To +20 )
[WTS] Steam ACC - Counter Strike Source, Day of Defeat: Source und Half-Life 2: Death
12/12/2010 - Counter-Strike Trading - 1 Replies
Delete.
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat! 127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...
i want to trade my 100m SRO gold to your levelup load or RF load
04/15/2008 - Silkroad Online Trading - 1 Replies
hi..........anyone want SRO gold i have 100m i want to trade this to your levelup load or RF load anyone have just pm me or contact me this email add. [email protected] or +639202300892



All times are GMT +1. The time now is 11:27.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.