Raised This Month: $ Target: $400
 0% 

[L4D] Item Buy System


Post New Thread Reply   
 
Thread Tools Display Modes
Mrcolin
Member
Join Date: Aug 2009
Old 02-06-2010 , 04:11   Re: [L4D] Item Buy System
Reply With Quote #331

Bump
Mrcolin is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 02-07-2010 , 23:10   Re: [L4D] Item Buy System
Reply With Quote #332

Quote:
Originally Posted by Mrcolin View Post
Bump
It doesn't have a database, as I do not know how to use those.

Besides, this is supposed to be a one-round thing, not something you rack up. Allowing points to stack unbalances the game. Even if I did know how to do it, I wouldn't.
(-DR-)GrammerNatzi is offline
OtterNas3
Senior Member
Join Date: Apr 2009
Old 03-01-2010 , 14:40   Re: [L4D] Item Buy System
Reply With Quote #333

First: Thanks for great plugin ^^

Second: My Server keeps crashing randomly and i get this in my sourcemod errorlog all the time.

[SM] Plugin encountered error 15: Array index is out of bounds
[SM] Displaying call stack trace for plugin "L4DPointsandGift.smx":
[SM] [0] Line 463, left4dead\addons\sourcemod\scripting\L4DPoint sandGift.sp::RoundEnd()

Any tip for do a quick fix?

Cheers,
OtterNas3
OtterNas3 is offline
banz
Member
Join Date: Jan 2010
Old 03-01-2010 , 16:55   Re: [L4D] Item Buy System
Reply With Quote #334

Had same problem with L4D2 plugin, i only changed few arrays and pointsreset.
Don't know if it works because i don't own L4D1.

Just give it a try...
Attached Files
File Type: sp Get Plugin or Get Source (L4DPointsandGift.sp - 662 views - 68.6 KB)

Last edited by banz; 03-01-2010 at 16:58.
banz is offline
OtterNas3
Senior Member
Join Date: Apr 2009
Old 03-02-2010 , 10:06   Re: [L4D] Item Buy System
Reply With Quote #335

Hey banz,

thanks for the modified version!
I had a look into the code and made the needed changes in my one, it runs nice without errors now!

I have many warnings, when i compile it with Sourcemod 1.3.2, same for you?

Code:
//// L4DPointsandGift.sp
// L4DPointsandGift.sp(134) : warning 217: loose indentation
// L4DPointsandGift.sp(135) : warning 217: loose indentation
// L4DPointsandGift.sp(137) : warning 217: loose indentation
// L4DPointsandGift.sp(139) : warning 217: loose indentation
// L4DPointsandGift.sp(234) : warning 213: tag mismatch
// L4DPointsandGift.sp(573) : warning 213: tag mismatch
// L4DPointsandGift.sp(574) : warning 213: tag mismatch
// L4DPointsandGift.sp(578) : warning 213: tag mismatch
// L4DPointsandGift.sp(640) : warning 204: symbol is assigned a value that is ne
ver used: "target"
// L4DPointsandGift.sp(951) : warning 217: loose indentation
// L4DPointsandGift.sp(956) : warning 217: loose indentation
// L4DPointsandGift.sp(979) : warning 217: loose indentation
// L4DPointsandGift.sp(985) : warning 217: loose indentation
// L4DPointsandGift.sp(991) : warning 217: loose indentation
// L4DPointsandGift.sp(997) : warning 217: loose indentation
// L4DPointsandGift.sp(1003) : warning 217: loose indentation
// L4DPointsandGift.sp(1009) : warning 217: loose indentation
// L4DPointsandGift.sp(969) : warning 203: symbol is never used: "info"
// L4DPointsandGift.sp(1035) : warning 217: loose indentation
// L4DPointsandGift.sp(1040) : warning 217: loose indentation
// L4DPointsandGift.sp(1053) : warning 203: symbol is never used: "info"
// L4DPointsandGift.sp(1176) : warning 217: loose indentation
// L4DPointsandGift.sp(1193) : warning 217: loose indentation
// L4DPointsandGift.sp(1210) : warning 217: loose indentation
// L4DPointsandGift.sp(1227) : warning 217: loose indentation
// L4DPointsandGift.sp(1237) : warning 217: loose indentation
// L4DPointsandGift.sp(1249) : warning 217: loose indentation
// L4DPointsandGift.sp(1250) : warning 217: loose indentation
// L4DPointsandGift.sp(1271) : warning 217: loose indentation
// L4DPointsandGift.sp(1273) : warning 217: loose indentation
// L4DPointsandGift.sp(1377) : warning 217: loose indentation
// L4DPointsandGift.sp(1390) : warning 217: loose indentation
// L4DPointsandGift.sp(1397) : warning 217: loose indentation
// L4DPointsandGift.sp(1411) : warning 217: loose indentation
// L4DPointsandGift.sp(1412) : warning 217: loose indentation
// L4DPointsandGift.sp(1496) : warning 217: loose indentation
// L4DPointsandGift.sp(1825) : warning 217: loose indentation
// L4DPointsandGift.sp(1826) : warning 217: loose indentation
// L4DPointsandGift.sp(1836) : warning 217: loose indentation
// L4DPointsandGift.sp(1844) : warning 217: loose indentation
// L4DPointsandGift.sp(2172) : warning 217: loose indentation
// L4DPointsandGift.sp(33) : warning 203: symbol is never used: "canspawn"
// L4DPointsandGift.sp(31) : warning 203: symbol is never used: "istank"
// L4DPointsandGift.sp(66) : warning 203: symbol is never used: "pointsboom"
// L4DPointsandGift.sp(51) : warning 203: symbol is never used: "pointsonversus"

