Skip to content

Releases: markdwags/Razor

Razor Dev Preview

01 Nov 17:30
Compare
Choose a tag to compare
Razor Dev Preview Pre-release
Pre-release

This is built automatically after each commit to master, so it may contain bugs and/or unfinished features but is generally considered stable. Use at your own risk.

Razor v1.9.77.0

24 Mar 01:25
Compare
Choose a tag to compare

This version includes more updates to the scripting engine, including the ability to create cooldowns that will display as a gump. This version also introduces lists and timers to the scripting engine. Be sure to review the latest scripting docs for details.

  • Added the cooldown command that generates a gump-based cooldown timer that can be customized (icon, color, name, order, etc)
  • Added list commands and list expressions
  • Added timer commands and timer expressions
  • Added the foreach loop to interact with lists
  • Option to disable 25ms delay on script line execution
  • Updated script variables to be part of the same system that sets variables using the as operator
  • Fixed missing syntax highlight for maxweight, clearhands, cleardragdrop, sell
  • Running a script will show the name in the system message
  • Fixed the ignore and unignore commands
  • Fixed the varexists expression
  • Added the unsetvar command
  • Updated the interrupt command to let you pass a specific layer
  • Option to disable highlighting on the script UI
  • Better error handling on script syntax issues

Razor v1.8.61.0

07 Dec 18:22
Compare
Choose a tag to compare

This version includes several new scripting commands, the ability to resize the Razor window, and Pandora like features. Versioning will slightly change, next versions will be 1.9.X.0, 1.10.X.0, 1.11.X.0, etc where X indicates the build/run ID.

  • Fix issue with delete profile button
  • Added sound and music script commands that will play specific sound or music in the client
  • Added classicuo/cuo script commands, >cuo manual command to control ClassicUO settings directly.
  • Added sound trigger option to overhead messages
  • Fixed issue with buffs/debuff filter not loading on a profile change
  • Reload scripts will read all changes made externally to scripting files
  • Added the ability to resize the Razor window
  • Fixed issue with buy agents not saving/loading correctly
  • Added itemcount expression that returns the number of items you carry in total
  • Fixed lifttype to pull the correct amount when including a hue
  • Added rename command to allow you to rename a follower
  • Added getlabel command with the in expression to capture text from a single clicked item
  • Fixed script tab not displaying the set hotkey
  • Added Pandora inspired tabs in the Advanced (shard staff specific)
  • Removed the script popout editor now that you can resize the main Razor window
  • Updated the dress and undress commands to accept a serial or variable
  • Updated gumpclose to accept an optional gump id
  • Added an option to trigger male or female sounds base on specific emotes (ie: *cheer* or *laugh*)
  • Script editor will highlight the current line when executed via the Play button in the UI
  • Updated setvar to accept a serial (bypassing the target click) and to set temp variables using ! (see docs)
  • Fixed issue when using findtype with or and as where the variable wouldn't assign correctly
  • Increased system message queue from 25 to 100 messages
  • Added ignore, unignore, and clearignore commands

Full Changelog: v1.7.4.49...v1.8.61.0

Razor v1.7.4.49

26 Jul 19:50
Compare
Choose a tag to compare

This version adds some new expressions to the scripting engine along with a few other changes. Notable changes listed below:

  • Added followers and maxfollowers expressions
  • You can manage your agents in-game using >restock #, >org #, or >buy #
  • >info command will display an image of the item
  • Added the option for Next/Prev to be alphabetical
  • Updated how damage when dealt or taken is displayed
  • Fixed the mobile filter so it doesn't rely on movement
  • Mobile filter is applied to mobiles on the screen when changing it in the UI
  • Added wyrm as a mobile filter
  • Added targetexists expression
  • Added diffhits, diffweight, diffmana, diffstam expressions
  • If the server disables macro loops that will also disable script loops
  • Added an index variable to reference in scripts
  • Added name, paralyzed, invuln, warmode expressions
  • You can now assign >custom commands to hotkeys and execute using a command
  • Fixed issue with the macro/script key binding not always displaying correctly in the UI

NOTE: Releases now come in x64 and x86. If you still use client.exe you must download the x86 version.

Full Changelog: v1.7.3.36...v1.7.4.49

Razor v1.7.3.36

10 Jan 20:20
Compare
Choose a tag to compare

This version contains a few small upgrades to Razor.

  • Option for buy agents to ignore the amount of gold you have
  • findtype, targettype, liftype will match on the full item name only
  • Agents can be assigned an alias to be more easily identified in the dropdown
  • Agent aliases can be used in scripts
  • Organizer and restock agent won't force the UI to come to the front when executing via scripts
  • Added Next/Prev Friendly hotkey
  • Added a pause script hotkey
  • Added Pause/Resume to popout script editor
  • When changing values in agents, it will be an in-game gump vs. a Razor UI inputbox
  • The tooltips on the script editor will now work under Mono (thanks @dallenwilson)
  • Added varexist expression
  • Added a hue parameter to findtype, targettype, dclicktype and lifttype for items
  • Updated how the script count/counter expression works, it no longer requires you to have a counter setup under Display->Counters (thanks @sorsarre)

Note: Razor versioning has slightly changed since now moving to GitHub Actions. Instead of it being based on the number of builds since the last release, it is now based on the run_number for now.

Razor v1.7.1.7

