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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item property gump need help
Author Message
alucardxlx1986
Apprentice
*

Posts: 14
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #12
RE: Item property gump need help
(01-22-2016 01:02 AM)rastrero Wrote:  this is ur script fixed. should work

[ITEMDEF i_testchineseitem1]
ID=0108a
TYPE=T_CHNITEMNAME
ON=@Create
NAME=testchinese 中文
COLOR=481

[TYPEDEF T_CHNITEMNAME]
ON=@CLICK
message @160,,1 <NAME>
timerf 1,chniteminfo <uid> //fix 1 send the item uid to the next function u call it later.
return 1

[Function chniteminfo]
tag0.itemprops=<args> //fix4 safe the uid into the character to call it later.
src.dialog d_iteminfochn
timerf 3,closechniteminfo
return 0

[Function closechniteminfo]
SRC.DIALOGCLOSE d_iteminfochn

[dialog d_iteminfochn]
800, 600
PAGE 0
resizepic 0 0 83 300 400
text 97 14 1152 0
ref12=<uid.<tag0.itemprops>> // //fix5 Set ref12 as fast way to call the item.
tag0.imtemprops= // //fix 6 erase tag
dtext 21 42 1152 <ref12.name> //// //fix7 call the item name



//////////////////////////////////// Another way u can test:

[Function chniteminfo]
uid.<args>.dialog d_iteminfochn //or using a trysrc if it dosnt work.
timerf 3,closechniteminfo
return 0

thx a lot dud,i have no game in my office pc..,i'll try it!

(01-22-2016 03:34 PM)evening Wrote:  yes use AOS tooltips

咱中国人就不用说英语了吧

(01-21-2016 10:21 PM)Kanibal Wrote:  
Code:
[ITEMDEF i_testchineseitem1]
ID=0108a
TYPE=T_CHNITEMNAME
ON=@Create
NAME=testchinese 中文
COLOR=481

ON=@CLICK  
message @160,,1 <NAME>
sdialog d_iteminfochn
src.timerf 3,dialogclose d_iteminfochn
return 1

[dialog d_iteminfochn]
800, 600
resizepic 0 0 83 300 400
dtext 97 14 1152 <name>
dtext 21 42 1152 <name>

[EOF]

dude,thx all the same

(01-22-2016 03:00 AM)karma Wrote:  Have you considered AOS tooltips?

I used AOS item tooltips,the ITEM's Name cannot shows Chinese,I don't know why...so I want make it in other way like I said...
I know cliloc can show Chinese,but custom name and others...you know that...

hi,rastrero,one more question

the "other props" just like the "name" way?
with ref?
(This post was last modified: 01-22-2016 04:47 PM by alucardxlx1986.)
01-22-2016 04:36 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Item property gump need help - Kanibal - 01-21-2016, 09:04 PM
RE: Item property gump need help - Kanibal - 01-21-2016, 09:51 PM
RE: Item property gump need help - Kanibal - 01-21-2016, 10:04 PM
RE: Item property gump need help - Kanibal - 01-21-2016, 10:21 PM
RE: Item property gump need help - alucardxlx1986 - 01-22-2016 04:36 PM
RE: Item property gump need help - karma - 01-22-2016, 03:00 AM
RE: Item property gump need help - evening - 01-22-2016, 03:34 PM
RE: Item property gump need help - Kanibal - 01-25-2016, 06:40 PM
RE: Item property gump need help - evening - 01-25-2016, 01:15 PM
RE: Item property gump need help - evening - 01-25-2016, 04:52 PM

Forum Jump:


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