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: Loading Races  (Read 275 times)

SynDraXx

  • Guest
Re: Loading Races
« Reply #15 on: February 19, 2009, 05:57:36 PM »
yeah it does, cuz it is line 111 if u start looking after 54th race ;)

so look the line from 54th race and add 111 lines ;) then you got your line, where the bug is :P
or just make
ctrl+f for search in notepad and search after that
"es_xrand wcs_rand 1 70|es_xrand wcs_rand 1 60|es_xrand wcs_rand 1 40|es_xrand wcs_rand 1 35
then go to the end of that line and add a quote -> "
do the same with skill1_sfx from race59
there is a bug, too!

"skill1_sfx" "0"
the red quote is missing in your racefile ;)

hope u got it now xD

Offline Johnsen

  • Level 2 Apprentice
  • **
  • Posts: 41
Re: Loading Races
« Reply #16 on: February 19, 2009, 06:03:54 PM »
jupp, i got it : )
even before u posted this, but thanks..
but now i got another problem, it wont load further then 86  :P
i'll see if it is the same bug,

but btw, is it the race 86 or is the the race after 86? that is the problem if it loaded to 86, then when it was number 87's turn it didnt load? :P
just trying to understand this 
Code: [Select]
"87"
{
  "name"              "Akama"
  "author"            "Haakon"
  "required_level"    "0"
  "allow_only"        "0"
  "teamlimit"         "0"
  "restrict_shop"     "0"
  "restrict_map"      "0"
  "preloadcmd"        "0"
  "player_spawn_cmd"  "0"
  "round_start_cmd"   "0"
  "round_end_cmd"     "0"
  "numberofskills"    "4"
  "numberoflevels"    "4"
  "skillnames"        "Frenzy|Massheal|Evade|The Golden Path"
  "skilldescr"        "Causes the Akama to take more Damage.|Heals the wounds of a number of nearby friends.|Teleports Akama a short distance to evade his enemies.|Akama uses great power attacking all targets in targeted area."
  "skillcfg"          "player_attacker|player_spawn|player_victim|player_death"


  "skill1_setting"    "es_xsetinfo wcs_multiplier 0.4|es_xsetinfo wcs_multiplier 0.7|es_xsetinfo wcs_multiplier 1.0|es_xsetinfo wcs_multiplier 1.3"
  "racealias_oh3"     "es es_xsetinfo wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es es_xmath wcs_dmg * server_var(wcs_multiplier);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_damage;esnq est_csay event_var(attacker) + server_var(wcs_dmg) server_var(wcs_lng);esnq est_csay event_var(userid) + server_var(wcs_dmg) server_var(wcs_lng)"
  "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= 15) then est_IsAlive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= 15) then es_xif (server_var(wcs_alive) = 1) then racealias_oh3"
  "skill1_sfx"        "es es_xif (server_var(wcs_dice) <= 15) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 15) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 15) then es_xif (server_var(wcs_alive) = 1) then est_Effect 3 #a 0 sprites/lgtning.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 3 6 100 255 55 255"   

  "skill2_setting"    "es_xsetinfo wcs_hp 2;es_xsetinfo wcs_time 6;es_xsetinfo wcs_waves 10;es_xsetinfo wcs_radius 150|es_xsetinfo wcs_hp 3;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 180|es_xsetinfo wcs_hp 4;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 14;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 7;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 220"
  "skill2_cmd"        "es es_xkeysetvalue WCSuserdata event_var(userid) regeneration 1;es es_xkeysetvalue WCSuserdata event_var(userid) regen_round server_var(wcs_roundcounter);es wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 server_var(wcs_waves) server_var(wcs_radius)"
  "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 20;es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 200 1 20 100 1 0 40 255 200 10;es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 300 1 20 100 1 0 40 255 200 10"

  "skill3_setting"    "es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 40"
  "racealias_eyehl2"  "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_Health event_var(userid) + event_var(dmg_health);wcs_getlanguage wcs_lng wcs_lng_r_evade"
  "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_eyehl2"
  "skill3_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_eyeblnk2"
  "racealias_eyeblnk2""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es_toptext event_var(userid) 1 #white Effects by HOLLIDAY;es est_effect 11 #a 0 models/gman/pupil_l.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 3 255"

  "skill4_setting"    "es_xsetinfo wcs_duration 1.5;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_duration 2.5;es_xsetinfo wcs_chance 25|es_xsetinfo wcs_duration 3.5;es_xsetinfo wcs_chance 33|es_xsetinfo wcs_duration 5;es_xsetinfo wcs_chance 42"
  "skill4_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_blackhl4"
  "racealias_blackhl4""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 175;es est_Effect 10 #a 0 sprites/water_drop.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 200 500 8 400 400 0 155 155 155 255 10;es_xmath wcs_z1 + 20;es est_effect 11 #a 0 sprites/physcannon_bluecore1b.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 8 3 255;es est_blackhole_size 50;es est_blackhole_gravity 500;es es_xdelayed 2 est_BlackHole server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10;es es_xtell event_var(userid) : You have created the Golden Path!"
  "skill4_sfx"        "0"
    }
this is the race it stops at, is there any wrong with it? : ) please help
« Last Edit: February 19, 2009, 06:07:55 PM by FernandeZ »

Offline Johnsen

  • Level 2 Apprentice
  • **
  • Posts: 41
Re: Loading Races
« Reply #17 on: February 19, 2009, 07:48:35 PM »
Thanks  :)
i removed the race,
but can anyone help me with Akama the race? higher up in the topic.

Offline WCA | Stephan [NOR]

  • Level 1 Trained Beginner
  • *
  • Posts: 29
Re: Loading Races
« Reply #18 on: February 19, 2009, 07:55:56 PM »
It's not the Akama race that's the problem, i checked it through the racefilechecker and manually... ;)

Offline Johnsen

  • Level 2 Apprentice
  • **
  • Posts: 41
Re: Loading Races
« Reply #19 on: February 19, 2009, 08:11:05 PM »
It's not the Akama race that's the problem, i checked it through the racefilechecker and manually... ;)

yeah i found the fail, it was the chihuahua race :o
but it did load into server o.o


well anyway! 120/120 races on server :D
thanks for the help guys :)
« Last Edit: February 19, 2009, 08:22:19 PM by Johnsen »