xboxscene.org forums

Pages: 1 2 3 [4]

Author Topic: Script : Ip Changer Using Dialogs  (Read 285 times)

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Script : Ip Changer Using Dialogs
« Reply #45 on: February 17, 2004, 06:22:00 PM »

textbox backgrounds are definitely too bright (even when not in focus, visible in the screenshots)
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Script : Ip Changer Using Dialogs
« Reply #46 on: February 17, 2004, 07:23:00 PM »

QUOTE (Kthulu @ Feb 18 2004, 03:54 AM)
are there any plans to re-work the XML handling of mxm.xml in this script?  like to use the existing file, but just update it (but still back it up)?

maybe there was something screwy with my mxm.xml to begin with, but this script really frelled up my mxm.xml (the backup) and the new one it created only contains network stuff.

Hrmm its works fine for me just updateing but I'll look into it

Does anybody else have that problem
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Script : Ip Changer Using Dialogs
« Reply #47 on: February 17, 2004, 08:47:00 PM »

not here.  I tried it more than once and it worked as advertised.

Kthulu, you have the original mxm.xml file that you used when it messed up?  care to share?
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Script : Ip Changer Using Dialogs
« Reply #48 on: February 17, 2004, 09:09:00 PM »

QUOTE
Kthulu, you have the original mxm.xml file that you used when it messed up? care to share?

sure don't

the mxm.bak it created wasn't terrible though.  it had some extra
CODE
<--!>

lines in it or something like that that was causing probs for MXM.  i just deleted those lines and it works and it still has all my settings in it.

the script runs great now from that mxm.xml.  my original mxm.xml was probably screwy.  it was created from scratch the first night i discovered MXM, so i'm sure it had some imperfection in it somewhere, but it worked.
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Script : Ip Changer Using Dialogs
« Reply #49 on: February 18, 2004, 12:22:00 AM »

Ok Ive updated this again No you cant download it yet just trying to get a feel if people like it

Orignal choice dialog been replaced my two radio buttons at the top
DNS settings moved to a seperate page (note the "Goto DNS" button)

user posted image

As you can see because of the smaller Dialog size no keyboard jumping any more

user posted image

If DHCP is selected the edit boxes get greyed out and the "Goto DNS" button changes to "OK" The rest is prety much the same

user posted image




Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Script : Ip Changer Using Dialogs
« Reply #50 on: February 18, 2004, 08:02:00 PM »

very nice,  i just downloaded this and it works perfect.  Great job splitting it up to keep the keyboard "steady"

















ok, i didnt download it.  But I wanted too.... and it is even a little more understandable since you are fed a piece at a time.
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Script : Ip Changer Using Dialogs
« Reply #51 on: February 19, 2004, 01:35:00 PM »

QUOTE (BenJeremy @ Feb 17 2004, 02:31 PM)
QUOTE (Jezz_X @ Feb 17 2004, 08:08 AM)
Ok I dont know squat about the programming of mxm but isn't it as easy as changeing the alpha value of the background color string to 0xFF instead of say 0xAA or what ever it is

Well, the idea was to increase the opacity when in focus. For a skin like Simplicity, it works like a charm. Give me a chance to consider some options and I'll post a new version tonight that tackles the problem.

Note the bit in the bold in the quote

Did this ever get released yet
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Script : Ip Changer Using Dialogs
« Reply #52 on: February 19, 2004, 02:58:00 PM »

I think the last WIP build is still 1172
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Script : Ip Changer Using Dialogs
« Reply #53 on: February 19, 2004, 06:38:00 PM »

CODE

SET @MyXML.SomeNode.Dialog?DlgID=Config3^pos~t 40


Carat would force it to make an element, unless a node already exists. Tilde indicates the preference for an attribute. "MyXML" is the XML object handle.

Oh... the "?DlgID=Config3" is a query - where you have multiple nodes or elements, you will be able to use this to pick a key attribute or element matched to a specific value. This should be better than blindly using index values (they will still work, too), giving you a bit more freedom, without creating a ton of ActionScript to handle getting the exact location in XML you want.

So.... I'm working on the parser and I may replace the existing parser with this one. It will mean that some features I've never documented will go away, but since you guys never used them, and they were intended to do searches on nodes (easily enough done with indexes, anyway), it won't be a big loss.

As for the edit backgrounds, I'm still considering that idea yet.  blink.gif
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Script : Ip Changer Using Dialogs
« Reply #54 on: February 19, 2004, 06:47:00 PM »

smile.gif but I cant proper program for shit these days
As for the edit box backgrounds can you just change them back to the way they were while you consider it  beerchug.gif if you do
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Script : Ip Changer Using Dialogs
« Reply #55 on: February 19, 2004, 07:01:00 PM »

QUOTE (Jezz_X @ Feb 19 2004, 11:47 PM)
Sounds very confusing to me smile.gif but I cant proper program for shit these days
As for the edit box backgrounds can you just change them back to the way they were while you consider it  beerchug.gif if you do

Yes, temporarily, I will do that tomorrow morning.
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Script : Ip Changer Using Dialogs
« Reply #56 on: February 19, 2004, 07:46:00 PM »

QUOTE
CODE 

SET @MyXML.SomeNode.Dialog?DlgID=Config3^pos~t 40


that would be great, but can we load a XMLDialog that is in memory (not on hard-drive) yet?

like this...
XMLCreate myDialog
;put some stuff in it
LoadUIDialog myDialog

so that the script doesn't actually require any external (on hard-disk) files...?

are there any plans to implement something like that?
if there aren't any plans to do something like that, i would be begging for the ability to specify different Forms in a dialog file, like...

<form1>
;control stuff
</form1>
<form2>
;control stuff
</form2>

so that we could load form1 on the screen only, then later on, turn form1 off and display form2.  this way we could just go ahead and 'pre-skin' our scripts without the scripts having to 'skin themselves'.

hope that makes sense.  i haven't played with the new dialog stuff much yet.  so forgive me if it is already possible to do what i'm wanting to do...
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Script : Ip Changer Using Dialogs
« Reply #57 on: February 19, 2004, 08:17:00 PM »

The upcoming plug-in modules allow you to define XMLs within the sript file, so that should be no problem.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Script : Ip Changer Using Dialogs
« Reply #58 on: February 20, 2004, 08:30:00 AM »

Well, Build 1173 (now up) should take care of the edit box for now...
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Script : Ip Changer Using Dialogs
« Reply #59 on: February 24, 2004, 11:21:00 AM »

QUOTE
actually, it did scale the image to the rect...


It seems like it will scale them to a bigger size, I was talking about scaling an image down to fit inside the rect.
Logged
Pages: 1 2 3 [4]