Jump to content
Sign in to follow this  
patrick13

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
1 hour ago, 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. 

 

Anyway, I was kind of hoping for some suggestions which seems like is not going to happen, so @V3ct0r if you could just lock this thread I'll be very thankful.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×