The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gump Hue and Partial Hue and tooltip
Author Message
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #1
Gump Hue and Partial Hue and tooltip
hello,

at the moment I scripted a new paperdoll for my shard.
there I found a little problem/Bug (maybe).
the one is, when you use gumppic and the hue, this seeems to be buggy.
for example I want to display the skin body gump 0xd from he player with the skin color (not oskin).
I tried to use this one

Code:
gumppic 85 85 <f_check_body <isgm>,<obody>,<tag0.race>> <eval <color>>

and it displayed the wrong hue. even the color number is minus one.
for better understanding here is the code how it works.

Code:
gumppic 85 85 <f_check_body <isgm>,<obody>,<tag0.race>> <eval <color>-1>

as you can see I have to do this with minus 1 to display the right color.

another problem is that I can´t display the gump in partial hue.
the skin gump has an underwear which will not be colored in the hardcoded paperdoll but when I use it via a "sphere" gump the underwear got the same color of the skin.
maybe there is an option for a new feature to add it to the sphere code?
and is there a chance to put an tooltip in the gump not via clilocid like

Code:
tooltip <findlayer(1).name>
because we can do it too in the tooltip trigger for an item/character.


gr

phoenix
05-27-2012 08:42 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #2
RE: Gump Hue and Partial Hue and tooltip
another bug (or not)
if you put more than one armor, clothing and/or weapon gumppic over and over and you wanna put seperatly an tooltip for this gumppic you only get the tooltip message from the last gumppic you put there
for example

Code:
gumppic 10 10 <hval 036f>
tooltip 300350
gumppic 10 10 <hval 0370>
tooltip 300351 <-- only this tooltip is shown

the reason is that the gump size of all weapons/clothing/armor and so on have the same picture size and tooltip don´t ignore the black area of the gump.
that´s the reason why you can´t use buttons with those gumps/pic. maybe this can be fix for example no reaction if the hue is #0?
because in the hardcoded paperdoll it works Smile

gr

phoenix

ps: any dev around here?
05-30-2012 05:31 AM
Find all posts by this user Like Post Quote this message in a reply
Valios
Super Moderator
****

Posts: 390
Likes Given: 0
Likes Received: 12 in 9 posts
Joined: Mar 2010
Reputation: 6

Sphere Suite 2013

Post: #3
RE: Gump Hue and Partial Hue and tooltip
phoenix... c'mon do not dissapoint me. Emulating the paperdoll server-side is not a good idea and you may know that. You're totally ignoring what client do wich is the most essential part. You'll always have limitations because the rules are set by the client and not viceversa. You cannot expect it to work 100%.

Server doesn't know about underwears. A solution for you? crop the underwear and create a new gump for it then you give it a higher z in your dialog.
05-31-2012 02:18 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #4
RE: Gump Hue and Partial Hue and tooltip
Hi Valios,

thanks for answer.
Yes, there are a lot of things that will not work like open option menu or unequipping the clothes via "drag/drop" and underwear (does anybody need this??*g*).
Lot of things can be used via makro like opening the option menu so that is not the problem (I think so).
For me it is a test and maybe it works with some losing.
but maybe we can live with it?
it is an experiment. let me give this a try Smile

but cropping the undewear can be a solution for the underwear problem Smile
maybe that´s a good idea. I can use this body http://www.uo-pixel.de/gump/daji_nakedei5/ and create one underwear Smile
so why not *g*
at the moment I can use so many layer I need that means tattoos, race skins, quiver, weapons on back, wings ....
with the hardcoded things I have to use the layer 20 (maybe) for some things and then I can´t use it for the cap
take a look at the pictures. First try and it is not finished.
   
05-31-2012 04:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)