Menu

#6003 Item picture in wooden frame: 'Look closely' doesn't work

None
closed-fixed
None
5
2023-10-31
2023-10-14
kribbel
No

Java client Stendhal 1.44

When using the new context menu item 'Look closely' on new item 'picture in wooden frame' nothing happens. I guess this should open/create the picture.
Console output:

ERROR [AWT-EventQueue-0] EntityViewCommandList.java ( 58) - Unknown command: 'use'

It's possible to open/create the picture by double-clicking on it.
This doesn't seem to affect the web client.

Discussion

  • AntumDeluge

    AntumDeluge - 2023-10-14

    Confirmed.

     
  • AntumDeluge

    AntumDeluge - 2023-10-31

    It appears the web client ignores case when handling actions. The Java client does not. So it expects the command "Use" instead of "use" as defined in games.stendhal.server.entity.item.ExaminableItem (sourceforge.net).

    We can either simply change "use" to "Use" in ExaminableItem.java or change the Java client to ignore case in action names. The latter would prevent future errors.

     
  • AntumDeluge

    AntumDeluge - 2023-10-31
    • status: open --> closed-fixed
    • assigned_to: AntumDeluge
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel