Raised This Month: $ Target: $400
 0% 

[L4D] Item Buy System


Post New Thread Reply   
 
Thread Tools Display Modes
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 07-24-2009 , 18:22   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #171

I released a new version of the plug-in that has a new menu that contains "power-ups". You can access it by typing !usepoints and then choosing the special menu. Only incendiary ammo (for survivors) right now, but I will add more soon.

Quote:
Originally Posted by spiderlemur View Post
Any insight on why I can't reset the points every map? A few other people are having the same problem too I see.

Edit: Is there an easy way to dump the points after each campaign until you work on a fix?
  1. I do not know why it is not working. I will look into it and release a hot-fix when I find out why.
  2. Not that I know of. See, Left 4 Dead does not have an event that signals a campaign end for versus. In coop, the round end is the campaign end. However, there is no way to tell in versus. This means that I can't really fix it.
Edit:

There is really no way that I know of to fix the map load points reset. Until I found some way to do it (which is very unlikely), I am going to comment it out.

Last edited by (-DR-)GrammerNatzi; 07-24-2009 at 18:31.
(-DR-)GrammerNatzi is offline
spiderlemur
Senior Member
Join Date: Jul 2009
Old 07-24-2009 , 18:35   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #172

My only problem is that players are joining with a bunch of points. No fix for this either?
spiderlemur is offline
Send a message via AIM to spiderlemur
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 07-24-2009 , 18:45   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #173

Quote:
Originally Posted by spiderlemur View Post
My only problem is that players are joining with a bunch of points. No fix for this either?
Here is a temporary fix. Put a command in your server.cfg that unloads and loads the plug-in. That way it'll be reset every map change.

See, points can't be cleared on disconnect because the bot still keeps the same userid. So when the user disconnects, the server still thinks that the player is there. There actually is code in there for resetting points on disconnect, but it doesn't work because of that.

Last edited by (-DR-)GrammerNatzi; 07-24-2009 at 19:58.
(-DR-)GrammerNatzi is offline
delirium_trigger
SourceMod Donor
Join Date: Apr 2009
Location: Washington
Old 07-24-2009 , 19:52   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #174

Thanks a bunch Grammer, you are awesome. Keep it up!
delirium_trigger is offline
webtax
Junior Member
Join Date: Jul 2009
Old 07-24-2009 , 20:22   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #175

just to let you know that theres a new plug in for survivor upgrades , only for special ammo. you earn it for killing a number of zombies and last for a number of rounds. configurable. seems to be working good with normal survivor upgrades plug in with hollow and incendiary disabled.

https://forums.alliedmods.net/showthread.php?t=98354
and thanks for your plugin!
webtax is offline
delirium_trigger
SourceMod Donor
Join Date: Apr 2009
Location: Washington
Old 07-24-2009 , 21:14   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #176

Its getting quite frustrating in Dedicated Server, the plugin works fine for the host. I can buy stuff and gift stuff to myself but when others try to buy stuff or when I try to gift stuff to others, it beeps, then does Nothing.

Local Hosting works 100%.

Any idea on to what can cause this??
delirium_trigger is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 07-25-2009 , 00:02   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #177

Quote:
Originally Posted by delirium_trigger View Post
Its getting quite frustrating in Dedicated Server, the plugin works fine for the host. I can buy stuff and gift stuff to myself but when others try to buy stuff or when I try to gift stuff to others, it beeps, then does Nothing.

Local Hosting works 100%.

Any idea on to what can cause this??
I do not have any idea. It may be conflicting plug-ins. Nobody else I know has this problem.
(-DR-)GrammerNatzi is offline
olj
Veteran Member
Join Date: Jun 2009
Old 07-25-2009 , 03:49   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #178

Quote:
Originally Posted by olj View Post
I believe you should change all convars declarations from "new ***" to "new Handle:***", it will kill tag mismatch warnings and possibly solve some problems. And pointson should be declared as new bool:pointson because you use it to get bool value from convar.
Did you read that reply? Tag mismatches can cause problems sometimes.
olj is offline
Naow
Senior Member
Join Date: Feb 2009
Old 07-25-2009 , 08:48   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #179

I want to give the possibility to buy things only to the infected team , do you think is it possible?
Naow is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 07-25-2009 , 11:42   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #180

Quote:
Originally Posted by olj View Post
Did you read that reply? Tag mismatches can cause problems sometimes.
Yes, I did. Did you even read the posts saying I put that in the code? Have you even looked at the code?
(-DR-)GrammerNatzi 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 11:59.


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