July 21, 2019, 05:24:08 AM

Author Topic: WCS Race Validator - v0.2.9  (Read 79659 times)

Offline Hetal

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 501
WCS Race Validator - v0.2.9
« on: February 10, 2011, 03:06:50 PM »
Please post comments, bugs or suggestion on the WCS Race Checker...

Requirements: Microsoft .NET Framework Version 4.0 Client Profile - Download Link

Current Version: 0.2.9
Last Update: 2/09/2012
Download: Attachment

Changelog:
[Spoiler]
====================
0.1.2 - 2/9/2011
====================
+ Added a status icon displaying the current race file status (Hetal)

====================
0.1.3 - 2/24/2011
====================
+ Added a "New" menu option (Suggested by La Muerte)
+ Added support for nested quotes
+ Added settings file

- Removed output box
* Implemented new token bounds system
* Implemented new text reader class
* Fixed accidentally saving the output box's text to the file instead of the input
* Fixed a quote infinite loop due to and end of the file

====================
0.1.4 - 3/5/2011
====================
+ Added a "Go To Line" menu option
+ Added a crash window

* Refractored Code
* Improved tool-tip

====================
0.1.5 - 3/7/2011
====================
+ Added a warning for races with the same name
+ Added errors for duplicate properties and sections
+ Added a confirmation when closing the window by clicking the (X)
+ Added a setting for determining how fast the textbox scrolls with the mouse wheel ("UI.ScrollMultiplier", default is 5 lines)

