[Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, f*ckfish, Assembler Maniac, TM-Patrol

UNP-Gadget
cyclist
cyclist
Posts: 43
Joined: 15 Jan 2007 20:41
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by UNP-Gadget » 21 Jun 2008 09:41

I have installed the Hud it works great--thanks. I would now like to remove the aseco button from the top left of the screen as it now no longer needed. Can anyone steer me in the right direction? Thanks

Also--I seem to have lost the ability to chat--in game using the space bar and typing--does not show on-screen--any ideas?

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by f*ckfish » 21 Jun 2008 17:18

UNP-Gadget wrote:I have installed the Hud it works great--thanks. I would now like to remove the aseco button from the top left of the screen as it now no longer needed. Can anyone steer me in the right direction? Thanks
Remove <plugin>plugin.statusbar.php</plugin> from plugins.xml.
UNP-Gadget wrote:Also--I seem to have lost the ability to chat--in game using the space bar and typing--does not show on-screen--any ideas?
Maybe you accidentaly muted yourself (there's an "ignore" feature)
inactive, sorry

UNP-Gadget
cyclist
cyclist
Posts: 43
Joined: 15 Jan 2007 20:41
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by UNP-Gadget » 21 Jun 2008 18:21

Ty m8--I feel a right "Dick" lol
Forgot i did that !

User avatar
Cherimoya
pedestrian
pedestrian
Posts: 13
Joined: 18 May 2008 22:39
Owned TM-games: TMN:F TMU:F
Location: Netherlands
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by Cherimoya » 29 Aug 2008 22:59

Just a post to tell you that your menu works great for us :wink:

I added several menu-items in the meantime and it works like a charm every time. Thanks. :thumbsup:

Image
FSR Shorties 0-60000 -> join , FSR Dinky 0-60000-> join

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 31 Aug 2008 21:17

Here a preview of the work I did this summer
Image

İt has reseblence to fish menu at Xaseco But I put this image before him :D or at least didn't know of his work while doing mine.

There is still some small work to do. Side images ara put automatically but can be overwritten I need to do that for Coopers menu and will need to do something to be able to put image I want to TMX for exemple.

Static Button compability was olso added. NextMap and Restart is one of them more can be added and styles.... are just configurable
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 11:21

Image

here it is nearly ready.
Should be realesd this afternoon last checks :D

NEW:
Side images:
-For Menus
-For Links
-For Manialinks
-Special. Just set it yourself in the XML with style="" substyle=""
Attributes:
-For side image style="" substyle="" atrributes were added
-For costom image as side image image="" imagefocus="" atrributes were added
-Link attribute Link=""
-Manialink attribute ManiaLink=""

________________________________________________________________
________________________________________________________________

HOW TO YOU USE ATTRIBUTESNot New but for explaining :)
<button /> is formed of this attributes you give to it.
caption:The Name of the Menu, the Button. 2 different Menu can't have the same Caption as the caption defines that menu.
Chat:Will make work the button as if you had entered that Chat.
plugin:If the button had to call a function, specifie in which plugin is the function.
function:The Function to call in the specified plugin.
Link:Just enter the link that should open on click of that button
ManiaLink:The Manialink to open on click of that button
style:Use Costom side images by setting it style. Must be used with substyle.
substyle:Use Costom side images by setting it substyle. Must be used with style.
image:For having Special home made side image
imagefocus:For having Special home made side image. I don't thik the imagefocus does work
authorize:Sets up ho is authorized to use the button. Takes admin grup name having permission to use it
Entry:TRUE/FALSE if true the button want work if you don't save something to send to the function it calls.
Last edited by oliverde8 on 02 Sep 2008 12:21, edited 2 times in total.
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by f*ckfish » 02 Sep 2008 12:02

Nice =)
inactive, sorry

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 13:26

ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 13:33

First download :oops: a small error of version, forgot to change version number in the file :? just at start it is. New Downloads are OK
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
Fisch.666
happy cruiser
happy cruiser
Posts: 136
Joined: 18 May 2006 01:13
Owned TM-games: TMU, TMN, TMUF, TMNF
Location: Germany
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by Fisch.666 » 02 Sep 2008 13:46

Hi!

I get this error:

Code: Select all

[02-Sep-2008 15:43:51] PHP Fatal error:  Call to a member function asXML()  on a non-object in /path/to/plugins/oliverde8.Hud.menu.php on line 296
after i've updated the menu from 1.3.2 to 1.4 on my debian testing server with php 5.2.0 and Aseco 2.2.0c. Any ideas what this error means?

Thanks in advance for an reply.

*Edit*

Ah, and on your homepage you have there's a version error too... (1.34 instead of 1.4)

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 14:15

Fisch.666 wrote:Hi!

I get this error:

Code: Select all

[02-Sep-2008 15:43:51] PHP Fatal error:  Call to a member function asXML()  on a non-object in /path/to/plugins/oliverde8.Hud.menu.php on line 296
after i've updated the menu from 1.3.2 to 1.4 on my debian testing server with php 5.2.0 and Aseco 2.2.0c. Any ideas what this error means?

Thanks in advance for an reply.
Hi
I think that means that your php version is old. 5.2.5 is the latest version.

For the moment to make it work: delete everything between line 296 and 300 and put there

Code: Select all

$this->settings["style"]["MenuCode"]='	<quad sizen="10 3" posn="118 -1 0" style="Bgs1InRace" substyle="BgCardSystem" action="{name:Hide,param:1}"/>
			<label sizen="5 3" posn="122 -1.5 0" textsize = "2.5" text="MENU"/>
			<quad 	sizen="3.1 2.9" 
					posn="119 -1.51 1" 
					style="Icons128x128_1" 
					substyle="United"/>';
		
		$this->settings["style"]["AdminMenuCode"]='<quad sizen="10 3" posn="118 -4 0" style="Bgs1InRace" substyle="BgCardSystem" action="{name:Hide,param:0}"/>
			<label sizen="5 3" posn="122 -4.5 0" textsize = "2.5" text="Admin"/>
			<quad 	sizen="3.1 2.9" 
				posn="119 -4.5 1" 
				style="Icons128x128_1" 
				substyle="Padlock"/>
				
			<quad sizen="3.7 3.7" posn="119.5 -7 0" style="Icons64x64_1" substyle="Refresh" action="{name:Admin,param:1}"/>
			<quad sizen="3.7 3.7" posn="123 -7 0" style="Icons64x64_1" substyle="ArrowLast" action="{name:Admin,param:0}"/>';
The lines that will be deleted are

Code: Select all

$this->settings["style"]["MenuCode"]=strval($buttons->style->MenuCode->asXML());
		$this->settings["style"]["MenuCode"]=str_replace(array('<MenuCode>', '</MenuCode>'), '', $this->settings["style"]["MenuCode"]);
		
		$this->settings["style"]["AdminMenuCode"]=strval($buttons->style->AdminMenuCode->asXML());
		$this->settings["style"]["AdminMenuCode"]=str_replace(array('<AdminMenuCode>', '</AdminMenuCode>'), '', $this->settings["style"]["AdminMenuCode"]);
Fisch.666 wrote: *Edit*

Ah, and on your homepage you have there's a version error too... (1.34 instead of 1.4)
Thanks a lot Corrected it
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

Xymph
Pit Crew
Pit Crew
Posts: 5650
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by Xymph » 02 Sep 2008 17:09

oliverde8 wrote:I think that means that your php version is old. 5.2.5 is the latest version.
Actually, it's 5.2.6. :wink:
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 17:14

Xymph wrote:
oliverde8 wrote:I think that means that your php version is old. 5.2.5 is the latest version.
Actually, it's 5.2.6. :wink:
I am olso behind :roflol:
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 17:53

OKAY some of us have some trouble with new version.

THe code below must be added in the XML

Code: Select all

<style>
		<BackGround>
			<SizeX>16</SizeX>
			<SizeY>2.3</SizeY>
			<style>Bgs1InRace</style>
			<substyle>BgCardSystem</substyle>
		</BackGround>
		<Text>
			<size>1.3</size>	
			<SizeX>14</SizeX>
			<SizeY>3</SizeY>			
		</Text>
		<Icon>	
			<SizeX>3.1</SizeX>
			<SizeY>2.7</SizeY>			
		</Icon>
		<!--*******************************************************************************************************-->
		<!--Please don't touch Action atributes-->
		<MenuCode>
			<quad sizen="10 3" posn="118 -1 0" style="Bgs1InRace" substyle="BgCardSystem" action="{name:Hide,param:1}"/>
			<label sizen="5 3" posn="122 -1.5 0" textsize = "2.5" text="MENU"/>
			<quad 	sizen="3.1 2.9" 
					posn="119 -1.51 1" 
					style="Icons128x128_1" 
					substyle="United"/>
		</MenuCode>
		<!--Please don't touch Action atributes-->
		<!--Action of Replay Map:{name:Admin,param:1}-->
		<!--Action of Next Map:{name:Admin,param:0}-->
		<AdminMenuCode>
			<quad sizen="10 3" posn="118 -4 0" style="Bgs1InRace" substyle="BgCardSystem" action="{name:Hide,param:0}"/>
			<label sizen="5 3" posn="122 -4.5 0" textsize = "2.5" text="Admin"/>
			<quad 	sizen="3.1 2.9" 
				posn="119 -4.5 1" 
				style="Icons128x128_1" 
				substyle="Padlock"/>
				
			<quad sizen="3.7 3.7" posn="119.5 -7 0" style="Icons64x64_1" substyle="Refresh" action="{name:Admin,param:1}"/>
			<quad sizen="3.7 3.7" posn="123 -7 0" style="Icons64x64_1" substyle="ArrowLast" action="{name:Admin,param:0}"/>
		</AdminMenuCode>
	</style>	
Last edited by oliverde8 on 02 Sep 2008 18:03, edited 1 time in total.
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco2.0]oliverde8 hud(MAINLY:Admin Menu, Player Menu)

Post by oliverde8 » 02 Sep 2008 18:02

^^Changed again the Download CHanging the XML will make everything work :thumbsup:

SOrryy for errors :oops: :oops: :oops: :oops: :oops:

AND THanks a lot to J-S for his help to find the probleme
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

Post Reply