Raised This Month: $ Target: $400
 0% 

Parachute problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 06-20-2012 , 14:59   Parachute problem
Reply With Quote #1

I try to remake the parachute plugin with less CPU usage, here is the code:
Spoiler


but some player got the next error: Cache_UnlinkLRU: NULL link

I think the problem is because player receives more datas is a short time (0.01 seconds)
Attached Thumbnails
Click image for larger version

Name:	crash.png
Views:	191
Size:	18.8 KB
ID:	105311  
Attached Files
File Type: zip parachute.zip (65.3 KB, 100 views)

Last edited by dFF; 06-20-2012 at 15:47. Reason: update...
dFF is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-20-2012 , 16:05   Re: Parachute problem
Reply With Quote #2

Remove or hide the parachute once the player don't use it. I personally hide it and remove the entity when the player disconnects.
__________________
Arkshine is offline
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 06-20-2012 , 16:57   Re: Parachute problem
Reply With Quote #3

"hide" what did you mean ? set flags FL_KILLME ?

I already remove parachute when player disconnect/spawn/kill.
dFF is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-20-2012 , 17:07   Re: Parachute problem
Reply With Quote #4

What happens when the player has finished to fly ?
__________________
Arkshine is offline
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 06-20-2012 , 17:14  
Reply With Quote #5

Update parachute model sequence, and hide player parachute model and fix player move frame with set pev_aiment to 0.

Player got Cache_UnlinkLRU error after used parachute and try to fire a gun for example.
After using the parachute the player tried to fire a weapon. At that point the client crashes with the error: Cache_UnlinkLRU

Edit: I will try to upload a short video


Edit2: Video here http://www.youtube.com/watch?v=oX002-NJAhE

(pressed wrong button, sorry)

Last edited by dFF; 06-20-2012 at 19:11.
dFF is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 06-20-2012 , 19:36   Re: Parachute problem
Reply With Quote #6

You need to do a few sanity checks.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 06-21-2012 , 03:23   Re: Parachute problem
Reply With Quote #7

What checks ?

Tried new variant:
Spoiler
and the same error.

Profile test:
Spoiler

Last edited by dFF; 06-21-2012 at 04:26. Reason: add profile test
dFF is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode