Clan [+35] Forum
Clan [+35] Forum
[+35] Hovedkvarter | Profil | Tilmeld | Aktive emner | Forummedlemmer | S�gning | FAQ
 Alle fora
 [+35] Offentlige fora
 [+35] Server
 Lazy kan du hjælpe

Note: Du skal være tilmeldt for at skrive indlæg.
Tilmeld dig her. Tilmelding er gratis!

Skærmstørrelse:
Brugernavn:
Kodeord:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Tekst:

* HTML er slået FRA
* Forum-koder er slået TIL
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

E M N E    VISNING
[+35]Jumpman Posted - 18 Feb 2011 : 15:45:41
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"
 }
}
2   N Y E S T E    I N D L Æ G    (Nyeste først)
[+35]Jumpman Skrevet - 18 Feb 2011 : 22:59:26
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
[+35]Lazy Skrevet - 18 Feb 2011 : 21:36:24
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

Clan [+35] Forum © 2000-2002 Snitz Communications Go To Top Of Page
Tilpasset ældre læsere - vist på [:)] 0.16 sek. Snitz Forums 2000