Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Official Feature Votes => Topic started by: Cobo on January 05, 2008, 07:40:09 PM

Title: Feature: Save console history
Post by: Cobo on January 05, 2008, 07:40:09 PM
Save the console history so every time you load DP  the commands you used last are there, so all you have to do is press the up key.
Title: Re: Feature: Save console history
Post by: jitspoe on January 05, 2008, 08:27:15 PM
http://dplogin.com/dplogin/featurevote/feature.php?id=10017

+1 for that.  If I hadn't been busy with other things, this would already been implemented.  Really useful when testing stuff that involves closing the game each time.
Title: Re: Feature: Save console history
Post by: jitspoe on August 30, 2012, 01:04:39 AM
This should be a pretty easy one to implement for anybody looking to help out...
Title: Re: Feature: Save console history
Post by: Narga on August 31, 2012, 12:35:49 AM
This should be a pretty easy one to implement for anybody looking to help out...

I have Visual C++ 2010 but this game appears to have been made using Visual C++ 6.0. I heard that most programs made in Visual C++ 6.0 cannot be upgraded to Visual C++ 2010.

Is it possible to manually add the source, header, and resource files into a blank Visual C++ 2010 project and build it without breaking my computer? Would I need to manually add other files as well?
Title: Re: Feature: Save console history
Post by: Foxhound on August 31, 2012, 03:33:33 AM
Would this affect things like spec 1? would 1 always be spec'd? I think this might be trickier than it seems?
Title: Re: Feature: Save console history
Post by: ViciouZ on August 31, 2012, 05:33:08 AM
I have Visual C++ 2010 but this game appears to have been made using Visual C++ 6.0. I heard that most programs made in Visual C++ 6.0 cannot be upgraded to Visual C++ 2010.

Is it possible to manually add the source, header, and resource files into a blank Visual C++ 2010 project and build it without breaking my computer? Would I need to manually add other files as well?

wot. you using the latest svn source? think it's got a vs2005 project you can upgrade.

Would this affect things like spec 1? would 1 always be spec'd? I think this might be trickier than it seems?

nah, it just saves previously entered commands so you can quit the game, restart and scroll up through what you typed earlier. doesn't actually save the effects of the commands. it's like google search history.
Title: Re: Feature: Save console history
Post by: T3RR0R15T on August 31, 2012, 08:13:19 AM
Only the previously entered commands or all console messages (joined server, switched team, eliminated,...)? Or with an option to change between it?
Title: Re: Feature: Save console history
Post by: ViciouZ on August 31, 2012, 12:05:36 PM
Just commands. All you need to do is store the array of 32 console lines and the current line index, and save/load them when quitting/opening the game. I tried to do it once, but inevitably messed something up in the process.
Title: Re: Feature: Save console history
Post by: Narga on September 01, 2012, 12:04:09 AM
wot. you using the latest svn source? think it's got a vs2005 project you can upgrade.

Where can I get it?

Edit:  I just realised that the Source Forge website for Paintball 2 comes with source code files with a Visual C++ 2008 Express solution, but the rest of the project files are Visual C++ 6.0 for some reason.
Title: Re: Feature: Save console history
Post by: Narga on September 10, 2012, 10:07:09 AM
wot. you using the latest svn source? think it's got a vs2005 project you can upgrade.

When I build the solution, I get errors.
Title: Re: Feature: Save console history
Post by: jitspoe on October 03, 2012, 02:13:03 AM
Went ahead and implemented this as it should save me time in the long run.