Skip to content

[BUG] Last Known Window Position for Menus #198

@gidzdlcrz

Description

@gidzdlcrz

Describe the bug
Window for "MENU" position keeps resetting to left side when menus have 5 or more options.

To Reproduce
Steps to reproduce the behavior:

  1. Create npc with menu (must be with morethan 5 option)
prontera,150,150,5	script	Sample Menu#Menu	909,{

	mes "[ Long Menu ] ";
	mes "Hello World";
	switch(select("Menu 1:Menu 2:Menu 3:Menu 4:Menu 5:Menu 6")){
	case 1: end;
	case 2: end;
	case 3: end;
	case 4: end;
	case 5: end;
	case 6: end;
	}
}
  1. Play with it
  2. See Result

Expected behavior
Should behave exactly as a menu with only 4 options

Video Recording

2025-06-04_Ragexe_Skylove_patched_uJoIhdGXC5.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions