Jump to content


Photo

Anyone Wanna Update Some Scripts


  • Please log in to reply
10 replies to this topic

#1 Jezz_X

Jezz_X

    X-S Knowledgebase

  • Moderator
  • PipPipPipPipPipPipPipPip
  • 4,531 posts
  • Location:Australia
  • Xbox Version:v1.1
  • 360 version:none

Posted 13 February 2004 - 04:39 AM

Does anybody want to update the Xbox NameChange and the IP Change scripts to the latest wips using the virtual keyboard.

The entry maker script has got me spoilt on it now wink.gif

#2 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 13 February 2004 - 04:47 AM

Xbox name change should become a three/four line script now
Same with IP changer laugh.gif

#3 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 13 February 2004 - 10:55 AM

Well I considered making and Xbox Name (Nickname) switcher. But, even with the WIP's the only pratical way to do this would be to have a folder or something with several alternate XBN files to copy around. So you'd still have to to hex edit the XBN file on your PC (several times) depending on the number of avaible Nicknames you want

#4 Yuyu

Yuyu

    X-S Spirit Detective

  • Moderator
  • PipPipPipPipPip
  • 1,231 posts
  • Location:Belleville, IL
  • Interests:Football (Soccer) ... Umm, Xbox?
  • Xbox Version:v1.1
  • 360 version:v2 (zephyr)

Posted 13 February 2004 - 03:12 PM

All you need to do for the name changer script is edit the preferences node, where the nickname tag is, in the mxm.xml... SHould not be that hard I think... Then they can just edit there nick with the Keyboard...


#5 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 13 February 2004 - 03:31 PM

I'm talking about the NICKNAME.XBN file found in E:\UData. The one for system link gaming.

#6 Yuyu

Yuyu

    X-S Spirit Detective

  • Moderator
  • PipPipPipPipPip
  • 1,231 posts
  • Location:Belleville, IL
  • Interests:Football (Soccer) ... Umm, Xbox?
  • Xbox Version:v1.1
  • 360 version:v2 (zephyr)

Posted 13 February 2004 - 03:40 PM

YEah whenever you change your nick in the MXM preferences that is your Xbox's nick for System Link... MXM edits that file for you when you set your nick...

Thats why all you need to do is edit the .xml

#7 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 14 February 2004 - 03:26 AM

Really? I didn't know that.

#8 Jezz_X

Jezz_X

    X-S Knowledgebase

  • Moderator
  • PipPipPipPipPipPipPipPip
  • 4,531 posts
  • Location:Australia
  • Xbox Version:v1.1
  • 360 version:none

Posted 15 February 2004 - 12:07 AM

Well I ended up doing the name change one myself if your interested
OH and you need a WIP of MXM cause it uses the new virtual keyboard
Hope the forum dosn't screw up the layout

CODE

;##################################################
;#  Name: Name Changer
;#  Author:koldfuzion updated by Jezz
;#  Date: 15-2-2004
;#  File Name:NameChanger2.xas
;#  Version: 1.0
;#  Purpose: Allow user to change the xbox name.
;##########################################################

;--------  check for MXM.XML  -----------
SETFUNC XMLOK FileExists MXM.XML
IF# %XMLOK% == 1 GOTO XMLGOOD
IF# %XMLOK% == 0 GOTO XMLBAD
GOTO QUIT

:XMLGOOD
XMLOPEN TestXML $actualpath$\mxm.xml
XMLGetNodePtr TestXML XMLPtr
XMLGetValue TestXML Nickname !.Preferences.Nickname
IF "%Nickname%" != "" GOTO CONTINUENAME
IF "%Nickname%" == "" GOTO CREATENODE

:CREATENODE
XMLCreateNode TestXML NickName
XMLSetValue TestXML !.Preferences.Nickname "$Name$"

:CONTINUENAME
XMLSetNodePtr TestXML !.Preferences.Nickname
XMLGetNodePtr TestXML XMLPtr
XMLGetValue TestXML Nickname !.Preferences.Nickname



SET _kbInput "%Nickname%"
StringInput _kbInput SINGLE "Your Current XBox NickName is %Nickname%$eol$ Enter a new title or leave the same to exit"
IF "%_kbInput%" == "%Nickname%" GOTO QUIT


:ACCEPTED
 XMLSetValue TestXML !.Preferences.Nickname "%_kbInput%"
 XMLSAVE TestXML $actualpath$\mxm.xml
 XMLCLOSE TestXML
 BeginDraw UseCurrent
   MessageBox "Your new xbox name is %_kbInput%$eol$$eol$The Name Change will take effect$eol$when MXM is restarted$eol$$eol$Press X to Reboot Now$eol$Press ANY OTHER Button to Reboot Later"
 EndDraw
 Input
   If %_GP_X% == "1" GOTO REBOOT
QUIT


:REBOOT
reboot
quit

:QUIT
QUIT

:XMLBAD
QUIT


#9 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 15 February 2004 - 01:51 AM

I'm no scripting expert but the XMLBAD part would be better if it were

:XMLBAD
MsgBox "No MXM.xml found$eol$unable to proceed"
Quit

This way they don't think the script isn't working.

#10 Jezz_X

Jezz_X

    X-S Knowledgebase

  • Moderator
  • PipPipPipPipPipPipPipPip
  • 4,531 posts
  • Location:Australia
  • Xbox Version:v1.1
  • 360 version:none

Posted 15 February 2004 - 02:11 AM

Probably but thats how the original was I just ripped out the old VirtKeybored stuff and added in the inbuilt keybord of the wips

#11 Jezz_X

Jezz_X

    X-S Knowledgebase

  • Moderator
  • PipPipPipPipPipPipPipPip
  • 4,531 posts
  • Location:Australia
  • Xbox Version:v1.1
  • 360 version:none

Posted 15 February 2004 - 05:24 AM

Well I got around to changeing the IP Changer one as well now so heres updated versions of both the should work fine I did test them

You need a mxm version with the virtual keyboard

IP CHANGER

XBOX NAME CHANGER




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users