Ghostrider-GRG Posted May 9, 2017 Report Share Posted May 9, 2017 A while ago there was a wonderful tutorial on how one can use lua scripts to 'restock' or completely remove the invetory for traders which I have been using for some time. Included in that was a script to replace vehicles with vehicle repair kits or other goodies. I wondered if anyone who is more adept at these things would be willing to share an lua script that deletes vehicles altogether. Any assistance would be much appreciated. vbawol 1 Link to comment Share on other sites More sharing options...
vbawol Posted May 12, 2017 Report Share Posted May 12, 2017 Maybe this one: Other helpful Redis lua resources:https://www.redisgreen.net/blog/intro-to-lua-for-redis-programmers/https://redis.io/commands/evalhttps://www.compose.com/articles/a-quick-guide-to-redis-lua-scripting/ Ghostrider-GRG 1 Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted May 12, 2017 Author Report Share Posted May 12, 2017 15 minutes ago, vbawol said: Maybe this one: Other helpful Redis lua resources:https://www.redisgreen.net/blog/intro-to-lua-for-redis-programmers/https://redis.io/commands/evalhttps://www.compose.com/articles/a-quick-guide-to-redis-lua-scripting/ That post by Brunz is more or less what I have been using. The issue is that I am a Redis novice and I have not quite gotten my head around lua yet; my objective is to sorting out how one deletes the linked table entries for the vehicle and number of vehicles of that type in the list for that trader. The system Brunz proposed sort of works but bloats the table with vehicle repair kits. I have looked at some of those Redis resources and will keep digging. Thank you for taking the time to reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now