Recent Topics

Ads

warTerminal v.1.2

Here you can post addons, or anything related to addons.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
xyeppp
Former Staff
Posts: 904
Contact:

Re: warTerminal v.1.1.1

Post#11 » Wed May 12, 2021 11:35 am

warTerminal v.1.1.1 Update
Download.
Added the ability to save & load multiple project files into the DevPad.
Pressing TAB inside the DevPad will also insert 4 empty spaces for indentation.
Pressing Undo will go back to the most recent saved state.
v.1.1.1

Code: Select all

-Added the ability to Save & Load multiple project files -  you can save as, rename and delete your files freely after.
 A code preview window will display when you have selected a file in the load combobox.
 A warning will display when trying to load with current unsaved changes.
 "New" and "Save As" will automatically go to the new project.
-Added a Line Count & Project Name to the top of DevPad display.
-Added an Undo button to go back to the most recent saved state.
-Pressing TAB inside the DevPad will insert 4 empty spaces for indentation.
-Pressing ESC on an empty Terminal input box will cycle focus between DevPad/Terminal if DevPad is open.
-Pressing ESC inside the DevPad will cycle focus between DevPad/Input box, or close DevPad if code is empty and terminal not showing.
-Fixed an issue present in 1.1.0 where if you closed the DevPad pressing "Close" it would not focus the terminal input box.
Keyboard Commands:
Spoiler:

Code: Select all

Basic Arrow Keys - Moves you cursor left, right, up, and down in the text.
Shift+Arrow Keys-Selects characters to the left/right or up/down of the cursor.
Shift+Control+Left/Right Arrow - Selects the entire word to the left/right of the cursor.
Control+Left/Right Arrow - Moves the cursor one word to the left/right.
Home Key - Moves the cursor to the beginning of the text.
Shift+Home Key - Selects all the text between the cursor location and the beginning of the text.
End Key - Moves the cursor to the end of the text.
Shift+End Key - Selects all the text between the cursor location and the end of the text.
Delete Key - Deletes the selected text, or the text immediately after the cursor.
Backspace Key - Deletes the selected text, or the text immediately before the cursor.
Control+Backspace Key - Deletes the entire word before the cursor.
Control+A	- Selects all of the text.
Control+C	- Copies the selected text to the Window’s Clipboard.
Control+V  - Pastes text currently on the Window’s Clipboard into the EditBox.
Control+X	- Cuts the selected text to the Window’s Clipboard.
Image
Image
Github / Tighub / Stack

Ads
User avatar
xyeppp
Former Staff
Posts: 904
Contact:

Re: warTerminal v.1.1.1

Post#12 » Mon May 17, 2021 2:20 am

warTerminal v.1.1.2 Update
Download.
Press TAB for easy access to copy window - press TAB again to close it and go back to the terminal.

v.1.1.2

Code: Select all

-The terminal now supports multiple arguments.
-Added a logdump(name, ...) function allowing you to dump specified contents into a .log file in the game's logs/ directory.
-Added the ability to copy terminal output - pressing Copy will open the Copy window, pressing Terminal will go back to the Terminal.
 Pressing TAB when focused on the terminal input box will open the Copy window, pressing TAB when focused on the copy window will go back to the Terminal.
 Use CTRL+SHIFT+Arrow Keys for easy copy selection.
-Added a "Captain Hook" module courtesy of Hecksa to allow for spying on functions and their parameters - hook(function) to hook, unhook(function) to unhook.
Image
Image
Image
Image
Last edited by xyeppp on Mon May 17, 2021 6:31 am, edited 1 time in total.
Github / Tighub / Stack

nonfactor
Posts: 160

Re: warTerminal v.1.1.2

Post#13 » Mon May 17, 2021 4:11 am

im clueless what does it actually do?

User avatar
Idrinth
Addon Developer
Posts: 665
Contact:

Re: warTerminal v.1.1.2

Post#14 » Mon May 17, 2021 9:15 am

nonfactor wrote: Mon May 17, 2021 4:11 am im clueless what does it actually do?
It makes development of addons easier by adding more tools to help us. It's pretty handy
Addons&more Addon News&Creation&Testing Addon News Blog
  • Idrinth - Swordmaster
  • Alitsa - Knight of the Blazing Sun
  • Alitza - Warrior Priestess
  • Idrynth - Disciple of Khaine

User avatar
Taz83
Posts: 87
Contact:

