Garry's Mod

Garry's Mod

Not enough ratings
For some questions in comments about E2 dupes
By 灼梦Mark
Here about some questions frequently in my dupes comments
I think here can give you a help
   
Award
Favorite
Favorited
Unfavorite
Doesn't work / can't see anything
In the first, check up your mod list, you need download wiremod then can use Expression2, else you will just see nothing there

Second, if you spawn it but just jump some hints on your bottom right, That might be E2 have something wrong make it can't run
There are some examples here




No such method: <any text behind this>

For this, in normal, you are losing some E2 Extensions cores in the game
You have 2 ways to open it
1. Open up your spawnmenu, and find column Utilities in you top right, click it, then find the bar Admin, under that, have a option named E2 Extensions, there can enable all the
Expression2 cores, I suggest you enable all the things in there
Here are the picture:











2. Open your console, Entry "wire_expression2_extensions“ for check up E2 cores status,
You will see this in your console:
Yes I turn everything on, but you will see the other examples not like me

If you just see nothing or see Unknown command: wire_expression2_extensions
That's 2 examples
1. your are not download the wiremod
2. you playing multiplay and you are not the SuperAdmin
For 1, go to download, For 2, contact with SuperAdmin to enable the cores

Then, In disable column, you will see sth in there, copy that and type
"wire_expression2_extension_enable <replace with what you just copied>“
To enable the core, and Entry "wire_expression2_extensions“ again for check, and enable the next core until to the end.




Expression 2 (<E2 Name>): tick quota exceeded (at line <x>, char <y>)

It's hard to answer, You can go find the author of E2 for asking why hint this
That's mean E2 was overuse, in common, it should not happen
Most of it is because E2 have some flaw in it code, I cant help anything for this.

# I came across a new case
Try Entry "wire_expression2_unlimited <1 or 0>" to fix it
My E2 work can't run on unlimited, maybe some mods or something make it enable




Any other hint

Just like the one above, find the author, tell him your work now have some problem happened
or go learn how to write about E2 scrips
I wanna use it multiple! / I spawn it but I just see some white block.
I think I know what went wrong

First, you need the SuperAdmin or playing single,
Open your console
and Entry "wire_holograms_max"
If anything went not wrong, you will see this



That's the limits of holograms, I set up that to 10000
All, i cant say that but i think All the E2 work need use this, hologram is the best way about E2 modeling
Now, Entry "wire_holograms_max 10000" in the console, You can use multiple of E2 work now!




Second, You see the little white block in the game, anything was running in normal but the white block.
For First, Entry "wire_holograms_modelany" in console, And you will see this


My setting is 2, because i don't wanna use the modelany
In normal, E2 work usually using the models from original game, and if it happen
Entry "wire_holograms_modelany 1" in console to enable it, Now you can use the other model for holograms.
Why the white block still there?
if hologram use the model you don't have, you will see the white block too, I cant help you for this examples, Try to learn some about E2 scrip and settle this by you self
How do i upload E2 work?, I duped it but when i spawn, it not working!
At the old version of wiremod, you cant save with you E2 using holograms, but now fixed
If you still using old version or just wanna learn sth. there are some about how to save as dupe.

First, Spawn you E2 and open E2 editor, like this:










In the top right, you can see a little wrench icon there, click it and a panel showed at the right,
there are some option of E2, disregard that and find Remote Updater
Open it, now you see nothing there, Click the button of Update List(Show only yours)
And just like the picture i put in, you can see a blue panel of your E2, Click the Halt execution button, Now your E2 execution halted, you can save it use duplicator tool now!




A other examples, you saved that and spawn, but you find something wrong, that's not your want.

For this,
Open E2 Editor, and at the last of E2 scrip, Add this in your code
if (duped()){reset()}
or this
if (dupefinished()){reset()}
It will work when E2 Spawned as dupe, will reset like spawn with using E2 tool
8 Comments
Hola 5 Feb @ 6:56pm 
There is an error with the code now or at least for me that is
No such method: e:constraintBreak() is solved by replacing constraintBreak() with propBreak()
灼梦Mark  [author] 26 Oct, 2024 @ 12:23am 
I don't get it what is different, but i will put this in
灼梦Mark  [author] 26 Oct, 2024 @ 12:18am 
let me give a try
Nakkitsunami 25 Oct, 2024 @ 10:23am 
no duped resets as you copy it, dupefinished resets when the dupe has finished pasting
灼梦Mark  [author] 25 Oct, 2024 @ 8:28am 
just work same
Nakkitsunami 23 Oct, 2024 @ 8:08am 
isn't it dupefinished()
bread dog 29 Aug, 2024 @ 3:27am 
anime
N-CD | "The Healer" 19 Aug, 2024 @ 3:20am 
Excellent.