PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
"Bug" in pcs names in aos tooltips

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Feature Suggestions
Display posts from previous:   

Author Message
Bracco



Joined: 28 Dec 2006
Posts: 80

PostPosted: Sat Jan 20, 2007 6:47 am    Post subject: "Bug" in pcs names in aos tooltips Reply with quote

hi there, i remembered just yesterday, but i know it from some years ago...

the way pol sends the character name with aos tooltips enabled is wrong..

nowadays it is:
Code:
who.title_prefix who.name who.title_suffix




but it should be:
Code:

who.name
who.title_guild, guildname




which is the correct, standard aos way

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sat Jan 20, 2007 11:02 am    Post subject: Reply with quote

Will look at it this weekend if I can get some free time. Trying to split time between core and distro, so wish me luck Smile

Author Message
Bracco



Joined: 28 Dec 2006
Posts: 80

PostPosted: Sat Jan 20, 2007 11:08 am    Post subject: Reply with quote

gl then Very Happy

btw, i think fixing this leads to 2 problems (core side)

1)guild object has no name member, nor character object... so a .guildname member should be implemented in order for it to work (now ppl just store guildname into some prop, which obviously the core can't know)
2)the core should check also title_guild and guildname when taking care of 0xD6 revision number (i still don't fully understand how it works, btw it was discussed in the 0xD6 megacliloc packethook in the custom script forums)

Author Message
Bracco



Joined: 28 Dec 2006
Posts: 80

PostPosted: Thu Jan 25, 2007 4:48 pm    Post subject: Reply with quote

hm, now that i think of it again, it may be better to have this handled script side. let me explain:

nearly every item/mob has some kind of information to show other than the name (i mean, with tooltips aos style), and they all use the same 0xD6 packet... so it coul be way quicker and flexible if uobject could have a new memeber, something like uobject.description which stores this kind of data that is sent inside 0xD6 packet.

so in your script you can add everything you want (mind that text has an html-like format) and the core just need to send it inside 0xD6 (and to take care of revision number, or whatever it is just when you change uobject.description, maybe with a method like uobject.SetDescription)

seems to me a very clean, simple and flexible way to fix this and to handle every other object description. Only downside is memory occupation of this kind of description Sad

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Thu Jan 25, 2007 11:35 pm    Post subject: Reply with quote

Actually, I plan on EVENTUALLY making some form of config to help with this. So far it's just eluded me the best way to make this. Everything about the config will technically be hardcoded. It will just have to let you fill in the blanks so to speak. It may end up NOT getting done at all, but who knows.

And yes, the only guild info we can pull is title_guild, that's it.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Feature Suggestions All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty