MDLL_Touch = HLDS has stopped responding (just sometimes?)
I'm out of ideas why this occur.
MDLL_Spawn is working all the time, but when it comes to MDLL_Touch, then it crash whenever it feels to/randomly (with "HLDS has stopped responding"). It can be the 1st time, it can be the 5th time and so on.. Code:
|
Re: MDLL_Touch = HLDS has stopped responding (just sometimes?)
Check give_item at fun.cpp
Are you sure it crash at _Touch? You should copy origin values, I don't recommend to call UTIL_SetOrigin. Also you have to delete the touched entity after touch. |
Re: MDLL_Touch = HLDS has stopped responding (just sometimes?)
Quote:
Yes, since it stops there and doesn't continue to "Touch done" msg. Is: Code:
ent->v.origin = player->v.origin; Adding REMOVE_ENTITY(ent); after MDLL_Touch crash the server when it comes to that line (REMOVE_ENTITY). |
Re: MDLL_Touch = HLDS has stopped responding (just sometimes?)
Have you fixed it?
Have you even checked FUN module's give_item? You might check edict's Solid State before. And Touch(Entity, Player) not Touch(Player, Entity). Don't try to invent your own methods while methods already exist. My recommendation. |
All times are GMT -4. The time now is 05:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.