You are not logged in.

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

1

Friday, April 5th 2013, 4:25pm

SM Advertisements Problem

Hallo,

ich habe gestern folgendes installiert: https://forums.alliedmods.net/showthread.php?p=592536

Die console sagt mir auch dass alles läuft.

Source code

1
"Advertisements" (0.6) by Tsunami


Leider läuft das ganze nicht so, wie ich es möchte.

- Es wird nicht immer angezeigt, oder kommt manchmal gar nicht.
- Ausserdem möchte ich den eingeblendeten Werbungen eine Farbe verpassen und zwar an verschiedenen Stellen im Bildschirm. z.B im Center (da geht nur weiß) und im S- und T-say Bereich. Das müsste laut config auch gehen, nur ich bin anscheinend zu doof, um die config richtig zu befüllen.


Wer kann mir helfen und sagen was ich falsch mache.

Anbei die config.

Spoiler Spoiler

"Advertisements"
{
"1"
{
"type" "C"
"text" "Visit www.KriegsGeBiet.de"
}
"2"
{
"type" "T"
"text" "{LIGHTGREEN}Server-Anregungen? kgb@kriegsgebiet.de"
}
"3"
{
"type" "C"
"text" "Next map is {SM_NEXTMAP}"
}
"4"
{
"type" "C"
"text" "Current Map:{CURRENTMAP}"
}
"5"
{
"type" "C"
"text" "Friendly fire is {BOOL:MP_FRIENDLYFIRE}."
}
"6"
{
"type" "T"
"text" "{LIGHTGREEN}Besucht unsere Homepage: www.KriegsGeBiet.de"
}
"7"
{
"type" "T"
"text" "{RED}Besucht unseren CS:S Server 93.186.199.121:27015"
}
"8"
{
"type" "T"
"text" "{RED}=KGB= Teamspeak: 85.114.154.43:10047"
}
"9"
{
"type" "T"
"text" "{BLUE} =KGB= KriegsGeBiet jetzt auch auf Facebook!!"
}
"10"
{
"type" "S"
"text" "{RED}=KGB= CS:S Server 93.186.199.121:27015"
}}



Danke!!
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

This post has been edited 1 times, last edit by "opferkind" (Apr 9th 2013, 12:23pm)


sliqz

Intermediate

Posts: 409

Occupation: Kaufman im Einzelhandel

wcf.user.option.userOption53: Ja

  • Send private message

2

Friday, April 5th 2013, 10:34pm

Versuch mal das bitte

Source code

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
48
49
50
51
52
53
"Advertisements"
{
    "1"
    {
    "type" "C"
    "text" "Visit www.KriegsGeBiet.de"
    }
    "2"
    {
    "type" "T"
    "text" "{LIGHTGREEN}Server-Anregungen? kgb@kriegsgebiet.de"
    }
    "3"
    {
    "type" "C"
    "text" "Next map is {SM_NEXTMAP}"
    }
    "4"
    {
    "type" "C"
    "text" "Current Map:{CURRENTMAP}"
    }
    "5"
    {
    "type" "C"
    "text" "Friendly fire is {BOOL:MP_FRIENDLYFIRE}."
    }
    "6"
    {
    "type" "T"
    "text" "{LIGHTGREEN}Besucht unsere Homepage: www.KriegsGeBiet.de"
    }
    "7"
    {
    "type" "T"
    "text" "{RED}Besucht unseren CS:S Server 93.186.199.121:27015"
    }
    "8"
    {
    "type" "T"
    "text" "{RED}=KGB= Teamspeak: 85.114.154.43:10047"
    }
    "9"
    {
    "type" "T"
    "text" "{BLUE} =KGB= KriegsGeBiet jetzt auch auf Facebook!!"
    }
    "10"
    {
    "type" "S"
    "text" "{RED}=KGB= CS:S Server 93.186.199.121:27015"
    }    
} 


MfG
sliqz

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

3

Friday, April 5th 2013, 11:06pm

ok.
aber was ist anders?
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

LeXx

Unregistered

4

Friday, April 5th 2013, 11:27pm

Er hat die TAB Taste verwendet...

:keks:

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

5

