Raised This Month: $51 Target: $400
 12% 

[L4D] Drag and Drop


Post New Thread Reply   
 
Thread Tools Display Modes
hommayudi
Member
Join Date: Sep 2009
Old 10-06-2009 , 13:06   Re: [L4D] Drag and Drop
Reply With Quote #11

could u add the drop when hunter pounce?

Sorry for my BAD english...
hommayudi is offline
mikhdenis
Member
Join Date: Aug 2009
Location: Ukraine
Old 10-07-2009 , 05:56   Re: [L4D] Drag and Drop
Reply With Quote #12

Thanks! Good work! Remains to add CVARS on \ off for drag and incap.
mikhdenis is offline
mikhdenis
Member
Join Date: Aug 2009
Location: Ukraine
Old 10-07-2009 , 11:09   Re: [L4D] Drag and Drop
Reply With Quote #13

Code:
/home/groups/alliedmodders/forums/files/5/0/5/2/3/51169.attach::EventTongueRelease()
L 10/07/2009 - 15:23:54: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/07/2009 - 15:23:54: [SM] Displaying call stack trace for plugin "l4d_DragandDrop.smx":
L 10/07/2009 - 15:23:54: [SM]   [0]  Line 39, /home/groups/alliedmodders/forums/files/5/0/5/2/3/51169.attach::EventTongueGrab()
L 10/07/2009 - 15:23:55: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/07/2009 - 15:23:55: [SM] Displaying call stack trace for plugin "l4d_DragandDrop.smx":
L 10/07/2009 - 15:23:55: [SM]   [0]  Line 45,
mikhdenis is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 10-10-2009 , 13:07   Re: [L4D] Drag and Drop
Reply With Quote #14

Quote:
Originally Posted by mikhdenis View Post
Code:
/home/groups/alliedmodders/forums/files/5/0/5/2/3/51169.attach::EventTongueRelease()
L 10/07/2009 - 15:23:54: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/07/2009 - 15:23:54: [SM] Displaying call stack trace for plugin "l4d_DragandDrop.smx":
L 10/07/2009 - 15:23:54: [SM]   [0]  Line 39, /home/groups/alliedmodders/forums/files/5/0/5/2/3/51169.attach::EventTongueGrab()
L 10/07/2009 - 15:23:55: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/07/2009 - 15:23:55: [SM] Displaying call stack trace for plugin "l4d_DragandDrop.smx":
L 10/07/2009 - 15:23:55: [SM]   [0]  Line 45,
Thanks, I'll keep an eye out for that.

Last edited by Crimson_Fox; 10-10-2009 at 13:26.
Crimson_Fox is offline
Frus
Senior Member
Join Date: Aug 2009
Old 10-10-2009 , 14:47   Re: [L4D] Drag and Drop
Reply With Quote #15

You want your client array to be size MAXPLAYERS+1, or if you want to hardcode a value, 19. Otherwise the 18th client would be out of the array bounds.

I don't know if that's what caused his issue or not, but it very well could have if he has an 18 slot server.

I would also put
if (!IsClientInGame(client)) return;

In your timer to drop the weapon, incase somebody disconnects while getting pulled.
Frus is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 10-11-2009 , 15:07   Re: [L4D] Drag and Drop
Reply With Quote #16

Quote:
Originally Posted by Frus View Post
You want your client array to be size MAXPLAYERS+1, or if you want to hardcode a value, 19. Otherwise the 18th client would be out of the array bounds.

I don't know if that's what caused his issue or not, but it very well could have if he has an 18 slot server.

I would also put
if (!IsClientInGame(client)) return;

In your timer to drop the weapon, incase somebody disconnects while getting pulled.
Thanks for the tips! I tried using MaxClients before and it didn't work, didn't realize that I needed MAXPLAYERS instead. I'll get these put in when I get around to coding the cvars.
Crimson_Fox is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-21-2009 , 02:29   Re: [L4D] Drag and Drop
Reply With Quote #17

current plugin status?
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 11-21-2009 , 12:59   Re: [L4D] Drag and Drop
Reply With Quote #18

Quote:
Originally Posted by Antithasys View Post
current plugin status?
No one's requested any other features so I figure it's pretty much done. Should I change the version number to 1.0 at this point?
Crimson_Fox is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-21-2009 , 18:08   Re: [L4D] Drag and Drop
Reply With Quote #19

Versions are completly up to you, the author. Use whatever version number you want, as long as it makes sense to you
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 11-24-2009 , 13:21   Re: [L4D] Drag and Drop
Reply With Quote #20

I'd just leave it as is in case someone requests a feature. Otherwise it's pretty much done.
Crimson_Fox 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 08:08.


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