Raised This Month: $ Target: $400
 0% 

SM Super Menu


Post New Thread Reply   
 
Thread Tools Display Modes
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 09-03-2007 , 08:32   Re: SM Super Menu
Reply With Quote #151

Quote:
Originally Posted by irhogan View Post
This is concerning using this plugin in insurgency.
most commands work except for ban, kick, slay or anything involving a player.

I recieve the error in console

[SM] No matching client was found.

Help?
Same here, but only for CS:S. My .ini file was posted earlier on this page.
__________________
Let's make it better
bzz0 is offline
graczu
Senior Member
Join Date: Mar 2006
Old 09-03-2007 , 15:22   Re: SM Super Menu
Reply With Quote #152

Quote:
Originally Posted by bzz0 View Post
Same here, but only for CS:S. My .ini file was posted earlier on this page.
In supermenu.inc at line:

change:

Code:
					AddMenuItem(menu, temp, name)
to:

Code:
					AddMenuItem(menu, name, name)
__________________
graczu is offline
Crawfy2D
Member
Join Date: Aug 2007
Location: Hamburg (Germany)
Old 09-03-2007 , 16:23   Re: SM Super Menu
Reply With Quote #153

Hi

Code:
sent command "bot_kill" to client console
I got his in my Log. But dont workes.

Here my .ini

Code:
"Commands"
{
"title" "Player Managemant"
"1"
{
"title" "Ban-Kick-Slay"
"admin" "slay"
"1"
{
"title" "Ban Player"
"cmd" "sm_ban #1 #2 #3"
"1"
{
"type" "player"
}
"2"
{
"type" "list"
"title" "Duration:"
"1" "0"
"1." "Permanent"
"2" "5"
"2." "5 Minutes"
"3" "60"
"3." "An Hour"
}
"3"
{
"type" "list"
"title" "Reason:"
"1" "Wall Hacks"
"2" "Aimbot"
"3" "Exploiting"
}
}
"2"
{
"title" "Kick Player"
"cmd" "sm_kick #1 #2"
"1"
{
"type" "player"
}
"2"
{
"type" "list"
"title" "Reason:"
"1" "Swearing"
"2" "Racist"
}
}
"3"
{
"title" "Slay Player"
"cmd" "sm_slay #1"
"1"
{
"type" "player"
}
}
}
"2"
{
"title" "Team management"
"1"
{
"title" "Switch Player"
"cmd" "sm_team #1 #2"
"1"
{
"type" "player"
}
"2"
{
"type" "list"
"title" "Team:"
"1" "1"
"1." "Spectators"
"2" "2"
"2." "Terrorists"
"3" "3"
"3." "Counter-Terrorists"
}
}
}
"3"
{
"title" "Map management"
"1"
{
"title" "Extend Map"
"cmd" "sm_extend #1"
"1"
{
"type" "list"
"title" "Extend for:"
"1" "5"
"1." "5 Minutes"
"2" "10"
"2." "10 Minutes"
"3" "15"
"3." "15 Minutes"
"4" "20"
"4." "20 Minutes"
"5" "30"
"5." "Half an Hour"
"6" "45"
"6." "45 Minutes"
"7" "60"
"7." "An Hour"
}
}
"2"
{
"title" "Change Map"
"cmd" "sm_map #1"
"1"
{
"type" "mapcycle"
"path" "mapcycle.txt"
"title" "Choose Map:"
}
}
"3"
{
"title" "Single Map Vote"
"cmd" "sm_votemap #1"
"execute" "server"
"1"
{
"title" "Map:"
"type" "mapcycle"
}
}
"4"
{
"title" "Multi Map Vote"
"cmd" "sm_votemap #1 #2 #3 #4"
"execute" "server"
"1"
{
"title" "1st Map:"
"type" "mapcycle"
}
"2"
{
"title" "2nd Map:"
"type" "mapcycle"
}
"3"
{
"title" "3rd Map:"
"type" "mapcycle"
}
"4"
{
"title" "4th Map:"
"type" "mapcycle"
}
}
}
"4"
{
"title" "Bot Management"
"cmd" "sm_bot #1 #2 #3 #4"
"execute" "server"
"1"
{
"title" "Bot Kick All"
"cmd" "bot_kick"
}
"2"
{
"title" "Bot Kill All"
"cmd" "bot_kill"
}
"3"
{
"title" "Bot Add T"
"cmd" "bot_add_t"
}
"4"
{
"title" "Bot Add CT"
"cmd" "bot_add_ct"
}
}
}
}
Somebody here, who can help me ???

Many Greets

Crawfy2D

Last edited by Crawfy2D; 09-03-2007 at 16:25.
Crawfy2D is offline
Send a message via ICQ to Crawfy2D Send a message via Skype™ to Crawfy2D
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 09-03-2007 , 16:24   Re: SM Super Menu
Reply With Quote #154

bot_kick : cmd : : bot_kick <all> <t|ct> <type> <difficulty> <name> - Kicks a specific bot, or all bots, matching the given criteria.

AKA, to kick all bots, you'd have to issue "bot_kick all"
__________________
Dan o.O - connect dansbasement.us:27015

TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
pRED*
Join Date: Dec 2006
Old 09-03-2007 , 16:32   Re: SM Super Menu
Reply With Quote #155

Quote:
Originally Posted by graczu View Post
In supermenu.inc at line:

change:

Code:
					AddMenuItem(menu, temp, name)
to:

Code:
					AddMenuItem(menu, name, name)
You really shouldn't need to do that. That is just changing the 'clientid' menu type to be the same as 'name'.

I think specifying 'method' 'name' straight after 'type' 'player' should fix the problem but I'll change it so it does this by default in the next version
pRED* is offline
Crawfy2D
Member
Join Date: Aug 2007
Location: Hamburg (Germany)
Old 09-03-2007 , 19:01   Re: SM Super Menu
Reply With Quote #156

Hi All...

My Bot Section is not working

Code:
 "4"
 {
                        "title"        "Bot Management"
                        "cmd"        "sm_rcon #1 #2 #3 #4"
                        "1"
                        {
                                "title"      "Bot Kick All"
                                "cmd"        "bot_kick all"
                        }
                        "2"
                        {
                                "title"      "Bot Kill All"
                                "cmd"        "bot_kill all"
                        }
                        "3"
                        {
                                "title"      "Bot Add T"
                                "cmd"        "bot_add_t"
                        }
                        "4"
                        {
                                "title"      "Bot Add CT"
                                "cmd"        "bot_add_ct"
                        }
                }
        }
}
Whats wrong ??? Needs Help please

Greets
Crawfy2D
Crawfy2D is offline
Send a message via ICQ to Crawfy2D Send a message via Skype™ to Crawfy2D
pRED*
Join Date: Dec 2006
Old 09-03-2007 , 19:32   Re: SM Super Menu
Reply With Quote #157

Code:
	"4"
	{
		"title" "Bot Management"

		"1"
		{
			"title" "Bot Kick All"
			"cmd" "bot_kick all"
			"execute" "server"
		}
		"2"
		{
			"title" "Bot Kill All"
			"execute" "server"
			"cmd" "bot_kill all"
		}
		"3"
		{
			"title" "Bot Add T"
			"execute" "server"
			"cmd" "bot_add_t"
		}
		"4"
		{
			"title" "Bot Add CT"
			"execute" "server"
			"cmd" "bot_add_ct"
	}
Something like that...
pRED* is offline
dmw_Whitey
Junior Member
Join Date: Aug 2007
Old 09-04-2007 , 10:43   Re: SM Super Menu
Reply With Quote #158

Code:
"6"
    {
        "title"        "Bot Control"

        "1"
        {
            "title"        "Disable Bots"
            "cmd"        "bot_quota 0"
            "admin"        "cvars"
            "execute"    "server"
        }
        "2"
        {
            "title"        "Enable Bots"
            "cmd"        "bot_quota #1"
            "admin"        "cvars"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "# Bots"
                "1"        "4"
                "2"        "6"
                "3"        "8"
                "4"        "10"
            }
        }
        "3"
        {
            "title"        "Add T"
            "cmd"        "bot_add_t"
            "admin"        "cvars"
            "execute"    "server"
        }
        "4"
        {
            "title"        "Add CT"
            "cmd"        "bot_add_ct"
            "admin"        "cvars"
            "execute"    "server"
        }
        "5"
        {
            "title"        "Remove T"
            "cmd"        "bot_kick t"
            "admin"        "cvars"
            "execute"    "server"
        }
        "6"
        {
            "title"        "Remove CT"
            "cmd"        "bot_kick ct"
            "admin"        "cvars"
            "execute"    "server"
        }
        "7"
        {
            "title"        "Bot Difficulty"
            "cmd"        "bot_difficulty #1"
            "admin"        "cvars"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Difficulty"
                "1."        "Easy"
                "1"        "0"
                "2."        "Normal"
                "2"        "1"
                "3."        "Hard"
                "3"        "2"
                "4."        "Expert"
                "4"        "3"
            }
        }
        "8"
        {
            "title"        "Bot Chatter"
            "cmd"        "bot_chatter #1"
            "admin"        "cvars"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Chatter"
                "1"        "off"
                "2"        "radio"
                "3"        "minimal"
                "4"        "normal"
            }
        }
        "9"
        {
            "title"        "Quota Mode"
            "cmd"        "bot_quota_mode #1"
            "admin"        "cvars"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Mode"
                "1."        "Bots Leave"
                "1"        "fill"
                "2."        "Normal"
                "2"        "normal"
            }
        }
        "10"
        {
            "title"        "Rogue Bots"
            "cmd"        "bot_allow_rogues #1"
            "admin"        "cvars"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Mode"
                "1."        "Enable"
                "1"        "0"
                "2."        "Disable"
                "2"        "1"
            }
        }    
        "11"
        {
            "title"        "Bot Slay"
            "cmd"        "botslay"
            "admin"        "slay"
         }
}
Here's my bot menu, hope it helps.
dmw_Whitey is offline
Crawfy2D
Member
Join Date: Aug 2007
Location: Hamburg (Germany)
Old 09-04-2007 , 13:22   Re: SM Super Menu
Reply With Quote #159

Many Many Thanks .. it workes now

But need Help again

Code:
   "2"
  {
   "title"  "Slap Player"
   "cmd"  "sm_slap #1 #2"
   "1"
   {
    "type"  "player"
   }
   "2"
   {
    "type"  "list"
     ??????????
     ??????????
   }
  }
How I add the damage option like 0 -10 -25 -50
and the player list
Crawfy2D is offline
Send a message via ICQ to Crawfy2D Send a message via Skype™ to Crawfy2D
Tekniqal
Senior Member
Join Date: Aug 2006
Old 09-04-2007 , 14:32   Re: SM Super Menu
Reply With Quote #160

Code:
        "4"
        {
            "title"        "Slap Player"
            "cmd"        "sm_slap #1 #2"
            "1"
            {
                "type"        "player"
                "method"    "name"
                "execute"    "player"
                "title"        "Player to Slap"
            }
            "2"
            {
                "type"        "list"
                "title"        "Damage:"
                "1"        "0"
                "1."        "0"
                "2"        "5"
                "2."        "5"
                "3"        "20"
                "3."        "20"
                "4"        "50"
                "4."        "50"
                "5"        "90"
                "5."        "90"
            }
        }
not sure if you can slap groups but that works for us.
__________________
Tekniqal 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 19:08.


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