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

[L4D] Item Buy System


Post New Thread Reply   
 
Thread Tools Display Modes
LTR.2
Veteran Member
Join Date: Aug 2009
Old 08-08-2009 , 01:54   Re: [L4D] Item Buy System
Reply With Quote #241

hi, love the mod, and i have a question:

what about making it compatible with the survivor upgrade system?

http://forums.alliedmods.net/showthread.php?t=95365

so, when you get the points, you can buy an upgrade!
LTR.2 is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 08-08-2009 , 17:54   [SM] Plugin encountered error 15: Array index is out of bounds
Reply With Quote #242

Set all of the [] values to at least 128.
Skorpion1976 is offline
chunXray
Member
Join Date: Jul 2009
Old 08-09-2009 , 01:10   Re: [L4D] Item Buy System
Reply With Quote #243

i think we can record money we got by using mysql
sth like this
http://forums.alliedmods.net/showthread.php?t=84022
chunXray is offline
bioderm
Junior Member
Join Date: May 2009
Old 08-09-2009 , 01:48   Re: [L4D] Item Buy System
Reply With Quote #244

Quote:
Originally Posted by olj View Post
#define PLAYERS 20 At the very beginning of the code. Change it to 32 (or how many slots you have). That should do the trick, but there can be places where he uses something besides PLAYERS variable. Anyway, try this.
thx olj.

I did it,but nothing had changed.

I'll wait for update patiently.
bioderm is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 08-09-2009 , 12:21   Re: [SM] Plugin encountered error 15: Array index is out of bounds
Reply With Quote #245

Quote:
Originally Posted by Skorpion1976 View Post
Set all of the [] values to at least 128.
No. That would be a waste of memory for no reason. Adding a dynamic player value would be much better.

Last edited by (-DR-)GrammerNatzi; 08-09-2009 at 12:29.
(-DR-)GrammerNatzi is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 08-09-2009 , 12:23   Re: [L4D] Item Buy System
Reply With Quote #246

Quote:
Originally Posted by chunXray View Post
i think we can record money we got by using mysql
sth like this
http://forums.alliedmods.net/showthread.php?t=84022
The problem with this is that it would create a lot of setup in servers for it to work and that listen servers would no longer be able to use it. Plus, I don't really like the idea of keeping points. That means that people would hoard them up then spam them all when they came back to the server.

Edit:

The new version is being uploaded. It now has a players value that can be changed to affect everything dealing with the number of players. Just edit the value PLAYERS at the top of the script with notepad and recompile using compile.exe. Then take it out of the compiled folder and put it in plug-ins. This would be much easier using MAXPLAYERS, but I'm not exactly trusting how well it works in Left 4 Dead yet.

I also fixed up the code a bit, too. It might prevent a few errors.

Last edited by (-DR-)GrammerNatzi; 08-09-2009 at 12:35.
(-DR-)GrammerNatzi is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-09-2009 , 21:01   Re: [L4D] Item Buy System
Reply With Quote #247

Shouldnt it be something like #define PLAYERS [MAXPLAYERS+1]? MAXPLAYERS is working with L4D. At least, every l4d plugin has it in code =)
__________________
olj is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 08-10-2009 , 13:31   Re: [L4D] Item Buy System
Reply With Quote #248

there is an option for infected to create a panic event? that would be great to slow down survivors.
LTR.2 is offline
savagekid
Senior Member
Join Date: Apr 2009
Location: Canada
Old 08-10-2009 , 15:08   Re: [L4D] Item Buy System
Reply With Quote #249

Yes, there is an option to create a panic event.
__________________

Use Coupon Code "GLOBAL50" To Get 50% Off Every Month.
savagekid is offline
Send a message via MSN to savagekid
LTR.2
Veteran Member
Join Date: Aug 2009
Old 08-10-2009 , 15:55   Re: [L4D] Item Buy System
Reply With Quote #250

nice, there is more than one type of amunition (incendiary ammunition) and does the incendiary amunition still have that counter? why don't just give a clip or two? instead of a counter?

PD: idea for especial powers to infected: super-charge (the infected can re-charge their attack in 15 seconds)
LTR.2 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 20:49.


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