Clan [+35] Forum
Clan [+35] Forum
[+35] Hovedkvarter | Profil | Tilmeld | Aktive emner | Forummedlemmer | S�gning | FAQ
Brugernavn:
Kodeord:
Husk kodeord
Glemt dit kodeord?

 Alle fora
 [+35] Offentlige fora
 [+35] Server
 Lazy kan du hjælpe
 Nyt emne  Svar p� emnet
 Vis printervenlig version
Forfatter Forrige emne Emne N�ste emne  

[+35]Jumpman
[+35] Server Admin, [+35] Member of COW - G5

Denmark
6728 indl�g

Skrevet - 18 Feb 2011 :  15:45:41  Vis profil  Bes�g [+35]Jumpman's hjemmeside  Svar med Quote
Mit problem er en eller anden fejl i adminmenu_custom.txt som jeg selv har rettet til når man tilgår admin menuen in-game er der en kategori der hedder "Kick & Ban Player" det er i denne menu jeg har problemet, jeg kan af en eller anden årsag ikke se "Ban by IP" men kan godt se "Ban by STEAMID" nu ligger landet sådan at det har virket hvor jeg havde lavet 4 kick/ban menuer nu har jeg så taget de 2 af dem fra så der kun er 2 tilbage men jeg kan ikke se "Ban by IP" det fatter jeg hat af har prøvet alt efterhånden om jeg fatter hvorfor ?

adminmenu_custom.txt
"Commands"
{
 "Question Votes"
 {
  "Question Vote"
  {
   "cmd"  "sm_vote #1 Yes No"
   "admin"  "sm_vote"
   "execute" "server"
   "1"
   {
    "type"  "list"
    "title"  "Choose A Custom Vote"
    "1"  "Shall we have a new map vote ?"
    "1."  "New Map Vote"
    "2"  "Shall we have a random map vote ?"
    "2."  "Random Map Vote"
    "3"  "Shall we have a multi map vote ?"
    "3."  "Multi Map Vote"
    "4"  "Is this a nice map to play on ?"
    "4."  "Nice Map"
    "5"  "Do you like to play on our server ?"
    "5."  "Our Server"
    "6"  "Do you have any problems with lag on our server ?"
    "6."  "Server Lag"
    "7"  "Do you like the rank system ?"
    "7."  "Rank System"
   }
  }
 }
 "Kick & Ban Player"
 {
  "Kick with reason"
  {
   "cmd"  "sm_kick #1 #2"
   "admin"  "sm_kick"
   "execute" "player"
   "1"
   {
    "type"  "player"
    "method" "name"
    "title"  "Kick Player:"
   }
   "2"
   {
    "type"  "list"
    "title"  "Player Reason"
    "1"  "You have a bad Ping"
    "2"  "You have a nasty name"
    "3"  "Bad behaviour"
    "4"  "You teamkilled to much"
    "5"  "You abused Adminrights"
    "6"  "Spamming Mic/Chat"
    "7"  "Inappropriate Spray"
    "8"  "Inappropriate Language"
    "9"  "Breaking Server Rules"
   }
  }
  "Ban by STEAMID"
  {
   "cmd"  "sm_ban #1 #2 #3"
   "admin"  "sm_ban"
   "execute" "player"
   "1"
   {
    "type"  "player"
    "method" "name"
    "title"  "Ban Player" 
   }
   "2"
   {
    "type"  "list"
    "title"  "How Long Time"
    "1"  "5"
    "1."  "5 Minutes"
    "2"  "10"
    "2."  "10 Minutes"
    "3"  "30"
    "3."  "30 Minutes"
    "4"  "60"
    "4."  "60 Minutes"
    "5"  "360"
    "5."  "5 Hour"
    "6"  "1440"
    "6."  "1 Day"
    "7"  "10080"
    "7."  "1 Week"
    "8"  "20160"
    "8."  "2 Weeks"
    "9"  "80640"
    "9."  "4 Weeks"
    "10"  "0"
    "10."  "Permanent"
   }
   "3"
   {
    "type"  "list"
    "title"  "Player Reason"
    "1"  "Abusive"
    "2"  "Racism
    "3"  "General cheating/exploits"
    "4"  "Wallhack"
    "5"  "Aimbot"
    "6"  "Bad behaviour"
    "7"  "Speedhacking"
    "8"  "Mic spamming"
    "9"  "Admin disrepect"
    "10"  "Camping"
    "11"  "Team killing"
    "12"  "Unacceptable Spray"
    "13"  "Breaking Server Rules"
    "14"  "Other"
   }
  }
  "Ban by IP"
  {
   "cmd"  "mysql_banip #1 #2 #3"
   "admin"  "mysql_banip"
   "execute" "player"
   "1"
   {
    "type"  "player"
    "method" "name"
    "title"  "Ban Player" 
   }
   "2"
   {
    "type"  "list"
    "title"  "How Long Time"
    "1"  "5"
    "1."  "5 Minutes"
    "2"  "10"
    "2."  "10 Minutes"
    "3"  "30"
    "3."  "30 Minutes"
    "4"  "60"
    "4."  "60 Minutes"
    "5"  "360"
    "5."  "5 Hour"
    "6"  "1440"
    "6."  "1 Day"
    "7"  "10080"
    "7."  "1 Week"
    "8"  "20160"
    "8."  "2 Weeks"
    "9"  "80640"
    "9."  "4 Weeks"
    "10"  "0"
    "10."  "Permanent"
   }
   "3"
   {
    "type"  "list"
    "title"  "Player Reason"
    "1"  "Abusive"
    "2"  "Racism
    "3"  "General cheating/exploits"
    "4"  "Wallhack"
    "5"  "Aimbot"
    "6"  "Bad behaviour"
    "7"  "Speedhacking"
    "8"  "Mic spamming"
    "9"  "Admin disrepect"
    "10"  "Camping"
    "11"  "Team killing"
    "12"  "Unacceptable Spray"
    "13"  "Breaking Server Rules"
    "14"  "Other"
   }
  }
 }
}


