+ Reply to Thread
Results 1 to 7 of 7

Thread: E2-Related error upon loading savegame

  1. #1
    Wire Amateur Chrisse's Avatar
    Join Date
    Jul 2010
    Posts
    69

    Default E2-Related error upon loading savegame

    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

  2. #2
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: E2-Related error upon loading savegame

    Savegames don't work with Addons. I'd suggest you don't use them.
    .siht daer ot gniyrt emit detsaw ev'uoY

  3. #3
    Wire Amateur Chrisse's Avatar
    Join Date
    Jul 2010
    Posts
    69

    Default Re: E2-Related error upon loading savegame

    Quote Originally Posted by Whosdr View Post
    Savegames don't work with Addons. I'd suggest you don't use them.
    Huh? Have worked for me ever since. I have always saved my stuff if it was worth it, and it utilized addons most of the time (including wiremod). See no reason why it wouldn't work.

  4. #4
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: E2-Related error upon loading savegame

    You forget how bug-less garry made gmod. <nosarcasm>It's as bug-less as much as swiss cheese is solid.</nosarcasm>

  5. #5
    Wire Amateur Chrisse's Avatar
    Join Date
    Jul 2010
    Posts
    69

    Default Re: E2-Related error upon loading savegame

    Quote Originally Posted by initrd.gz View Post
    You forget how bug-less garry made gmod. <nosarcasm>It's as bug-less as much as swiss cheese is solid.</nosarcasm>
    Touche. If some one out there knows a solution anyway, would be appreciated.

  6. #6
    Wire Sofaking Wodden's Avatar
    Join Date
    Sep 2007
    Location
    location.sh &> /dev/null
    Posts
    446

    Default Re: E2-Related error upon loading savegame

    Use teh Adv. Dupe?
    “Saying Java is good because it works on all operating systems is like saying anal sex is good because it works on all genders.”

  7. #7
    Wire Amateur Chrisse's Avatar
    Join Date
    Jul 2010
    Posts
    69

    Default Re: E2-Related error upon loading savegame

    Quote Originally Posted by Wodden View Post
    Use teh Adv. Dupe?
    Yes, but that is of course a workaround and not a fix. I haven't used it for ages because it gave me more trouble than savegames a while ago. I might just give it a second chance

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots