AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Grenade Pack 2 (https://forums.alliedmods.net/showthread.php?t=172135)

TnTSCS 08-22-2012 17:48

Re: [CS:S] Grenade Pack 2
 
as of today's update (08/22/12) this plugin is causing server crashes :(

I'm not sure if it's my plugin or that a SM update is needed... I'll keep you apprised

TnTSCS 08-23-2012 10:19

Re: [CS:S] Grenade Pack 2
 
All you need is to update SDKHooks, SM and MM and you're good to go.

ziniaragon 08-26-2012 05:24

Re: [CS:S] Grenade Pack 2
 
Don't work on CS:GO?

relicek 09-13-2012 10:38

Re: [CS:S] Grenade Pack 2
 
hiya, when i setup normal players that have only 1 HE grenade, they still can buy VIP count. Thanks

EDIT: i test it more and it seems it only happend if i set normal players 1 HE and VIP 2 HE, then normal players still can buy 2 HE, but when i change VIP to 3 HE normal it works as it should, normal player then can buy only 1 HE.

Thanks

TnTSCS 09-13-2012 12:58

Re: [CS:S] Grenade Pack 2
 
Thanks for the report, I'll look into the logic again.

TnTSCS 09-13-2012 14:10

Re: [CS:S] Grenade Pack 2
 
Quote:

Originally Posted by ziniaragon (Post 1783024)
Don't work on CS:GO?

Try https://forums.alliedmods.net/showthread.php?t=195707

Quote:

Originally Posted by relicek (Post 1798252)
hiya, when i setup normal players that have only 1 HE grenade, they still can buy VIP count. Thanks

EDIT: i test it more and it seems it only happend if i set normal players 1 HE and VIP 2 HE, then normal players still can buy 2 HE, but when i change VIP to 3 HE normal it works as it should, normal player then can buy only 1 HE.

Thanks

Just to confirm, you're talking about the CS:S version, right? Because I was confused and was just reviewing the CS:GO version linked above - LoL

relicek 09-13-2012 18:39

Re: [CS:S] Grenade Pack 2
 
yes, css version, i wanted to set all same as normal user but vip will get one HEgrenade more, but then it can buy normal players too. when i set all that VIP got 2x more count of all grenades its work good, but when i change count to some other combination it massed up. I wanted something like this, flash normal/vip 2/2, HEgrenade normal/vip 1/2 and smoke normal/vip 1/1. But with this option regular player can buy 2 HE even its set to 1.

Edit: so i think i know what is problem. Not with combinations or something like that, but with changelevel and restarting server.

When i set all configurations for those grenades and simple changelevel on console it works as it should but when i quit and start server, then vip grenades works for regular players to next changemap or changelevel... so there is problem that this plugin works good only on changelevel not on quit and starting server up.

Thanks

TnTSCS 09-14-2012 16:35

Re: [CS:S] Grenade Pack 2
 
Plugin Updated:

Version 1.0.4
* Changed code for better checking if player has certain type of nade
- Got rid of unneeded code as suggested by Asherkin

-------------------------

This version should address the bug relicek reported - I tested it and could not buy more than 1 nade if I wasn't a VIP player.

Here's my config file:
plugin.GrenadePack2.cfg

relicek 09-14-2012 19:16

Re: [CS:S] Grenade Pack 2
 
hiya, i download new version and when i change configs it writes this:

L 09/15/2012 - 01:14:19: [SM] Native "SetConVarInt" reported: Invalid convar handle 0 (error 4)
L 09/15/2012 - 01:14:19: [SM] Displaying call stack trace for plugin "GrenadePack2.smx":
L 09/15/2012 - 01:14:19: [SM] [0] Line 752, C:\Sourcemod\TnTSCS\scripting\GrenadePack2.sp ::FLASH_VIP_Changed()
L 09/15/2012 - 01:14:19: [SM] Native "SetConVarInt" reported: Invalid convar handle 0 (error 4)
L 09/15/2012 - 01:14:19: [SM] Displaying call stack trace for plugin "GrenadePack2.smx":
L 09/15/2012 - 01:14:19: [SM] [0] Line 640, C:\Sourcemod\TnTSCS\scripting\GrenadePack2.sp ::HE_VIP_Changed()

i tryed your config, still same errors.

EDIT: it seems it work as i should but on start server those errors show. my setup is: HE 1/2 SMOKE 1/2 FLASH 1/2.

TnTSCS 09-14-2012 20:21

Re: [CS:S] Grenade Pack 2
 
I'll check this out tonight - thank you for the report.


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

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