Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-04-12 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Racefile checker  (Read 192 times)

Offline Greed

  • Level 1 Trained Beginner
  • *
  • Posts: 35
Racefile checker
« on: August 24, 2008, 03:29:28 AM »
every single time i put a race in the race file checker it spaces everything out and its realy realy annoying!?

is there anyway to fix or stop it spacing it out, heres what happends...

Its normally this right,
Code: [Select]
  "103"
  {
    "name"              "Dark Elves"
    "author"            "*.:PaW:.* NovaKiller DK"
    "required_level"    "720"
    "allow_only"        "0"
    "preloadcmd"        "es_xsetinfo wcs_target 0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "8"
    "skillnames"        "Evasion|Thorns Aura|Trueshot Aura|Entangle Roots"
    "skilldescr"        "Gives you a chance of evading each shot.|Does mirror damage to the person who shot

you.|Does extra damage to the enemy.|Allows you to prevent an enemy player from moving."
    "skillcfg"          "player_victim|player_victim|player_attacker|player_ultimate"

    "skill1_setting"    "es_xrand wcs_rand 1 30|es_xrand wcs_rand 1 20|es_xrand wcs_rand 1 10|es_xrand wcs_rand

1 08|es_xrand wcs_rand 1 06|es_xrand wcs_rand 1 04|es_xrand wcs_rand 1 03|es_xrand wcs_rand 1 02"
    "racealias_ne1"     "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) !=

server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es est_GetHealth wcs_health event_var(userid);es es_xmath

wcs_health + server_var(wcs_dmg);es est_SetHealth event_var(userid) server_var(wcs_health);es es_xtell

event_var(userid) : Evaded a shot"
    "skill1_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_isalive wcs_alive event_var(userid);es

es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ne1"
    "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es

es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then

est_effect 3 #a 0 sprites/yellowflare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var

(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 5 5 255 255 255 255"

    "skill2_setting"    "es_xrand wcs_rand 1 30;es_xsetinfo wcs_divider 14|es_xrand wcs_rand 1 20;es_xsetinfo

wcs_divider 13|es_xrand wcs_rand 1 10;es_xsetinfo wcs_divider 11|es_xrand wcs_rand 1 08;es_xsetinfo wcs_divider

9|es_xrand wcs_rand 1 06;es_xsetinfo wcs_divider 7|es_xrand wcs_rand 1 04;es_xsetinfo wcs_divide  5|es_xrand

wcs_rand 1 03;es_xsetinfo wcs_divider 4|es_xrand wcs_rand 1 02;es_xsetinfo wcs_divider 3"
    "racealias_ne2"     "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) !=

server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es es_xmath wcs_dmg / server_var(wcs_divider);es

est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(userid) event_var(attacker)

server_var(wcs_dmg);es est_csay event_var(userid) did server_var(wcs_dmg) mirror damage;es est_csay event_var

(attacker) got server_var(wcs_dmg) mirror damage back"
    "skill2_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_isalive wcs_alive event_var

(attacker);es es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ne2"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es

es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then

est_effect 3 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var

(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 20 200 200 255"

    "skill3_setting"    "es_xrand wcs_dmg 1 3|es_xrand wcs_dmg 2 5|es_xrand wcs_dmg 3 7|es_xrand wcs_dmg 5

9|es_xrand wcs_dmg 6 11|es_xrand wcs_dmg 7 11|es_xrand wcs_dmg 9 11|es_xrand wcs_dmg 11 11"
    "racealias_ne3"     "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es

est_csay event_var(attacker) made + server_var(wcs_dmg) damage;es est_csay event_var(userid) got server_var

(wcs_dmg) additional damage"
    "skill3_cmd"        "es est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_alive) = 1) then

racealias_ne3"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es

es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es est_effect 3 #a 0 sprites/halo01.vmt

server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var

(wcs_z2) 1 5 5 200 20 20 255"

    "skill4_setting"    "es_xsetinfo wcs_radius 350;es_xsetinfo wcs_freezetime 3|es_xsetinfo wcs_radius

400;es_xsetinfo wcs_freezetime 3|es_xsetinfo wcs_radius 450;es_xsetinfo wcs_freezetime 4|es_xsetinfo wcs_radius

450;es_xsetinfo wcs_freezetime 4|es_xsetinfo wcs_radius 500;es_xsetinfo wcs_freezetime 5|es_xsetinfo wcs_radius

500;es_xsetinfo wcs_freezetime 5|es_xsetinfo wcs_radius 600;es_xsetinfo wcs_freezetime 6|es_xsetinfo wcs_radius

600;es_xsetinfo wcs_freezetime 6"
    "skill4_cmd"        "es_xdoblock wcs/wcs_ulti_roots"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "10"
  }


But when i put it in the race file checker it turns out like this....
Code: [Select]
  "103"
  {
    "name"              "Dark Elves"
    "author"            "*.:PaW:.* NovaKiller DK"
    "required_level"    "720"
    "allow_only"        "0"
    "preloadcmd"        "es_xsetinfo wcs_target 0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "8"
    "skillnames"        "Evasion|Thorns Aura|Trueshot Aura|Entangle Roots"
    "skilldescr"        "Gives you a chance of evading each shot.|Does mirror damage to the person who shot

you.|Does extra damage to the enemy.|Allows you to prevent an enemy player from moving."
    "skillcfg"          "player_victim|player_victim|player_attacker|player_ultimate"

    "skill1_setting"    "es_xrand wcs_rand 1 30|es_xrand wcs_rand 1 20|es_xrand wcs_rand 1 10|es_xrand wcs_rand

1 08|es_xrand wcs_rand 1 06|es_xrand wcs_rand 1 04|es_xrand wcs_rand 1 03|es_xrand wcs_rand 1 02"
    "racealias_ne1"     "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) !=

server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es est_GetHealth wcs_health event_var(userid);es es_xmath

wcs_health + server_var(wcs_dmg);es est_SetHealth event_var(userid) server_var(wcs_health);es es_xtell

event_var(userid) : Evaded a shot"
    "skill1_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_isalive wcs_alive event_var(userid);es

es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ne1"
    "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es

es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then

est_effect 3 #a 0 sprites/yellowflare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var

(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 5 5 255 255 255 255"

    "skill2_setting"    "es_xrand wcs_rand 1 30;es_xsetinfo wcs_divider 14|es_xrand wcs_rand 1 20;es_xsetinfo

wcs_divider 13|es_xrand wcs_rand 1 10;es_xsetinfo wcs_divider 11|es_xrand wcs_rand 1 08;es_xsetinfo wcs_divider

9|es_xrand wcs_rand 1 06;es_xsetinfo wcs_divider 7|es_xrand wcs_rand 1 04;es_xsetinfo wcs_divide  5|es_xrand

wcs_rand 1 03;es_xsetinfo wcs_divider 4|es_xrand wcs_rand 1 02;es_xsetinfo wcs_divider 3"
    "racealias_ne2"     "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) !=

server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es es_xmath wcs_dmg / server_var(wcs_divider);es

est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(userid) event_var(attacker)

server_var(wcs_dmg);es est_csay event_var(userid) did server_var(wcs_dmg) mirror damage;es est_csay event_var

(attacker) got server_var(wcs_dmg) mirror damage back"
    "skill2_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_isalive wcs_alive event_var

(attacker);es es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ne2"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es

es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then

est_effect 3 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var

(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 20 200 200 255"

    "skill3_setting"    "es_xrand wcs_dmg 1 3|es_xrand wcs_dmg 2 5|es_xrand wcs_dmg 3 7|es_xrand wcs_dmg 5

9|es_xrand wcs_dmg 6 11|es_xrand wcs_dmg 7 11|es_xrand wcs_dmg 9 11|es_xrand wcs_dmg 11 11"
    "racealias_ne3"     "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es

est_csay event_var(attacker) made + server_var(wcs_dmg) damage;es est_csay event_var(userid) got server_var

(wcs_dmg) additional damage"
    "skill3_cmd"        "es est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_alive) = 1) then

racealias_ne3"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es

es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es est_effect 3 #a 0 sprites/halo01.vmt

server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var

(wcs_z2) 1 5 5 200 20 20 255"

    "skill4_setting"    "es_xsetinfo wcs_radius 350;es_xsetinfo wcs_freezetime 3|es_xsetinfo wcs_radius

400;es_xsetinfo wcs_freezetime 3|es_xsetinfo wcs_radius 450;es_xsetinfo wcs_freezetime 4|es_xsetinfo wcs_radius

450;es_xsetinfo wcs_freezetime 4|es_xsetinfo wcs_radius 500;es_xsetinfo wcs_freezetime 5|es_xsetinfo wcs_radius

500;es_xsetinfo wcs_freezetime 5|es_xsetinfo wcs_radius 600;es_xsetinfo wcs_freezetime 6|es_xsetinfo wcs_radius

600;es_xsetinfo wcs_freezetime 6"
    "skill4_cmd"        "es_xdoblock wcs/wcs_ulti_roots"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "10"
  }

I don't even have to press "senden" as soon as i paste it in there is just spaces out, pplleeaassee hheellpp


Technotic

Edit: awesome they both spaced out >.>, could i be because i paste from notepad to racefile checker?
« Last Edit: August 24, 2008, 03:44:50 AM by Technotic »

Offline Phat_Wizard

  • <WCS coder>
  • Level 7 Expert
  • *****
  • Posts: 229
Re: Racefile checker
« Reply #1 on: August 24, 2008, 03:43:56 AM »
That is word-wrap, this happens because the line is too long to display in the text box it just wraps the text to the next line.