Topic: LUA with PvPGN (discordia)
Hello,
I was playing around with LUA with the pvpgn but finding great detailed documentation has been hard. I know a few programming languages but mostly object oriented languages.
I was curious if lua will be updated, can we exclude folders so they don't auto load, change the file path or maybe have pvpgn run luvit instead of lua5.1. That way we can make scripts for discord, tcpip, etc.
I tried to add discordia into lua pvpgn. I was not completely successful. If I called a bat file to execute luvit discordbot.lua it worked for the bot but lost communication to pvpgn due to being another process. So I'm trying to get pvpgn to use these packages but the biggest headache has been file paths, and pvpgn froze until the window is closed.
https://github.com/SinisterRectus/Discordia
Need to somehow create an object to run luvit discordbot.lua from the pvpgn lua vm and still use the global variables from pvpgn.
Any ideas or help would be greatly appreciated.