HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 How to create a Screenshots Directory

View previous topic View next topic Go down 
AuthorMessage
Unio-Mentium

avatar

Game username : None
Server : None
Female Posts : 9
Join date : 2016-11-15
Age : 21
Location : California

PostSubject: How to create a Screenshots Directory   Mon Nov 21, 2016 2:40 am

After several tries and looking through several topics, I was able to comprehend and understand how to create a Screenshots Directory for your screenshots.


If you have had/are having a similar issue, see below!

Please Note that this Tutorial is assuming you have prior knowledge regarding the Source Code. If you are still unsure of how to compile your own Impressive Title server or how to navigate the Source's expansive files, please refer to a posted tutorial!







  •    STEP I - Open your Impressive Title Source Code via. the 'Solution' file in your KITO-master folder. It's icon will look like this (Since I got confused with the other two files which were also called 'Solution')


  •    STEP II - Once the Source Code has opened, search for 'ogremagix' in the Search Solution Explorer on the upper right sidebar. It will come up with several different files. Look for the one that has the name 'ogremagixFrameListener' and double click it.


  •    STEP III - Of course, you will see a lot of daunting, unfamiliar text. Press Ctrl+F and in the small box that pops up, type in 'screenshot'. It will locate all the places within the current file that include the word screenshot.



  • STEP IV - Now. Here is the defining moment. Look carefully. The search should have taken you directly to one spot. You will see two codes here, look for the one that says the following
    Code:
    mWindow->writeContentsToTimestampedFile("screenshot", ".PNG");

    Select that line of code, and replace it with this. 


    Code:
    mWindow->writeContentsToTimestampedFile("screenshots/screenshot",".png")

    MAKE SURE THAT THERE IS A ; AT THE END OF THE LINE.



  • STEP V - Now, everything should be in order. Build and organize your files. One last thing to do. Go into your 'client' folder and create a folder called 'screenshot'. This is where your newly taken screenshots will be added.



Back to top Go down
Slain Motionless
Watched
avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 425
Join date : 2014-05-09
Age : 17
Location : Coding

PostSubject: Re: How to create a Screenshots Directory   Mon Nov 21, 2016 2:54 am

Code:
CreateDirectory("screenshots", NULL);
 mWindow->writeContentsToTimestampedFile("screenshots/screenshot", ".PNG");
 mMagixHandler->getMagixGUI()->getAlertBox()->showAlert("Screenshot saved to screenshot folder!", 0.5, 0.5);
 break;

From the thread: http://www.kitopen.com/t3955-some-chat-stuff


However, this is very useful when you are looking for just the directory code. Thanks for posting this.
Back to top Go down
http://aroessa.proboards.com
 
How to create a Screenshots Directory
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Tutorials-
Jump to: