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 2008-07-21 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 21, 2008, 03:50:13 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Also here is the WCS Wiki!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: BIIIIIIIIG Error  (Read 118 times)
Pre-Dominance
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 70



« on: June 14, 2008, 12:13:34 AM »

Okay, Whenever I ADD A Race To my racefile, something goes wrong somewhere...
When i restart the server, join the server, and spawn it says "error"-level60. But My whole race list is ALSO deleted! There is no error at the beginning of the code, it has to be at the end...

*edit
I ran it through the syntax checker...it gives me 26 errors, and i checked them all, and they're false...

Here is the link for the last 5 races, and the new one.
http://code.eventscripts.com/73481
#101 is the new one..

Here is how my race file Begins.
http://code.eventscripts.com/73482

The attachment is for the WHOLE racelist..
The 2nd, 3rd, and 4th are for the 3 races i want to add...

 Racelist.txt (630.67 KB - downloaded 7 times.)
 Grenadier.txt (8.14 KB - downloaded 2 times.)
 Homo.txt (6.03 KB - downloaded 2 times.)
 Tank.txt (5.19 KB - downloaded 1 times.)
« Last Edit: June 14, 2008, 12:18:24 AM by Pre-Dominance » Logged
Zoibs
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #1 on: June 14, 2008, 04:22:52 AM »

may be this on the name it is missing a "after ninja heres fixed
Code
GeSHi (eventscripts):
{
   "name"              "Ninja"
   "author"            "S|W|E|G|Snake|cL"
   "shortdescription"  "0"
   "required_level"    "860"
   "maximum_level"     "0"
   "allow_only"        "0"
   "teamlimit"         "0"
   "preloadcmd"        "0"
   "player_spawn_cmd"  "0"
   "round_start_cmd"   "0"
   "round_end_cmd"     "0"
   "numberofskills"    "5"
   "numberoflevels"    "8"
   "skillnames"        "Ninja Speed|Money|Cover|Hiding|Sword Thrower"
   "skilldescr"        "You run fast as a Ninja|You earn money|You will cover yourself very fast|You will hide yourself|You will throw your sword on your enemys when u die"
   "skillcfg"          "player_spawn|player_spawn|player_victim|player_spawn|player_death"
 
   "skill1_setting"    "es_xsetinfo wcs_speed 1.20;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_speed 1.30;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_speed 1.40;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_speed 1.50;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_speed 1.60;es_xsetinfo wcs_alpha 130|es_xsetinfo wcs_speed 1.170;es_xsetinfo wcs_alpha 150|es_xsetinfo wcs_speed 1.80;es_xsetinfo wcs_alpha 170|es_xsetinfo wcs_speed 1.90;es_xsetinfo wcs_alpha 190"
   "skill1_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed);es es_xtell event_var(userid) : Unholy Aura activated."
   "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 60 1 4 2 0 255 100 0 255 0"
 
   "skill2_setting"    "es_xsetinfo wcs_money 1000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 2000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 3000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 4000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 5000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 6000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 7000;es_xsetinfo wcs_chance 100|es_xsetinfo wcs_money 8000;es_xsetinfo wcs_chance 100"
   "racealias_nova2"   "es est_cashadd event_var(userid) server_var(wcs_money);es es_xtell event_var(userid) #multi #Lightgreen : The Bank granted you #Green server_var(wcs_money) cash"
   "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_nova2"
   "skill2_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance) 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 255 255 0 255"
 
   "skill3_setting"    "es_xrand wcs_rand 1 50|es_xrand wcs_rand 1 40|es_xrand wcs_rand 1 30|es_xrand wcs_rand 1 20|es_xrand wcs_rand 1 19|es_xrand wcs_rand 1 18|es_xrand wcs_rand 1 17|es_xrand wcs_rand 1 16"
   "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"
   "skill3_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"
   "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 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"
 
   "skill4_setting"    "es_xsetinfo wcs_invis 140;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_invis 130;es_xsetinfo wcs_alpha 60|es_xsetinfo wcs_invis 115;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_invis 100;es_xsetinfo wcs_alpha 80|es_xsetinfo wcs_invis 90;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_invis 80;es_xsetinfo wcs_alpha 100|es_xsetinfo wcs_invis 75;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_invis 70;es_xsetinfo wcs_alpha 120"
   "skill4_cmd"        "es est_setplayercolor event_var(userid) 255 255 255 server_var(wcs_invis) 1;es es_xtell event_var(userid) : Invisibility set."
   "skill4_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) 30 60 2 10 0 0 0 255 50 128 10"
 
   "skill5_setting"    "es_xrand wcs_rand 1 50;es_xsetinfo wcs_magnitude 80;es_xsetinfo wcs_radius 120|es_xrand wcs_rand 1 40;es_xsetinfo wcs_magnitude 80;es_xsetinfo wcs_radius 120|es_xrand wcs_rand 1 30;es_xsetinfo wcs_magnitude 90;es_xsetinfo wcs_radius 140|es_xrand wcs_rand 1 25;es_xsetinfo wcs_magnitude 100;es_xsetinfo wcs_radius 160|es_xrand wcs_rand 1 20;es_xsetinfo wcs_magnitude 110;es_xsetinfo wcs_radius 170|es_xrand wcs_rand 1 15;es_xsetinfo wcs_magnitude 120;es_xsetinfo wcs_radius 170|es_xrand wcs_rand 1 14;es_xsetinfo wcs_magnitude 120;es_xsetinfo wcs_radius 180|es_xrand wcs_rand 1 13;es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 300"
   "skill5_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then es_xdoblock wcs/wcs_ulti_suicide"
   "skill5_sfx"        "es est_effect 4 #a 0 sprites/steam1.vmt server_var(wcs_userid) 0.8 10 5 1 255 100 100 200"
   "ultimate_cooldown" "0"
 }
 
Logged

Pre-Dominance
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 70



« Reply #2 on: June 14, 2008, 04:57:14 AM »

Thanks!

But how does that only effect the new races i add? Shouldnt it effect all the races in front of it? In fact, i was playing ninja today, and it worked fine..
Logged
Zoibs
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #3 on: June 14, 2008, 05:00:40 AM »

i dont know i havent looked at the whole thing that 101 races to look over but that was the first thing i saw ill look more
Logged

Zoibs
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #4 on: June 14, 2008, 05:02:55 AM »

and wcs is funny like that when i add a race if i have an error in it it sometimes dose that error so i dont know
Logged

Zoibs
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #5 on: June 14, 2008, 05:07:19 AM »

another one skill 3 of holy preditor the skill_settings theres a /after it
Code
GeSHi (eventscripts):
"75"
 {
   "name"              "Holy Predator"
   "author"            "*.:PaW:.* NovaKiller"
   "required_level"    "620"
   "allow_only"        ""
   "preloadcmd"        "0"
   "player_spawn_cmd"  "es est_gamestarted wcs_tmp;es es_xif (server_var(wcs_tmp) = 0) then es_xkeysetvalue WCSuserdata event_var(userid) vengeance 1"
   "round_start_cmd"   "0"
   "round_end_cmd"     "0"
   "numberofskills"    "5"
   "numberoflevels"    "8"
   "skillnames"        "Super Berserk (You will need it)|Cloak of Invisibility|Levitation|Burning Blade|Master Vengeance"
   "skilldescr"        "Pump yourself with adrenaline to gain speed and health.|Put on your cloak to be almost completely invisible.|Reduce your gravity.|Hit an enemy, he might catch on fire.|When you die you will respawn."
   "skillcfg"          "player_spawn|player_spawn|player_spawn|player_attacker|player_death"
 
   "skill1_setting"    "es_xsetinfo wcs_speed 1.10;es_xsetinfo wcs_hp 65|es_xsetinfo wcs_speed 1.20;es_xsetinfo wcs_hp 80|es_xsetinfo wcs_speed 1.30;es_xsetinfo wcs_hp 95|es_xsetinfo wcs_speed 1.40;es_xsetinfo wcs_hp 150|es_xsetinfo wcs_speed 1.50;es_xsetinfo wcs_hp 175|es_xsetinfo wcs_speed 1.60;es_xsetinfo wcs_hp 200|es_xsetinfo wcs_speed 1.65;es_xsetinfo wcs_hp 225|es_xsetinfo wcs_speed 1.70;es_xsetinfo wcs_hp 250"
   "skill1_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed);es est_gethealth wcs_health event_var(userid);es es_xmath wcs_health + server_var(wcs_hp);es est_sethealth event_var(userid) server_var(wcs_health);es es_xtell event_var(userid) : Berserk activated. Gained server_var(wcs_hp) HP and server_var(wcs_speed) speed."
   "skill1_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 50 3 10 0 0 0 20 250 255 0"
 
   "skill2_setting"    "es_xsetinfo wcs_invis 60|es_xsetinfo wcs_invis 50|es_xsetinfo wcs_invis 40|es_xsetinfo wcs_invis 30|es_xsetinfo wcs_invis 20"
   "skill2_cmd"        "es est_setplayercolor event_var(userid) 255 255 255 server_var(wcs_invis) 1;es es_xtell event_var(userid) : Cloak of Invisibility activated."
   "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 3 10 0 0 0 20 25 255 0"
 
   "skill3_setting"    "es_xsetinfo wcs_gravity 0.7|es_xsetinfo wcs_gravity 0.6|es_xsetinfo wcs_gravity 0.5|es_xsetinfo wcs_gravity 0.4|es_xsetinfo wcs_gravity 0.3"  
   "skill3_cmd"        "es es_xdelayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);es es_xtell event_var(userid) : Levitation activated"
   "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 3 10 0 0 0 200 25 255 0"
 
   "skill4_setting"    "es_xrand wcs_rand 1 7;es_xsetinfo wcs_time 2|es_xrand wcs_rand 1 6;es_xsetinfo wcs_time 2.5|es_xrand wcs_rand 1 5;es_xsetinfo wcs_time 3|es_xrand wcs_rand 1 5;es_xsetinfo wcs_time 3.5"
   "racealias_fp4"     "es est_gethealth wcs_health event_var(userid);es es_xsetinfo wcs_damage server_var(wcs_time);es_xmath wcs_damage * 5;es es_xif (server_var(wcs_health) <= server_var(wcs_damage)) then es_xif (server_var(wcs_damage) > 0) then wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es es_xif (server_var(wcs_health) <= server_var(wcs_damage)) then est_burn event_var(userid) server_var(wcs_time);es es_xtell event_var(userid) : Got hit by event_var(es_attackername) 's Flame Strike;es es_xtell event_var(attacker) : You hit event_var(es_username) with Flame Strike"
   "skill4_cmd"        "es es_xif (server_var(wcs_rand) < 4) then es est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) < 4) then es_xif (server_var(wcs_alive) = 1) then racealias_fp5"
   "skill4_sfx"        "es es_xif (server_var(wcs_rand) < 4) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_rand) < 4) then es_xmath wcs_z1 + 50;es es_xif (server_var(wcs_rand) < 4) then est_effect 11 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 4 255"    
 
   "skill5_setting"    "es_xrand wcs_health 50 60|es_xrand wcs_health 60 70|es_xrand wcs_health 70 80|es_xrand wcs_health 80 90|es_xrand wcs_health 100 150"
   "skill5_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) vengeance;es es_xif (server_var(wcs_tmp) = 1) then es_xkeysetvalue WCSuserdata event_var(userid) vengeance 0;es es_xif (server_var(wcs_tmp) = 1) then es_xdelayed 2 est_spawn event_var(userid);es es_xif (server_var(wcs_tmp) = 1) then es_xdelayed 2 est_sethealth event_var(userid) server_var(wcs_health);es es_xif (server_var(wcs_tmp) = 1) then es_xtell event_var(userid) : You respawned due Vengeance with server_var(wcs_health) healthpooints."
   "skill5_sfx"        "es es_xif (server_var(wcs_tmp) = 1) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_tmp) = 1) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_tmp) = 1) then es_xmath wcs_z2 + 150;es es_xif (server_var(wcs_tmp) = 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) 2 40 10 200 255 5 255"
   "ultimate_cooldown" "0"
 }
Logged

xovox
Level 0 Beginner

Offline Offline

United States United States

Posts: 8



« Reply #6 on: June 14, 2008, 05:50:20 AM »

Pre-Dom, its Jello.  I'd suggest formatting the file into something more fluid... make all the race blocks look the same, structured the same, and then start comparing {}'s and ""'s, make sure it all adds up.  Also make sure the ; and | are used correctly in the coding.  I've seen some races people build that have it backwards and it causes some bugs.
Logged
Pre-Dominance
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 70



« Reply #7 on: June 14, 2008, 06:23:26 AM »

Like i said before, the racelist works absolutely fine, errors and all, for some reason. The only problem is adding the races. But i fixed everything.

And jello, im sorry...

and zoibs...

You need to go to your races. The new race "tesng". Go to sfx, and make it something more simple, because as of now, it crashes the server. Especially if i nade 4 zombies at once...
Logged
Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1215



WWW
Xrushiov
« Reply #8 on: June 14, 2008, 11:01:56 AM »

the only 1 missing bracer is enough to f*ck up all the races/information which is going next, not previous.
So if u're missing somewhere bracer it stops loading anything after it.
Logged

Pre-Dominance
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 70



« Reply #9 on: June 14, 2008, 05:14:35 PM »

I know...
Lemme explain it..


THE RACELIST WORKS FINE. IT IS ONLY WHEN I ADD A RACE THAT I EXPERIENCE ANY PROBLEMS! THERE IS NOT ERRORS THAT EFFECT NEW RACES ALONE!
Logged
Zoibs
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #10 on: June 14, 2008, 05:57:03 PM »

OK I FUCKING UNDERSTAND THAT im saying the new races you add if theres on error in them it fuckes the whole thing over dont fucking ask if you dont like the answer
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1215



WWW
Xrushiov
« Reply #11 on: June 14, 2008, 07:57:05 PM »

if u're sure u adding race correctly and the race added is not so buggy then the problem in previous race.
Logged

Zoibs
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #12 on: June 15, 2008, 01:45:03 AM »

yeah ive already shown him some of the errors in it and he dosnt like what ive posted so i dont think i can help you much -.-
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
July 20, 2008, 04:01:27 PM
All that's left for me is to install the water cooling system
July 20, 2008, 01:41:30 AM
I have the $440.00 special from Bestbuy (the floor model)
, no lag though
July 19, 2008, 02:45:03 PM
Koshy, post a pic I'd like to see and steal some ideas
July 19, 2008, 02:31:47 PM
no that's the Armor Jr. case. I also have the dominator fans but I'm changing the fans into blue leds.
July 18, 2008, 10:42:16 PM
i have crap. 512mb ram, 180G hard drive. 3Ghz cpu.

yah....it fails
July 18, 2008, 10:01:18 PM
Is that a kandalf case? if so I have one too

Also I have sick rig, all lighted up with 8800 gtx nivdia, 2 gigs corsair 800 mhz dominator RAM (with fans on the ram), 3 120mm fans in the front of case, 120mm fan in back of case, 80mm fan at top of case also, 2 150 gb WD 10K raptor harddrives
July 18, 2008, 06:28:56 PM
agreed!
Recent
[Today at 03:26:28 AM]

[Today at 02:57:58 AM]

[Today at 02:45:41 AM]

[Today at 12:38:50 AM]

by Kana
[July 20, 2008, 11:18:19 PM]

[July 20, 2008, 09:40:12 PM]

[July 20, 2008, 08:50:11 PM]

[July 20, 2008, 08:23:57 PM]

[July 20, 2008, 07:57:53 PM]

[July 20, 2008, 07:34:53 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.529 seconds with 26 queries.