TheGahl
Learning in Progress
- Joined
- Jul 28, 2018
- Messages
- 200
- Solutions
- 3
- Reaction score
- 124
I'm trying to understand how OTClient works and now I'm stuck at another problem I've spent the whole day trying to figure out.
I'm trying to create a window, similar to message of the day.
Within that window I have a square box there I'd like to display a random item.
But I have no idea how to actually display the item.
I know how to show images from otclient image folder, but I need to figure out how to display images from the .dat and .spr file.
As long I've experimented I've tried functions like "box:setItemId(666)", but I don't know how to properly use them.
Could anyone please tell me how to display any item from the game by a given id (game id, or client id, doesn't matter which)
Thanks in advance!
I'm trying to create a window, similar to message of the day.
Within that window I have a square box there I'd like to display a random item.
But I have no idea how to actually display the item.
I know how to show images from otclient image folder, but I need to figure out how to display images from the .dat and .spr file.
As long I've experimented I've tried functions like "box:setItemId(666)", but I don't know how to properly use them.
Could anyone please tell me how to display any item from the game by a given id (game id, or client id, doesn't matter which)
Thanks in advance!