Raised This Month: $32 Target: $400
 8% 

[CS:S] Random Madness


Post New Thread Reply   
 
Thread Tools Display Modes
Allstar
Junior Member
Join Date: Feb 2009
Old 03-21-2011 , 19:18   Re: [CS:S] Random Madness
Reply With Quote #11

I'll test it without the grenades and get back to you but I'm not running any other scripts that should mess with them; only the core files, sourcebans, kac, gameme and a few other simple bits and pieces.
Allstar is offline
Allstar
Junior Member
Join Date: Feb 2009
Old 03-21-2011 , 21:18   Re: [CS:S] Random Madness
Reply With Quote #12

Well I'm pretty sure it's something to do with the grenades now.

I tested it with hegrenade disabled and there wasn't any crash in the 3 maps played. I then decided to test with only the hegrenade, so disabled all the other weapons and after a few rounds with 15 players and just the infinite grenades it crashed again.
Allstar is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-21-2011 , 21:27   Re: [CS:S] Random Madness
Reply With Quote #13

Hmm, that makes no sense . Let me setup a test server using nothing but hegrenades and see if I can reproduce the issue.
__________________

Last edited by thetwistedpanda; 03-21-2011 at 23:32.
thetwistedpanda is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-21-2011 , 23:34   Re: [CS:S] Random Madness
Reply With Quote #14

~20 minutes of 30 bots spawning with hegrenades, m4a1s/ak47s, flashbangs/smokegrenades, with infinite respawns at a 0.0 delay with no crashes.
~2 hours of 30 bots spawning on tourney mode, 5 different weapons including hegrenade, and spawning with hegrenade, with no crashes.
---
I uploaded version 1.0.5, it changes a deletion method for entities. For some reason I was using a method that was generally frowned upon, despite using the other method in all other plugins. I did it for a specific reason but I wasn't able to reproduce any errors using the new method, so everything should be fine. But as you can see above, I was unable to reproduce any crashes, so I'm not sure what the issue is. Could you post your config so I can try to reproduce it 100%?
__________________

Last edited by thetwistedpanda; 03-21-2011 at 23:52.
thetwistedpanda is offline
Allstar
Junior Member
Join Date: Feb 2009
Old 03-22-2011 , 05:30   Re: [CS:S] Random Madness
Reply With Quote #15

That's a bit odd. I really hope I'm not doing anything stupid to make this crash but I can't see anything that should be interfering.

The one thing I will say about testing with bots tho is that they very rarely actually throw the hegrenades when they have them and they often just use the knife. It's a lot different when 15 or so people are constantly nade spamming.

Anyway here's my cfg for you when trying out just the hegrenade. I used the same setup but with "hegrenade" in the disable list without any crashes.

Code:
// This file was auto-generated by SourceMod (v1.3.7-dev)
// ConVars for plugin "sm_random_madness.smx"


// List of specific weapon indexes to disable, comma limited. "#, #"
// -
// Default: ""
sm_randommadness_disabled "glock, usp, p228, deagle, fiveseven, elite, mac10, tmp, mp5navy, ump45, p90, galil, famas, ak47, m4a1, scout, awp, g3sg1, sg550, sg552, m3, xm1014, aug, m249"

// Enables/Disables all features of this plugin.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_enable "1"

// The number of grenades players will get when on the grenade level. Set to 0 for infinite grenades.
// -
// Default: "0"
// Minimum: "0.000000"
sm_randommadness_grenade_count "0"

// If enabled, a message pertaining to the game type will be displayed each round.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_round_advert "1"

// The number of rounds to spend on each weapon. Setting a value of 0 will result in the same weapon for the entire map.
// -
// Default: "1"
// Minimum: "0.000000"
sm_randommadness_rounds "1"

// The amount of armor players will spawn with. Values above 0 will also give players the helmet.
// -
// Default: "0"
// Minimum: "0.000000"
sm_randommadness_spawn_armor "100"

// The additional gear players on the Counter-Terrorist team will spawn with, separate multiple items with ", ".
// -
// Default: "item_nvgs, item_defuser"
sm_randommadness_spawn_ct "item_nvgs, item_defuser"

// If enabled, players will spawn with a grenade if not on a knife level.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_spawn_grenade "0"

// If enabled, players will spawn with a knife if not on a knife level.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_spawn_knife "1"

// The additional gear players on the Terrorist team will spawn with, separate multiple items with ", ".
// -
// Default: "item_nvgs"
sm_randommadness_spawn_t "item_nvgs"

// If enabled, all buyzones will be stripped from the map at the start of the round.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_strip_buy "1"

// If enabled, a player's equipment will be stripped upon their death.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_strip_death "1"

// If enabled, all grenades will be stripped from the map at the start of the round if sm_randommadness_strip_weapons is enabled.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_strip_grenades "0"

// If enabled, all objectives will be stripped from the map at the start of the round.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_strip_objectives "0"

// If enabled, all weapons will be stripped from the map at the start of the round.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_strip_weapons "1"

// If enabled, every weapon will be used once before being able to be used again.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_randommadness_tourney_mode "1"
Just for completeness here are the results from my meta list:

Code:
Results:
Listing 5 plugins:
  [01] SourceMod (1.3.7-dev) by AlliedModders LLC
  [02] CS:S Tools (1.3.7-dev) by AlliedModders LLC
  [03] BinTools (1.3.7-dev) by AlliedModders LLC
  [04] SDK Tools (1.3.7-dev) by AlliedModders LLC
  [05] SDK Hooks (1.3.0) by Tsunami
and sm plugins list:

Code:
Results:
[SM] Listing 32 plugins:
  01 "Admin File Reader" (1.3.4) by AlliedModders LLC
  02 "Admin Help" (1.3.4) by AlliedModders LLC
  03 "Admin Menu" (1.3.4) by AlliedModders LLC
  04 "Anti-Flood" (1.3.4) by AlliedModders LLC
  05 "Basic Chat" (1.3.4) by AlliedModders LLC
  06 "Basic Comm Control" (1.3.4) by AlliedModders LLC
  07 "Basic Commands" (1.3.4) by AlliedModders LLC
  08 "Basic Info Triggers" (1.3.4) by AlliedModders LLC
  09 "Basic Votes" (1.3.4) by AlliedModders LLC
  10 "Bot Ping" (1.0.1) by Knagg0
  11 "Client Preferences" (1.3.4) by AlliedModders LLC
  12 "Fun Commands" (1.3.4) by AlliedModders LLC
  13 "Fun Commands X" (1.8) by Spazman0 and Arg!
  14 "Fun Votes" (1.3.4) by AlliedModders LLC
  15 "gameME Plugin" (3.7) by TTS Oetzel & Goerz GmbH
  16 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
  17 "Kigen's Anti-Cheat" (1.2.1.6) by CodingDirect LLC
  18 "M3Motd - MOTD / Rules Display" (0.2.1) by M3Studios, Inc.
  19 "Nextmap" (1.3.4) by AlliedModders LLC
  20 "Player Commands" (1.3.4) by AlliedModders LLC
  21 "SourceMod Radio" (1.0.0.12) by dubbeh
  22 "RCON Lock" (0.6.6) by devicenull
  23 "Auto Skin" (1.1.0) by Twisted|Panda
  24 "SM Cash" (1.3) by brizad
  25 "Random Madness" (1.0.4) by Twisted|Panda
  26 "SM Super Commands" (0.60) by pRED*
  27 "Sound Commands" (1.3.4) by AlliedModders LLC
  28 "SourceBans" (1.4.8) by SourceBans Development Team
  29 "Spray Tracer" (5.8) by Nican132, CptMoore, Lebson506th
  30 "Stop HintText Sound" (1.0.0) by Tauphi, exvel
  31 "TeamSwitch" (1.3) by MistaGee
  32 "Very Basic High Ping Kicker" (1.4) by msleeper
Allstar is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-22-2011 , 11:56   Re: [CS:S] Random Madness
Reply With Quote #16

As for your comment about testing bots, I didn't spawn them with knives . They had over 200 grenade kills each by the time testing was done. As for your config, it's the same setup I was running unfortunately. As for your plugins, I don't see anything in particular that would interfere.

You don't need to run RCON Lock if you're running KAC though, it's a bit redundant. Not causing the crash, but no reason for both. Also, Stop HintText Sound can be reproduced by sv_hudhint_sound 0. You can also try upgrading to 1.0.5, but I don't think that'll help either. Otherwise, I see nothing that is obviously causing the crash. My test server is stock, however, minus a spawning plugin, so that may have something to do with it.
__________________
thetwistedpanda is offline
Allstar
Junior Member
Join Date: Feb 2009
Old 03-22-2011 , 14:51   Re: [CS:S] Random Madness
Reply With Quote #17

Well thanks for the advice on the plugins, I'll impliment those later.

I really do want to get this plugin working (preferably with the nade level too as its fun while it works) so will try 1.0.5 and test it again on a vanilla server with just the core and sourcebans to see if I can track down any potential conflicts. I'll get back to you if I find anything out, although if you could add cvars for flashbangs and smokegrenades (just like the hegrenade) that might be useful.

Thanks again for all the work you've done on this plugin and on trying to help me out. It really is a good laugh to hear people all happy when its something like an awp and moan when its a five-seven lol.
Allstar is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-22-2011 , 14:59   Re: [CS:S] Random Madness
Reply With Quote #18

Adding the cvars for flashbangs and smokegrenades will really only prevent players from being given those two grenades if they already have them. It won't affect the crash issue as far as I know, but I'll add it next time I edit the script.
__________________
thetwistedpanda is offline
bandit
Senior Member
Join Date: Jul 2009
Old 03-27-2011 , 11:15   Re: [CS:S] Random Madness
Reply With Quote #19

Hey Panda,
Is it possible you could make it so players get different random weapons,
instead of the same.
I have another script (ES.. arghhh...that doesnt always work ) that gives 2.0 speed on certain weapons. It makes for interesting gameplay when one player gets more speed, and the enemy tries to kill them.
Or am I asking for another plugin all together


hmmmm... why did that word turn red???

Last edited by bandit; 03-27-2011 at 11:20.
bandit is offline
Send a message via MSN to bandit
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-27-2011 , 12:29   Re: [CS:S] Random Madness
Reply With Quote #20

It would be possible to add a cvar for it I suppose.
__________________
thetwistedpanda is offline
Reply


Thread Tools
Display Modes

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 12:36.


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