Garry's Mod

Garry's Mod

Luapad for GMod 13
149 条留言
LλMBDA Huge SCP / Gmod Fan 3 月 16 日 下午 8:32 
I HATE THIS [Luapad for GMod 13] RunString(Ex):3: ')' expected near 'world'
1. pcall - [C]:-1
2. DoClick - lua/autorun/luapad.lua:601
3. OnMouseReleased - lua/vgui/dlabel.lua:254
4. unknown - lua/vgui/dmenuoption.lua:77
[Sk$Bh]Trick or treat KID! 2024 年 11 月 13 日 上午 11:18 
After reading the source the concommand calls "luapad.Toggle()" so the fix is:

if(luapad.Frame) then luapad.Frame:SetVisible(true) else luapad.Toggle() end
[Sk$Bh]Trick or treat KID! 2024 年 10 月 23 日 上午 11:45 
Different error this time when open a file in a tab.

[Luapad for GMod 13] lua/autorun/luapad.lua:350: attempt to index field 'PropertySheet' (a nil value)
1. AddTab - lua/autorun/luapad.lua:350
2. DoClick - addons/trackassemblytool_git/lua/autorun/trackassembly_init.lua:960
3. OnMouseReleased - lua/vgui/dlabel.lua:254
4. unknown - lua/vgui/dmenuoption.lua:77

luapad.AddTab("["..defTab.Nick.."]"..pnSelf:GetText(), fileRead(sFile, "DATA"), sDsv);

File exists. It is opened without problems the next time a tab is issued.
TheEndBoss_101 2023 年 12 月 3 日 下午 12:40 
@Takashi
For me it runs serverside, but luapad says it did not
Seong Gi-hun 2023 年 9 月 12 日 下午 12:41 
My rank does inherit from superadmin, and idk why it just denies it even though its my OWN server
Sparkz  [作者] 2023 年 9 月 11 日 下午 5:28 
I'm not exactly sure how it works with ULX, but from what I'm reading the usergroup you're in needs to inherit from "admin" or "superadmin" in order for this add-on to recognize you as an admin.
Seong Gi-hun 2023 年 9 月 10 日 下午 2:56 
I tried adding myself to the superadmin group through ULX, it still disallowed me from using it
Sparkz  [作者] 2023 年 9 月 10 日 下午 12:07 
@Brennan Goldbach Are you an admin on your own server? Luapad will check your usergroup before allowing server-side execution.
Seong Gi-hun 2023 年 9 月 9 日 上午 11:04 
It used to allow me to run scripts serversidedly but not anymore Idk why, even on my own server as a server host
Sparkz  [作者] 2023 年 9 月 8 日 下午 7:28 
I haven't touched this in ages, is it broken now? Seemed to work for me when I did a quick test on local server.
Seong Gi-hun 2023 年 9 月 4 日 上午 10:11 
Can't even run serverside on my own server. 1984.
AToM1C 2023 年 8 月 21 日 上午 2:49 
Guys... this was in garrysmod13 an older beta of gmod, this is a dead addon that dosent work with the new gmod version uninstall it because it. just. Dosent. Work
[Sk$Bh]Trick or treat KID! 2023 年 6 月 1 日 上午 4:56 
Rases an error when you close the luapad frame via standard method "luapad.Frame:Clode()" in the function "luapad.Toggle()" better check for a valid existent panel via the global function:

if (IsValid(luapad.Frame)) then

Probably needs On-Close method definition:

luapad.Frame.OnClose = function(pnSelf)
luapad.Frame = nil
end
[Sk$Bh]Trick or treat KID! 2023 年 5 月 11 日 上午 12:27 
Luapad does not write tabs but instead spaces when you hit the tab key.
moko 2022 年 11 月 28 日 下午 7:49 
for whatever reason it breaks if you have gTASM. something to keep in mind i guess
Sparrow 2022 年 8 月 26 日 下午 2:09 
does this fix old and broken addons
Vexsiaczek 2022 年 4 月 2 日 下午 4:59 
Can you edit server luas ?
anomaly 2021 年 5 月 24 日 下午 4:59 
two years late, but:

for me, glitchy text was corrected by moving the CreateFont() calls into luapad.EditorPanel:Init()
[Sk$Bh]Trick or treat KID! 2019 年 9 月 11 日 下午 11:17 
Ahhh. That is a totally different story then.. 😊
Sparkz  [作者] 2019 年 9 月 11 日 下午 7:14 
That code is from the lua files. It's already in there. The problem is why doesn't it work for some people.
[Sk$Bh]Trick or treat KID! 2019 年 9 月 11 日 上午 3:26 
@Sparkz. Dode seriously. Its right there.
Sparkz  [作者] 2019 年 9 月 9 日 下午 8:24 
I'd love to fix the glitchy text issue, but I have no idea what's causing it. Oddly enough it does not show up like that for me.
[Sk$Bh]Trick or treat KID! 2019 年 9 月 9 日 下午 12:34 
That's all nice and dandy. I like tit very much, though it will be nice to run the thing directly with an argument provided as the path to the file you want to open like "luapad directory/file.txt". You can use the concmd.Add argument to make it perfect ..