13 Oct 16:11
Compare
Choose a tag to compare

This is a small release that contains a few fixes mainly restoring Razor functionality on the legacy client

  • Added the keyword as when scripting to assign temp variables. See scripting guide.
  • Fixed issue with auto-save of scripts
  • AutoSearchExemption will now save by type
  • menu command will block popup unless you pass a parameter
  • Sound filter list and sound names are in sync, sorts in alphabetical order, block correct sounds
  • Fixed syntax highlighting on nested quotes in scripts
  • Razor should now run again with the legacy OSI client
  • Razor settings are stored in a simple csv file now
  • Feature flags can be 32-bit

Razor v1.7.0.12

29 May 13:25
Compare
Choose a tag to compare

This version has two key updates. First, it updates the .NET framework from 4.0 to 4.7.2, bringing it inline with ClassicUO. If you're using ClassicUO already, you already have this installed and shouldn't need to do install anything additional.

Secondly, to make script editing a bit easier, there is now a popout editor available available via right-clicking your script or script name in the Razor tab.

  • Updated Razor to .NET 4.7.2 and increased the version to from 1.6.x to 1.7.x
  • Added a new popout script editor. Right-click on the script editor to use it.
  • Copy screenshots to clipboard and open screenshot folder from UI
  • Fixed undress command when using a layer
  • Fixed issue with guardlines.ref not being read by UOPS
  • Added syntax highlighting for targetloc command
  • targetloc requires two params, z will default to 0 if not included
  • Show incoming name/target only for new mobiles
  • setvar command will create the variable if it doesn't exist
  • Added cleardragdrop command
  • Added interrupt command
  • Added cancel param to the target command
  • Added clear param to the target command to clear the target queue
  • Fixed issue with nested for loops and the break statement
  • If you clone a profile to an existing name, it will block that
  • When recording a script, it will capture target 'self'
  • Fix how auto-script save works on Linux

Razor v1.6.9.21

27 Feb 18:55
Compare
Choose a tag to compare

This update focuses more on the Razor Scripting Engine with a variety of bug fixes and enhancements, among a few other new items.

  • Fixed issue with setvar and similar named variables
  • spirit and forensic are valid skill entries for scripting
  • Added queued expression to scripting
  • Removed global script range checkboxes, review the guide for the correct syntax
  • Fixed drop command to check for the correct params
  • lifttype will default to 1 if not value is provided
  • Import/export agents from the UI by clipboard or other profiles
  • findtype supports the backpack param
  • lift and lifttype will correctly wait before continuing
  • dress and undress will also correctly wait before continuing
  • waitforsysmsg, waitforgump, waitgformenu, waitforprompt will accept a timeout param
  • Check if a spell needs channeling before triggering unequip (thanks @sorsarre)
  • Counters correctly save when you click Save
  • Added clearall command. See scripting guide for details
  • Target Closest Friendly Humanoid will only target a humanoid
  • Updated target command with new features. See scripting guide for details
  • Added support for @ quiet prefix for commands
  • Added clearhands command to drop what you have in your hands
  • dclick now supports left, right and hands to use an item in your hand
  • Added virtue command to invoke honor, valor or sacrifice
  • Cancel Target will cancel setting a variable if it's active
  • Fixed TargetByType and DoubleClickType in macros with range check. The range checks were always meant to include in your backpack too
  • Added random command to generate a random number you can use with insysmsg to help perform a random action
  • Improved support for keycode differences between Windows and X11 (thanks @dallenwilson)
  • Additional support for dotnet core 3.1

Razor v1.6.8.15

15 Dec 17:05
Compare
Choose a tag to compare

This release expands the UI used to manage scripts to include categories and adjust the editor size, along with a few other new features and fixes.

  • Implemented treeview and categories for scripts
  • Added ability to adjust the size of the script editing window and the list of scripts (right-click to hide/show)
  • script command can now call the new supported categories
  • Added findbuff scripting expression
  • Fixed right-click menu not opening when selecting something in the script editor
  • Script will throw an error if you use if count with an counter that isn't setup
  • Fixed issue with the individual sound filter being off by 1
  • Added guild and alliance scripting commands
  • Converting macros to scripts will retain the same name if available
  • Added position scripting expression
  • Added ability to override which weapons Razor consider two handed
  • CTRL-S will save the current script you're editing
  • Save indicator in main window when editing scripts
  • Fixed issue with lift command requiring the optional parameter

Razor v1.6.7.10

24 Oct 20:33
Compare
Choose a tag to compare

This releases contains changes to the UI along with some new features and bug fixes.

  • >info command gump will close when you try to close it
  • Split 'Auto-Un/Reequip hands for potions' into 2 options
  • Added in-game gump to show assigned Razor hotkeys. Type >hotkeys
  • Added hotkeys for all Razor gumps that were available in commands (info, sysmsg, hotkeys)
  • Added Set Hot Key button to agents
  • New Filters tab on Razor and moved all filtering related features as sub-tabs
  • Ability to block/filter specific text
  • Added whisper and yell commands to scripting
  • Fixed issue loading files when using the OSI client
  • Option to disable tooltips in the script editor
  • Fixed infinite loop issue with scripts when using nested for loops
  • The script list on the UI will be in alphabetical order on Linux
  • Added waitforsysmsg command as this can be achieved already using while loops.