* Refactored code
* Renamed setting "Validation.PrintAllMissingProps" to "Validation.WarnAllMissingProps"
* Implemented a new error/warning managing system (we'll see how well this works)
* Fixed not noticing extra brackets around a race header
* Fixed a error with calculating the length of a section definition (would include the spaces/newlines after the section)

====================
0.1.6 - 3/8/2011
====================
+ Added support for checking if properties are missing on skill sub sections (skill1,skill2,etc..)
+ Added a new tooltip system

* Fixed not changing the status icon when there are just warnings and no errors
* Fixed not reporting an error when spawncmd, preloadcmd, etc... are missing

====================
0.1.7 - 3/27/2011
====================
+ Added a options dialog (not all settings have been added to the dialog yet)
+ Added an info tooltip that provides info on the current state of the file
+ Added Undo, Redo, Cut, Copy, Paste, Select All, and Delete item in the Edit menu
+ Added a warning for having two skilldesc values being the same (second won't be shown in WCS)
+ Added an error when code is longer than 512 charcters (512 is the WCS max)

* Refactored lexing stage, greatly improves adding new features/maintaining
* Slightly optimized certain things
* Fixed reporting setting = "" as an error (also with setting = "0")
* Corrected the method of parsing quotes to be more correct in terms of the WCS method
* Fixed being able to undo highlighting
* Fixed miscounting the number of defined skills when a race has a invalid skill section
* Fixed crash on having a "#" character at the end of the file

====================
0.1.8 - 4/3/2011
====================
+ Added a tools menu
+ Added a clunky Race Gaps tool to see the level differences between races (Tools -> Race Gaps) (Suggested by Lukas320)
+ Added a defined & valid races count to the info tooltip
+ Added a check for duplicate racealiases
+ Added a check to make sure numbers are in the skillneeded property
+ Added an option to control where the status overlay is shown
+ Now hides the info link when hiding the status icon

* Fixed the options window showing up in the taskbar
* Fixed the info tooltip showing up in taskbar

====================
0.1.9 - 4/4/2011
====================
+ Added a feature to go to the beginning of text when the home key is pressed (skips the spaces the first time pressed)
* Fixed the status overlay gaining focus when it is shown for the first time
* Fixed the info tooltip gaining focus when shown
* Fixed some problems related to the unexpected end of a file
* Fixed a problem that stopped the text box from scrolling to a specific line
* Fixed a problem where identifiers were being cut off by one letter if they were at the end of the file
* Fixed a problem where headers were being cut off by one letter if they were are the end of the file

====================
0.2.0 - 4/15/2011
====================
+ Added a View menu
+ Added the ability to zoom the main text box, zoom is saved
+ Added a Find dialog (Edit -> Find or Ctrl + F)
+ Added a Zoom menu in the new View menu to control the zoom of the textbox
+ Added a Mark Problems option in the new View menu to disable highlighting errors for speed (info shows on mouse over)

* Made the Race Gaps window use the application icon instead of the default C# icon
* Made the Race Gaps window show in the center of the main window instead of at some random position

====================
0.2.1 - 5/11/2011
====================
* Made teamlimit required. (In the new wcs update this is required, it'll cause a lot of errors in existing race files)

====================
0.2.2 - 5/22/2011
====================
+ Switched to WPF
+ Added line numbers
+ Added automatic parsing (parses as you type)
+ Added a status bar
+ Added a check to validate skillcfg values (Suggested by 朱染 心愛)

* Remade UI
- Have yet to implement a crash screen into the new version so that is lost for now
- Have yet to implement a options window into the new version so that is lost for now
- Have yet to implement the race gap tool into the new version so that is lost for now


====================
0.2.3 - 5/26/2011
====================
+ Added some text to the right side of the status bar that has various info
+ Added a toolbar
+ Added previous & next problem buttons
+ Added a command blacklist (defined in cmdblacklist.txt on a seperate line as {cmd}={msg})
+ Added a check for cooldown when the skill is player_ultimate
+ Reimplemented a crash screen

* Fixed a error where it showed the properties name instead of the type
* Made it confirm changing the file when there is text in the box and has yet to be saved to a file
* Made all code checking go through one place for use with future code features
* Slightly optimized the problem highlighting code

====================
0.2.4 - 6/11/2011
====================
+ Added support for a setting to enable or disable the black list
+ Added a replace function to the find window
+ Added a wrap around option to the find window
+ Added a regex option to the find window for use in finding things with regex expressions
+ Added support for quoteing numbers that are supposed to be strings (for cooldown's mostly)
+ Reimplemented an alert when closing the application with text in the editor (deathkilla5656 reminded me)

* Fixed the window always maximizing on the primary monitor if it was maximized when closed last on another monitor
* Fixed a threading issue where jumping to a problem while its parsing can cause a crash on occasion
* Fixed a crash in the Find window related to changing the document length after starting a search
* Fixed the find window saying "FindWindow" in the title bar

====================
0.2.5 - 7/9/2011
====================
+ Added a Tools menu
+ Added a Format menu item to the new Tools menu
+ Reimplemented the Race Gaps tool
+ Now scrolls horizontally to show errors instead of just up and down

* Unexpected things after a property value no longer invalidates the entire property
* Various other changes

====================
0.2.6 - 8/14/2011
====================
+ Added a (private) flag on the Race Gaps tool if the race is private (Suggested by Lukas320)
* Text in the race gap window is no longer editable
* Changed the open file dialog's default filter to .ini files
* Fixed the format file tool leaving new lines at the end of the file
* Fixed the format tool causing errors with strings that started with single quotes
* Fixed end of file crash with quotes
* Fixed possible crash on right clicking an error and not finding a section
* Fixed the program saving a settings.ini file where the race file is instead of where the application is
* Fixed more crashes with properties being unexpected types
* Cleaned up code

====================
0.2.7 - 9/14/2011
====================
+ Added support for the optional "maximumlevel" property
+ Added support for formatting with errors in the file (only formats races with no errors)

* Blacklist commands are no longer case sensitive
* Fixed highlighting lines incorrectly shortly after removing errors

====================
0.2.8 - 4/25/2012
====================
+ Added support for identifying missing race aliases
+ Reimplemented the options window

* Moved from runtime version 3.5 to 4.0
* Fixed a bug with a .dll file being x64 while the exe was x86

====================
0.2.9 - 4/27/2012
====================
* Fixed a bug in the race alias finder that couldn't seperate code from the alias name
* Fixed a potential bug in the problem highlighting (maybe a speedup)
* Removed debug notifications from code that caused crashes
* Updated blacklist (0.2.9b)

Known Bugs:
[Spoiler]
- No known bugs! Quick! Go find some and report them!
« Last Edit: April 21, 2013, 12:28:18 PM by La Muerte »

Offline Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1856
  • Country: be
    • Fortitude
Re: WCS Race Checker - v0.1.4
« Reply #1 on: March 06, 2011, 02:00:15 AM »
Awesome, as far as I checked it works brilliantly now, corrected the 100 races racepack by jhonam in only a few clicks :)
ty vm!
Anyways why you all code so late? Or early? Don't you guys sleep at all?
Sleep? What's that? Just put a wire up your arse and charge while you code during the night. Doesn't all do that, or is it just me??

Offline NatoHunter

  • Level 7 Expert
  • *****
  • Posts: 171
  • Country: de
  • geht nicht ...gibt es nicht
    • Shadow-Fighter
Re: WCS Race Checker - v0.1.4
« Reply #2 on: March 06, 2011, 02:53:15 PM »
thanks for good update

 great job brother

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 472
  • Country: be
  • <3 WCS :)
Re: Bug Reports of WCS Race Checker - v0.1.4
« Reply #3 on: March 06, 2011, 05:00:47 PM »
don't need it, unless InvisGhost feels like adding it.
ty anyway

I know , but i just was bored and i so this so i tought whatever i'll make a setup for this xD

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 472
  • Country: be
  • <3 WCS :)
Re: Bug Reports of WCS Race Checker - v0.1.4
« Reply #4 on: March 06, 2011, 11:53:51 PM »
K no problem ^^ ,

You're doing good work with the race file checker :D

Offline InvisGhost

  • Level 4 Intermediate
  • ****
  • Posts: 89
  • Country: us
  • If in doubt, mumble.
Re: WCS Race Checker - v0.1.6
« Reply #5 on: March 28, 2011, 12:02:10 AM »
Alright, I'll update the post to the newer version in a second. I was waiting to get the current to-do list finished but I can release a update fixing a few bugs and adding a couple features.

Edit: Updated! Enjoy! Remember to report bugs you find!
« Last Edit: March 28, 2011, 12:18:56 AM by invisghost »

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 472
  • Country: be
  • <3 WCS :)
Re: WCS Race Checker - v0.1.7
« Reply #6 on: March 28, 2011, 07:55:23 PM »
hmm getting a lot of errors for to long lines mostly it are effects.

Offline InvisGhost

  • Level 4 Intermediate
  • ****
  • Posts: 89
  • Country: us
  • If in doubt, mumble.
Re: WCS Race Checker - v0.1.7
« Reply #7 on: March 28, 2011, 08:25:28 PM »
La Muerte said that the max limit for code is 512 so that's why it's showing up as an error. At least now you know :P

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 472
  • Country: be
  • <3 WCS :)
Re: WCS Race Checker - v0.1.7
« Reply #8 on: March 31, 2011, 09:52:46 AM »
When it is higher then the max code characters will the skill still work then?

And i got an idea which could be usefull for me and maybe others.
How about coding something which calculates the gaps between levels.
Cuz i need to fill up my gaps in the levels and it would be a pain in the ass to go find them manually.

Offline Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1856
  • Country: be
    • Fortitude
Re: WCS Race Checker - v0.1.7
« Reply #9 on: March 31, 2011, 10:37:48 AM »
higher then max code characters => every character above the limit is simply ignored and so your skill won't completely do what it has to.

Lukas, could you be more precise on your idea?
Anyways why you all code so late? Or early? Don't you guys sleep at all?
Sleep? What's that? Just put a wire up your arse and charge while you code during the night. Doesn't all do that, or is it just me??

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 472
  • Country: be
  • <3 WCS :)
Re: WCS Race Checker - v0.1.7
« Reply #10 on: March 31, 2011, 11:39:20 AM »
higher then max code characters => every character above the limit is simply ignored and so your skill won't completely do what it has to.

Lukas, could you be more precise on your idea?

Well , my races.ini has some gaps of level requirements between some races so ppl sometimes have to get 50 levels etc... And that is too much.
So what would help me a lot that race checker gives a warning of how many levels are between the races. So i don't have to manually find the gaps and scroll up and down what the requirement level of these races are. Hope you understand it now.

Offline $Diablo$

  • Level 7 Expert
  • *****
  • Posts: 714
  • Country: au
Re: WCS Race Checker - v0.1.7
« Reply #11 on: March 31, 2011, 12:06:02 PM »
higher then max code characters => every character above the limit is simply ignored and so your skill won't completely do what it has to.

Lukas, could you be more precise on your idea?

Well , my races.ini has some gaps of level requirements between some races so ppl sometimes have to get 50 levels etc... And that is too much.
So what would help me a lot that race checker gives a warning of how many levels are between the races. So i don't have to manually find the gaps and scroll up and down what the requirement level of these races are. Hope you understand it now.

good idea i think it will be very helpful

Offline Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1856
  • Country: be
    • Fortitude
Re: WCS Race Checker - v0.1.7
« Reply #12 on: March 31, 2011, 01:27:12 PM »
Maybe its just me but, it sounds quite pointless.
how would the checker then have to tell you about the gaps, and how would a gap be defined exactly?

it sounds pretty lame that you can't be bothered to set up/ improve your own racelist.
the race checker is to indicate errors and mistakes not to manually do everything you want to get done, basically: do it yourself.
Anyways why you all code so late? Or early? Don't you guys sleep at all?
Sleep? What's that? Just put a wire up your arse and charge while you code during the night. Doesn't all do that, or is it just me??

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 472
  • Country: be
  • <3 WCS :)
Re: WCS Race Checker - v0.1.7
« Reply #13 on: March 31, 2011, 02:01:01 PM »
Well it would just be usefull lol...
It should define a level gap when the diffrence is higher then 30 levels.
And it should have an option to turn it on or off , and uhm how to show the warning is another question.
It's just fixing level requirements of a 100+ races list is kinda difficult and takes a lot of time.
But if you find it pointless then leave it.

And about : the race checker is to indicate errors and mistakes not to manually do everything you want to get done, basically: do it yourself.

Well the name is Race CHECKER , and checking the requirement levels between races is still checking i assume soo ,but whatever..

Offline Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1856
  • Country: be
    • Fortitude
Re: WCS Race Checker - v0.1.7
« Reply #14 on: March 31, 2011, 04:21:08 PM »
Nah I guess your right, should be possible.
Anyways why you all code so late? Or early? Don't you guys sleep at all?
Sleep? What's that? Just put a wire up your arse and charge while you code during the night. Doesn't all do that, or is it just me??