Jump to content
Sign in to follow this  
champ

Assigning items in real time

Recommended Posts

Created a tool that handles requests and sends them to the server which then validates data and executes an appropriate action. Might release it later. Currently supports only GiveItem but I reckon I should be able to add a lot more. Any suggestions on what else can be done?

 

Edited by patrick13

Share this post


Link to post
Share on other sites
10 hours ago, Spidpex said:

What about a function to give gold, or to retrive items from player's inventory?

Adding gold is definitely doable, retrieving cha items should be possible as well but I assume it'd be a bit more complex.

Share this post


Link to post
Share on other sites
On 6/13/2019 at 2:18 PM, Spidpex said:

What about a function to give gold, or to retrive items from player's inventory?

its done in lua long time ago
i did one for give /take items from player too works like this
/senditem playername,itemid,qty
/takeitem playername,itemid,qty or can use item name as well
like this
https://cdn.discordapp.com/attachments/344232854294626305/589166325822128129/Untitled_Project.mp4

Edited by mkhzaleh

Share this post


Link to post
Share on other sites
On 6/14/2019 at 7:30 PM, mkhzaleh said:

its done in lua long time ago
i did one for give /take items from player too works like this
/senditem playername,itemid,qty
/takeitem playername,itemid,qty or can use item name as well
like this
https://cdn.discordapp.com/attachments/344232854294626305/589166325822128129/Untitled_Project.mp4

Yes, this can be done in lua indeed. My goal was to be able to assign items from website to character in game in real time which required a bit more comprehensive solution rather than plain lua. 

 

 

Edited by patrick13

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...