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-01-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 03, 2010, 01:08:23 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1] 2   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Ultimate crashing server  (Read 188 times)
Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 438


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« on: December 14, 2009, 04:53:10 AM »

This is originally from the solid snake race, but i altered it.  It's being reported that it crashes the server and one of my admins assures me it's this.  Anyone have any ideas?  Thanks

Code:
"skill4_setting" "0"
"racealias_box1" "es_tell server_var(wcs_userid) #multi #lightgreenYou have hidden in your #greenCardboard Box;es_keysetvalue WCSuserdata server_var(wcs_userid) solidbox 1;es playerset model server_var(wcs_userid) props/cs_office/cardboard_box03;es es_delayed 0 est_removeweapon server_var(wcs_userid) 1;es es_delayed 0 est_removeweapon server_var(wcs_userid) 2;es es_delayed 0 est_removeweapon server_var(wcs_userid) 3;es es_delayed 0 est_removeweapon server_var(wcs_userid) 4;es es_xdelayed 0.1 est_RestrictAll server_var(wcs_userid)"
"racealias_norm" "es_keysetvalue WCSuserdata server_var(wcs_userid) solidbox 0;es_getplayerteam wcs_team server_var(wcs_userid);if (server_var(wcs_team) = 3) then est_setmodel server_var(wcs_userid) player/ct_urban;if (server_var(wcs_team) = 2) then est_setmodel server_var(wcs_userid) player/t_phoenix;es es_xif (server_var(wcs_dice) <= 100) then racealias_norm2"
"racealias_norm2" "es es_xdelayed 0 est_UnRestrictAll server_var(wcs_userid);es es_delayed 0 est_give server_var(wcs_userid) weapon_m4a1;es es_delayed 0 est_give server_var(wcs_userid) weapon_usp;es es_delayed 0 est_give server_var(wcs_userid) weapon_knife"
"skill4_cmd" "es_keygetvalue wcs_tmp WCSuserdata server_var(wcs_userid) solidbox;if (server_var(wcs_tmp) = 0) then racealias_box1;if (server_var(wcs_tmp) = 1) then racealias_norm"
"skill4_sfx" "0"
"ultimate_cooldown" "1"
Logged


         
Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 438


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #1 on: December 16, 2009, 08:00:25 AM »

bump, any uber coders confirm whether or not the code is effed?  Otherwise ill just assume it conflicts with source....like many other things
Logged


         
Sasuke[Icetouch]
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 174


FreeTimeCoder


« Reply #2 on: December 16, 2009, 06:50:04 PM »

Well, quickly read over it and didn't find anything that could crash the server, but you have something unneccesary in your code.
Code
GeSHi (eventscripts):
"racealias_norm" "es_keysetvalue WCSuserdata server_var(wcs_userid) solidbox 0;es_getplayerteam wcs_team server_var(wcs_userid);if (server_var(wcs_team) = 3) then est_setmodel server_var(wcs_userid) player/ct_urban;if (server_var(wcs_team) = 2) then est_setmodel server_var(wcs_userid) player/t_phoenix;es es_xif (server_var(wcs_dice) <= 100) then racealias_norm2"

