Recent Topics

Ads

warTerminal v.1.1.2

Here you can post addons, or anything related to addons.

Moderators: Management, Web Developer

Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
xyeppp
Former Staff
Posts: 862
Contact:

warTerminal v.1.1.2

Post#1 » Sat May 01, 2021 3:58 pm

warTerminal v.1.1.2
This addon overhauls the default debug window into a terminal adding a few commands useful in development and a devpad window for all your in-game coding needs.
Everything sent from here is already /scripted automatically saving you the time typing and keeps it's own separate history of input between sessions - shift+up for last entry.

Type h for help.

Download here.

Changelog:
Spoiler:
v.1.0.0

Code: Select all

Initial Release
v.1.0.1

Code: Select all

Event Spy will continue tracking events after reloadUI if already spying.
v.1.0.2

Code: Select all

-Added a spyadd"text" function that looks for partial matches and spies on all the events containing given text.
-Added a spyrem"text" function that looks for partial matches and removes the events containing given text from Event Spy.
-Added a spylist function that prints out a list of events being spied upon currently.
-Terminal will now automatically focus the input box on opening and it will always stay focused.
  Pressing escape once will focus the input box and scroll to bottom if it is not focused currently when scrolling, or clear text if focused.
  Pressing escape when text box is empty and focused will close the window.
-Typing "ss", "spylist", "ror" or "ff" now automatically sends the command to the terminal for you.
-Slightly overhauled the options window to be more in-line with the rest of the GUI.
-Input history is stored even after you have closed the game. Simply shift+up on next login to bring the last entry.
v.1.1.0

Code: Select all

-Added a resizeable DevPad allowing in-game function writing and execution from the terminal - the maximum input allowed should be 10k characters.
 Toggling DevPad on automatically focuses the code-input box, toggling it off focuses the terminal input box.
 You can write devpad into the console to automatically send the command and turn it on if you don't feel like clicking the button.
-Code history is stored even after you have closed the game.
v.1.1.1

Code: Select all

v.1.1.1
-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.
-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 toggle between DevPad/Terminal if DevPad is open.
-Pressing ESC inside the DevPad will toggle 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.
v.1.1.2

Code: Select all

-The terminal 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 Captain Hook courtesy of Hecksa to allow for spying on functions and their parameters.

Image
Spoiler:
Image
Image
Image

Since this directly replaces the default WAR debug window it cannot be disabled.
More useful features are in the semi-working pipeline.
Last edited by xyeppp on Mon May 17, 2021 2:24 am, edited 27 times in total.
Github / Tighub / Stack

Ads
User avatar
xyeppp
Former Staff
Posts: 862
Contact:

Re: warTerminal v.1.0

Post#2 » Sat May 01, 2021 5:55 pm

v1.0.1 update will continue tracking events after reloadUI if already spying.
Github / Tighub / Stack

User avatar
Caffeine
Posts: 610

Re: warTerminal v.1.0.1

Post#3 » Sat May 01, 2021 6:08 pm

This is **** gold.
VinyUI | FPS Guide | Scenario Alert | Image Caffeine Image Decaf Image Vermont Image Nevada

User avatar
xyeppp
Former Staff
Posts: 862
Contact:

Re: warTerminal v.1.0.1

Post#4 » Sat May 01, 2021 6:18 pm

Caffeine wrote:
Sat May 01, 2021 6:08 pm
This is **** gold.
Just wait to see what's coming :D
Github / Tighub / Stack

User avatar
xyeppp
Former Staff
Posts: 862
Contact:

Re: warTerminal v.1.0.2

Post#5 » Tue May 04, 2021 4:08 pm

v.1.0.2 Update.

Code: Select all

-Added a spyadd"text" function that looks for partial matches and spies on all the events containing given text.
-Added a spyrem"text" function that looks for partial matches and removes the events containing given text from Event Spy.
-Added a spylist function that prints out a list of events being spied upon currently.
-Terminal will now automatically focus the input box on opening and it will always stay focused.
  Pressing escape once will focus the input box and scroll to bottom if it is not focused currently when scrolling, or clear text if focused.
  Pressing escape when text box is empty and focused will close the window.
-Typing "ss", "spylist", "ror" or "ff" now automatically sends the command to the terminal for you.
-Slightly overhauled the options window to be more in-line with the rest of the GUI.
-Input history is stored even after you have closed the game. Simply shift+up on next login to bring the last entry.
Image
Last edited by xyeppp on Thu May 06, 2021 8:56 am, edited 3 times in total.
Github / Tighub / Stack

User avatar
Idrinth
Addon Developer
Posts: 649
Contact:

Re: warTerminal v.1.0.2

Post#6 » Tue May 04, 2021 4:28 pm

would love to have that avaible in my repository as well if that's ok?

User avatar
xyeppp
Former Staff
Posts: 862
Contact:

Re: warTerminal v.1.0.2

Post#7 » Tue May 04, 2021 4:30 pm

Idrinth wrote:
Tue May 04, 2021 4:28 pm
would love to have that avaible in my repository as well if that's ok?
Sure thing, I'll upload it there now with a fixed hw description.
Edit: Link in the main post updated as well.
Github / Tighub / Stack

User avatar
xyeppp
Former Staff
Posts: 862
Contact:

Re: warTerminal v.1.0.2

Post#8 » Wed May 05, 2021 8:02 pm

warTerminal v.1.1.0 Update
Download.
You can now write functions and execute your code in-game with the help of a new DevPad.
The memory usage on the screenshot is misleading as it has been taken out of the release, so do not worry if it's not showing.

v.1.1.0

Code: Select all

-Added a resizeable DevPad allowing in-game function writing and execution from the terminal - the maximum input allowed should be 10k characters.
 Toggling DevPad on automatically focuses the code-input box, toggling it off focuses the terminal input box.
 You can write devpad into the console to automatically send the command and turn it on if you don't feel like clicking the button.
-Code history is stored even after you have closed the game.
Image
This was 4.3k lines of code written and executed in-game.
Image
Github / Tighub / Stack

Ads
User avatar
lolwut
Posts: 13

Re: warTerminal v.1.1.0

Post#9 » Tue May 11, 2021 5:56 am

This is so incredibly good!
Ain't Nobody Gafflin Me.

User avatar
xyeppp
Former Staff
Posts: 862
Contact:

Re: warTerminal v.1.1.0

Post#10 » Tue May 11, 2021 9:33 am

lolwut wrote:
Tue May 11, 2021 5:56 am
This is so incredibly good!
Thanks.
I have an update coming with the ability to load/save multiple project files as well and a bunch of QoL - should be ready "soon."
Github / Tighub / Stack

Who is online

Users browsing this forum: Bing [Bot], towdlad and 8 guests