Author |
Message |
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 12:01 am Post subject: |
|
|
|
|
SubSet v1.5 is at top
|
|
Back to top |
|
|
A380 Novice
Age:58 Gender: Joined: Mar 29 2005 Posts: 60 Offline
|
Posted: Sat Jun 25, 2005 3:11 am Post subject: |
|
|
|
|
xor eax wrote: | SubSet v1.5 is at top |
Where is at the top? Never mind, you mean by page 1.
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 3:30 am Post subject: |
|
|
|
|
ew.. yes :)
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Jun 25, 2005 2:27 pm Post subject: |
|
|
|
|
A380 just likes being annoying, don't worry.
That settings compare looks very nice, though. Much better than diff could do. If I was designing a zone, I'd definitely use this. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 3:19 pm Post subject: |
|
|
|
|
Thank you. Well... considering there is no other tool (as far as I know) for comparing CFGs I would consider using it too :p lol
More than an editor this is turning into a maintenance tool...
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Sat Jun 25, 2005 3:34 pm Post subject: |
|
|
|
|
Yes its a good complete application already keep it up
Can you add some scrollbars to the window while viewing the settings per ship? If I have the window smaller then it can handle i can't scroll to the right _________________
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 4:12 pm Post subject: |
|
|
|
|
You mean you want scrollbars on window 2 so you can scroll window 1 from there?
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Sat Jun 25, 2005 5:04 pm Post subject: |
|
|
|
|
let me clarify. I want to scroll to the right on this window:
[see attachment]
screen.png - 41.19 KB
File downloaded or viewed 69 time(s)
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 6:33 pm Post subject: |
|
|
|
|
SubSet 1.6 is at the 1st post of this thread
Having scrollbars on MDI child forms seems to be a pain in the ass in VB (at least it is for me).
I applied a work around in v1.6... the editor window is forced to its max size when normalized, this way the MDI window have something to scroll and the scrollbars appears. They don't scroll it smoothly but this is all what I can do for the moment. I'll look more into it.
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 7:20 pm Post subject: |
|
|
|
|
SubSet 1.7 is the last version. v1.6 have a stupid bug so the program freezes on Validate and Compare.
v1.7 is at the beginning
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sat Jun 25, 2005 11:57 pm Post subject: |
|
|
|
|
Well... v1.8 is here :p
It is solving the bugs I coded in "Compare Files". Sorry about that. I wanted you guys to see the comparison report and the scrollbars and I neglected some "minor" things (the kind of minor things that can close the program due to an error in the middle of the edition...). I checked this version v1.8 to be safe, even if still beta.
So... I'll try to cool down and put here more complete versions only. Sorry about this flood (3 versions in a day!)
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sun Jun 26, 2005 9:22 am Post subject: |
|
|
|
|
xor eax wrote: | So... I'll try to cool down and put here more complete versions only. |
Yeah, I know how it is. In the program I'm writing, I would always come up with a cool feature and release immediately, only later realizing it crashed whenever you saved or something.
And are scroll bars that hard? I haven't used VB in forever, but in C++ it's just a window style to add a scroll bar, no code necessary even. It's not just one of the form's properties?
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Sun Jun 26, 2005 10:12 am Post subject: |
|
|
|
|
Cyan~Fire wrote: | I would always come up with a cool feature and release immediately, only later realizing it crashed whenever you saved or something | Heh, I'm lucky that most of you are programmers too, other people would call me names for releasing 3 versions in a day.
The AOK thing you're working on looks very good, it seems to be a huge project. A lot of work behind of it.
Cyan~Fire wrote: | in C++ it's just a window style to add a scroll bar, no code necessary even. It's not just one of the form's properties? | That is the problem. Only MDI parent forms have scrollbars in VB 6 (and they don't work fine). Scrollbars are not a property of child or SDI forms. Anyway, some solutions can be applied in code (putting all controls in a PictureBox and scrolling its contents, and things like that). These are the moments in which I repent from chosing VB, but I will solve it one way or the other.
Also, thanks to Maverick for reminding me of this problem. It is not only a matter of comfortability. Without some scrolling method the program is useless for resolutions below 1024x768.
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Mon Jun 27, 2005 2:10 am Post subject: |
|
|
|
|
SubSet 1.9 is at the beginning of this thread.
What's new in v1.9:
-Scrollbars are added to the editor window. They behave as normal scrollbars. I hope you won't notice anything strange, let me know if you do.
-The comparison process is faster. The log is not displayed until the comparison ends. The program is now storing the log in a string and when done it loads it in the Rich Edit control. VB is slow when adding contents to a Rich Edit control that already contains a lot of text. It is sending GETTEXT and SETTEXT messages as for a normal Text control, instead of taking advantage of the streaming capabilities of the Rich Edit control.
-The program remember the last files selected for validating/comparing so you can quickly repeat the last validation/comparison without having to select the files again.
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Mon Jun 27, 2005 7:07 pm Post subject: |
|
|
|
|
SubSet 1.10 at the beginning
I've added mouse wheel tracking to editor scrollbars. The scrollbar control I'm using does not respond to mouse wheel so I've implemented a similar functionality for it. There is one difference with the standard mouse wheel algorithm. In my implementation the horizontal scrollbar respond to the mouse wheel too. The program apply mouse wheel movement to the scrollbar you clicked last. I find it to be more handy than the classic "vert scroll only" algorithm.
Also, an option in Preferences is added to set the wheel speed.
|
|
Back to top |
|
|
A380 Novice
Age:58 Gender: Joined: Mar 29 2005 Posts: 60 Offline
|
Posted: Tue Jun 28, 2005 4:58 am Post subject: |
|
|
|
|
Wow, how many versions are you going to do?
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Jun 28, 2005 11:32 am Post subject: |
|
|
|
|
A coding project is never finished.
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Tue Jun 28, 2005 1:20 pm Post subject: |
|
|
|
|
A380 wrote: | Wow, how many versions are you going to do? | I hope they won't be a lot... Let's see if Maverick thinks the changes are ok and nobody wants more options to be introduced. I want to start the ASSS editor, if I don't do it soon I'll have to wait to september.
Cyan~Fire wrote: | A coding project is never finished. | Absolutely. The source is there. The compiler is there. The temptation to play with both is always there too.
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Wed Jun 29, 2005 3:10 am Post subject: |
|
|
|
|
Very nice, good job
Few points you might want to improve:
- You can't remove a single file from the "With Files (x)" field on the "Compare CFG/SET Files" window, you can only remove all files. (What if you added 10 files but one is wrong?)
- Misc:PeriodicMessage - length can be longer then 99
- Textfields are cut on the right [see attachment].
For the rest its one very good program, good job
Certainly something alot of people can use
cut.png - 26.79 KB
File downloaded or viewed 57 time(s)
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Wed Jun 29, 2005 8:50 am Post subject: |
|
|
|
|
Thank you ;) I should have write this program 6 years before... I've been thinking on it for a long time.
Maverick wrote: | You can't remove a single file from the "With Files (x)" field on the "Compare CFG/SET Files" window | Hehe... the DELETE key is doing the job ;) It deletes all selected files (the file list allow simple multiselection). The program has some hot keys and other features that I must explain in some kind of help file. The delete key is an obvious one, but I understand that it's not so obvious if you are just testing the program with some hurry.
Another hint about the Validate/Compare reports: Once the report is generated, click on the files (in the "With Files (x)" grid). The log will automatically scroll to the file being clicked. It works the opposite way too (double clicking the file name in the log will select that file in the With files (x) list). Well... this long explanations are not good (specially if my english suck), just click on the files after generating the log and see what happends... ;)
I'm not happy about the perfomance of the Rich Edit control which shows the logs. It is very slow when more than 50 files or so are being scanned. Generating big logs it's not recommended... I'm still looking for a solution (I can implement streaming to Rich Edit but then... why the hell I'm using VB if I have to overwrite a half of its functionality?. Also, I'm afraid that any other control will be "flooded" too with logs bigger than 5 MB.
Maverick wrote: | Misc:PeriodicMessage - length can be longer then 99 | I was sure that I was missing something about format/length/validation/etc of settings. Thank you for the information. Also, maybe some fields need a revision for its Low/High limits... Please tell me any wrong thing you may find in the future.
Maverick wrote: | Textfields are cut on the right | It is missing the border pixels only. It is ugly but field contents are still visible (see attachment). I'll try to shrink the width of the page somehow (stealing a few pixels here and there)...
fields1.png - 17.05 KB
File downloaded or viewed 60 time(s)
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Wed Jun 29, 2005 8:19 pm Post subject: |
|
|
|
|
I couldn't recommend ?getsettings anymore. I just can see 2 ways to safely work with settings:
-1. Work with CFG exclusively and forget SET.
-2. Open the CFG file in SubSet (or any other converter) and save it as SET. Work on this SET file doing ?setsettings all the time and NEVER doing a ?getsettings command.
Solution 1 can be applied if you are at server. If you are not at server (the most common situation for sysops I guess) you should use solution 2: Get a copy of the CFG (by email, ftp, etc, NOT with ?getsettings), convert it to SET with an external tool (SubSet, etc) and use ?setsettings command ONLY.
So... I am allowing a size of 163 chars for alphanumeric fields in SubSet. I will release v1.12 tomorrow, after thinking of it all a bit more and doing some more tests to the server..
|
|
Back to top |
|
|
xor eax Novice
Joined: Jun 01 2005 Posts: 93 Location: Spain Offline
|
Posted: Wed Jun 29, 2005 10:35 pm Post subject: |
|
|
|
|
After doing more tests, these are my conclusions. I'm not pretending to teach anybody how the game is, I know that a lot of ppl in here knows a lot of more than me. I'm just thinking aloud so anybody can correct me if I'm wrong. I just want SubSet to be a working tool and not mess settings up.
These are the logical (aceptable) lengths for all alphanumeric fields (the physical length is 255 for all of them):
Notes:SettingName (255)
Notes:Maker (255)
Notes:CoMaker (255)
Notes:MapName (255)
Notes:Mapper (255)
Notes:Note1 (255)
Notes:Note2 (255)
Notes:Note3 (255)
Notes:Note4 (255)
Notes:Note5 (255)
Misc:SheepMessage (159) *see notes below
Misc:GreetMessage (158) *see notes below
Misc:PeriodicMessage0 (159) *see notes below
Misc:PeriodicMessage1 (159) *see notes below
Misc:PeriodicMessage2 (159) *see notes below
Misc:PeriodicMessage3 (159) *see notes below
Misc:PeriodicMessage4 (159) *see notes below
Misc:LevelFiles (255)
Owner:Name (255)
Maker:Maker (255)
|
ALL alphanumeric settings can have a maximum length of 255 chars in the CFG file. But the "Message" settings have some special rules.
For "Message" settings, only the length that I mention in the list of above will be displayed in the game. This applies to SheepMEssage and GreetMessage. The "PeriodicMessage" settings are even more weird... The syntax for these messages, as you all know, is:
(Time for repeating) (Delay after arena is created) (Text)
When showing these messages the server will display the 1st 159 chars of (Text). So the length of (Time for repeating) and (Delay after arena is created) doesn't count against the 159 chars of (Text). Remember that the CFG file accepts 255 chars for ANY alphanumeric settings. The problem here is how many characters will be displayed and how many will be ignored if (Text) is too long... I'll put an example:
Misc:PeriodicMessage0:1 1 <159 chars goes in here>
and
Misc:PeriodicMessage0:15 15 <159 chars goes in here>
are both valid settings, but
Misc:PeriodicMessage0:1 1 <160 chars goes in here>
is not valid, the last character of the message won't be shown
|
Well... I guess 255 is the right length for the rest. And about the Message settings, SubSet will validate them separately, calculating the length of the message. It won't solve the ?getsettings problem, which is out of the scope of SubSet. But at least the alphanumeric settings will be treated by the program in the right way.
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Thu Jun 30, 2005 5:08 am Post subject: |
|
|
|
|
I think you have problems with .set files because they only serve as a temporary file when doing Esc + c in-game?
Dunno, but I always found them quite unusuable.
|
|
Back to top |
|
|
|