adminmenu_sorting.txt
"Menu"
{
 "PlayerCommands"
 {
  "item"  "sm_slay"
  "item"  "sm_slap"
  "item"  "sm_kick"
  "item"  "sm_ban"
  "item"  "sm_gag"
  "item"  "sm_burn"
  "item"  "sm_beacon"
  "item"  "sm_freeze"
  "item"  "sm_blind"
  "item"  "sm_drug"
  "item"  "sm_gravity"
  "item"  "sm_rename"
  "item"  "sm_timebomb"
  "item"  "sm_firebomb"
  "item"  "sm_freezebomb"
  "item"  "sm_who"
 }
 "ServerCommands"
 {
  "item"  "sm_adminspray"
  "item"  "sm_spraytrace"
  "item"  "sm_removespray"
  "item"  "sm_map"
  "item"  "sm_execcfg"
  "item"  "sm_reloadadmins"
 }
 "VotingCommands"
 {
  "item"  "sm_cancelvote"
  "item"  "sm_votemap"
  "item"  "sm_votekick"
  "item"  "sm_voteban"
  "item"  "sm_votealltalk"
  "item"  "sm_voteburn"
  "item"  "sm_votegravity"
  "item"  "sm_voteslay"
  "item"  "sm_voteff"
  "item"  "sm_vote"
 }
 "Question Votes"
 {
  "item"  "Question Vote"
 }
 "Kick & Ban Player"
 {
  "item"  "Kick with reason"
  "item"  "Ban by STEAMID"
  "item"  "Ban by IP"
 }
 "Warning Commands"
 {
  "item"  "Hint Warnings"
  "item"  "Center Warnings"
  "item"  "Private Warnings"
 }
 "Play Sound"
 {
  "item"  "Admin Sounds"
 }
 "Bot Control"
 {
  "item"  "Add a Bot"
  "item"  "Kick All Bots"
  "item"  "Slay All Bots"
  "item"  "Bot Difficulty"
 }
 "Restrict Management"
 {
  "item"  "Restrict Weapon"
  "item"  "Unrestrict Weapon"
  "item"  "Remove restricted weapons"
  "item"  "Reload restricted weapons"
  "item"  "Restrict all weapons all teams"
  "item"  "Unrestrict all weapons all teams"
  "item"  "Forces bomb drop"
  "item"  "Sets up a knife round"
  "item"  "Sets up a pistol round"
 }
 "Load/Unload Plugin"
 {
  "item"  "Plugin unload"
  "item"  "Plugin load"
 }
}

[+35]Lazy
[+35] Soldier

Denmark
2470 Posts

Skrevet - 18 Feb 2011 :  21:36:24  Vis profil  Bes�g [+35]Lazy's hjemmeside  Klik for at se [+35]Lazy's MSN Messenger adresse  Svar med Quote
Hmm. Umiddelbart kan jeg selvf. se at menu-strukturen er ændret lidt siden jeg arbejdede på SM-mod projektet.

Jeg skal nok lige jage din config igennem en editor her i løbet af ferien, men lov mig lige at gøre 2 ting inden jeg læser op på ændringerne til menu interfacet:

Check lige at din test-bruger har rettigheder (i sourcemod) til at IP-banne.
Tænk derefter på hvorfor IP ban er interessant. Især her i norden hvor 99% af alle brugere har dynamisk IP. (Det tager 2 min. for en TDC kunde at skifte IP.)

Anyways: Skal nok checke din config i morgen
G� til toppen af siden

[+35]Jumpman
[+35] Server Admin, [+35] Member of COW - G5

Denmark
6728 Posts

Skrevet - 18 Feb 2011 :  22:59:26  Vis profil  Bes�g [+35]Jumpman's hjemmeside  Svar med Quote
Tak lazy jeg dropper ipban fra admin menuen man har jo adgang til den via konsollen hvis der er brug for det, jeg tester med min egen profil og har flag z(rcon) det virkede forleden men så fjernede jeg 2 af menuerne da der ikke skulle være 2 ban by steamid og ban by ip og så dukkede problemet op, vi har vist heller aldrig haft mere end 4-5 ip bans hvad jeg kunne se da jeg overtog serverne jeg sletter det fra menuen.

Men kan se jeg har lavet et par fejl en af dem er
"cmd" "sm_ban #1 #2 #3"
som skal være
"cmd" "sm_ban #1 #2 @3"
Derfor bans står med "" i databasen he he
G� til toppen af siden
  Forrige emne Emne N�ste emne  
 Nyt emne  Svar p� emnet
 Vis printervenlig version
Hop til:
Clan [+35] Forum © 2000-2002 Snitz Communications Go To Top Of Page
Tilpasset ældre læsere - vist på [:)] 0.27 sek. Snitz Forums 2000