Hey guys i'm having a problem with the E2 and savegames that eludes my understanding. I hope you can help.
1. The situation
I have created a contraption that utilizes the Expression Gate 2 (Code see below). It works alright and does what it's supposed to, until i save the game and load it again.
2. The Problem
Immediately after loading the savegame, two types of error messages come up:- One in the "PopUp-style" like the Gmod hints. It states the following:
Expression 2 (Error Test): entities/gmod_wire_expression2/core/core.lua:32: attempt to compare nil with number
- One in the "Console-style", in the top right corner of the screen. Content:
Expression 2 (Error Test): entities/gmod_wire_expression2/core/core.lua:32: attempt to compare nil with number
...ons\wire\lua\entities\gmod_wire_expression2\ini t.lua:118: attempt to perform arithmetic on global 'e2_softquota' (a nil value)
The E2 in question doesn't work afterwards (resetting it is of no help) until i remove it, place a new one and wire it anew. No error messages or problems then.
3. What have you done already
I have reduced the E2 Code as far as possible. When i only this code in my script and nothing else, i still get the error.
Code:
@name Error Test
@inputs
@outputs
@persist
@trigger
if(1 > 0)
{
} 4. Data
wire_PrintVersion
Wire revision: 2137 (exported)
condump000.txt (4,97 KB)
Thanks in advance. Regards,
Chrisse
Bookmarks