|
Onslaught
|
 |
« 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 "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
|
 |
« 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]
|
 |
« 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. 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
|
 |
« Reply #3 on: December 16, 2009, 07:33:52 PM » |
|
es_cexec event_var(userid) playerset model directory.
|
|
|
|
|
Logged
|
Lol?
|
|
|
|
Onslaught
|
 |
« 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]
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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 
|
|
|
|
|
Logged
|
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good. i love tuna juice  =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 =CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
|
|
|
|
[Oddity]TeacherCreature
|
 |
« 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
|
 |
« 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 
|
|
|
|
|
Logged
|
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good. i love tuna juice  =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 =CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
|
|
|
|
Onslaught
|
 |
« 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
|
 |
« 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
|
 |
« Reply #14 on: December 19, 2009, 07:00:10 PM » |
|
Sorry for the code --' es playerset model event_var(userid) directory
|
|
|
|
|
Logged
|
Lol?
|
|
|
|