SphereCommunity
Makersname or Craftedby clientTooltip issue - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Makersname or Craftedby clientTooltip issue (/Thread-Makersname-or-Craftedby-clientTooltip-issue)



Makersname or Craftedby clientTooltip issue - kn4tseb - 06-17-2014 06:14 AM

hello mates, once again i come to you, im having this little issue and i havent been able to fix.

first i dont understand the difference between Craftedby and makersmark, reading the "new variables thread" it says makersname should be set on item's itemdef, which value should i give them?, and where is craftedby suppose to be and what string should i set...

i'm using TEvents and tooltip.scp made by Extreme i think..

the firstone has this value for tooltips:
IF !(<ISEMPTY <CraftedBy>>)
SRC.ADDCLILOC 1050043,<CraftedBy>
ENDIF

and the second one this:
IF (STRCMP("<MakersName>","0")==0)
SRC.ADDCLILOC 1050043,<MakersName>
ENDIF

but i havent been able to make it appear...
my second question is aboul can_i*

if an item has a can_i_makersmark or can_i_excepcional flag set
i suppose this can be softcored scripted to set conditions... like skills or whatever, am i correct???
well, thats all, thank again for verything Smile


PD: I DID Search for this in the forum, no threads about are made Smile xD...


RE: Makersname or Craftedby clientTooltip issue - Ben - 06-18-2014 09:00 AM

One thing you still have not understood yet is that most of the new variables have no hardcoded behavior yet.
You would have to read the revisions file to see which one has been hardcoded.


RE: Makersname or Craftedby clientTooltip issue - kn4tseb - 06-18-2014 12:18 PM

well, ..typedef_equipitem and new variables thread show which ones have and have not been, so even if they arent hardcored (it doesnt say) im still wandering about makersmark vs craftedby xd

thank Ben Wink


RE: Makersname or Craftedby clientTooltip issue - XuN - 06-18-2014 03:47 PM

MakersMark should hold 0/1 to display the crafter's name.

CraftedBy should hold the crafter's uid.


RE: Makersname or Craftedby clientTooltip issue - kn4tseb - 06-19-2014 01:45 PM

I understand, so if makersmark is set to 0 will prevent that the name of the crafter gets into the name of the crafted item....
hardcoded behavior has a makersmark chance when a crafting skill has reached the 100.0, would be to much to request an attr_makersmark as it was done with imbue, enchant, repair, etc etc?
Smile

ty! the idea is to have a bit of more control of how or when a player can get a makersmark Smile
Thank you again!