Poll

Is the racefilecheker a usefull tool?

Oh yes!!
 77 (74%)
Don't know...
 10 (9.6%)
No, its useless.
 17 (16.3%)

Total Members Voted: 103

Author Topic: [RACEFILECHECKER] official WCS race/racefile checker  (Read 5355 times)

Offline kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1110
    • http://wc3source.de
[RACEFILECHECKER] official WCS race/racefile checker
« on: August 13, 2007, 03:48:02 PM »
Today we put the race/racefilechecker online.

That little script can verify the correct syntax of your racefile and tells you whats wrong.

Its still in beta status, but the most important check works good - the QUOTES check.

So, if you post here a race or want to try one on your server, its recommended to check your racefile first!

Otherwise your server could crash or hide some races (after the syntax error).




* Link fixed

* mirror added. Use it until the version says 0.1a (the primary website link won't check more than 10 races)


please post here any suggestions, comments or bug reports :)
« Last Edit: March 30, 2008, 01:18:28 AM by kryptonite »
[spoiler=Buy me a ...]  :mrgreen:[/spoiler]

Offline Gewer

  • Level 3 Trained Apprentice
  • ***
  • Posts: 77
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #1 on: August 13, 2007, 09:11:09 PM »
Nice script. It helps me a lot. Thanks

Offline Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • *****
  • Posts: 1902
    • WarCraft III Custom races and more Server
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #2 on: August 14, 2007, 10:47:00 AM »
Now even newbie in computers can make copy/paste race by running this script  :lol:
Good job Krypt, but what's the difference between racechecker and ES checker?



Offline NovaKiller

  • <WCS coder>
  • Level 7 Expert
  • *****
  • Posts: 783
  • Loves WCS. Loves to make races. Loves to play WCS
    • |UbEr MiCrO ReVoLuTiOn|UMR|
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #3 on: August 14, 2007, 01:36:06 PM »
Cool script. A nice idea to begginers in wcs. ( Is begginers right?? ). Great it shows the numbers so you know if they are in right order. I works great and i havent got a error yet :D. Great work.

Online HOLLIDAY

  • <Race Maker>
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 2360
  • of all the things ive lost i miss my mind the most
    • http://holliday.clanservers.com
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #4 on: August 15, 2007, 11:36:26 AM »
found race: "14"
found race: "15"

Warning, additional field(s) not set in line 85

maximum_level ultimate_cooldown
found race: "16"

Warning, additional field(s) not set in line 119

author maximum_level teamlimit round_start_cmd ultimate_cooldown
found race: "17"


wow it even detects if the ultimate_cooldown is missing
this thing is awesome... ive already had 3 people asking me to help them with their racefile
i gave them the link but their lazy i guess...i wanted to give it a try anyway.

Quote
but what's the difference between racechecker and ES checker?

 when you use it you will know the difference

Offline Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • *****
  • Posts: 1902
    • WarCraft III Custom races and more Server
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #5 on: August 15, 2007, 12:01:21 PM »
I see, seems to be really useful script



Offline blackawk

  • Level 7 Expert
  • *****
  • Posts: 231
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #6 on: August 16, 2007, 10:23:58 PM »
good script but still takes time to sort out a race file wid 113 races in ^^ , coz i put in my race file and it sed stuff like line 688

take ages to find that line lol

Offline blackawk

  • Level 7 Expert
  • *****
  • Posts: 231
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #7 on: August 16, 2007, 10:33:42 PM »
kk now i see , but i had quite a few uneven quotes  so.... how will i benefit by removing all these

Offline blackawk

  • Level 7 Expert
  • *****
  • Posts: 231
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #8 on: August 17, 2007, 01:28:11 PM »
ok , well now u confused me ^^

Offline Gewer

  • Level 3 Trained Apprentice
  • ***
  • Posts: 77
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #9 on: August 18, 2007, 11:54:25 PM »
Is stats working correctly? I think no...

Offline kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1110
    • http://wc3source.de
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #10 on: August 19, 2007, 12:14:25 AM »
Blackhawk, you shouldn't use Windows Notepad, its a pretty simple editor with only few features.

Download PSpad or Context (search google), they are for free and really better!


Gewer, what do you mean?
the stats show only the longest line in the _submitted_ file.
And the total checks works correctly :)
[spoiler=Buy me a ...]  :mrgreen:[/spoiler]

Online HOLLIDAY

  • <Race Maker>
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 2360
  • of all the things ive lost i miss my mind the most
    • http://holliday.clanservers.com
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #11 on: October 11, 2007, 03:10:13 AM »
this works awesome it would be nice if it checked that the caommands were valid though,i checked a file that had 154 races and 0 errors. but the file would not load,like there was a line that was too long
but longest line was way under 1024 or whatever the max is.0 errors and 0 warnings...
i tried to load the first 100, wouldent load.then i tried the first 50 and it loaded so i narrowed it down to race number 84. outside of quotations,after the skill_cfg it said  lol.and that stoped the whole server from loading...lol
it really wasent funny..lol
maybe you can add a lol checker?...j/k

Offline Diraiba

  • not not telling you why im not no amdin cause i am
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 398
  • Koekjen?
    • My clan
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #12 on: November 26, 2007, 01:43:27 PM »
ok... link is down! Thx Skipper for the report.


Offline kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1110
    • http://wc3source.de
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #13 on: November 26, 2007, 05:37:24 PM »
yes...for some reason, the link changed to: http://www.warcraft-source.com/racefilecheck/

 :???: :???: :???: :???: :???:
« Last Edit: March 22, 2008, 04:52:10 PM by kryptonite »
[spoiler=Buy me a ...]  :mrgreen:[/spoiler]

Offline Moose

  • Level 2 Apprentice
  • **
  • Posts: 54
Re: [RACEFILECHECKER] official WCS race/racefile checker
« Reply #14 on: March 22, 2008, 12:56:27 PM »
Filechecker is buggin out.  It keeps resetting to default races for some reason. :/


Correction: It still works if you check races individually, but it won't check your whole race file at the moment.  Did before, won't now.  Not sure why...
« Last Edit: March 22, 2008, 01:00:14 PM by Moose »