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

ClientScript error while hovering over sort buttons on spellbook interface #6

Open
vddCore opened this issue Jun 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@vddCore
Copy link

vddCore commented Jun 26, 2022

Detailed description
Whenever you have any offensive spell with defensive XP enabled set while wielding an elemental staff, the spellbook interface fails to properly process mouse hover and left-click events on the sorting buttons. Right-click opens a menu but the Sort option does not work. The non-defensive setting works properly.

Steps to reproduce

  1. Wield any elemental staff.
  2. While having proper runes to cast an offensive spell, go to combat styles and set an offensive spell with defensive XP as auto-attack.
  3. Go to spellbook interface.
  4. Hover over the sorting buttons.

Relevant logs

Error:
rt4.ScriptRunner.run:1902 rt4.ScriptRunner.run:4498 rt4.Protocol.method1756:2927 rt4.client.mainLoop:1584 rt4.GameShell.mainLoopWrapper:425 rt4.GameShell.run:580 java.base/java.lang.Thread.run:829 | java.lang.RuntimeException: C3408-1 | CS2 - scr:2060 op:-1

Client version
1.0.1b | a63bf74

pazaz2.mp4
@Pazaz Pazaz added the bug Something isn't working label Jun 27, 2022
@woahscam
Copy link

Did a small deep dive into this. It appears to be a server sided issue. Seems like certain varbits are not being set leading to a client script error. However, I have had trouble in the past with almost all of the "tabbed" interfaces on 530 when decompiling them. Just some extraneous values.

Related data:

  • VARBIT:
    • 357 (0/1/2)
      • 0 - Unlocks the ability to swap between the 3 filters
      • 1 - Unknown
      • 2 - Unknown
    • 5822 - Dependent on 357=0
    • 5823 - Dependent on 357=1
    • 5824 - Dependent on 357=2
  • VARC:
    • 631
  • CS2 scripts:
    • 2057(arg0: Int = -1)
    • 2058(arg0: Int), 2059
    • 2060(arg0: Widget)
    • 2061(arg0: Widget)
  • PARAMS:
    • 662 (valueType=g)
    • 663 (valueType=g)
    • 654 (valueType=i)
    • 655 (valueType=i)
    • 656 (valueType=i)
    • 657 (valueType=i)
    • 658 (valueType=i)
    • 659 (valueType=i)
  • ENUM:
    • 2162
      • type=i
      • valueType=J
      • defaultString=null
      • defaultInt=-1
      • Values:
        • 0=504
        • 1=505
        • 2=506

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

3 participants