Download
(1MB)
Download
Updated: 07-19-06 08:02 PM
Pictures
File Info
Updated:07-19-06 08:02 PM
Created:unknown
Downloads:20,365
Favorites:76
MD5:

SciTE-WOWInterface  Popular! (More than 5000 hits)

Version: 0.8
by: Cladhaire [More]

This is a re-package of the popular ScITE editor (based on the scintilla editing component). You can find more information about SciTE at http://www.scintilla.org/SciTE.html. Some of the customization is from the package at http://gisdeveloper.tripod.com/scite.html , but those just amount to some configuration files that have been altered. 've adjusted some of the preferences and added the bulk of the WoW API with prototypes and descriptions as pop-up calltips (you can see a few examples in the attached screenshots).

One thing you will want to adjust is the window placement and size. Unfortunately SciTE does not save window positions (it was originally designed for GTK+, where the window manager saves the position). You can do this by opening the global properties file:

Open SciTE
Select the Options Menu
Select "Open Global Options File"

You'll want to edit the following options (0,0 is in the top left of the screen)

  • position.left
  • position.top
  • position.height
  • position.width

CHANGELOG
=================================
* Re-compiled lua, luac and bitlib so they should all work and operate together with no license restrictions
* Added the bitlib functions to the lua calltips
* Re-packaged the entire distribution from scratch to be a bit more efficient and easier to make quick packages
* Updated SciTE to version 1.70 (the latest version)
* Compile action will compile to FileName.luc
* Build action will do a no-output compile testing for errors
* Go action will execute the LUA using the interpreter

Post A Reply Comment Options
Unread 03-01-08, 06:28 PM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
Something I just noticed. The original lua.exe module is 197K in size. The lua5.1.exe module that came from lua5_1_1_Win32_bin.zip is only 20K.
Report comment to moderator  
Reply With Quote
Unread 02-28-08, 11:27 AM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
Recap of actions:

Before I started doing anything the bin folder had these files;
bitlib.dll
lua.exe
luac.exe

I download and unzipped lua5_1_1_Win32_bin.zip which had these files;
bin2c5.1.exe
lua5.1.exe
lua5.1.dll
luac5.1.exe

I deleted the original lua.exe and luac.exe files from the bin folder, renamed the lua5.1.exe and luac5.1.exe to lua.exe and luac.exe and moved them into the bin folder. I moved the lua5.1.dll file into the bin folder without renaming it.

The bin folder now has in it;
lua5.1.dll
lua.exe
luac.exe
bitlib.dll

The error messages when doing a Tools/Go were:

>bin\lua.exe -l "C:\SciTE\lib\wow.lua" "MyTest.lua"
bin\lua.exe: module 'C:\SciTE\lib\wow.lua' not found:
no field package.preload['C:\SciTE\lib\wow.lua']
no file '.\C:\SciTE\lib\wow\lua.lua'
no file 'C:\SciTE\bin\lua\C:\SciTE\lib\wow\lua.lua'
no file 'C:\SciTE\bin\lua\C:\SciTE\lib\wow\lua\init.lua'
no file 'C:\SciTE\bin\C:\SciTE\lib\wow\lua.lua'
no file 'C:\SciTE\bin\C:\SciTE\lib\wow\lua\init.lua'
no file '.\C:\SciTE\lib\wow\lua.dll'
no file 'C:\SciTE\bin\C:\SciTE\lib\wow\lua.dll'
no file 'C:\SciTE\bin\loadall.dll'
no file '.\C:\SciTE\lib\wow.dll'
no file 'C:\SciTE\bin\C:\SciTE\lib\wow.dll'
no file 'C:\SciTE\bin\loadall.dll'
>Exit code: 1 Time: 0.234

I hope this helps you.
Report comment to moderator  
Reply With Quote
Unread 02-28-08, 04:27 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Jumpee
I did that and then got a fistful of error messages. So I put the old files back and will just temporarily comment out any lines that use ... to be able to error check the rest of the code. Thanks for the help!
What error message, out of curiosity? Its hard for me to maintain this software now that I no longer have access to a windows machine.
__________________
"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 02-27-08, 06:11 PM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
I did that and then got a fistful of error messages. So I put the old files back and will just temporarily comment out any lines that use ... to be able to error check the rest of the code. Thanks for the help!
Report comment to moderator  
Reply With Quote
Unread 02-27-08, 02:46 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Jumpee
I downoaded lua5_1_1_Win32_bin.zip. After unzipping into a temporary folder I now have these files;
bin2c5.1
lua5.1
lua5.1.dll
luac5.1

What and where do I put them and do I have to rename them?
Take the .dll and put it in the bin directory as is.
Take the lua5.1 and rename it to lua.exe in that same directroy
Take the luac5.1 and rename it to luac.exe in the bin directory.

That should work.
__________________
"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 02-26-08, 01:51 PM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
I downoaded lua5_1_1_Win32_bin.zip. After unzipping into a temporary folder I now have these files;
bin2c5.1
lua5.1
lua5.1.dll
luac5.1

What and where do I put them and do I have to rename them?
Report comment to moderator  
Reply With Quote
Unread 02-26-08, 01:07 PM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
I went to http://luabinaries.luaforge.net/download.html and selected lua5_1_3_Win32_bin.zip. After unzipping I copied lua5.1 and luac5.1 into the bin folder and it now works. Thanks for the help!

edit: Ooops, another problem. I will look into it more. I obviously don't understand all this PC stuff.
Last edited by Jumpee : 02-26-08 at 01:22 PM.
Report comment to moderator  
Reply With Quote
Unread 02-26-08, 12:14 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Jumpee
I lifted this line of code from the beta 2.4 version of Recap and put it into my code. And when I do a Tools/Go I get this message.

C:\SciTE-WOWInterface\bin\lua.exe: MyTest.lua:21: unexpected symbol near `...'

-- get the eight arguments common to all events (the ellipsis is a variable pointing to a list of arguments)
local timestamp, eventType, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = ...
Hrm.. I would suggest downloading the new Lua binaries.. i may not have updated them to 5.1 when it came out. You can find these at LuaBinaries, or via cogwheel's Lua511wow distribution on sourceforge.
__________________
"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 02-26-08, 11:15 AM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
I lifted this line of code from the beta 2.4 version of Recap and put it into my code. And when I do a Tools/Go I get this message.

C:\SciTE-WOWInterface\bin\lua.exe: MyTest.lua:21: unexpected symbol near `...'

-- get the eight arguments common to all events (the ellipsis is a variable pointing to a list of arguments)
local timestamp, eventType, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = ...
Report comment to moderator  
Reply With Quote
Unread 02-26-08, 03:46 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Jumpee
When using this version of SciTE I noticed that using the vararg (...) in my code causes the Tools/Go function to give an error indication as in "unexpected symbol near `...'"

Is there a later version that supports Lua 5.1? Or is this not my problem?
SciTE that is packaged here is Lua 5.1. There would be another issue. Can you post the code on pastey.net or something so we can look?
__________________
"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 02-25-08, 02:35 PM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
When using this version of SciTE I noticed that using the vararg (...) in my code causes the Tools/Go function to give an error indication as in "unexpected symbol near `...'"

Is there a later version that supports Lua 5.1? Or is this not my problem?
Report comment to moderator  
Reply With Quote
Unread 08-27-07, 06:26 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Hallithron
So, this may be a silly question, but is there a way to get the WoW API integrated into SciTE in Linux? I see some files for the API floating around, and if it's a matter of compiling something via pseudo-conventional means, I probably have the know-how to get it done. If there's a way I can just insert the WoW API, though, that would make things a great deal simpler for me!
You just need to add the wow.api file, and then load it in the Lua properties file. It's just a matter of getting that file, which is out of date, and I no longer have an easy way to access.
__________________
"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 08-27-07, 04:41 PM  
Hallithron
A Fallenroot Satyr
 
Hallithron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 25
Uploads: 3
So, this may be a silly question, but is there a way to get the WoW API integrated into SciTE in Linux? I see some files for the API floating around, and if it's a matter of compiling something via pseudo-conventional means, I probably have the know-how to get it done. If there's a way I can just insert the WoW API, though, that would make things a great deal simpler for me!
__________________
Author:
SolaceBuffDisplay
SolaceStones
Report comment to moderator  
Reply With Quote
Unread 07-20-07, 02:26 PM  
KarlThePagan
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 7
Uploads: 1
Originally posted by endlessracingz
How do I go about doing this exactly? I mean once you get 5.1 then what? do I have to move the lau5.1.exe and lauc5.1.exe files somewhere? or rename them? what about the bin2c5.1.exe and the lua5.1.dll?
I only recommend Lua version 5.1.1 compiled for this specific purpose:
http://www.wowinterface.com/download...a5.1.1WoW.html

You are using a different Lua package (probably the official one) if you have files with those names.

Take Lua.exe and Luac.exe from the correct package (in lua511wow-1.7.zip\lua511wow\msvc\release) and use those files to replace the 2 files with the same names which are present in the directory "SciTE-WOWInterface\bin".

If you are "zomg keylogger" worried you can compile the binaries yourself using Visual Studio (and check the source code too).

These are free tools developed for a very limited project and take a little bit of effort to work with rather than your copies of VS.net and Eclipse which have a huge number of contributors. The hard work doesn't end here as SciTE doesn't provide many autocompletion features.
Report comment to moderator  
Reply With Quote
Unread 07-20-07, 01:38 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
FWIW i'll be updating this in the next few months, and I rebuild the API documentation.
__________________
"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
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.