{链接已删除}
Darius Sergal 2019 年 5 月 5 日 上午 6:45 
For anyone experiencing glitchy text, run the following code clientside in luapad. The problem should be fixed for any new tabs or files you open after running it. You will have to repeat this process every time you start up the game until a patch is made. Copy and run below:



surface.CreateFont("LuapadEditor", {
font = "Courier New",
size = 16,
weight = 400
})
surface.CreateFont("LuapadEditor_Bold", {
font = "Courier New",
size = 16,
weight = 800
})
Lambda 2019 年 4 月 26 日 上午 12:32 
I'm also experiencing glitchy and compacted text. Running on a 2560x1440 monitor.
N3xt 2019 年 1 月 10 日 上午 8:16 
I don't know, but the text is glitchy for me too, like below
Jimboboiii 2019 年 1 月 9 日 上午 2:50 
TheElessaro 2018 年 6 月 23 日 下午 6:33 
For everyone who has the "Upload denied byserver!" error, type in your server console "sv_allowupload 1" then you got again the error but the luarun worked.
Rubat 2018 年 6 月 22 日 上午 6:04 
Я ещё удевляюсь как он собрал 33 тыс подписок
Rubat 2018 年 6 月 22 日 上午 6:03 
Такая ♥♥♥♥♥!Вообще пизедц,
В шарейде не прописаны команды открывание серверских и клиентовских кодов.Там даже не прописаны команды как luapad.♥♥♥♥♥♥.
ItsDrike 2018 年 4 月 14 日 下午 1:49 
How to enable luapad for someone with custom rank name (the rank name is "co-owner")
Jabka 2016 年 12 月 5 日 上午 4:42 
Doesn't deal with unicode.
ArsiTheFox 2016 年 11 月 1 日 下午 3:45 
luapad_adminonly
Doesn't work?
amoglear spawg 2016 年 10 月 23 日 上午 6:35 
Response to YoungPurpureDrangonStarlok:

You seem to not have Admin rights. Since "luapad_adminonly" is on by default, if you are on your own Server, please add yourself to the Superadmin group. If you are on someone else's Server, he might have not given you the Permission.
Akych 2016 年 9 月 5 日 上午 4:11 
Кусок говна. Дырявый до пизды... если у вас данный аддон поставлен могут просто через него открыть server.cfg и просмотреть ваш RCON тем самым ломанув сервер.
dmformowingquote 2016 年 7 月 22 日 下午 7:34 
when i put luapad in console it says unknown command
amoglear spawg 2016 年 7 月 5 日 上午 9:02 
Is there anyway to limit it to Groups of ULX ?
๖ۣۜNightling 2016 年 5 月 31 日 下午 9:26 
Add a feature to clear the current text in the tab you currently have selected?
Radon 2016 年 5 月 7 日 上午 2:51 
because luapad concommand is "Luapad" (bad english,sorry)
Toastur 2016 年 4 月 24 日 下午 1:17 
How do I make it so something I've saved automaticly loads on a server, like say it crashes and I'm not there to load it, and yes I'm an admin. Help?
[GER]Ninispezi 2016 年 4 月 3 日 上午 7:41 
the same
Unknown command: luapad
Wizzle ♥♥♥♥♥♥♥♥♥ 2016 年 3 月 31 日 上午 2:46 
] luapad
Unknown command: luapad


what.. why?!
・・ SEi 2016 年 3 月 11 日 上午 8:04 
Love it! Started learning lua, and this makes my life easier
Bowu 2016 年 2 月 14 日 上午 4:51 
Is there a way to do something like such: "luapad data/luapad/entry_goes_here.txt"
Professer Panama VHS7 2015 年 9 月 13 日 上午 1:05 
it wont work i typed in lua it didnt work
Loading... 2015 年 8 月 23 日 下午 9:25 
Could you make a Client only command?
Blanket 2015 年 8 月 18 日 上午 8:55 
should make luapad_adminonly var server sided fatal mistake good for cheaters bad for server
Harry 2015 年 5 月 21 日 下午 4:44 

[ERROR] addons/luapad/lua/autorun/luapad.lua:646: Calling net.Start with unpooled message name [ http://goo.gl/qcx0y ]
1. Start - [C]:-1
2. DoClick - addons/luapad/lua/autorun/luapad.lua:646
3. OnMouseReleased - lua/vgui/dlabel.lua:218
4. unknown - lua/vgui/dmenuoption.lua:116
crane fly 2015 年 3 月 2 日 上午 11:16 
ok thank you.
Sparkz  [作者] 2015 年 3 月 2 日 上午 11:14 
No. You might get banned from a server for using your own clientside cheats, but that can even be done without this addon.