Page 3 of 3

Re: Interface Reordering OXP

Posted: Mon Dec 08, 2025 11:10 pm
by Krager
При использовании этого дополнения, по другому себя ведёт `OoCheat`.
В обычном варианте в дополнении `OoCheat` при добавлении денег, они добавляются и ты тут же можешь добавить ещё.
Если же установить `Interface Reordering` при добавлении денег, денги добавляются, но автоматом происходит выход из `OoCheat`. И чтоб снова что то изменить, надо снова входить в `OoCheat`.

Re: Interface Reordering OXP

Posted: Tue Dec 09, 2025 2:23 am
by Wildeblood
What Google translate says Krager said:
OoCheat behaves differently when using this add-on.
In the standard OoCheat add-on, when you add money, it's added, and you can immediately add more.
However, if you install Interface Reordering, when you add money, the money is added, but OoCheat automatically exits. To change anything again, you have to re-enter OoCheat.
Here's the relevant code from ooCheat, it's nothing fanciful. So this unfortunate side-effect could be happening on lots of mission screens?

Code: Select all

this.displayMenu = function()
	{
	mission.runScreen({title:"Cheat Menu", choicesKey:"ooCheat_choices"}, this.choice);
	...	
	}

this.choice = function(choice)
	{
	switch(choice)
		{	
		case "OOCHEAT_1_CREDITS":
			{
			player.credits += 1000;
			this.displayMenu();
			break;
			}

		case "OOCHEAT_2_RANK":
			{
			this.increaseRank();
			this.displayMenu();
			break;
			}
			...
		}
	}