Re: warTerminal v.1.1.2

Post#15 » Thu May 20, 2021 6:31 pm

is there a /command to bring the terminal window up since i my tab key bind to do something else for me

User avatar
Schett
Posts: 31

Re: warTerminal v.1.1.2

Post#16 » Thu May 20, 2021 6:45 pm

Type /d
Schett - Member of Red Guard

Current Guilds: TUP / Deep and Dry - Order ----- The Unlikely Plan - Destruction

User avatar
xyeppp
Former Staff
Posts: 904
Contact:

Re: warTerminal v.1.1.2

Post#17 » Thu May 20, 2021 7:32 pm

Taz83 wrote: Thu May 20, 2021 6:31 pm is there a /command to bring the terminal window up since i my tab key bind to do something else for me
It's always /d to open it - you can macro that somewhere if you want.

The TAB is only for easy switching to copy window when input box is focused, and back to terminal when copy window is focused.
Github / Tighub / Stack

User avatar
xyeppp
Former Staff
Posts: 904
Contact:

Re: warTerminal v.1.1.2

Post#18 » Thu May 27, 2021 3:48 am

warTerminal v.1.2 Update
Download.
v.1.2
Added a few player help commands (scjoin, scgroup, clog, abfind, guildid, keepid) and integrated Busted, Object Inspector & Mesh.
Type h for help.

Code: Select all

v.1.2
-Added Busted into the Terminal.
 Click on the Error count to toggle - right click to reset alert color. 
-Added Object Inspector into the Terminal.
 Click on Inspect to toggle. Use +/- to change Object Depth display.
-Added Mesh into the Terminal.
 Usage is mesh(number) - number ranging from 16 to 256.
 Creates a grid on your screen for easy layout arrangement with Layout Editor/Vectors, or for precise addon dev measures.
-Added abfind("name", desc) command.
 Prints abilityID & description into the Terminal.
 Name has to be lower case, desc is optional.
-Added areainfo command.
 Prints current area information into the Terminal.
-Added scjoin command.
 Attempts to join a pending scenario pop if the window has bugged.
-Added scgroup command.
 Displays Scenario Groups window if the original one has bugged.
-Added guildid command.
 Prints your guild ID into the Terminal.
-Added keepid command.
 Prints a list of all keep IDs into the Terminal.
-Added clog command.
 Enables/Disables the Combat Log in hopes of a performance boost in large-scale fights.
-Added fontlist command.
 Prints a list of all available fonts to use in-game.
-Added changefont("font1", "font2") command.
 Changes the name & title fonts respectively. Use fontlist to check for available fonts.
-Added the ability to execute files without loading them first in the DevPad.
 Go to File->Execute.
-Added a better error output for DevPad.
 The code will now get printed into the terminal if it has not been executed successfully with a line count and an error message.
-Removed timestamps from the Terminal.
Image
Spoiler:
Image
Image
Image
Image
Image
Github / Tighub / Stack

Ads
User avatar
lolwut
Posts: 29

Re: warTerminal v.1.2

Post#19 » Tue Jun 15, 2021 4:54 pm

I’ve been screwing around with it a bit, and found that in devpad keyboard navigation is slightly borked, for example ctrl+arrow keys moves cursor by words in strings, but if you have indentation in the beginning of the line, it will skip each space individually, as if it was a separate word; home and end keys move cursor between beginning and end of the entire file, not the string cursor is in. I don’t know if those behaviors can be fixed, but would be nice if they could.
Ain't Nobody Gafflin Me.

User avatar
xyeppp
Former Staff
Posts: 904
Contact:

Re: warTerminal v.1.2

Post#20 » Tue Jun 15, 2021 5:02 pm

lolwut wrote: Tue Jun 15, 2021 4:54 pm I’ve been screwing around with it a bit, and found that in devpad keyboard navigation is slightly borked, for example ctrl+arrow keys moves cursor by words in strings, but if you have indentation in the beginning of the line, it will skip each space individually, as if it was a separate word; home and end keys move cursor between beginning and end of the entire file, not the string cursor is in. I don’t know if those behaviors can be fixed, but would be nice if they could.
Can't be fixed as keybinds are inherited somewhere from the TextBox/EditBox and I cannot do anything with these - they just exist and you can use them.
I also have a small update ready for it since quite some time, but have been busy with another addon atm.
Github / Tighub / Stack

Who is online

Users browsing this forum: No registered users and 11 guests