that es es_xif (server_var(wcs_dice) <= 100) then racealias_norm2 is not needed. just put racealias_norm2 in there. (could be wrong, but that's all I do if I want to exec other aliases and it works for me)
Logged

################################
Join our new Server with the newest Mod on it!

################################
AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 723




doug_tiozao
« Reply #3 on: December 16, 2009, 07:33:52 PM »

es_cexec event_var(userid) playerset model directory.
Logged

Lol?
Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 438


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #4 on: December 16, 2009, 10:11:53 PM »

es_cexec event_var(userid) playerset model directory.


Why change it to this?  Something wrong with the playerset code i have?
Logged


         
Sasuke[Icetouch]
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 174


FreeTimeCoder


« Reply #5 on: December 16, 2009, 10:21:39 PM »

Usually there shouldn't be problem about that, should work the way it is supposed to.
If this ultimate is crashing your server, does it work before it? Is the player set to a model etc. and is the other stuff executed?
Logged

################################
Join our new Server with the newest Mod on it!

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

United States United States

Posts: 1407



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #6 on: December 16, 2009, 11:41:13 PM »

I dont know about the uber coder part but I see some potential problems.

Your problem is with the models.
I would not necessarily use that method for setting a model. (depends on the questions below)
I would also cache the model before setting it depending on the questions below.


Questions:
Does the skill work SOMETIMES or NEVER.
What other mods are you running on the server?
Doyou have bots?

because each of your answers affects the outcome of that skill.
« Last Edit: December 16, 2009, 11:43:03 PM by [Oddity]TeacherCreature » Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 438


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #7 on: December 17, 2009, 03:18:56 AM »

Skill always works.  yes there are bots until the server fills up a bit.  I'll have to get my admin to elaborate more.
Logged


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

United States United States

Posts: 1407



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #8 on: December 17, 2009, 04:33:55 AM »

Ok then it is probably crashign if the bot shoots them after they use the ultimate.

In which case you may try adding god mode for a second during the switch
Logged

CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Online Online

France France

Posts: 2890


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #9 on: December 17, 2009, 02:05:06 PM »

es_cexec event_var(userid) playerset model directory.

Please (ONCE AGAIN) shut your damn mouse when you OBVIOUSLY DON'T KNOW WHAT YOU ARE TALKING OF.
Still not working? Onslaught pm me on steam if you need something Tongue
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1407



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #10 on: December 18, 2009, 03:02:51 AM »

Ok whoa be nice!

and Onslaught try what I suggested and tell me what happens after you talk with your admins!
Logged

CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Online Online

France France

Posts: 2890


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #11 on: December 18, 2009, 12:08:08 PM »

Ok whoa be nice!
/agree, but it's been one week since i can't get to be nice anymore Sad
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 438


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #12 on: December 19, 2009, 06:11:55 AM »

what does bots shooting them after they turn have to do with it?  And exactly how long would i have to put godmode on them?
Logged


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

United States United States

Posts: 1407



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #13 on: December 19, 2009, 05:07:38 PM »

Try it for a second.
I dont know the theory but I have days worth of testing.

For soem reason with some models if you change the model and a bot shoots it soon after the server crashes on bullet_impact

I dont know if it is a hit box issue or what but it is a problem
Logged

AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 723




doug_tiozao
« Reply #14 on: December 19, 2009, 07:00:10 PM »

Sorry for the code --'
es playerset model event_var(userid) directory
Logged

Lol?
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:52:15 PM
well i'll open a thread about it to tell you all why we are moving.
It's actually cause 1. no more admins in here
2. noone respects rules, and it would take months to censore all posts where rules aren't respected.
Today at 12:51:28 PM
chuck, not because this site is fucked up that you can't be perm banned for the third time Tongue
Today at 12:48:17 PM
so it can be dariaba websites... its gay name..
Today at 12:14:01 PM
how come this site is going down??
Today at 11:48:12 AM
if this site is going to be shut down....dont let me buy it Smiley
Today at 07:37:39 AM
who will be running this site... since most admin will be on other site
January 02, 2010, 11:33:33 PM
i mean if you start 100 cmd instances and type ping google.com in all, after a while it will show timeout, but site will still be only for everyone but you Tongue
Recent
[Today at 12:55:59 PM]

[Today at 12:55:12 PM]

[Today at 12:54:17 PM]

[Today at 12:49:45 PM]

[Today at 12:49:39 PM]

[Today at 12:24:21 AM]

[January 02, 2010, 11:26:04 PM]

[January 02, 2010, 10:59:30 PM]

[January 02, 2010, 10:26:02 PM]

[January 02, 2010, 10:24:45 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.201 seconds with 24 queries.