[Admin] tierrilopes Posted October 14, 2017 at 11:00 PM Share Posted October 14, 2017 at 11:00 PM Go to EterLib/MSWindow.cpp Under: #include "MsWindow.h" Add: #include "../EterLib/Splash.h" Under: bool CMSWindow::Create (const char *c_szName, int brush, DWORD cs, DWORD ws, HICON hIcon, int iCursorResource) { Add: //splash CSplash splash1(TEXT("Protect.bmp"), RGB(128, 128, 128)); //Relative path to binary of the file, this case Protect.bmp splash1.ShowSplash(); Sleep(3000); //Time in miliseconds to show splash image splash1.CloseSplash(); //end splash Download files in attachment. Put files in your EterLib folder (where MSWindow.cpp is located) At Visual Studio: Right-click EterLib project Choose Add --> Add existing item Select Splash.cpp and Splash.h and click Add Recompile client binary and put your Protect.bmp in the relative location defined above Class by: VertexBrasil Splash.cpp Splash.h 1 2 Link to comment Share on other sites More sharing options...
Guest Ezrekith Posted October 15, 2017 at 02:46 PM Share Posted October 15, 2017 at 02:46 PM @Tierri Lopes is it possible to build the image into the binary? Because some "high skilled hackers" will edit the image for themself Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted October 15, 2017 at 03:49 PM Author Share Posted October 15, 2017 at 03:49 PM 1 hour ago, Shabba said: @Tierri Lopes is it possible to build the image into the binary? Because some "high skilled hackers" will edit the image for themself Dont know if the class i used supports it, but it should be able to do so using the resources, when i get home i will check it Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted October 15, 2017 at 06:14 PM Author Share Posted October 15, 2017 at 06:14 PM 3 hours ago, Shabba said: @Tierri Lopes is it possible to build the image into the binary? Because some "high skilled hackers" will edit the image for themself My original idea for this didnt work out, so i will look at msdn because i saw it there about using the file directly from the resources Link to comment Share on other sites More sharing options...
xRooT Posted December 11, 2017 at 11:24 PM Share Posted December 11, 2017 at 11:24 PM I did everything and the picture did not appear Link to comment Share on other sites More sharing options...
P3NG3R Posted December 12, 2017 at 12:44 PM Share Posted December 12, 2017 at 12:44 PM It's working with bitmaps only. The color what you give at constructor of the class is the color of that pixel which will be transparent. Basically it's RGB(255, 0, 255) -> Pink Link to comment Share on other sites More sharing options...
Kuratox3 Posted March 19, 2018 at 04:54 PM Share Posted March 19, 2018 at 04:54 PM (edited) Thank u very much i will use it. Edited March 19, 2018 at 05:01 PM by Kuratox3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now