Skip to content

E2 editor crashing Gmod #3623

@22hideki22

Description

@22hideki22

Describe the bug

Anything i do in E2 editor crashes my game.
I tested with wiremod canary and normal wiremod, but nothing worked.
I also tested gmod x86-64 beta but nothing changed.

The code im doing is the following:

@name BOS
@inputs PWR
@inputs [Keyboard EGP]:wirelink
@outputs BUZZER BUZ_PATH:string
@strict

if(first()|dupefinished()){

EGP:egpClear()    

TURNON = 0   

LOADTIME = 0    

}

if(~PWR & PWR){TURNON = !TURNON}

if(TURNON == 1){

BUZZER = 1
BUZ_PATH = "buttons/blip1.wav"

local INTERVAL = function{

LOADTIME++

if(LOADTIME < 2){
    
EGP:egpBox(1,vec2(256),vec2(512))
EGP:egpColor(1,vec(50))   

}
elseif(LOADTIME > 2 & LOADTIME < 6){
    
EGP:egpText(2,"Initializing...",vec2())   
    
}

}
timer("INTERVAL",1,0,INTERVAL)   

}

Sometimes the Source engine error pops up saying - "Lua Panic! Something went horribly wrong! "not enough memory"".
I have 8GB RAM in my pc

How to reproduce the bug

copy and paste the code in E2 and see if it crashes the game

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions