yanipku / advdupe2

Automatically exported from code.google.com/p/advdupe2
0 stars 0 forks source link

Make a load while load in progress, breaks advdupe. #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load an AdvDupe 1 contraption
2. Load the same one while it is loading.

What is the expected output? What do you see instead?
It should reload the contraption.
Ends up prompting and error in the console

Adv Dupe 2 breaks and always prompts "Adv Dupe i busy." in the hint. Only way 
to make it work is to restart server

Something else I noticed is that the ghosted props will remain in their place 
until server restart. (Not sure how I made this happen)

What revision of Advanced Duplicator 2 are you using?(Don't put latest
version, put the revision
number)
142

What Operating System is the server running?
Windows 7 64 Ultimate (Local)

Please provide any additional information below.

The error:

[ERROR] addons/advdupe2/lua/advdupe2/cl_networking.lua:115: attempt to perform 
arithmetic on field 'LastPos' (a nil value)
  1. SendFileToServer - addons/advdupe2/lua/advdupe2/cl_networking.lua:115
   2. Function - addons/advdupe2/lua/advdupe2/cl_networking.lua:137
    3. unknown - lua/includes/modules/usermessage.lua:87

Original issue reported on code.google.com by Felix.Le...@gmail.com on 15 Nov 2012 at 7:26

GoogleCodeExporter commented 9 years ago
Fixed in r144.

Original comment by tbzipper@gmail.com on 3 Dec 2012 at 10:52

GoogleCodeExporter commented 9 years ago
Just tested again, it's partially fixed in R114. Same procedure. Error is on a 
different line this time, but still breaks.

[ERROR] addons/advdupe2/lua/advdupe2/cl_networking.lua:118: attempt to perform 
arithmetic on field 'LastPos' (a nil value)
  1. SendFileToServer - addons/advdupe2/lua/advdupe2/cl_networking.lua:118
   2. Function - addons/advdupe2/lua/advdupe2/cl_networking.lua:141
    3. unknown - lua/includes/modules/usermessage.lua:

Original comment by Felix.Le...@gmail.com on 4 Dec 2012 at 4:37

GoogleCodeExporter commented 9 years ago
Ok, there were 2 things that could cause this. The other one is now fixed in 
r145.

Original comment by tbzipper@gmail.com on 4 Dec 2012 at 11:44