Garry's Mod

Garry's Mod

Luapad for GMod 13
149 kommentarer
LλMBDA Huge SCP / Gmod Fan 16. mar. kl. 20: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! 13. nov. 2024 kl. 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! 23. okt. 2024 kl. 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 3. dec. 2023 kl. 12:40 
@Takashi
For me it runs serverside, but luapad says it did not
Seong Gi-hun 12. sep. 2023 kl. 12:41 
My rank does inherit from superadmin, and idk why it just denies it even though its my OWN server
Sparkz  [ophavsmand] 11. sep. 2023 kl. 17: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 10. sep. 2023 kl. 14:56 
I tried adding myself to the superadmin group through ULX, it still disallowed me from using it
Sparkz  [ophavsmand] 10. sep. 2023 kl. 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 9. sep. 2023 kl. 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  [ophavsmand] 8. sep. 2023 kl. 19: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 4. sep. 2023 kl. 10:11 
Can't even run serverside on my own server. 1984.
AToM1C 21. aug. 2023 kl. 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! 1. juni 2023 kl. 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! 11. maj 2023 kl. 0:27 
Luapad does not write tabs but instead spaces when you hit the tab key.
moko 28. nov. 2022 kl. 19:49 
for whatever reason it breaks if you have gTASM. something to keep in mind i guess
Sparrow 26. aug. 2022 kl. 14:09 
does this fix old and broken addons
Vexsiaczek 2. apr. 2022 kl. 16:59 
Can you edit server luas ?
anomaly 24. maj 2021 kl. 16: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! 11. sep. 2019 kl. 23:17 
Ahhh. That is a totally different story then.. 😊
Sparkz  [ophavsmand] 11. sep. 2019 kl. 19: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! 11. sep. 2019 kl. 3:26 
@Sparkz. Dode seriously. Its right there.
Sparkz  [ophavsmand] 9. sep. 2019 kl. 20: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! 9. sep. 2019 kl. 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 ..

{LINK FJERNET}
Darius Sergal 5. maj 2019 kl. 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 26. apr. 2019 kl. 0:32 
I'm also experiencing glitchy and compacted text. Running on a 2560x1440 monitor.
N3xt 10. jan. 2019 kl. 8:16 
I don't know, but the text is glitchy for me too, like below
Jimboboiii 9. jan. 2019 kl. 2:50 
TheElessaro 23. juni 2018 kl. 18: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 22. juni 2018 kl. 6:04 
Я ещё удевляюсь как он собрал 33 тыс подписок
Rubat 22. juni 2018 kl. 6:03 
Такая ♥♥♥♥♥!Вообще пизедц,
В шарейде не прописаны команды открывание серверских и клиентовских кодов.Там даже не прописаны команды как luapad.♥♥♥♥♥♥.
ItsDrike 14. apr. 2018 kl. 13:49 
How to enable luapad for someone with custom rank name (the rank name is "co-owner")
Jabka 5. dec. 2016 kl. 4:42 
Doesn't deal with unicode.
ArsiTheFox 1. nov. 2016 kl. 15:45 
luapad_adminonly
Doesn't work?
amoglear spawg 23. okt. 2016 kl. 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 5. sep. 2016 kl. 4:11 
Кусок говна. Дырявый до пизды... если у вас данный аддон поставлен могут просто через него открыть server.cfg и просмотреть ваш RCON тем самым ломанув сервер.
dmformowingquote 22. juli 2016 kl. 19:34 
when i put luapad in console it says unknown command
amoglear spawg 5. juli 2016 kl. 9:02 
Is there anyway to limit it to Groups of ULX ?
๖ۣۜNightling 31. maj 2016 kl. 21:26 
Add a feature to clear the current text in the tab you currently have selected?
maladesov 7. maj 2016 kl. 2:51 
because luapad concommand is "Luapad" (bad english,sorry)
Toastur 24. apr. 2016 kl. 13: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 3. apr. 2016 kl. 7:41 
the same
Unknown command: luapad
Wizzle ♥♥♥♥♥♥♥♥♥ 31. mar. 2016 kl. 2:46 
] luapad
Unknown command: luapad


what.. why?!
・・ SEi 11. mar. 2016 kl. 8:04 
Love it! Started learning lua, and this makes my life easier
Bowu 14. feb. 2016 kl. 4:51 
Is there a way to do something like such: "luapad data/luapad/entry_goes_here.txt"
Professer Panama VHS7 13. sep. 2015 kl. 1:05 
it wont work i typed in lua it didnt work
Loading... 23. aug. 2015 kl. 21:25 
Could you make a Client only command?
Blanket 18. aug. 2015 kl. 8:55 
should make luapad_adminonly var server sided fatal mistake good for cheaters bad for server
Harry 21. maj 2015 kl. 16: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 2. mar. 2015 kl. 11:16 
ok thank you.
Sparkz  [ophavsmand] 2. mar. 2015 kl. 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.