Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load dupe error #62

Open
MStruntze opened this issue Sep 26, 2014 · 6 comments
Open

Load dupe error #62

MStruntze opened this issue Sep 26, 2014 · 6 comments
Labels

Comments

@MStruntze
Copy link

I and many of my players seem to be getting the following issue a lot:
adv_error

AdvDupe Timer Error: lua/includes/extensions/table.lua:78: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
    [C]: in function 'pairs'
    lua/includes/extensions/table.lua:78: in function 'Merge'
    addons/tool_advduplicator/lua/autorun/serialiser.lua:245: in function 'DeserialiseBlock' 
    addons/tool_advduplicator/lua/autorun/serialiser.lua:377: in function <addons/tool_advduplicator/lua/autorun/serialiser.lua:375>
    [C]: in function 'xpcall'
    addons/tool_advduplicator/lua/autorun/server/advdupe.lua:1767: in function 'fn'
    addons/ulib/lua/ulib/shared/hook.lua:183: in function <addons/ulib/lua/ulib/shared/hook.lua:161>
AdvDupe: Sending this ErrorMsg to Player [2][DyNATO]
AdvDupe-ERROR: "Failed Loading file" 

The only thing that's changed inside the files is the max upload limit (which is set to -1 to disable it).
It's about 50/50 if the dupes load or not.

@TomyLobo
Copy link
Contributor

ugh, screenshots of text...
Also, no dupe is provided.
Providing the dupe file will greatly improve the chances of getting your problem addressed.

@MStruntze
Copy link
Author

Here's one which doesn't load: https://gist.github.com/MStruntze/5f84a9ac3a2e2f87b675

@Jack37
Copy link
Member

Jack37 commented Jan 27, 2015

@MStruntze can you provide the file once more please? The link doesn't work anymore.

@MStruntze
Copy link
Author

It seems to be an issue with newlines not being read correctly. I made a quick fix on my own version, though it could probably be written better for optimization.
Here's the edited serialiser.lua file: https://gist.github.com/MStruntze/b010a0b9dd1938f5ec36

@Grocel
Copy link
Contributor

Grocel commented Jan 8, 2016

@MStruntze:
I would recommend to do a pull request for this one. Even when it is a year late. :)

@MStruntze
Copy link
Author

I doubt it's the best approach to solving the issue,
and I personally switched to adv. duplicator 2 instead of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants