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-nmm7 (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-nmm7 (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-nmm7 (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
Makersname or Craftedby clientTooltip issue
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
Makersname or Craftedby clientTooltip issue
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...
(This post was last modified: 06-17-2014 06:17 AM by kn4tseb.)
06-17-2014 06:14 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: Makersname or Craftedby clientTooltip issue
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.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
06-18-2014 09:00 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: Makersname or Craftedby clientTooltip issue
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
06-18-2014 12:18 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Makersname or Craftedby clientTooltip issue
MakersMark should hold 0/1 to display the crafter's name.

CraftedBy should hold the crafter's uid.
06-18-2014 03:47 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #5
RE: Makersname or Craftedby clientTooltip issue
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!
06-19-2014 01:45 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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