You are not logged in.

1

Friday, March 19th 2010, 10:20pm

Map Advert problems

Hello guys and gals

I am freaking out with the map adverts.
I read already the tutorial in the mani admin plugin forum, but I must be doing something wrong.
so I am here to ask for help.

my server has zblock enabled and sv_pure 1... however I already edited the whishlist to allow decals. I know so, because I tested it with ma_decal mani_logo and it worked fine.

here are my files:
Decallist.txt

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
"decallist.txt"
{
	"mani_logo"	"decals/custom/mani_admin_plugin/mani_logo"
	"og_logo"	"decals/custom/og_logo/og_logo"

	"downloads"
	{
		"mani_logo.vmt"		"materials/decals/custom/mani_admin_plugin/mani_logo.vmt"
		"mani_logo.vtf"		"materials/decals/custom/mani_admin_plugin/mani_logo.vtf"
		"og_logo.vmt"		"materials/decals/custom/og_logo/og_logo.vmt"
		"og_logo.vtf"		"materials/decals/custom/og_logo/og_logo.vtf"
	}
}


Downloads.txt:

Source code

1
2
3
4
5
6
7
8
9
10
"downloads.txt"
{
	"downloads"
	{
		"chicken"	"sound/ql/chicken.wav"
		"beacon"	"sound/schu/beacon.wav"
		"og_logo"	"materials/decals/custom/og_logo/og_logo.vmt"
		"og_logo"	"materials/decals/custom/og_logo/og_logo.vtf"
	}
}


Mapadverts.txt

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
"mapadverts.txt"
{
	"aim_deagle"
	{
		"og_logo"
		{
			"x" "159.19362"
			"y" "91.23252"
			"z" "294.18958"

			"x" "440.38876"
			"y" "-928.09064"
			"z" "292.09470"

			"x" "1258.08411"
			"y" "-446.48456"
			"z" "194.39662"

			"x" "-544.77100"
			"y" "-545.79272"
			"z" "172.50719"
		}
	}
}


og_logo.vmt

Source code

1
2
3
4
5
6
7
"LightmappedGeneric"
{
    "$basetexture" "decals/custom/og_logo/og_logo"
    "$decal" 1
    "$decalscale" 0.5
    "$translucent" 1
}


Since the problem could be the vtf file, here is the link: http://www.offensivegaming.de/downloads/og_logo.vtf, in case someone is willing to test it.

rain

Super Moderator

Posts: 1,410

Location: Lutherstadt Wittenberg

Occupation: Anlagenmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

2

Friday, March 19th 2010, 10:44pm

Re: Map Advert problems

Is this activated on your mani_server.cfg?

// 1 = turn on map adverts, 0 = turn off map adverts
mani_map_adverts 1





3

Friday, March 19th 2010, 10:54pm

Re: Map Advert problems

yes.
I do see the mani logo with ma_decal mani_logo, but not mine with ma_decal og_logo

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

4

Saturday, March 20th 2010, 8:00am

Re: Map Advert problems

Hi, wellcome on our board.

The positions in your mapadverts.txt are wrong.
Try this mapadverts.txt:

mapadverts.txt

"mapadverts.txt"
{
"aim_deagle"
{
"og_logo"
{
"x" "1347.96875"
"y" "122.16700"
"z" "256.92685"


"x" "1347.96875"
"y" "-166.19122"
"z" "259.62375"


"x" "1347.96875"
"y" "-550.66895"
"z" "263.21960"


"x" "1347.96875"
"y" "-976.25189"
"z" "267.19992"


"x" "1187.78455"
"y" "-1259.96875"
"z" "272.85333"


"x" "726.47949"
"y" "-1259.96875"
"z" "275.03256"


"x" "202.46458"
"y" "-1259.96875"
"z" "284.90338"


"x" "-411.94315"
"y" "-1259.96875"
"z" "285.16360"


"x" "-632.96875"
"y" "-1042.46924"
"z" "265.45251"


"x" "-632.96875"
"y" "-685.44232"
"z" "268.21942"


"x" "-632.96881"
"y" "-165.25446"
"z" "272.25079"


"x" "-632.96875"
"y" "201.63469"
"z" "280.33328"


"x" "-348.22391"
"y" "397.96872"
"z" "296.08255"


"x" "25.57111"
"y" "397.96872"
"z" "300.41989"


"x" "400.61307"
"y" "397.96878"
"z" "300.16479"


"x" "929.27222"
"y" "397.96875"
"z" "299.80527"
}
}
}


For more more usability you can use the SourceMod-Plugin Map Adverts: http://forums.alliedmods.net/showthread.php?p=607043">http://forums.alliedmods.net/showthread.php?p=607043</a>

You can add or delete your Decals with the Adminmenu.

5

Saturday, March 20th 2010, 11:30am

Re: Map Advert problems

Thanks for the tip.
But shouldn't I be able to see the map advert when I aim at a wall at typ in the console ma_decal og_logo?
because I don't.

6

Saturday, March 20th 2010, 11:57am

Re: Map Advert problems

Missing filename in your vmt???

og_logo.vmt


"LightmappedGeneric"
{
"$basetexture" "decals/custom/og_logo/og_logo.vtf"
"$decal" 1
"$decalscale" 0.5
"$translucent" 1
}
Für LEute die nicht verlieren können, cheatet die ganze Welt!

=Freie Allianz kranker Krieger= Onlinefungaming seit 1999

7

Saturday, March 20th 2010, 12:13pm

Re: Map Advert problems

Thanks for the help biggiman.
I will test it as soon as possible.

I am surprised tho...
The .vtf extension in the .vmt file was never mentioned in this two examples I read:
http://www.mani-admin-plugin.com/forums/…p?topic=20111.0
http://www.sourceserver.de/viewtopic.php?p=13711

I will post back after I test it.
Thanks

8

Saturday, March 20th 2010, 12:36pm

Re: Map Advert problems

found it here: http://www.rasch-clan.de/index.php?ServerlogoTutorial">http://www.rasch-clan.de/index.php?ServerlogoTutorial</a>

but the file on our server haven't an ending in .vmt also, and it worked.

Have your client downloaded the logofile properly?
Watch your folders.
Für LEute die nicht verlieren können, cheatet die ganze Welt!

=Freie Allianz kranker Krieger= Onlinefungaming seit 1999

9

Saturday, March 20th 2010, 1:05pm

Re: Map Advert problems

Yes. File is downloaded just fine.
I tried editing the downloaded decal and use it as a spray. and it worked

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

10

Monday, March 22nd 2010, 2:27am

Re: Map Advert problems

Quoted from ""OGChev""

my server has zblock enabled and sv_pure 1... however I already edited the whishlist to allow decals. I know so, because I tested it with ma_decal mani_logo and it worked fine.


Please connect on your server, type sv_pure in your clientconsole an post here the output.

11

Monday, March 22nd 2010, 3:13am

Re: Map Advert problems

The server is using sv_pure = 1.

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

12

Monday, March 22nd 2010, 6:22am

Re: Map Advert problems

Not in your serverconsole. Type the Command ingame without Rcon when you are plaing on the server.

13

Monday, March 22nd 2010, 2:38pm

Re: Map Advert problems

Exactly what I did... and the complete output:

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
] sv_pure
--------------------------------------------------------
sv_pure:

If set to 1, the server will force all client files except the whitelisted ones (in pure_server_whitelist.txt) to match the server's files. 

If set to 2, the server will force all client files to come from Steam (and it will not load pure_server_whitelist.txt).


The server is using sv_pure = 1.
materials\...                    	from_steam
models\...                       	from_steam
sound\...                        	from_steam
models\player\...                	allow_from_disk
materials\models\player\...      	allow_from_disk
materials\temp\...               	allow_from_disk
materials\vgui\logos\...         	allow_from_disk
materials\vgui\logos\ui\...      	allow_from_disk
materials\decals\custom\...      	allow_from_disk
sound\admin_plugin\...           	allow_from_disk
sound\ql\...                     	allow_from_disk
sound\quake\...                  	allow_from_disk
sound\schu\...                   	allow_from_disk