Friday, April 5th 2013, 11:53pm

es hat sich nichts verbessert nach mapchange. Neugestartet habe ich den server nicht. Muss man das?

EDIT: Trotz Neustart keine Besserung.
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

This post has been edited 1 times, last edit by "opferkind" (Apr 6th 2013, 12:20am)


sliqz

Intermediate

Posts: 409

Occupation: Kaufman im Einzelhandel

wcf.user.option.userOption53: Ja

  • Send private message

6

Saturday, April 6th 2013, 9:12am

Ich habe nicht nur die TAB taste benutzt ... naja egal

Speicher deine eigene advertisements.txt als Backup ab.

Als ich auch Top message einstellen wollte, gab es auch Probleme. Teste mal ob es überhaupt als Say message geht.

Source code

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
48
49
50
51
52
53
"Advertisements"
{
	"1"
	{
	"type" "C"
	"text" "Visit www.KriegsGeBiet.de"
	}
	"2"
	{
	"type" "S"
	"text" "{LIGHTGREEN}Server-Anregungen? kgb@kriegsgebiet.de"
	}
	"3"
	{
	"type" "C"
	"text" "Next map is {SM_NEXTMAP}"
	}
	"4"
	{
	"type" "C"
	"text" "Current Map:{CURRENTMAP}"
	}
	"5"
	{
	"type" "C"
	"text" "Friendly fire is {BOOL:MP_FRIENDLYFIRE}."
	}
	"6"
	{
	"type" "S"
	"text" "{LIGHTGREEN}Besucht unsere Homepage: www.KriegsGeBiet.de"
	}
	"7"
	{
	"type" "S"
	"text" "{TEAM}Besucht unseren CS:S Server 93.186.199.121:27015"
	}
	"8"
	{
	"type" "S"
	"text" "{TEAM}=KGB= Teamspeak: 85.114.154.43:10047"
	}
	"9"
	{
	"type" "S"
	"text" "{TEAM} =KGB= KriegsGeBiet jetzt auch auf Facebook!!"
	}
	"10"
	{
	"type" "S"
	"text" "{TEAM}=KGB= CS:S Server 93.186.199.121:27015"
	}	
} 

_Gatsch_

Trainee

Posts: 65

Location: Österreich

Occupation: Mechatroniker

wcf.user.option.userOption53: Nein

  • Send private message

7

Saturday, April 6th 2013, 9:46am

Habe es jetzt bei CSS getestet die "T" bzw. Top Message funktioniert bei mir nicht sonst funktioniert alles.
Probier mal die Nachrichten ohne "T" mit irgendwas anderem, funktioniert denk ich dann.


Spoiler Spoiler

C A center message, like sm_csay.H A hint message, like sm_hsay.
M A menu message, like sm_msay, but without the title or the Exit-option. 0 will still hide the message though. Will block 1-9 from switching weapons as long as it's showing.
S A chat message, like sm_say. It supports the following colors: {DEFAULT}, {TEAM}, {GREEN} and {LIGHTGREEN}. {TEAM} and {LIGHTGREEN} unfortunately don't work together in a single advertisement, so it's one or the other. For example: {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}

T A top-left message, like sm_tsay. It supports one of the following colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN}, {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET} and {LIGHTBLUE}. You can omit the color if you just want the normal color. For example to have an orange message, set text to: {ORANGE} Text here


opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

8

Monday, April 8th 2013, 3:54pm

ok,
ich hab jetzt mal beim CS:S und CS:GO Server alles auf "C" und "S" geändert und "T" komplett weggelassen.
Ich werde wieder berichten obs geht.

Danke bis hierher :lovu:
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

9

Monday, April 8th 2013, 10:18pm

Sodala,

C geht auch nicht.
Es steht immer noch {BLUE} da, usw.

Hab jetzt mal alles auf S geändert.
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

10

Monday, April 8th 2013, 11:15pm

S geht auch nicht farbig.

Spoiler Spoiler

"Advertisements"
{
"1"
{
"type" "S"
"text" "Visit www.KriegsGeBiet.de"
}
"2"
{
"type" "S"
"text" "{LIGHTGREEN}Server-Anregungen? kgb@kriegsgebiet.de"
}
"3"
{
"type" "S"
"text" "Next map is {SM_NEXTMAP}"
}
"4"
{
"type" "S"
"text" "Current Map:{CURRENTMAP}"
}
"5"
{
"type" "S"
"text" "Friendly fire is {BOOL:MP_FRIENDLYFIRE}."
}
"6"
{
"type" "S"
"text" "{LIGHTGREEN}Besucht unsere Homepage: www.KriegsGeBiet.de"
}
"7"
{
"type" "S"
"text" "{RED}Besucht unseren CS:S Server 93.186.199.121:27015"
}
"8"
{
"type" "S"
"text" "{RED}=KGB= Teamspeak: 85.114.154.43:10047"
}
"9"
{
"type" "S"
"text" "{BLUE} =KGB= KriegsGeBiet jetzt auch auf Facebook!!"
}
"10"
{
"type" "S"
"text" "{RED}=KGB= CS:S Server 93.186.199.121:27015"
}
}
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

11

Tuesday, April 9th 2013, 7:53am

sieht mir eher nach einem Pluginfehler aus als ein Einstellungsfehler.

Quoted

Don't web-compile plugins source code.Compile using SM 1.5.x or download advertisements.smx from first post.

d.h. versuch nur mal die .smx zu downloaden (link) und probiers.

Greetz

sliqz

Intermediate

Posts: 409

Occupation: Kaufman im Einzelhandel

wcf.user.option.userOption53: Ja

  • Send private message

12

Tuesday, April 9th 2013, 9:36am

Ich glaube nicht das es ein Plugin Fehler ist. Da ich es selber benutze. Bei mir ist alles farbig was farbig sein sollte. Es kann auch sein das er nicht die aktuelle colors.inc hat ( hier )

MfG
sliqz

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

13

Tuesday, April 9th 2013, 9:46am

Ich glaube nicht das es ein Plugin Fehler ist. Da ich es selber benutze. Bei mir ist alles farbig was farbig sein sollte. Es kann auch sein das er nicht die aktuelle colors.inc hat ( hier )

MfG
sliqz
???
Das hab ich ja noch nie gehört.
ISt das auch für CS:GO?

Wo muss die colour.inc eingefügt werden?

Auf alle Fälle probiere ich die andere .smx Datei erstmal aus.
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

sliqz

Intermediate

Posts: 409

Occupation: Kaufman im Einzelhandel

wcf.user.option.userOption53: Ja

  • Send private message

14

Tuesday, April 9th 2013, 9:52am

Sodala,

C geht auch nicht.
Es steht immer noch {BLUE} da, usw.

Hab jetzt mal alles auf S geändert.
also wenn du dir die TXT genau anschaust wirst du sehen das bei C einstellung nicht möglich ist die farbe Blau zu verwenden.

Advertisements 0.5
by Tsunami

Types
-----
C: Center message

H: Hint message

M: Menu message

S: Say message
- Colors: {DEFAULT}, {TEAM} = Rot (Terror) Blau ( CT ) , {GREEN}, {LIGHTGREEN}
- Example: {GREEN}Besucht unseren CS:S Server {LIGHTGREEN}93.186.199.121:27015

T: Top message
- Colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
{ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {LIGHTBLUE}



C = Center message (farbe default)

ich habe bei dir alles S machen wollen damit ich sehen ob die Farben überhaupt gehen.


S = Say message

Hier kannst du die farben verwenden.


- Colors: {DEFAULT}, {TEAM}, {GREEN}, {LIGHTGREEN}
- Example: {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}


wenn du blau haben willst musst du T verwenden

T = Top message

und bei T kannst du die Farben verwenden.

- Colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
{ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {LIGHTBLUE}


MfG
sliqz


opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

15

Tuesday, April 9th 2013, 9:55am

sieht mir eher nach einem Pluginfehler aus als ein Einstellungsfehler.

Quoted

Don't web-compile plugins source code.Compile using SM 1.5.x or download advertisements.smx from first post.

d.h. versuch nur mal die .smx zu downloaden (link) und probiers.

Greetz
Die .sp Datei erstellt die sich automatisch?
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

16

Tuesday, April 9th 2013, 10:03am

ok,
habs jetzt mal folgendermaßen geändert und auch die colors.inc in den Ordner csgo/addons/sourcemod/scripting/include eingefügt.
Die war dort nicht vorhanden.

Anbei jetzt noch die aktuelle advertisements.txt, die ich leider erst heute Abend testen kann.

Source code

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
48
49
50
51
52
53
"Advertisements"
{
    "1"
    {
    "type" "S"
    "text" "{LIGHTGREEN}Visit www.KriegsGeBiet.de"
    }
    "2"
    {
    "type" "S"
    "text" "{LIGHTGREEN}Cheater auf dem Server? Mail an kgb@kriegsgebiet.de"
    }
    "3"
    {
    "type" "T"
    "text" "{LIGHTBLUE}Amazon Gutscheine zu gewinnen! Infos auf www.kriegsgebiet.de"
    }
    "4"
    {
    "type" "S"
    "text" "{LIGHTGREEN}Current Map:{CURRENTMAP}"
    }
    "5"
    {
    "type" "S"
    "text" "{LIGHTGREEN}Friendly fire is {BOOL:MP_FRIENDLYFIRE}."
    }
    "6"
    {
    "type" "S"
    "text" "{LIGHTGREEN}Besucht unsere Homepage: www.KriegsGeBiet.de"
    }
    "7"
    {
    "type" "T"
    "text" "{LIGHTBLUE}Amazon Gutscheine zu gewinnen! Infos auf www.kriegsgebiet.de"
    }
    "8"
    {
    "type" "S"
    "text" "{LIGHTGREEN}=KGB= Teamspeak: 85.114.154.43:10047"
    }
    "9"
    {
    "type" "S"
    "text" "{LIGHTGREEN}=KGB= KriegsGeBiet jetzt auch auf Facebook!!"
    }
    "10"
    {
    "type" "T"
    "text" "{LIGHTBLUE}Zocken und Gewinnen! 40 Euro Amazon Gutschein! Infos auf kriegsgebiet.de"
    }    
} 
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

This post has been edited 1 times, last edit by "opferkind" (Apr 9th 2013, 10:32am)


LeXx

Unregistered

17

Tuesday, April 9th 2013, 1:29pm

ok,
habs jetzt mal folgendermaßen geändert und auch die colors.inc in den Ordner csgo/addons/sourcemod/scripting/include eingefügt.
Die war dort nicht vorhanden.

Anbei jetzt noch die aktuelle advertisements.txt, die ich leider erst heute Abend testen kann.
Die .inc brauchst du nur zum compilen, wenn du die auf den GS packst bringt es dir garnix. Und die .sp ist auch unwichtig die braucht man nur zum anpassen.

Lg
LeXx

opferkind

Trainee

  • "opferkind" started this thread

Posts: 100

wcf.user.option.userOption53: Ja

  • Send private message

18

Tuesday, April 9th 2013, 2:40pm

Es ist zum Heulen. Ich Obernoob.
Hab seit 10 Jahen nen root, aber davon noch nie was gehört.
Was muss ich compilen?
Wie geht das?
www.KriegsGeBiet.de
93.186.199.121:27015 = KriegsGeBiet.de = | CS:Source

Newbie'

Professional

Posts: 580

Location: Zuhause

wcf.user.option.userOption53: Nein

  • Send private message

19

Tuesday, April 9th 2013, 2:44pm

Hallo,

Schau dir die ersten beiden Videos an klick mich
Ist nicht schwer.

MfG,
Newbie'

_Gatsch_

Trainee

Posts: 65

Location: Österreich

Occupation: Mechatroniker

wcf.user.option.userOption53: Nein

  • Send private message

20

Tuesday, April 9th 2013, 5:06pm

Compilen kannst du mit Pawn Studio.

Aber man braucht keine colors.inc auf den Server machen, das braucht man nur wenn man ein Plugin schreibt.

Füge deine Advertisements.txt datei einfach in sourcemod/configs ein

Und probiere mal Farben von hier: [MoreColors] (Bei mir funktionieren alle Farben von dort)


Similar threads