// L4DPointsandGift.sp(144) : warning 204: symbol is assigned a value that is ne
ver used: "pointsrescue"
// L4DPointsandGift.sp(71) : warning 203: symbol is never used: "pointsreset"
// L4DPointsandGift.sp(73) : warning 203: symbol is never used: "ticksprevious"
// Header size:           5120 bytes
// Code size:            45068 bytes
// Data size:            17104 bytes
// Stack/heap size:      16384 bytes; Total requirements:   83676 bytes
//
// 48 Warnings.
//
// Compilation Time: 2,41 sec
// ----------------------------------------

Press enter to exit ...
OtterNas3 is offline
banz
Member
Join Date: Jan 2010
Old 03-02-2010 , 10:45   Re: [L4D] Item Buy System
Reply With Quote #336

Quote:
Originally Posted by OtterNas3 View Post
Hey banz,

thanks for the modified version!
I had a look into the code and made the needed changes in my one, it runs nice without errors now!

I have many warnings, when i compile it with Sourcemod 1.3.2, same for you?

Code:
//// L4DPointsandGift.sp
// L4DPointsandGift.sp(134) : warning 217: loose indentation
// L4DPointsandGift.sp(135) : warning 217: loose indentation
// L4DPointsandGift.sp(137) : warning 217: loose indentation
// L4DPointsandGift.sp(139) : warning 217: loose indentation
// L4DPointsandGift.sp(234) : warning 213: tag mismatch
// L4DPointsandGift.sp(573) : warning 213: tag mismatch
// L4DPointsandGift.sp(574) : warning 213: tag mismatch
// L4DPointsandGift.sp(578) : warning 213: tag mismatch
// L4DPointsandGift.sp(640) : warning 204: symbol is assigned a value that is ne
ver used: "target"
// L4DPointsandGift.sp(951) : warning 217: loose indentation
// L4DPointsandGift.sp(956) : warning 217: loose indentation
// L4DPointsandGift.sp(979) : warning 217: loose indentation
// L4DPointsandGift.sp(985) : warning 217: loose indentation
// L4DPointsandGift.sp(991) : warning 217: loose indentation
// L4DPointsandGift.sp(997) : warning 217: loose indentation
// L4DPointsandGift.sp(1003) : warning 217: loose indentation
// L4DPointsandGift.sp(1009) : warning 217: loose indentation
// L4DPointsandGift.sp(969) : warning 203: symbol is never used: "info"
// L4DPointsandGift.sp(1035) : warning 217: loose indentation
// L4DPointsandGift.sp(1040) : warning 217: loose indentation
// L4DPointsandGift.sp(1053) : warning 203: symbol is never used: "info"
// L4DPointsandGift.sp(1176) : warning 217: loose indentation
// L4DPointsandGift.sp(1193) : warning 217: loose indentation
// L4DPointsandGift.sp(1210) : warning 217: loose indentation
// L4DPointsandGift.sp(1227) : warning 217: loose indentation
// L4DPointsandGift.sp(1237) : warning 217: loose indentation
// L4DPointsandGift.sp(1249) : warning 217: loose indentation
// L4DPointsandGift.sp(1250) : warning 217: loose indentation
// L4DPointsandGift.sp(1271) : warning 217: loose indentation
// L4DPointsandGift.sp(1273) : warning 217: loose indentation
// L4DPointsandGift.sp(1377) : warning 217: loose indentation
// L4DPointsandGift.sp(1390) : warning 217: loose indentation
// L4DPointsandGift.sp(1397) : warning 217: loose indentation
// L4DPointsandGift.sp(1411) : warning 217: loose indentation
// L4DPointsandGift.sp(1412) : warning 217: loose indentation
// L4DPointsandGift.sp(1496) : warning 217: loose indentation
// L4DPointsandGift.sp(1825) : warning 217: loose indentation
// L4DPointsandGift.sp(1826) : warning 217: loose indentation
// L4DPointsandGift.sp(1836) : warning 217: loose indentation
// L4DPointsandGift.sp(1844) : warning 217: loose indentation
// L4DPointsandGift.sp(2172) : warning 217: loose indentation
// L4DPointsandGift.sp(33) : warning 203: symbol is never used: "canspawn"
// L4DPointsandGift.sp(31) : warning 203: symbol is never used: "istank"
// L4DPointsandGift.sp(66) : warning 203: symbol is never used: "pointsboom"
// L4DPointsandGift.sp(51) : warning 203: symbol is never used: "pointsonversus"

// L4DPointsandGift.sp(144) : warning 204: symbol is assigned a value that is ne
ver used: "pointsrescue"
// L4DPointsandGift.sp(71) : warning 203: symbol is never used: "pointsreset"
// L4DPointsandGift.sp(73) : warning 203: symbol is never used: "ticksprevious"
// Header size:           5120 bytes
// Code size:            45068 bytes
// Data size:            17104 bytes
// Stack/heap size:      16384 bytes; Total requirements:   83676 bytes
//
// 48 Warnings.
//
// Compilation Time: 2,41 sec
// ----------------------------------------

Press enter to exit ...
Yes same for me, plugin isnt really well coded i think...
banz is offline
OtterNas3
Senior Member
Join Date: Apr 2009
Old 03-11-2010 , 05:08   Re: [L4D] Item Buy System
Reply With Quote #337

I would like to add a "Respawn" buy option in this plugin.
Tried myself but that goes totally over my skills of code understanding :/

I installed http://forums.alliedmods.net/showthread.php?t=96249
and Respawn works fine.

Someone could Help me?


Cheers,
OtterNas3


This is what i tried:
Attached Files
File Type: sp Get Plugin or Get Source (L4DPointsandGift_edit.sp - 549 views - 69.8 KB)

Last edited by OtterNas3; 03-12-2010 at 10:30.
OtterNas3 is offline
morizuki
New Member
Join Date: Mar 2010
Old 03-18-2010 , 11:05   Re: [L4D] Item Buy System
Reply With Quote #338

just asking

it's not working on my dedicated server..

this is my only plugin but still not working.. but when I'm not using my dedicated server, but the garena or my left 4 dead 2 single player or lan game.. its working..
morizuki is offline
quang20082008
Member
Join Date: Mar 2010
Old 03-18-2010 , 11:40   Re: [L4D] Item Buy System
Reply With Quote #339

why i can't press number 6(bomb) and number 7(next page) in plugins :@)?
quang20082008 is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 03-27-2010 , 01:13   Re: [L4D] Item Buy System
Reply With Quote #340

Quote:
Originally Posted by quang20082008 View Post
why i can't press number 6(bomb) and number 7(next page) in plugins :@)?
Because those keys are not bound to slot6, slot7, slot8...
(-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 07:40.


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