Comments (5)
is this not related to/a dupe of #1270 ?
from halflife.
No, it's another issue and has nothing to do with that.
from halflife.
@alfred-valve I also sent you crash dumps via email, and a map related to this crashing issue.
from halflife.
[proposed code change]
In
void CBasePlayerItem::AttachToPlayer ( CBasePlayer *pPlayer )
change
pev->nextthink = gpGlobals->time + .1;
to
pev->nextthink = 0;
SetThink( NULL );
[/proposed code change]
this will prevent further attempts to materialize item, which again assign Touch which triggers second AddToPlayer, which schedule item removal and then leads to delayed crash in GetWeaponData because item is deleted while still attached to player.
This is a bug in HLSDK. It is very similar to described in topic start. There is a map for HLDM named "endcamp" with destroyable crates. When you destroy them, weapon_satchel is spawned on a height of about 60 units. If player catch them in fly - server crashes.
from halflife.
I tested this out using a map designed to have a bot receive grenades every second. The grenade falls through a clip brush so a player can touch the grenade. I am unable to pick up the grenade as it falls, even after it has touched the ground.
Picking up a grenade and then touching the other one produces no change in behavior.
Note that i tested this in Condition Zero, but i doubt there is any difference in code that could affect this. The code that i checked involving the spawning, falling and touching of grenades seems to be identical.
Perhaps it was fixed and the issue was never closed, or the crash was caused by a plugin?
I recommend checking the commit history for the code in question to see if anything was changed.
from halflife.
Related Issues (20)
- Client crash when opening a scoreboard without received an InitHUD message
- [HL25] Listen Server Steam Network Issue [SteamNetworkingSockets] Error Code 5005
- [HL25] Can't connect to the game server within the loopback network interface
- [Counter-Strike: Condition Zero] Assertion (then crash) when bots are kicked and added in a certain way HOT 1
- [HL25] Allow enabling or disabling the default HL1 player models location
- [CS 1.6/CSCZ/CSCZ DS - BUGS] Bug of some challenge not work in the actual game and use Chinese keyboard cause game crash
- trigger_push scales inversely with frametime in CS new update HOT 1
- Add All other Model and Map Sources to SDK along with .bmp textures referenced in .max Files.
- [CS1.6] Steam Networking Servers no longer listed in the master server list HOT 6
- [HL25] Make font size adjustable ingame HOT 2
- [TFC] Crosshair Size menu not Appearing / Not Adjustable HOT 1
- [DoD goldsrc] broken scopes HOT 1
- GoldSrc NetCode boost
- [DoD goldsrc] Linux server = broken HOT 1
- Half-Life Steam misses the DirectInput gamepad left & right triggers
- NPC bug fixes and some visual bugs de half life
- Rings going up pillars in c4a1 missing after loading a save
- Cs 1.6 issue HOT 5
- Half Life Crashes on Startup (Arch Linux) HOT 1
- [HL] Barnacle tongues are invisible underwater HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halflife.