Hallo,
I make my tut' in english for more people understands.
You want make this without GameGuard ?
[Only registered and activated users can see links. Click Here To Register...]
Humm okey listen :)
Go to the (city XD ) : \8_Neuz\Neuz.cpp
after :
add :
Find:
Add :
Find after:
Remplace By
Find :
Add:
Now the neuz call the splash if you want custom the splash NOT TOUCH the neuz ...
Create loadersplash.h
Past in loadersplash.h
Create loadersplash.cpp
past in loadersplash.cpp
Paste the cpp and h in /8_Neuz/
Now , Go to : \8_Neuz\Resource.h
find :
Find :
(Splash for test : [Only registered and activated users can see links. Click Here To Register...] or [Only registered and activated users can see links. Click Here To Register...])
go to \8_Neuz\VersionCommon.h
add :
Add -> Add existing Item
add : loadersplash.cpp et loadersplash.h
Now Build and try ;)
Now you have this :
[Only registered and activated users can see links. Click Here To Register...]
Credit :
99% Dave devil's / jtb1
1% Gala-lab For flyff
I make my tut' in english for more people understands.
You want make this without GameGuard ?
[Only registered and activated users can see links. Click Here To Register...]
Humm okey listen :)
Go to the (city XD ) : \8_Neuz\Neuz.cpp
after :
Code:
#include "ClientMsg.h"
Code:
#ifdef __LOADER_SPLASH #include "loadersplash.h" // Hey mon chou <3 SPLASHLOAD NeuzLoad; #endif
Find:
Code:
void CNeuzApp::WaitLoading()
{
OutputDebugString("WaitLoading start\n");
Code:
#ifdef __LOADER_SPLASH
NeuzLoad.Load(m_hInstance,ID_PRELOADER);
NeuzLoad.Active(); // like splash :p
#endif
Code:
void CNeuzApp::BeginLoadThread()
{
CResFile::ScanResource( "" );
Code:
void CNeuzApp::BeginLoadThread()
{
#ifdef __LOADER_SPLASH
ShowWindow( m_hWnd, SW_HIDE ); // Et hop tu te casse <3
#endif
CResFile::ScanResource( "" );
Find :
Code:
#ifdef __PROF
SetFrameSkip( FALSE );
#endif
m_texQuestEmoticon.LoadScript( m_pd3dDevice, MakePath( DIR_ICON, "icon_QuestEmoticon.inc" ) );
m_TexturePackPVP.LoadScript( m_pd3dDevice, MakePath( DIR_SFX, "CountFight.inc" ) );
#if __VER >= 15 // __BS_CHANGING_ENVIR
TexturePool::Get()->Init( m_pd3dDevice );
#endif //__BS_CHANGING_ENVIR
Code:
#ifdef __LOADER_SPLASH
ShowWindow( m_hWnd, SW_SHOW ); // reviens mon pti coeur <3
if(NeuzLoad.SHOW)
NeuzLoad.exit(); // now c'est bon tu peu aller dormir :3
#endif
Create loadersplash.h
Past in loadersplash.h
Code:
//////////////////////////////////////////////////////////////////////
// //
// loadersplash.h , Affichage du splatch pour flyff //
// //
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FLYFF_SPLASH)
#define AFX_FLYFF_SPLASH
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// bon sa devrais tourner , cherche pas je rox le boeuf bourée xD
#ifdef __LOADER_SPLASH
class SPLASHLOAD
{
public:
void exit();
void Active();
void Load(HINSTANCE hInstance,int resid);
BOOL SHOW;
SPLASHLOAD();
virtual ~SPLASHLOAD();
private:
UINT TimerID;
HWND hParentWindow;
HWND hSplashWnd;
};
#endif
#endif // !defined(AFX_FLYFF_SPLASH)
past in loadersplash.cpp
Code:
//////////////////////////////////////////////////////////////////////
// //
// loadersplash.cpp , Affichage du splatch pour flyff //
// //
//////////////////////////////////////////////////////////////////////
#include "stdafx.h" // Prérequis
#include "windows.h" // Vu que on Cheat par windows
#include "loadersplash.h" // on appel notre .h
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
#ifdef __LOADER_SPLASH
SPLASHLOAD::SPLASHLOAD()
{
}
SPLASHLOAD::~SPLASHLOAD()
{
DestroyWindow(hSplashWnd);
}
void SPLASHLOAD::Load(HINSTANCE hInstance,int resid)
{
hSplashWnd=CreateWindowEx(WS_EX_CLIENTEDGE,"STATIC","Chargement en Cours",
WS_POPUP|WS_DLGFRAME|SS_BITMAP,301,301,550,300,NULL,NULL,hInstance,NULL); // 550 = länge , 300 = breite , in german for german :p
SendMessage(hSplashWnd,STM_SETIMAGE,IMAGE_BITMAP,(LPARAM)LoadBitmap(hInstance,MAKEINTRESOURCE(resid)));
// on utilisera une fenetre avec du BMP en fond vu que je suis un gros faignant pour vous expliquer comment mettre une lib
this->SHOW = FALSE;
}
void SPLASHLOAD::Active()
{
int x,y;
int tx,ty;
HDWP windefer;
RECT rect;
GetClientRect(hSplashWnd,&rect);
x=rect.right;y=rect.bottom;
POINT Ecran = {GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN)} ;
// on prend la taille de l'ecran - la fenaitre pour centrer
tx = ((Ecran.x/2)-(x/2)); // Taille de ecran divisée par 2 moins taille de image divisée par 2 = center
ty = ((Ecran.y/2)-(y/2));
windefer=BeginDeferWindowPos(1);
DeferWindowPos(windefer,hSplashWnd,HWND_NOTOPMOST,tx,ty,50,50,SWP_NOSIZE|SWP_SHOWWINDOW|SWP_NOZORDER);
EndDeferWindowPos(windefer);
ShowWindow(hSplashWnd,SW_SHOWNORMAL);
UpdateWindow(hSplashWnd);
this->SHOW = TRUE;
}
void SPLASHLOAD::exit()
{
ShowWindow(hSplashWnd,SW_HIDE);
// si ta eu le courage de lire , c'est moi qui est pré-ecrit le discours de karles pour le cadeau :3 Oui moi :p
// Pourquoi sa te choque que moi , davedevils puis écrire des chose censée ?
this->SHOW = FALSE;
}
#endif
Now , Go to : \8_Neuz\Resource.h
find :
add:Quote:
#define IDM_TOGGLEALLHITS 40013
Open with NOTPAD++ the file \8_Neuz\WinMain.rcQuote:
#define ID_PRELOADER 40020
Find :
add:Quote:
IDI_MAIN_ICON ICON "Resource\\main_ico.ico"
Add your splash in : \8_Neuz\Resource\Preloader.bmpQuote:
ID_PRELOADER BITMAP "Resource\\Preloader.bmp"
(Splash for test : [Only registered and activated users can see links. Click Here To Register...] or [Only registered and activated users can see links. Click Here To Register...])
go to \8_Neuz\VersionCommon.h
add :
In Neuz.sln in visual studio 2003 , right clickQuote:
#define __LOADER_SPLASH // splash for neuz by davedevils /jtb1
Add -> Add existing Item
add : loadersplash.cpp et loadersplash.h
Now Build and try ;)
Now you have this :
[Only registered and activated users can see links. Click Here To Register...]
Credit :
99% Dave devil's / jtb1
1% Gala-lab For flyff