Quantcast
Download
(180Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 10-25-22 08:53 AM
Pictures
File Info
Compatibility:
WOTLK (3.4.0)
Dragonflight Pre-patch (10.0.0)
Classic (1.14.3)
TBC Patch (2.5.4)
Updated:10-25-22 08:53 AM
Created:unknown
Downloads:66,485
Favorites:351
MD5:

WowLua  Popular! (More than 5000 hits)

Version: v1.0.3-release
by: Cladhaire [More]

WowLua should be classic compatible!

WowLua is an in-game Lua scripting environment that includes an interactive Lua interpreter as well as a multi-page script editor. Other features include:

  • Syntax coloring, courtesy of krka's spectacular For All Indents and Purposes library
  • Sleek buttons, courtesy of Mikk
  • When WowLua is running code, it defines a global function print() which directs output to the WowLua window, for convenience. This global is removed when not running from WowLua
  • Can run WowLua pages from the commandline using /wowluarun or /luarun. Each slash command takes the name of a page, and prints any issues or activity to the chat frame. These can thus be used from macros.
  • Can open WowLua using /wowlua or /lua. Both of these slash commands will take a lua expression and run it, if provided:

/lua print(14) will open WowLua and print the number 14 to the output window.

Please feel free to post any comments or questions here, you'll find I'm relatively responsible. This addon has been written primarily as a companion tool for World of Warcraft Programming: A Guide and Reference for Creating WoW Addons.

WowLua
v1.0.3-release (2022-10-25)
Full Changelog Previous Releases
  • Update TOC for 10.x
Beta Files (1)
File Name
Version
Hits
Size
Author
Date
r8
2,363
161kB
Cogwheel
04-29-08 09:25 PM


Archived Files (3)
File Name
Version
Size
Author
Date
v1.0.2-release
180kB
Cladhaire
10-04-22 09:11 AM
v1.0.1-alpha
180kB
Cladhaire
10-01-22 12:59 AM
v80000-1.0.0
179kB
Cladhaire
07-20-18 03:59 AM


Post A Reply Comment Options
Unread 06-29-21, 06:08 PM  
rixily
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Open Source?

How do the authors of this feel about remixing their code? I was thinking it might be a fun learning experience to wire the fennel programming language up to this addon.

There is no license file though, just a copyright notice, so I want to make sure that's cool with the authors before I start.

I can start from scratch if it's not cool, but the code is pretty clean and easy to read, so it would be nice to have the head start ;-)

Thanks,
ylixir
Report comment to moderator  
Reply With Quote
Unread 07-25-18, 06:10 AM  
Walkerbo
A Chromatic Dragonspawn
 
Walkerbo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 102
Uploads: 12
Originally Posted by Cladhaire
A version for 8.0 that works fine has already been released. Have you tried that?
Hi Cladhaire

Yes it looks like I reloaded the previous version instead of using the latest version.

It now works perfectly.

Cheers
Report comment to moderator  
Reply With Quote
Unread 07-23-18, 06:22 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4907
Uploads: 19
A version for 8.0 that works fine has already been released. Have you tried that?
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 07-20-18, 06:06 PM  
Walkerbo
A Chromatic Dragonspawn
 
Walkerbo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 199
File comments: 102
Uploads: 12
WoWLua not working for me

Hi

I have installed WoWLua and enabled it by loading out of date addons, but it does not open for me.

I can navigate to the addon page that allows me to use the font size slider but when I use the slash commands, /lua or /wowlua, to open the UI I get nothing, not even a lua error that is caught by bug grabber.

How do I get this to work and/or is there an update of WoWLua in the works?
Report comment to moderator  
Reply With Quote
Unread 04-25-18, 11:42 AM  
Ludovicus
Premium Member
 
Ludovicus's Avatar
Premium Member

Forum posts: 0
File comments: 86
Uploads: 0
BFA Changes

The (undocumented?) TEXT function no longer exists in BFA.
Just not using it seemed sufficient to get this essential add-on working in BFA.

Code:
diff -r /Applications/World of Warcraft/Interface/AddOns/WowLua/WowLua.lua WowLua/WowLua.lua
397,398c397,398
< 	button1 = TEXT(OKAY),
< 	button2 = TEXT(CANCEL),
---
> 	button1 = OKAY,
> 	button2 = CANCEL,
518,519c518,519
< 	button1 = TEXT(OKAY),
< 	button2 = TEXT(CANCEL),
---
> 	button1 = OKAY,
> 	button2 = CANCEL,
bash-3.2$
__________________
Programmer on the Lam
Report comment to moderator  
Reply With Quote
Unread 10-19-17, 07:39 AM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
This seems to be a native code issue.
I have the same problem in macro editor.
Report comment to moderator  
Reply With Quote
Unread 10-19-17, 01:00 AM  
g1zstar
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
https://i.imgur.com/pMhz2Oa.png

Cursor is fine when at top of frame.

https://i.imgur.com/nFxIVGo.png

As you scroll down it starts to get worse and worse.

And as he said it works fine if you enable UIScale at 1.0

https://us.battle.net/forums/en/wow/topic/20758887562

Will be fixed come 7.3.5 it seems.
Last edited by g1zstar : 10-19-17 at 01:10 AM.
Report comment to moderator  
Reply With Quote
Unread 10-04-17, 01:24 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4907
Uploads: 19
Originally Posted by Oniya
@Cladhaire, is there any changes cursor position to be fixed for EditBox of wowlua?
Currently it do not match vertical line for text.

Thanks!

p.s. this happen if you have UI Scale option not enabled in wow (by default) or it is not 1.0
https://snag.gy/lrTm4Z.jpg
I'll try to look at this when I get a chance
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 10-04-17, 12:33 PM  
Oniya
A Wyrmkin Dreamwalker

Forum posts: 57
File comments: 4
Uploads: 0
@Cladhaire, is there any changes cursor position to be fixed for EditBox of wowlua?
Currently it do not match vertical line for text.

Thanks!

p.s. this happen if you have UI Scale option not enabled in wow (by default) or it is not 1.0
https://snag.gy/lrTm4Z.jpg
Last edited by Oniya : 10-04-17 at 12:38 PM.
Report comment to moderator  
Reply With Quote
Unread 09-22-17, 07:54 PM  
insomnii
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
still seem to be getting an error when attempting to bring it up with /lua


Code:
\AddOns\WowLua\WowLua.lua line 918:
   attempt to index local 'entry' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 09-22-17, 07:23 PM  
Indelible Variant
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Looks you goofed a bit . The replacement should be
Code:
PlaySound(SOUNDKIT.IG_MAINMENU_OPEN)
You have
Code:
PlaySound("SOUNDKIT.IG_MAINMENU_OPEN")
(Remove the double quotes.)
Report comment to moderator  
Reply With Quote
Unread 09-22-17, 02:21 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4907
Uploads: 19
Sorry about that folks, updated! Thanks for the help!
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 09-21-17, 08:52 AM  
yulemath
A Kobold Labourer
 
yulemath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 3
PlaySound Problem

Originally Posted by galvin
Need to update for PlaySound
Hi !

You have to replace the line 251 in wowlua.lua
Lua Code:
  1. PlaySound("igMainMenuOpen")
by
Lua Code:
  1. PlaySound(SOUNDKIT.IG_MAINMENU_OPEN)



For the Hide Sound, replace line 681 in wowlua.xml
Lua Code:
  1. PlaySound(igMainMenuQuit);
by
Lua Code:
  1. PlaySound(SOUNDKIT.IG_MAINMENU_QUIT);

Last edited by yulemath : 09-21-17 at 09:01 AM.
Report comment to moderator  
Reply With Quote
Unread 08-31-17, 03:56 PM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
Need to update for PlaySound
Report comment to moderator  
Reply With Quote
Unread 06-01-17, 10:18 AM  
415392[email protected]
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
can't Save pages?

<trans data-src="can't Save lua pages?" data-dst="不能保存Lua页?">不能保存Lua页?</trans>
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: