About Store Forum Documentation Contact
Donations:
178$/mo



Post Reply 
ConfigLoad(); and Save with own parameters?
Author Message
Qbound Offline
Member

Post: #1
ConfigLoad(); and Save with own parameters?
Hi all,

is it possible to save own parameters with ConfigLoad and ConfigSave?

Small example is the LastUser logged into the game.

If not then i have my own config class but i dont want to use two config managers.

cu
Oliver
07-28-2010 08:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: ConfigLoad(); and Save with own parameters?
builtin functions save only basic options, for more options please use custom functions
07-28-2010 09:17 PM
Find all posts by this user Quote this message in a reply
Qbound Offline
Member

Post: #3
RE: ConfigLoad(); and Save with own parameters?
ok i will do so.
and thanks for your fast reply.

cu
Oliver
07-28-2010 09:39 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #4
RE: ConfigLoad(); and Save with own parameters?
Is it possible to overwrite config.txt with my own values? Or I should create additional .txt file?
08-19-2010 01:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #5
RE: ConfigLoad(); and Save with own parameters?
dont use the built in save load config class, create your own from scratch which allows you to store whatever you want in one file. : )
(This post was last modified: 08-19-2010 01:29 PM by Zervox.)
08-19-2010 01:29 PM
Find all posts by this user Quote this message in a reply
Barthap Offline
Member

Post: #6
RE: ConfigLoad(); and Save with own parameters?
Try to use FileText class. There is tutorial Advanced/1 - Graphics, Gui.../Misc/Files/FileText.cpp
08-19-2010 06:57 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #7
RE: ConfigLoad(); and Save with own parameters?
I know, I've almost finished it but I have some problems:

http://www.esenthel.com/community/showth...p?tid=2280
08-19-2010 07:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #8
RE: ConfigLoad(); and Save with own parameters?
Why not make the builtin config class extendable?

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
08-19-2010 09:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Qbound Offline
Member

Post: #9
RE: ConfigLoad(); and Save with own parameters?
That would be the best way.
08-22-2010 09:37 AM
Find all posts by this user Quote this message in a reply
Post Reply