Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Outlands - odd issue with archery script #225

Closed
WOLFGE1ST opened this issue Oct 6, 2023 · 1 comment
Closed

[BUG] Outlands - odd issue with archery script #225

WOLFGE1ST opened this issue Oct 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@WOLFGE1ST
Copy link

ClassicUO

Basically this script will check if I have a heavy crossbow in hands and switch to crossbow and vise versa. Has worked well for months. Suddenly, after some time playing there is an issue where if I have the crossbow equipped it will not switch to the heavy crossbow.

I have a version of the script which does the same thing but adds a regular bow into the mix. When I have the regular bow in my backpack it all works fine, except for when switching from crossbow to heavy crossbow.

I tried changing from the item name type to the number ID type to eliminate potential confusion with the words "crossbow".

If I haven't played in a while and load up the game it seems to work fine. There is something that happens while playing that seems to bug the script. I've also tried adding the command to clear ignore list to the top just in case the heavy is added to the ignore list somehow, but that wouldn't make sense because like I said it works fine with the version that has the regular bow in the script.

Here is a simplified version of the script that is still having the same issue:

if findtype 'heavy crossbow' lefthand
if findtype 'crossbow' backpack as 'medium weapon'
@dclick 'medium weapon'
endif
elseif findtype 'crossbow' righthand
if findtype 'heavy crossbow' backpack as 'heavy weapon'
@dclick 'heavy weapon'
endif
elseif findtype 'heavy crossbow' backpack as 'heavy weapon'
@dclick 'heavy weapon'
endif

@WOLFGE1ST WOLFGE1ST added the bug Something isn't working label Oct 6, 2023
@markdwags
Copy link
Owner

You'll have to engage with Outlands support since they use a customized fork off this main project.

If you can replicate this on the main version of Razor, please reopen or support a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants