Page 1 of 1

Where to find this system?

Posted: Wed Jun 27, 2007 6:51 am
by Juzeph
Image

The image shows the data in Portuguese, more gave to intender the system.

I look this system for implements it in mine shard.

It still consumes much memory and processing?

Posted: Wed Jun 27, 2007 4:00 pm
by Yukiko
Buttons are graphics in the gumpart.mul file so you'd have to use a program like Photoshop to add the Portugese text to them

Posted: Wed Jun 27, 2007 7:33 pm
by Juzeph
I did not ask as it edits a verdata.mul or a gumpart.mul.



I wanted to know of that menu.
A Machado
Dano 3 - 18
Velocidade 35
Habilidade Usada Sword
Durabilidade 100 / 100
In English it would be.
An Axe
Dmg 3 - 18
Speed 35
Skill Sword
Durability 100 / 100
^^

It would like to make something similar in my server.

This system still consumes much processing and memory in the pol096??

My server it is made in Core 097.

Posted: Wed Jun 27, 2007 7:50 pm
by Yukiko
Is that using the armslore skill to give you that gump?

Whatever skill is displaying that information is using a gump to show it to you. There are some nice gump functions written in the 0.97 Distro and there is a gump tutorial on the docs page of this site if you want to make gumps the pre-Distro 0.97 way.

Should not take a lot of processing or memory to display that kind of information.

I hope that helps.

Posted: Wed Jun 27, 2007 7:59 pm
by OldnGrey
I am not sure if you have tooltips enabled on your shard and want to edit them, or you want to know how to install them.

If you don't have tooltips, then look in the "Custom Script Releases" forum, and get the "Tooltip packet hook". The tooltips.src file contains only the bare packet hook. You will need to add the tests for each thing you want to display.

For example, here is the code that would display the line "locked" if a container is locked:

Code: Select all

		if ( xObject.IsA(POLCLASS_CONTAINER) )
			if ( xObject.locked )
				xDesc := xDesc + Html + "Locked" + "<br";
			endif
		endif
Add other lines to get and display the information you want. Each shard would have its own information, so there was no way to provide it all in one general purpose script.

The key to minimising the RAM growth is to shorten the data string being sent to the player each time. The less data, the less RAM growth. You can't stop it, but you can control it somewhat.

Posted: Wed Jun 27, 2007 8:16 pm
by Juzeph
Tanks, I am starting to intender.

Posted: Thu Jun 28, 2007 5:29 am
by Juzeph
Sorry, but...

How active the ToolTip?

Core 097, Made of the zero!! ^^

Posted: Thu Jun 28, 2007 5:41 am
by Unfaithful
packethook

Posted: Thu Jun 28, 2007 5:49 am
by OldnGrey
You cannot just 'enable' tooltips.
You have code them with a packethook. That's what I posted above.

Posted: Thu Jun 28, 2007 4:11 pm
by Juzeph
Yes, I implemented megacliloc, but, exactly thus it does not appear no information in no item.

Posted: Thu Jun 28, 2007 4:29 pm
by MontuZ
Did you enable AOS on the account and send the correct packet to enable AOS for the client?

Posted: Thu Jun 28, 2007 5:10 pm
by Juzeph
yeah..

Code: Select all

Account
{
	Name	admin
	Password	admin
	Enabled	1
	Banned	0
	DefaultCmdLevel	test
	UOExpansion	AOS
	CProp	createAt s17 de Junho, 2007  02:00:00
	CProp	email sjuzeph@gmail.com
}
The version of mine uo is ML.
POL Core 097
a
^^

e o?
C:\POL\config\ServerSpecOpt.cfg

Posted: Thu Jun 28, 2007 5:35 pm
by OldnGrey
But did you enable the AOS features in the core with servspecopt.cfg?

UOFeatureEnable=0x20