Sie sind nicht angemeldet.

1

Mittwoch, 6. Juli 2011, 06:36

"Players Votes" (1.2.2)+maplist.txt+maplist.cfg

Hallo,

folgendes. Ich möchte gerne das auf dem CSS Server immer die map de_dust2 läuft, man jedoch per votemap die map verändern kann. Habe hierzu das plugin "Player Votes" installiert um votemap möglich zu machen. Ausserdem in die "mapcycle.txt" nur de_dust2 reingeschrieben und "sm_votemap_mapsfile maplist.txt" in die "plugin.playersvotes.cfg" geschrieben. Das Plugin funst auch so weit, sprich hlsw gibt nach dem Befehl "sm plugin refresh" keine error Meldung aus und "sm_votemap_mapsfile" verweist auf die "maplist.txt". Tippt man nun auf dem Server votemap ein passiert nichts bzw in der Zeit in der ein mapvote Fenster zu sehen sein sollte erscheint keins. Ansonsten kommt diese Meldung das mapvote noch x sekunden nicht möglich ist. Hab auch schon versucht die "maplist.cfg" zu editieren auch ohne erfolg. Also hab "maplist.txt" als default eingetragen, als file + maplist.txt usw. Aber immer das selbe ergebnis.

Meine "maplist.cfg" sieht so aus:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"mapcyclefile"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"default"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
	  	/* For playersvotes plugin */
 	"playersvotes"
		{
    		"file"    		"maplist.txt"
		}
}




und die "plugin.playersvotes.cfg" so:


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// ConVars for plugin "playersvotes"

// percent required for successful votemap.
sm_votemap_ratio "0.60"

// percent required for successful votekick.
sm_votekick_ratio "0.60"

// percent required for successful voteban.
sm_voteban_ratio "0.80"


// minimum votes required for successful votemap. -1 to disable voting
sm_votemap_minimum "4.0"

// minimum votes required for successful votekick. -1 to disable voting
sm_votekick_minimum "4.0"

// minimum votes required for successful voteban. -1 to disable voting
sm_voteban_minimum "4.0"


// time before votemap is allowed after map start
sm_votemap_delay "0"

// time before votekick is allowed after map start
sm_votekick_delay "60.0"

// time before voteban is allowed after map start
sm_voteban_delay "60.0"


// ban time in minutes|0-permanently
sm_voteban_time "25.0"

// interval between another vote cast
sm_playersvotes_interval "15.0"

// admins with equal or higher immunity level will not be affected by votekick and voteban. 0 - disabled
sm_playersvotes_immunity "1.0"

// last number of played maps that will not show in votemap list
sm_votemap_lastmaps "4.0"

// file containing allowed maps for votemap
// Default: "mapcycle.txt"
sm_votemap_mapsfile "maplist.txt"



mfg

Olli

2

Mittwoch, 6. Juli 2011, 15:24

Hey Leute,

keine Antwort?! Generell ist es doch möglich was ich vorhabe? s.o. Kann mir jemand helfen das plugin "player votes" so einzustellen, das es weiss woher es die maps fürs vote bekommt? Das scheint mir nämlich grad der Fehler zu sein.

Beiträge: 2 498

Wohnort: Schwelm

Beruf: Immobilien-Verwalter / Serveradministrator

Rootserver vorhanden: Nein

  • Nachricht senden

3

Mittwoch, 6. Juli 2011, 15:46

Wieso nimmst du für mapvotes nicht einfach den standartmäßigen mapchooser? Ist simpler einzustellen und erfüllt seinen Zweck 1A.
Er wird ja schon in der maplist.cfg erwähnt, du musst ihn also einfach nur zuweisen. Das Problem mit dem playersvotes Plugin könnte
daher kommen, dass die mapchooser.smx zZ ebenfalls bei dir aktiv läuft. Ausserdem stimmt dein Code, den du selber in die maplist.cfg
hinzugefügt hast nicht.

Mach´s dir einfach, nutz den mapchooser.

Olli

Anfänger

Beiträge: 2

Rootserver vorhanden: Nein

  • Nachricht senden

4

Mittwoch, 6. Juli 2011, 16:18

danke erstmal. Werd es mal so probieren.

mfg

Olli

Anfänger

Beiträge: 2

Rootserver vorhanden: Nein

  • Nachricht senden

5

Mittwoch, 6. Juli 2011, 16:30

Super funktioniert.Dank dir. Mapvotes können jetzt per rtv augerufen werden.Wollte es mit player votes machen da ich auch die "votekick/ban" Funktion nutzen möchte.

grüsse

fluxX

Super Moderator

Beiträge: 1 056

Wohnort: Österreich

Beruf: IT Systemadministrator

Rootserver vorhanden: Ja

  • Nachricht senden

6

Mittwoch, 6. Juli 2011, 20:34

dann mach das rockthevote plugin aus dem plugins ordner raus ^^
dann funktioniert auch nicht rtv.

Ähnliche Themen