Weapons Crash Server Created 19 years ago2004-09-12 05:18:21 UTC by norton norton

Created 19 years ago2004-09-12 05:18:21 UTC by norton norton

Posted 19 years ago2004-09-12 05:18:21 UTC Post #58446
I am basically finished with my map (thanks to some help from RabidMonkey777) but theres one problem that I can't seem to fix. My map is for Counter-Strike, and you spawn with weapons, using a game_player_equip and a player_weapon_strip. The stripping and giving of weapons works fine, except for the floating guns that always seem to occur when you use this method. Well this really wasn't a problem and I considered my map finished, until all of the sudden the server my map was running on crashed. I figured it was a server error, so when the server restarted, I changed the level back to my map, and played for a few minutes, until the crash happened again. My friend then informed me, that whenever he picks up the floating weapons, the server crashes. Well I tried this numerous times, and it seems to always happen. I thought it was maybe my map, so I tried the aim_map example from here because it uses player_equips and strips just like mine. Well I picked up the deagle that floated to the ground, and it crashed my game.

Is there any alternate method, or improvement on the way I am doing this so that my server won't crash everytime someone picks up the extra weapon. I don't want to use the armour_entity technique because the multiple weapons on the ground left in the vacant spawns lower fps dramatically, and it also forces you to either reload or drop your gun every round (which may not seem like a big deal, but it's just one more annoyance I'd like to not have to bother with).

I searched the forums for an answer to this, and for some reason no one has seemed to have this problem. Apologies if I just missed it, but it is rather early in the morning and I'm a bit frustrated and disapointed that my map may not be playable.
Posted 19 years ago2004-09-12 12:08:49 UTC Post #58536
I'm not sure why you get floating weapons really. I've never encountered it when i've made aim maps - although I've seen it in other peoples. Maybe it's to do with the delay between the stip and equip in the multi_manager not being far enough apart??? try .3 for the strip and .8 for the equip, that's how I've always set them up, and never had floating weapons problems before. GL.
Posted 19 years ago2004-09-12 12:59:24 UTC Post #58549
I've changed the delays alot before, and for some reason, I always get the floating weapon problem. I did try the numbers you suggested, and it removed the knife, but the m4 and the usp were still there, and the crash bug still worked.
Posted 19 years ago2004-09-12 17:15:14 UTC Post #58653
How are you triggering the weapon entities?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-09-13 21:54:36 UTC Post #59138
I have a game_player_equip named equip.

I have a player_weapon_strip named strip.

I have a multimanager named game_playerspawn. The multimanager targets strip and equip. Strip has a value of 0. Equip has a value of .2
Posted 19 years ago2004-09-14 04:10:10 UTC Post #59195
Bump them both up by 0.2, targetting entites after 0s is risky.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-09-14 15:27:19 UTC Post #59390
Just tried it. Had the same problem.
Posted 19 years ago2004-09-15 13:48:31 UTC Post #59604
I'd say there's something wrong with your server, since you said that aim_map did the same (missed that previously). Reconfigure/reinstall?
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.