2018 Client crashed when clicking <ITEM> LINK in ItemInfo.lua

Hadeszeus

New member
Messages
651
Points
0
Location
Philippines
 I tried using &lt;ITEM&gt;Red Potion&lt;INFO&gt;501&lt;/INFO&gt;&lt;/ITEM&gt; and it showing a link to the item but clicking it will crash the client.
I know it's client limitation and I can't find diff in nemo to fix this issue.

Is there anyone who knows a 2018 client that &lt;item&gt; works? I'm using 2018-04-18.
 

Thanks!

 
 I tried using &lt;ITEM&gt;Red Potion&lt;INFO&gt;501&lt;/INFO&gt;&lt;/ITEM&gt; and it showing a link to the item but clicking it will crash the client.
I know it's client limitation and I can't find diff in nemo to fix this issue.

Is there anyone who knows a 2018 client that &lt;item&gt; works? I'm using 2018-04-18.
 

Thanks!
use &lt;ITEMLINK&gt; instead of &lt;ITEM&gt;

Sample

Code:
mes "&lt;ITEMLINK&gt;"+getitemname(512)+"&lt;INFO&gt;512&lt;/INFO&gt;&lt;/ITEMLINK&gt;";
 
Last edited by a moderator:
use &lt;ITEMLINK&gt; instead of &lt;ITEM&gt;

Sample

mes "&lt;ITEMLINK&gt;"+getitemname(512)+"&lt;INFO&gt;512&lt;/INFO&gt;&lt;/ITEMLINK&gt;";

mes "&lt;ITEMLINK&gt;"+getitemname(512)+"&lt;INFO&gt;512&lt;/INFO&gt;&lt;/ITEMLINK&gt;";

Kuys, thanks for the reply. I'm adding it in ItemInfo.lua file. I tried &lt;ITEMLINK&gt; but it's rendering as text while &lt;ITEM&gt; seems to be working except that when I clicked the link client crashed. 
 

 
idk why it crashing for you, but better use function F_MesItemInfo

like this

Code:
F_MesItemInfo(501)
 
idk why it crashing for you, but better use function F_MesItemInfo

like this

F_MesItemInfo(501)

F_MesItemInfo(501)

Hi 4144, thank you for your reply as well. Just want to clarify Im doing it on ItemInfo.lua (client side).

&lt;ITEM&gt;Red Potion&lt;INFO&gt;501&lt;/INFO&gt;&lt;/ITEM&gt;   &lt;--- this is crashing on 2018-04-18b client that I used. So probably a client issue that needs hex? just want to ask if there's another client (newer) that might support this.

 
The same trouble. When trying to use item link in item description (written in ItemInfo.lua), it crashes the client. In scripts it works well. If anyone have solution on this issue, please advise, will be highly appreciated. 🙏

 
Back
Top