What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] X360+

Pages: (2): « First « 1 [ 2 ] Last »
[Release] X360+
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [Release] X360+
Well, OnGetScriptMenu does reveal an about-menu-looking MenuId :P

Anyways, if you need a solid system for storing settings, I'm currently working on it.
11-05-2008 03:11 PM
Profile PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: [Release] X360+
Guess I just didn't remove the about menu properly.  It should be gone in 1.1, because I don't have it.  When I have the script fully done there will be an about window, since I have a few certain people to give thanks to. ;)

Keep me posted on this system storage your working on.  I have something planned and it's definitly outgrown the registry.
[Image: adsig.jpg]
11-05-2008 05:18 PM
Profile E-Mail PM Web Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [Release] X360+
XML data storage?
11-05-2008 06:18 PM
Profile PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: RE: [Release] X360+
quote:
Originally posted by SmokingCookie
XML data storage?
Think its gonna have to be.  Jus gimme the time to figure out how to do it, and then I can (hopefully) start on the masterplan.
[Image: adsig.jpg]
11-05-2008 06:39 PM
Profile E-Mail PM Web Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [Release] X360+
I've tried to, but numbers and boolean values are very difficult to detect in XML. I recommend sticking to the reg..

But of course, it's your master plan :P

This post was edited on 11-05-2008 at 06:56 PM by SmokingCookie.
11-05-2008 06:56 PM
Profile PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: RE: [Release] X360+
quote:
Originally posted by SmokingCookie
But of course, it's your master plan :P
It is.. but thats not to say that suggested improvements will be ignored.
Perhaps just an ini file would be the best solution, if xml isn't great for bools (which is like 90% of my settings).

This post was edited on 11-06-2008 at 05:19 PM by ArkaneArkade.
[Image: adsig.jpg]
11-06-2008 05:19 PM
Profile E-Mail PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [Release] X360+
There's nothing hard on reading/writing booleans from an XML file, as long as you do it properly:

Writing:
code:
node.text = 1*bBoolean;
Reading:
code:
bBoolean = (1*node.text == true);
That way, you always read and write 0 or 1 and you don't have to worry about converting a string containing "true" to a Boolean and such.

However, if it's for keeping a user's preferences, I'd recommend using the registry, yes. It's easier for you, the developer: no need to create extra files in places where they may get lost, preferences are properly removed when script is uninstalled and the functions are lots simpler. It's also better for the user: he/she won't easily delete them accidentally.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
11-06-2008 05:41 PM
Profile E-Mail PM Web Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: [Release] X360+
Awesome.  cheers for that Matti.  I still have a long way to go to understand and write xml properly, but if it'll work I at least know it won't be pointless.  cheers man.
[Image: adsig.jpg]
11-09-2008 01:48 PM
Profile E-Mail PM Web Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
O.P. RE: [Release] X360+
Updated the script in the main post.  Now uses xml instead of registry to save settings.
I'm working on the game db.  If anyone has anything to add send me a pm with the game code (gets added to unknown games.txt), name, and psm/image.

As always, shout if theres any problems and I'll get right on it.
[Image: adsig.jpg]
11-12-2008 11:05 AM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On