- Joined
- Jul 12, 2018
- Messages
- 516
As far as i'm aware, WC3 still lacks a functioning Lua save system.
I asked Uncle to write me one and he did, based on an underlying File I/O type lua system written by Rhobox. It works beautifully in single player.
Here's a thread on it:
www.hiveworkshop.com
Later we discovered there are problems with the File I/O system Rhobox wrote, it causes desyncs in multiplayer. I'm not a coder but here is Uncle's explanation for it.
He is unfortunately awol and can't be recruited to rewrite it.
Looking to pay a couple hundred dollars (paypal) to anyone who's competent and willing to rewrite this save/load in a way that functions with multiplayer wc3. Please respond here or by PM.
I asked Uncle to write me one and he did, based on an underlying File I/O type lua system written by Rhobox. It works beautifully in single player.
Here's a thread on it:
[Script] - A Lua save/load system similar to TriggerHappy's GUI-friendly system
Awesome, I'll check it out now. One thing I did notice is that you're using Player objects as the [index] in your tables. Isn't this prone to desyncs since the handle of the Player will be different for each client? I know this is an issue with Unit objects and as such requires you to stick with...
![www.hiveworkshop.com](https://www.hiveworkshop.com/data/styles/7/styles/vindit-reforged/favicon.png)
Later we discovered there are problems with the File I/O system Rhobox wrote, it causes desyncs in multiplayer. I'm not a coder but here is Uncle's explanation for it.
I know it's been a while, but there are some issues with the current implementation of the save/load system that cause desyncs. I don't think the solution is all that difficult but I'm failing miserably to get anything to work.
Using a Player object as an [index] in a table causes a desync. This is done throughout all of the code.
Iterating over pairs causes a desync. I was doing this myself in my own save/load code to get the different save file names from PlayerData.
If you could help with this that'd be amazing, thanks.
He is unfortunately awol and can't be recruited to rewrite it.
Looking to pay a couple hundred dollars (paypal) to anyone who's competent and willing to rewrite this save/load in a way that functions with multiplayer wc3. Please respond here or by PM.