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 2009-11-07 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
November 07, 2009, 02:11:22 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Skill dmg + Shop item dmg = crash theory  (Read 133 times)
Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 428


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« on: October 17, 2009, 02:32:02 PM »

This has been goin on forever with my players and a lot have been telling me for months that they think the server crashes sometimes when this happens:

Race that has a skill that uses +dmg kills someone using that while wielding claws or fireball.

The dmg from the skill kills the player, and the dmg from the shop item tries to still dmg the player after he has died THUS causing an error for everyone and crashing the server.

Can anyone verify that this might in fact be a problem, or is it not viable?
Logged


         
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 192


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #1 on: October 17, 2009, 03:39:28 PM »

Add in an alive check on wcs_dealdamage, its in es_WCSfunctions, if you believe this is right. I know sometimes an attack skill can loop if a player is dead but it hasn't caused any issues on my server.
Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 428


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #2 on: October 17, 2009, 07:56:02 PM »

If the alive check is coded into the claws and fireball, the theory doesn't work.  I'm too lazy to check atm lol
Logged


         
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 192


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #3 on: October 17, 2009, 09:20:10 PM »

Could be in the race's attack skill...
Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 428


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #4 on: October 18, 2009, 04:24:18 AM »

This is the part of skill in question.  Believe it belongs to Holliday:

Code:
    "skill2_cmd"        "es es_xdoblock wcs/WCSultimates/wcs_dis2;es est_gethealth wcs_tmp event_var(userid);es es_xif(event_var(health) < 8) then racealias_throfly2"
    "racealias_throfly2""es est_god event_var(userid) 1;es est_teleport event_var(userid) 0 0 900;es es_delayed 2 est_god event_var(userid) 0;es es_delayed 2 wcs_dealdamage event_var(attacker) event_var(userid) 8;es est_playplayer event_var(userid) ambient/levels/citadel/portal_beam_shoot3.wav;es est_playplayer event_var(attacker) ambient/levels/citadel/portal_beam_shoot3.wav;racealias_skyfx14"

alive check isn't in the shop_db.  Do you know if alive check for shop items is coded in another file?
Logged


         
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1356



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #5 on: October 18, 2009, 06:50:18 PM »

It is unlikely that this is causing a crash.

However it is not a bad thing to add an alive check and it will rule out your theory so you should add one your self.
Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 428


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #6 on: October 19, 2009, 07:45:26 AM »

Well my next question is, what is checked first?  The shop item or the skill.  Whichever is checked 2nd needs the alive check.
Logged


         
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 192


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #7 on: October 19, 2009, 08:39:42 AM »

Well the shop item runs second but that doesn't rule out the attack thing, it could be in the death skills of the player too. If your race uses disintegrate by holliday take that out and try to see if it crashes or not afterwards. I know if a player has less HP than the extra damage dealt it goes into a different route of using es_fire which is the same stuff disintegrate uses I believe. Adding the isalive check on the wcs_dealdamage itself would be the best of idea's I would think.
« Last Edit: October 19, 2009, 08:44:32 AM by Yiyas » Logged

VIPPERS Colt
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 233



« Reply #8 on: October 20, 2009, 11:26:03 PM »

do you have pending popups? if you have that everybody can easy crash your server, so i make something with some help of my mate AkC, and so here it is the shopmenu without pending mate:
http://warcraft-source.com/board/index.php/topic,8638.0.html
hope that help you Cheesy
Logged
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1356



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #9 on: October 20, 2009, 11:57:46 PM »

Why not put em in both? but better yet assuming they both use WCSDEALDAMAGE why not find that block and put it in there

kill 2 hackers with 1 stone?
Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 428


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #10 on: October 27, 2009, 08:54:32 AM »

do you have pending popups? if you have that everybody can easy crash your server, so i make something with some help of my mate AkC, and so here it is the shopmenu without pending mate:
http://warcraft-source.com/board/index.php/topic,8638.0.html
hope that help you Cheesy

What do you mean by pending popup?
Logged


         
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
November 06, 2009, 10:23:52 PM
newest wcscadmin...
November 06, 2009, 09:38:36 PM
anyone got script where if someone join the server they will earn one time 20 levels....
November 06, 2009, 05:19:56 PM
Yello
November 06, 2009, 04:39:26 PM
Hello Smiley
November 06, 2009, 02:20:20 PM
@Lee
Yes what ?
November 06, 2009, 11:40:11 AM
Paypal is not gay, those who don't know how to use it, are.
^^
November 06, 2009, 06:07:40 AM
paypal is gay...lost 100$ for cliam that some dude called creditcard that he didn't pay it... gay!!!!!!
Recent
[Today at 02:10:38 AM]

[Today at 02:08:41 AM]

[Today at 01:59:32 AM]

[Today at 01:54:44 AM]

[Today at 12:55:08 AM]

[Today at 12:16:24 AM]

[Today at 12:12:09 AM]

[November 06, 2009, 11:58:01 PM]

[November 06, 2009, 11:56:31 PM]

[November 06, 2009, 11:55:00 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.112 seconds with 22 queries.