Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dagon

Pages: [1]
1
Bug discussion / Re: Auto revert?
« on: August 30, 2009, 07:30:18 PM »
As a new script writer I just downloaded SUO and went at it, I didn't browse the forum for bugs to know what I might have to watch out for. So a couple suggestions:

1) Distribute a summary of known bugs with the program

2) Disable any disabling of the toolbar save button - it gives a false impression that the document has been saved. (When I ran the auto-indent and syntax checker the button greyed, I thought cool! it saved for me!)

3) Enable shortcuts! CTRL+S is save in every program in existence!

4) I did see that when you save a file a backup is also created, ok that's useful I guess, how about expanding that into automatic periodic document saves that save your work no matter what with datestamped filenames.  Either do it automatically and have the end user manage the saved data, or include built in options for management. Number of saves, frequency, etc.

And, more important than the rest

5) A better-than-nothing way of detecting changes in the document, if you can't come up with something more efficient and accurate, is to go along these lines.. ill go with an existing script file as the example

a) existing document is opened and loaded as normal..... but also loaded into and kept in memory in a variable

b) variable is then stripped of all line breaks and space characters

c) in a timer the existing document that is being worked on is run through the same process as the variable holding the original document.. and all line breaks and spaces are removed

d) current document is then compared to original document .. if they match no changes.. no save button, etc. if they dont match then there are changes and activate the save button (and/or autosave to temp file)

it's dirty, but it works. and off the top of my head the only two problems i could see ever arising out of this method is if/when someone actually changes a string from having one space character to two or more space characters.. for display formatting or whatever. since all spaces are removed the function will not know the difference and the save will not be activated for changes to spaces within senteces. and also for the script layout it self, if someone writes an unformatted script then uses the auto indent feature those changes will not be recognized, but thats where manual saving comes in

aside from that line breaks and spaces have no bearing on the actual content of the script, which really is more important than anything else..

2
Bug discussion / Re: Auto revert?
« on: August 29, 2009, 01:19:13 PM »
This PROBLEM just got me.
I was working on a script for hours this morning, first script I've done, learning the language as I went along.... THINKING that the script was saved when the save button greyed out. THINKING that it was saved when I closed and it didn't prompt to save.

Come back to find that NOTHING has been saved.

EXTREMELY AGGRIVATING

My fault, but also ScriptUO's.

I'm severely aggrivated! I worked HARD on scripting what I had been doing. Now I have to do it all over again and hope that I get it right.

Sorry but an important bug such as this is more than a year old and still not fixed, remove ScriptUO from the internet if you can't maintain it. I don't mean to come off sounding rude or anything but this is just so bad.

3
New member introductions / Hiyas
« on: May 29, 2009, 06:39:52 PM »
Just found this place so figured I'd say hi.

I played UO for a number of years back in the day... great times. I recently got back into playing not more than a week ago and boy have things changed.

I remember UO Assist was the greatest thing around.. and now there's custom scripting........ wow.

I found EasyUO first, but am not really impressed by the scripting, and I'm looking forward to seeing what ScriptUO offers.

Pages: [1]