xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> When You Switch Orbs..., ask whether you wish to restart dash?
Little-G
post Nov 21 2005, 11:25 PM
Post #1


X-S Senior Member
**

Group: Members
Posts: 176
Joined: 5-August 05
Member No.: 238913
Xbox Version: v1.4
360 version: v3.0 (falcon)



when you edit your skin you get the option of restarting the dash now

how would you encorporate that code into the orb patch?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
t1x2irc2
post Nov 22 2005, 05:24 AM
Post #2


X-S Member
*

Group: Members
Posts: 68
Joined: 14-January 05
Member No.: 187930



actually that is how it was before but after each orb change

you will see in default.xip/orbs.xap

CODE


function DoAction()
{
  var c = theOrbsMenu.children[0].children[0];
  var info = new Settings;
  info.file = "A:\\system\\uix.ini";
  info.section = "Dashboard Settings";
  if (nCurPlayerMenuItem == 5) { ShowOrbInfo(); }
  else if (nCurPlayerMenuItem == 0)
{
TellUser("Main Orb has been changed to " + OrbMenuList[orbSelect],"");
var IniFile = new Settings;
IniFile.SetIniSection( "Dashboard Settings" );
IniFile.SetIniValue( "Current Orb", OrbMenuList[orbSelect]);
}

ect...



Old Code

CODE

function DoAction()
{
   var c = theOrbsMenu.children[0].children[0];
   var info = new Settings;
   info.file = "A:\\system\\uix.ini";
   info.section = "Dashboard Settings";
   if (nCurPlayerMenuItem == 5) { ShowOrbInfo(); }
   else if (nCurPlayerMenuItem == 0)
   {

       var IniFile = new Settings;
       IniFile.SetIniSection( "Dashboard Settings" );
       IniFile.SetIniValue( "Current Orb", OrbMenuList[orbSelect]);
       AskQuestion("Orb change will not take full effect until you restart the dash. Would you like to restart now?", "ReStartDash();", "", 0);
   }

ect...




you could add something like this when you exit the menu

CODE

function OnBDown()
       {
TellUser("Orbs have Changed!  You must reboot for the changes to take effect.", "ReStartDash();", "", 0);
}


User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 22nd May 2013 - 12:14 PM