ScriptUO

Scripting Resources & Utilities => SUO Launcher => Topic started by: TrailMyx on March 02, 2015, 10:23:10 AM

Title: SUO Launcher
Post by: TrailMyx on March 02, 2015, 10:23:10 AM
So I've been bringing all the little things together.  With client patching and injection for an executable, I have the start of a freeshard launcher.  It's very basic at this point, but will launch a patched, unencrypted client to any address/port entered.

What I want to do to keep from stepping on the toes of the other launch sites is to allow them to drag/drop information into the application to "add" their site to the others contained in the program.  From there, they can launch using this application.

As it stands now, the client patches for multiclient nag dialog and always light.  I want to add the skip intro also as soon as I find that offset.

Anyhow, just fiddling at this point.
Title: Re: SUO Launcher
Post by: Tidus on March 02, 2015, 10:42:00 AM
Very nice.  Simple is always nice.
Title: Re: SUO Launcher
Post by: TrailMyx on March 02, 2015, 10:52:37 AM
Very nice.  Simple is always nice.

Ya, I totally want to keep it simple.  Judging from the leechers we've had over the years, simple is a moral imperative.  

There's a few things that will probably not be possible though.  Since my program works very similar to Razor, whatever client launches will not have 3rd party tools associated with it.  EasyUO is another matter because it attaches itself to the client process underway, so it should still work fine.

Anyhow, it will be exactly how UOGateway once was.  Just simpler since I'm not going to do any of that freeshard management stuff.  I'll leave that up to the freeshards who choose to use this tool.
Title: Re: SUO Launcher
Post by: Tidus on March 02, 2015, 11:17:00 AM
You should make it also be able to "permanently" decrypt the client to the server of choice.  This way secondary programs might still be able to use it.  With someone on PlayUO currently working on UOPatch.exe to be able to patch, they will be able to use UOAssist with it or other programs that require UOPatch to run.
Title: Re: SUO Launcher
Post by: TrailMyx on March 02, 2015, 11:29:51 AM
You should make it also be able to "permanently" decrypt the client to the server of choice.  This way secondary programs might still be able to use it.  With someone on PlayUO currently working on UOPatch.exe to be able to patch, they will be able to use UOAssist with it or other programs that require UOPatch to run.

That's sort of a side-effect of this process.  I *can* output a client that can be used for those programs.  *HOWEVER* that does take away the focus of this program to launch and sort of breaks my idea of actually monetizing this function.  You see, I intend to get some AdSense clicks from one of those now-blank boxes. 

I've been doing all this stuff for free for a long time, and I'd like to find a way to make a few cents here and there.
Title: Re: SUO Launcher
Post by: Tidus on March 02, 2015, 11:54:57 AM
Totally understand.  Right now i only use EUO with my client.exe so it isn't a big deal that i would use a shard chooser.
Title: Re: SUO Launcher
Post by: TrailMyx on March 02, 2015, 11:58:22 AM
Totally understand.  Right now i only use EUO with my client.exe so it isn't a big deal that i would use a shard chooser.

I'm still trying to think of a way to do what you suggest while keeping my idea of taking over the world in tact.  :)
Title: Re: SUO Launcher
Post by: TrailMyx on March 02, 2015, 12:05:58 PM
This is kinda cool, I used the launcher to run a client on Alexandria and your shard simultaneously. :)
Title: Re: SUO Launcher
Post by: Tidus on March 02, 2015, 12:09:47 PM
Maybe only offer the client decryption for those who actually own a shard and not to the general public. Those who register with you to have their log-in information automatically in the shard chooser.
Title: Re: SUO Launcher
Post by: TrailMyx on March 02, 2015, 12:18:59 PM
Maybe only offer the client decryption for those who actually own a shard and not to the general public. Those who register with you to have their log-in information automatically in the shard chooser.

I was actually working on the saving of login information associated with each shard.  I always forget that stuff.
Title: Re: SUO Launcher
Post by: TrailMyx on March 02, 2015, 10:07:03 PM
Here's a working first pass.  I haven't done much testing really.  I know it doesn't work well with older clients.  How old is anyone's guess.

The program works mainly from the "Personal" tab.  So if you want it to remember your account name, you'll need to click "add shard".  This basically takes the contens of the Shard Name, Shard Address and Port value text boxes and creates an entry in the "Personal" tab.  Then you can edit the Account Name column with the specific account name.

I haven't done anything with the favorites tab yet.

My virus software seems to go mad for this, but I assure you it's fine.

Let me know if it doesn't detect your client.  I'm sure I don't have all the registry key locations.

The contents of your "Personal" tab are saved to wherever you put the .exe file under the filename "SUOLauncher.xml"

I have the drag/drop for HTML content almost working.  Right now, a MessageBox will show the content dropped.  I just need to format an acceptable HTML header to be parsed by the program to allow for easy additions to the program.

The bottom open area is meant for a bitmap link that can be provided by the shard owner.
Title: Re: SUO Launcher
Post by: Crome969 on March 02, 2015, 11:06:52 PM
Maybe make it possible, that your Tool adds a new Directory "Clients" to the EA Folder. Then unpack the remade client to an own Folder within the clients folder with patched .ini. Also inject a Linker Code to the exe, that its thinks its still in the main directory. On that way you allow to patch for shards without touching the roots.

We in Stealth do similar. We inject code to .exe so it takes stealth.cfg in uo folder instead of uo.cfg
Title: Re: SUO Launcher
Post by: TrailMyx on March 03, 2015, 08:32:44 AM
Maybe make it possible, that your Tool adds a new Directory "Clients" to the EA Folder. Then unpack the remade client to an own Folder within the clients folder with patched .ini. Also inject a Linker Code to the exe, that its thinks its still in the main directory. On that way you allow to patch for shards without touching the roots.

We in Stealth do similar. We inject code to .exe so it takes stealth.cfg in uo folder instead of uo.cfg

One thing I've wanted to add to a program like this is the ability to automatically store client versions so you can "go back" to a previous client easily.
Title: Re: SUO Launcher
Post by: gimlet on March 03, 2015, 08:34:57 AM
I really like this concept!
Title: Re: SUO Launcher
Post by: TrailMyx on March 03, 2015, 09:52:31 AM
I really like this concept!

The client database is a really simple thing to add.  I've always wanted to do something like it, but I never had a project to piggyback onto.  This one seems like it'll fit..

BTW, Google AdSense sucks.  Trying to get signed up and they claim scriptuo.com doesn't have enough content.  lol.  I understand what they are looking for, but this site just isn't formatted in the way they want.
Title: Re: SUO Launcher
Post by: Tidus on March 03, 2015, 10:05:28 AM
Shouldn't be just about content, but visits per day.  Sometimes you need to contact an account manager to get you started.
Title: Re: SUO Launcher
Post by: TrailMyx on March 03, 2015, 10:50:15 AM
Shouldn't be just about content, but visits per day.  Sometimes you need to contact an account manager to get you started.

We have more than enough traffic here.  They do claim it's content-driven issues preventing the acceptance.  I'll look around to see how to contact someone at Google.  It seems kinda silly to me how they are sensitive to this.
Title: Re: SUO Launcher
Post by: TrailMyx on March 03, 2015, 09:32:10 PM
Here's a new version that has new features:
Selectable:
- always light
- encryption patch
- archive clients

when archive clients is selected, a directory called "Old_Clients" is created in the UO directory.  As a client changes its version, the client + version number are copied to this directory.

Right now this happens automatically regardless of the checkbox for archive clients...

Note you need to run this program with admin rights, or else it will yell at you and crash.

Knowing the OSI server/port + no patch encryption, you can manage your account names.
Title: Re: SUO Launcher
Post by: TrailMyx on March 04, 2015, 10:42:52 AM
Added more error checking...
Title: Re: SUO Launcher
Post by: Tidus on March 04, 2015, 05:13:31 PM
Working real good.
Title: Re: SUO Launcher
Post by: TrailMyx on March 04, 2015, 05:59:55 PM
Working real good.

That's cool!  I'm sure there will be some crashes, but we'll see how it works out.  I'm going to add the drag/drop shard info tonight so people can start linking to it.  Thanks for testing it!

The client backup is actually kinda cool.
Title: Re: SUO Launcher
Post by: TrailMyx on March 04, 2015, 09:02:54 PM
Ok, here's the new version that supports linking to the application.  One issue there doesn't seem to be a work-around for according to the interwebz is that *if* you have to run the application in admin mode, then you also need to be running your browser in admin mode as well or else you can't drag/drop.

I've included a link (http://www.scriptuo.com/index.php?action=dlattach;topic=12999.0;attach=6321;image) on the very lower left of this site to test.  If you click the link, it takes you into the downloads section here to get the program (assuming I ever finish it).  Draging the link to the SUO Launcher window will show a popup that describes what's going to be added.  Hovering over it just tells you where to stick it!

I fixed a problem with the XML parcing.  Annoying tags....

Here's the link source:

Code: [Select]
<a href="http://www.scriptuo.com/index.php?action=downloads;cat=6" title="Drag this link into the SUO Launcher window!">SUO Launcher
  <meta name="Shardname" content="Your shard name">
    <meta name="ShardAddress" content="1.2.3.4">
    <meta name="ShardPort" content="2593">
</a>

The parser is VERY strict.  I'm looking for exactly (<meta name="Shardname" content=") to signify the start of each entry.  Add whitespace, and the parser should just ignore the drag.
Title: Re: SUO Launcher
Post by: Tidus on March 05, 2015, 05:55:04 AM
The SUO Launcher download page doesn't have the download just so you know
Title: Re: SUO Launcher
Post by: TrailMyx on March 05, 2015, 08:36:54 AM
The SUO Launcher download page doesn't have the download just so you know

:p

Lol, I know.  So far *one* person has done any testing other than me (cough thanks Tidus! cough).  So I'm not going to be posting it until it gets a bit more use.  Also I need to put a link in there to link back here as well as get the ads working.  I'm not liking the amazon ones because they are really huge.  I've gotta figure out how to get the adsense stuff going.  Stupid google.

Finally, I need to give credit to people from which I "borrowed" code.  The actual decrypt code and injector are just things I managed to tweak from information from the webz.  The patch code is my own and Gimlet gave me the offsets for the always light.  I just need to make sure I understand the decrypt stuff so I can support it.  I wish I had the website information for the original UO Rice because there was a good explanation about the client encryption.  That site is gone now, but hopefully it's somewhere in the waybackmachine.  So if anyone remembers the website name, I can at least see if that information was archive.
Title: Re: SUO Launcher
Post by: TrailMyx on March 05, 2015, 10:42:06 AM
I'm also going to add a URL field to the link information that will let the shard owner point to a 480, 72 image url that can link back to their shard.  I'll put it in the site rotation of the lower ad space.  I'm also experiementing with chitika as an ad alternative to adsense.  So far it's pretty lame..

After this is said and done, who know's...  I might be able to buy myself a hot dog with the proceeds!
Title: Re: SUO Launcher
Post by: Tidus on March 05, 2015, 11:21:42 AM
I'm also going to add a URL field to the link information that will let the shard owner point to a 480, 72 image url that can link back to their shard.  I'll put it in the site rotation of the lower ad space.  I'm also experiementing with chitika as an ad alternative to adsense.  So far it's pretty lame..

After this is said and done, who know's...  I might be able to buy myself a hot dog with the proceeds!

nothing wrong with a free hotdog!
Title: Re: SUO Launcher
Post by: TrailMyx on March 05, 2015, 11:29:08 AM
nothing wrong with a free hotdog!

That's what she said!

Sorry for the ads on the main site.  Just experimenting..
Title: Re: SUO Launcher
Post by: TrailMyx on March 05, 2015, 03:41:16 PM
More functionality.

. Favorite tab works
. saves shard specific information like always light, encryption, and OSI login
. Using OSI login checkmark just logs you into OSI regardless of your other information.  It will change your user name, so you can use this to manage all your accounts.
. ads work better.
. lots of little bug fixes and tweaks.
. more bugs added.

You might have to delete your xml file...
Title: Re: SUO Launcher
Post by: Tidus on March 05, 2015, 03:57:17 PM
Seems to working really well for me.
Title: Re: SUO Launcher
Post by: Tidus on March 05, 2015, 03:59:02 PM
for the Archive.. is that an Encrypted Client archive or a Decrypyed Client archive?
Title: Re: SUO Launcher
Post by: Tidus on March 05, 2015, 04:14:01 PM
Just so you are aware, anyone with Norton SONAR will not be able to use your launcher.  It automatically flags it as a high risk and deletes it off the computer.

They have to put it on the computer, go into Norton and trust the file, then mark it is able to run as administrator before ever opening it.

Found this out when I put it on a friend's computer to test it.
Title: Re: SUO Launcher
Post by: TrailMyx on March 05, 2015, 04:35:57 PM
Yeh, I found that out with AVG also.  It's odd because it doesn't even detect the action, but the file itself.  The code for injecting happens in an allocated memory space and not even in a running thread.  I dunno, there's not much that can be done about it.
Title: Re: SUO Launcher
Post by: TrailMyx on March 05, 2015, 04:36:55 PM
for the Archive.. is that an Encrypted Client archive or a Decrypyed Client archive?
The archive is just the basic client; nothing has been touched.  I haven't quite decided if/how to handle an unencrypted executable.  Anything I think of takes the focus away from the Launcher except for patches.
Title: Re: SUO Launcher
Post by: Tidus on March 06, 2015, 05:52:43 AM
for the Archive.. is that an Encrypted Client archive or a Decrypyed Client archive?
The archive is just the basic client; nothing has been touched.  I haven't quite decided if/how to handle an unencrypted executable.  Anything I think of takes the focus away from the Launcher except for patches.

Well if you want to make a Shard Owner version and a General Use version, then I could see where you could auto save decrypted ones.  But i understand why you would not want to.  It is purely for my own selfish reasons. :)
Title: Re: SUO Launcher
Post by: Tidus on March 06, 2015, 05:59:30 AM
I was wondering if you will ever interject into the client like how some have the ability to Add Health Bars at the top etc.  I'm not talking a full functioning scripting engine since we have EUO, but a healthbar at the top and maybe the ability to add the MW as target last and target self since UO doesn't let you do set MW in their macros.
Title: Re: SUO Launcher
Post by: TrailMyx on March 06, 2015, 07:17:30 AM
I was wondering if you will ever interject into the client like how some have the ability to Add Health Bars at the top etc.  I'm not talking a full functioning scripting engine since we have EUO, but a healthbar at the top and maybe the ability to add the MW as target last and target self since UO doesn't let you do set MW in their macros.

Anything is possible really.  I've gotten this thing working by tweaking a bit of code that's available on the interwebz and learning to navigate the client binary with Debuggy and Ida Pro Free to change a "JZ" to "JMP" here and there.  So right now I'm doing just the VERY basic client tweaking.  If this proves to not be such a pain in the ass, I might consider doing some more things as I can figure them out.  My next little task is to figure out how to skip the UO splash screens like Razor does.  So far the tweaks I've done have been very obvious in the disassembler.
Title: Re: SUO Launcher
Post by: Tidus on March 06, 2015, 03:28:54 PM
Best answer in the world?

Answer:
Deal with it.

Most definitely.
Title: Re: SUO Launcher
Post by: Crisis on March 06, 2015, 06:37:57 PM
The SUO Launcher download page doesn't have the download just so you know

:p

Lol, I know.  So far *one* person has done any testing other than me (cough thanks Tidus! cough).  So I'm not going to be posting it until it gets a bit more use.  Also I need to put a link in there to link back here as well as get the ads working.  I'm not liking the amazon ones because they are really huge.  I've gotta figure out how to get the adsense stuff going.  Stupid google.

Finally, I need to give credit to people from which I "borrowed" code.  The actual decrypt code and injector are just things I managed to tweak from information from the webz.  The patch code is my own and Gimlet gave me the offsets for the always light.  I just need to make sure I understand the decrypt stuff so I can support it.  I wish I had the website information for the original UO Rice because there was a good explanation about the client encryption.  That site is gone now, but hopefully it's somewhere in the waybackmachine.  So if anyone remembers the website name, I can at least see if that information was archive.

I have found a couple of things about the original UO Rice

The first link here is something from Lord Binary, not sure if it is what you were looking for: http://www.uox3.org/lonewolf/docs/yamuurice.htm

And here is a post from 2002 which lists a website for UO Rice: http://www.ryandor.com/forum/viewtopic.php?t=24

So far the launcher works great. It found my client which is not located on the C Drive, I was able to easily log into Alexandria and UO Rebirth and even EA/Broadsword. I think the possibilities of this are great. I would love to see it turn into something similar to UO Steam or UO Assist.

The Amazon Ads worked fine, I was able to click on them and go to what it showed but the other ones did not. I am attaching a screen shot.
Title: Re: SUO Launcher
Post by: TrailMyx on March 06, 2015, 07:10:31 PM
I'm not a fan of the chitika ads.  Just about an hour ago I was just finally approved for adsense (don't get me started on that one) so I'll probably pull those for the adsense ones.  Chikita was just a fall-back because Google was making me jump through hoops for initial approval.

Thanks for those links, I've been trying like crazy to make sure I give proper credit to the people who originally did the base code.  It's changed enough that I won't feel too bad if I miss someone, but I do want to be as complete as I can.

My intentions with this program for now isn't really to replace anything.  I'm just trying to fill a void that was left when the original UOGateway went down.  I don't want all that headache of managing shards, admins, disputes, etc.  But if I make it convenient for shard admins to get their new members up and running quickly, then I believe this tool will have a niche.  Even if they transition over to something else for their macroing pleasure, that's ok with me.
Title: Re: SUO Launcher
Post by: TrailMyx on March 08, 2015, 08:56:18 PM
I updated the link with the latest version.  You can now fuse the client path with the particular shard you want to start.  Also you can edit the shard information in both the personal and favorites tabs.

So:
. Editable shard information
. Client path is configurable
. Links now select your configured browser, not just IE.
. quite a few other bugs fixes
. many more bugs added

You may have to delete your xml file again.  Hopefully that'll be the last time.
Title: Re: SUO Launcher
Post by: TrailMyx on March 08, 2015, 09:24:46 PM
@Tidus/Crome

If you guys want to play around with the link dragging and the bmp file:

Code: [Select]
<a href="http://www.scriptuo.com/index.php?action=downloads;cat=6" title="Drag this link into the SUO Launcher window!">SUO Launcher
  <meta name="Shardname" content="Your shard name">
    <meta name="ShardAddress" content="1.2.3.4">
    <meta name="ShardPort" content="2593">
    <meta name="ShardImageURL" content="http://www.shardname.com/path_to_your_bmp"> <-- dont' include the filename - just the path
</a>

For the "ShardImageURL", I'm requesting a file named "suo_banner.bmp".  If the banner is successfully loaded by the program, it will appear in the same directory as the Launcher.exe and will be named "temp.bmp".

I haven't done the code yet to add that to the lower banner rotation - that's next up to get working. There will be *strict* checks to make sure this file is exactly 480x72 and right now just BMP.  
Title: Re: SUO Launcher
Post by: Tidus on March 09, 2015, 08:36:12 AM
I will attempt this evening
Title: Re: SUO Launcher
Post by: TrailMyx on March 09, 2015, 10:14:09 AM
I will attempt this evening

Kewl.  I'll see if I can get the graphic in the rotation today sometime.  I didn't have alot of time to work on this.  This week will be hard probably, but this program is kinda fun.  I forgot what wiggling brain cells feels like.
Title: Re: SUO Launcher
Post by: TrailMyx on March 09, 2015, 11:01:22 AM
@Trixta- since you have a few different versions of the client, have you tried to see how the launcher decrypts them?  I'm kinda curious how far back my patcher will go before the signature breaks.
Title: Re: SUO Launcher
Post by: Crisis on March 09, 2015, 07:30:03 PM
I downloaded it and will give it a whirl tomorrow evening!  ;D
Title: Re: SUO Launcher
Post by: TrailMyx on March 09, 2015, 08:25:15 PM
I downloaded it and will give it a whirl tomorrow evening!  ;D

Kewl, I'll probably have another version ready by then.  Almost have the shard site graphics done.
Title: Re: SUO Launcher
Post by: Trixta on March 09, 2015, 08:43:50 PM
Mine still says "cannot find a client"

I copy and pasted into the path and i also manually entered it.

But it does not let me launch, and when I close out to try again it does not remember the client path.
Title: Re: SUO Launcher
Post by: TrailMyx on March 09, 2015, 08:45:48 PM
Changes for v8:

Added code to test shard picture in rotation.  A bit of test popups right now to show the file transfers, but the shard will show up in the lower ad area. 

I integrated the google ads and have been puzzling away to get them to pull up their own browser, but there's an issue if you linger the cursor over the ad link (right side) the control will think you clicked the ad again.  I need to figure out why that's happening.
Title: Re: SUO Launcher
Post by: TrailMyx on March 09, 2015, 08:49:04 PM
Mine still says "cannot find a client"

I copy and pasted into the path and i also manually entered it.

But it does not let me launch, and when I close out to try again it does not remember the client path.

OK, I guess I need to move a client around and see if I can get it to work..  Lemme check to see what's going on.  So you're just running a client off your desktop?

Try clicking the "Update" button when you try and start it..
Title: Re: SUO Launcher
Post by: Trixta on March 09, 2015, 08:52:45 PM
Yeah, I have my entire UO folder on my desktop.

When I try to manipulate the directory path, it does let me edit it, however it does not save in anyway, nor does the launch button highlight.

I can play with the ads and they work great for me.
I can also add to personal and favorites etc. Just can't launch :(

Title: Re: SUO Launcher
Post by: TrailMyx on March 09, 2015, 09:07:51 PM
Check out the quick/dirty change I made in v8x.
Title: Re: SUO Launcher
Post by: TrailMyx on March 10, 2015, 11:07:12 AM
Changed for v9:

. Reworked the startup code so that it might work better for people with clients everywhere (cough, Trixta, cough)
. Added a status bar so you can see what's going on
. Added credit for Trixta and Crisis for beta testing
. more bugs added
Title: Re: SUO Launcher
Post by: Trixta on March 10, 2015, 02:22:18 PM
Changed for v9:

. Reworked the startup code so that it might work better for people with clients everywhere (cough, Trixta, cough)
. Added a status bar so you can see what's going on
. Added credit for Trixta and Crisis for beta testing
. more bugs added

My new char name for Uo-Rebirth will be CoughTrixtaCough     :P
Title: Re: SUO Launcher
Post by: TrailMyx on March 10, 2015, 02:24:40 PM
My new char name for Uo-Rebirth will be CoughTrixtaCough     :P

That's perfect!
Title: Re: SUO Launcher
Post by: Trixta on March 10, 2015, 02:29:42 PM
Love the status bar it works as intended :P

When I launch it no longer gives me an error , however it does show me what i'm missing, as soon as I tab over to personal, it auto loads the path and says Client found.

Cha ching!!


Minor fix for sometime wayyyyy later, there is a spelling error in the display when it says " "Cannot located a client reference in your registry"
Title: Re: SUO Launcher
Post by: TrailMyx on March 10, 2015, 02:33:11 PM
Ah, so it works for you now!!  Finally, eh?  lol

Well, please torture it.  I found one little issue and I'll fix the misspelling you found.  My spelling is horrible, so I'm not surprised.  :)
Title: Re: SUO Launcher
Post by: TrailMyx on March 10, 2015, 10:40:23 PM
My new char name for Uo-Rebirth will be CoughTrixtaCough     :P

I'd like to get this stable soon.  Ive been kinda curious about starting fresh on UOrebirth.  I haven't done that for a while.  

The mouse clicking is kicking my butt though.  I think I've found a bug in the windows Web browser control.  Lucky me.
Title: Re: SUO Launcher
Post by: TrailMyx on March 11, 2015, 12:15:12 AM
Changes in v10:

.  I seem to be localizing the browser clicking issue.  I believe I have it mostly worked out.  Please see if you can still make it select the webpage by hovering/wiggling or however you might induce it.
.  Client launch counter for internal consumption.
. Fixed spelling error Trixta found
. Fixed error of first shard showing use OSI login information even if it was a freeshard.
Title: Re: SUO Launcher
Post by: Tidus on March 11, 2015, 07:00:33 AM
Changed for v9:

. Reworked the startup code so that it might work better for people with clients everywhere (cough, Trixta, cough)
. Added a status bar so you can see what's going on
. Added credit for Trixta and Crisis for beta testing
. more bugs added

My new char name for Uo-Rebirth will be CoughTrixtaCough     :P

Love it
Title: Re: SUO Launcher
Post by: Tidus on March 11, 2015, 07:01:55 AM
My new char name for Uo-Rebirth will be CoughTrixtaCough     :P

I'd like to get this stable soon.  Ive been kinda curious about starting fresh on UOrebirth.  I haven't done that for a while.  

The mouse clicking is kicking my butt though.  I think I've found a bug in the windows Web browser control.  Lucky me.

You are always welcome TM.  :)
Title: Re: SUO Launcher
Post by: Trixta on March 11, 2015, 10:23:09 AM
My new char name for Uo-Rebirth will be CoughTrixtaCough     :P

I'd like to get this stable soon.  Ive been kinda curious about starting fresh on UOrebirth.  I haven't done that for a while.  

The mouse clicking is kicking my butt though.  I think I've found a bug in the windows Web browser control.  Lucky me.

You are always welcome TM.  :)


Tidus I am going to steal your Signature :P

Title: Re: SUO Launcher
Post by: Tidus on March 11, 2015, 11:36:54 AM
Go right ahead.  Maybe some day i will get better at photoshop and making a most awesome signature for RebirthUO and header for the website.. but i am limited in skillz sadly. :)
Title: Re: SUO Launcher
Post by: TrailMyx on March 11, 2015, 10:03:38 PM
I invited one of the devs at Alexandria to play around with this as well.  He might pop in from time to time.
Title: Re: SUO Launcher
Post by: TrailMyx on March 12, 2015, 08:43:53 AM
I have no idea what's up with Google and Amazon.  For each of them, they rejected my first attempt at playing with their tools.  2nd application with both of them, and I was approved.  For Amazon, I only made the very small change of adding the store link to the top of the site.  Can't hardly tell its there, yet approval.  I think they just do that to weed out people who aren't even a little persistent.  They have no idea.... :)
Title: Re: SUO Launcher
Post by: Tidus on March 12, 2015, 09:25:28 AM
It is probably to help weed out spammers or people who have no real reason for it.
Title: Re: SUO Launcher
Post by: TrailMyx on March 12, 2015, 10:03:34 PM
Changes for v11:

. removed google stuff because I'm violating the ToS by the way I'm doing things.
. refined the loading of the shard splash graphic.  Still not done yet, but should not lock up when trying to load something that's not there.
. client pull-down menu now catelogs all found client locations and keeps a record of the new ones added.  Also when it scans the XML file upon load, it will load a complete list of client locations but not duplicate
. Sorry, your XML file will be invalid again.
. I deleted the link to the google ad stuff, so previous version will no longer try and serve the google ads.
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 10:05:10 AM
Barring any unforseen circumstances, I should finish everything I had in mind for this program by the end of the weekend.  Not too bad having a 2 week turn around for this.
Title: Re: SUO Launcher
Post by: Tidus on March 13, 2015, 10:16:27 AM
Error with V11
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 10:22:44 AM
Let me change that specific ad to just a javascript link and see if the problem goes away...  Now you can say "Stupid IE"..  heh.. 

I'll post back when I make the change to the site file..
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 10:26:18 AM
Ok, I changed the link from iframe to javascript.  See if that works - you don't need to download anything - the change was server-side.
Title: Re: SUO Launcher
Post by: Tidus on March 13, 2015, 10:44:12 AM
Error i get.

Just  abit of a background.  This is a fresh Windows 7 Install upgraded to SP1 and .net 4.  Internet explorer is the standard 8 with windows 7.  i will upgrade to IE 11 to see if that helps.
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 10:48:34 AM
Should still work with the bit older IE.  Let me post the version with the script error suppressed.  BRB..
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 10:50:40 AM
Ok, I posted version 12 that has the webbrowser script errors suppressed.  

I need to strip out all the BS code I wrote for the link clicking and just use good old basic control interfaces instead of the exotic kludge I had to come up with.  I'll work on that this weekend.  Clicking will still be a little wonky until then.
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 04:14:42 PM
I've avoided need to make an installer for this, but I think I can't avoid it anymore.  I need a place to store temporary files from the shard images, and they just can't be cluttering wherever.  So I need to bite the bullet...
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 04:42:54 PM
For giggles, I packaged the program in the installer from InstallForge.  See how that seems to work for you:

http://www.scriptuo.com/index.php?topic=13014.msg107789#msg107789
Title: Re: SUO Launcher
Post by: Trixta on March 13, 2015, 08:34:40 PM
Unzipped and installed great, however when I launched the program it said "error in xml file please delete to reset"  then it works fine, But when i close the program it says "Try running this program with admin rights i cannot create the file or directory"



Once I setup run as admin it removes the last error but the xml error remains at the beginning.
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 08:50:02 PM
Unzipped and installed great, however when I launched the program it said "error in xml file please delete to reset"  then it works fine, But when i close the program it says "Try running this program with admin rights i cannot create the file or directory"



Once I setup run as admin it removes the last error but the xml error remains at the beginning.

I actually need to change that messagebox error to a warning.  It's just basically saying it didn't find your xml file because now it's looking for it within your installed directory for the launcher.  Should work after you either copy the one you had to the installed path, or just close and open the program again.
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 09:11:03 PM
You must be using Win 8, Trix.  I kinda get the same thing on my Win8 box.  Seems to work fine in Win7, so there's something odd going on there.  Does the account you're running from have admin rights?
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 09:27:34 PM
Ugh, the installation directory created a bit of a can of worms...  More recent versions of Windows store these kinds of things in the appdirectory associated with each user account.  I'll have to figure that out I guess.  Maybe that will be easier actually that having an installer.  Just manage a directory in "x:\Users\user\AppData\Local. 

If only everyone still used Win7.  Life would be much easier!
Title: Re: SUO Launcher
Post by: TrailMyx on March 13, 2015, 10:54:11 PM
Changes for v13:

. Gladly back to a non-installer version.  From input from Trixta and Tidus, I think the solution for the XML storage and other Launcher-related stuff is to put a directory in the "roaming" section.  This is a normal convention and should give full write access to the user.  No matter where you run the application now will always be able to reference your data.  Tested on Win2003, Win7 and Win8.1

. Verify your data directory by referencing it in the "About SUO Launcher" section (button press).
Title: Re: SUO Launcher
Post by: TrailMyx on March 14, 2015, 10:52:26 AM
Changes for v14:

. Added final functionality for shard banners.  Now when you scroll through your shards, if a shard has a banner, it will automatically show up in the lower webbrowser window.  The shard website will be active for 10 seconds before the normal ad rotation continues, so you can click it to goto the shard's webpage.  You can test this behavior using the link I created on this site.  It will download a basic BMP test page that will display whenever you select "Your Shard Name"
. Shard banner images are stored in "shardart" in your appdata directory.

So this is pretty much all functionality I had envisioned for this.  I'll probably start a round of UI refinement and bug fixes that people come up requiring.

Pleases kick the tires of this and see what you think!
Title: Re: SUO Launcher
Post by: TrailMyx on March 14, 2015, 11:52:18 PM
So any recommendations or suggestions?

Things I want to tweak:
. Verify if a shard is to be removed
. More status showing up on the bottom panel
. Save the status of the backup client checkmark (right now it's forgotten when the program stops)
. Mouse still phantom clicks sometimes.
. Organize shards (move up/down selections)
. Minimize the program to taskbar icon

Yeh, yeh, make it work like UOS or Razor.  Got it, not happening.

Also, right now I'm saving the client versions in the UO directories because there can be clients in various places on ones computer (cough, Trixta), but should I just have one place where their stored (in the roaming user data section)?

I'm working to ad more interesting and useful ad affiliates.  I really hated those per click ones.  Plus Google hates me now.  :)  Ones I'm working to get are T-mobile, Ebay, Banggood, Apple, and a couple others.
Title: Re: SUO Launcher
Post by: Tidus on March 15, 2015, 07:25:24 AM
Right now, I am doing really well with the launcher on Windows 7.  Have no issues.
Title: Re: SUO Launcher
Post by: gimlet on March 15, 2015, 07:35:19 AM
...
Yeh, yeh, make it work like UOS or Razor.  Got it, not happening.
...


Will it launch UOAssist, UOS or Razor?
Title: Re: SUO Launcher
Post by: Crome969 on March 15, 2015, 08:19:17 AM
Allow Custom Patchs (mul Files\UOP) being downloaded from a shard, then use them on fly :)

So filepatching shards have it easyier to get people who want to play on multiple shards..
Title: Re: SUO Launcher
Post by: Trixta on March 15, 2015, 09:28:02 AM
Works great for me right now. I'll try and break it more on Monday, Birthday party today for this wee ones (:

I plan to play with uos,euo and maybe a few speedhacks and see what happens then :P

Title: Re: SUO Launcher
Post by: Crisis on March 15, 2015, 10:49:18 AM
Running this on Win 8.1 and running great. It saves shards and opens them like it should.

1. The ads work but the big box does not rotate ads, it is only one ad and though it flickers like it is changing, the same ad is always there. Amazon Prime
2. Bottom Ad bar shows one for SUO Amazon Store and one for normal Amazon Store (guessing that is by design but double checking. I no longer see the screenshot.
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 10:51:57 AM

Will it launch UOAssist, UOS or Razor?

Nope nope and nope.  Remember this program is kinda there for the noob to get started on a shard, and not take it over riding on the wings of angels.  :)

This program basically launches a client just like UOA, Razor or UOS, but without all those useful features!
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 11:29:36 AM
Running this on Win 8.1 and running great. It saves shards and opens them like it should.

1. The ads work but the big box does not rotate ads, it is only one ad and though it flickers like it is changing, the same ad is always there. Amazon Prime
2. Bottom Ad bar shows one for SUO Amazon Store and one for normal Amazon Store (guessing that is by design but double checking. I no longer see the screenshot.

1.  Yeh, I only have one ad in the top box now.  I'm looking for more that aren't annoying
2. The SUO banner is just supposed to display once and then goes out of the rotation.  So that's working!  :)  It's basically the programs "Hi, I'm SUO Launcher, click me!"

Moving data to the user AppData helped make the thing run smoother because there isn't a wrestling for R/W capability like there is EVERYWHERE else.  Win8.1 is particularly bad - it's like Windows Vista all over again.
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 11:53:13 AM
Allow Custom Patchs (mul Files\UOP) being downloaded from a shard, then use them on fly :)

So filepatching shards have it easyier to get people who want to play on multiple shards..

Aren't there a billion different file patching methods running from basic file replacement to incremental patching?  Sound like a fairly large can of worms unless I come up with a convention to use.  Freeshard conventions are kinda like herding flaming cats.  Not advised..
Title: Re: SUO Launcher
Post by: Crome969 on March 15, 2015, 12:08:00 PM
Allow Custom Patchs (mul Files\UOP) being downloaded from a shard, then use them on fly :)

So filepatching shards have it easyier to get people who want to play on multiple shards..

Aren't there a billion different file patching methods running from basic file replacement to incremental patching?  Sound like a fairly large can of worms unless I come up with a convention to use.  Freeshard conventions are kinda like herding flaming cats.  Not advised..

No, most provide Mulfiles\UOP Files on FTP or Weblink. You download and replace your own and thats it. That super old Tool back then did such work. Shard Owners provided data onto 1 link and on a standartized method. And the Tool checked crc, downloaded and linked the files..
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 12:14:28 PM
No, most provide Mulfiles\UOP Files on FTP or Weblink. You download and replace your own and thats it. That super old Tool back then did such work. Shard Owners provided data onto 1 link and on a standartized method. And the Tool checked crc, downloaded and linked the files..

That wouldn't be too bad then.  I could add another metatag explaining the file(s) to be downloaded.  I'm already doing basic file transfer grabbing the shard BMP.  Now that there's a useful data location for temporary stuff, I could establish a baseline so that a shard could download its changes, the user could play them, but then once complete the changes could be reverted.  Also, those files could then be resident so that they don't have to be downloaded again.  So that would be relatively doable and kinda straightforward.

Really, I didn't think too many freeshards use custom Mul/UOP.  Hmm.
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 01:30:16 PM
Running this on Win 8.1 and running great. It saves shards and opens them like it should.

1. The ads work but the big box does not rotate ads, it is only one ad and though it flickers like it is changing, the same ad is always there. Amazon Prime
2. Bottom Ad bar shows one for SUO Amazon Store and one for normal Amazon Store (guessing that is by design but double checking. I no longer see the screenshot.

1. Oh, and I see what that flicker is about.  I forgot to remove the default reference to the AdSense link, so it's trying to perform that function only to get blocked by Google.  Sucks getting blacklisted I guess.  :)

74 clients launched so far! (according to my crystal ball!)
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 03:05:30 PM
I added Boydon to this section so he can kick the tires a bit.
Title: Re: SUO Launcher
Post by: Tidus on March 15, 2015, 03:07:36 PM
Minor issue that I found today....  Using my Favorites or personal doesn't work.. I can add to it but I cannot select them and launch them.  It always launches whatever is selected in the Public tab.
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 03:10:22 PM
Minor issue that I found today....  Using my Favorites or personal doesn't work.. I can add to it but I cannot select them and launch them.  It always launches whatever is selected in the Public tab.

That's interesting - I'll have to look at that.  Really what happens is when you selected a tab and a row, the information is transfered up to the edit boxes.  From that information, transferred up to the boxes is actually used to perform the shard launch.  When you select the tab/row, do you see that information changing up in the edit boxes?
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 03:15:55 PM
Actually I see that happening on the favorites tab, but my Personal tab works ok.  I was able to launch a shard with the associated login information to Rebirth, Alexandra and OSI without issue.  However, something is wonky with the Favorites for me.

I can see how I coded it and it might act strangely.  Lemme just fix it.  Looks like that's just old code before I enabled the other tabs.... Stay tuned!
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 03:33:20 PM
Changes for v15:

. removed Google AdSense reference
. Added Hostgator to ad rotation in upper ad stamp
. Added verify dialog for delete of shard
. Fixed an issue Tidus found when trying to run a shard from the Favorites tab (and probably Personal as well)
Title: Re: SUO Launcher
Post by: Crisis on March 15, 2015, 04:11:48 PM
Personal tab worked fine for me, I thought the favorites did as well but I will retest it.
Title: Re: SUO Launcher
Post by: TrailMyx on March 15, 2015, 04:26:07 PM
Personal tab worked fine for me, I thought the favorites did as well but I will retest it.

I could see where it might work, but it could be random as well.  Now I took the random nature out of the equation.  :)
Title: Re: SUO Launcher
Post by: TrailMyx on March 16, 2015, 08:37:13 AM
Minor issue that I found today....  Using my Favorites or personal doesn't work.. I can add to it but I cannot select them and launch them.  It always launches whatever is selected in the Public tab.

Give v15 a whirl, Tidus.  It should fix the problem you were seeing.  I did a global search to see if the legacy tab handler was anywhere else (2 weeks is now legacy?!?) and that was the last instance of one tab rules them all!
Title: Re: SUO Launcher
Post by: Trixta on March 16, 2015, 10:19:52 AM
You Broke it!@  tee hee
Title: Re: SUO Launcher
Post by: TrailMyx on March 16, 2015, 10:05:52 PM
I put up another version of v16 where I'm playing with the UI a bit.  File is a bunch larger because of the embedded BMP.  Changing it to a jpg won't really help too much.
Title: Re: SUO Launcher
Post by: TrailMyx on March 17, 2015, 09:52:05 AM
Well not that much larger now.  I got curious how much smaller the JPG background would be, and it was quite a bit smaller.  So the download went from >600k to around 150k.  Much more reasonable, and with the monochrome background, you really can't see the difference between the BMP and JPG.
Title: Re: SUO Launcher
Post by: Tidus on March 21, 2015, 09:27:06 AM
I have some wondering when you will make this public. :)
Title: Re: SUO Launcher
Post by: TrailMyx on March 21, 2015, 09:59:21 AM
I have just a couple more things to do, but probably by Monday.  I haven't gotten alot of feedback though.  You're welcome to share it with whomever you want to test it.  In fact, lemme post version 17 and you can let people you know play with it.

I'm using it daily now.  I don't use things like Razor or UOS, so it's kinda perfect for me.  EasyUO and a way to get to freeshards are all I really need.  That and not getting swamped by all the daemons in Wind on your shard.  lol.

I need to get in touch with Red Squirrel.  If he would associate this with UOGateway, that would be awesome!
Title: Re: SUO Launcher
Post by: TrailMyx on March 21, 2015, 10:46:03 AM
Release notes for v17:

. Added version number update sense.  Now the program will know where there has been a new version uploaded
. Added a server-side shard link count so I can track how many times the shard link function has been used.
. Fixed a few little issues.
. Probably added more.
Title: Re: SUO Launcher
Post by: Crisis on March 21, 2015, 11:40:22 AM
V17 worked great, I like the skin instead of the normal grey that is seen a lot with different gumps and programs. The only issue that I found may be more of a Google Chrome or Win 8.1 issue than anything else.

Quote
Question: I cannot drag a link to SUO Launcher?

Answer:
In Windows, if a programs aren't running at the same permissions level, you cannot drag/drop between them.  If you had to run the Launcher.exe at admin rights, then you will probably need to be sure you're running your browser as admin as well.

I decided to try this out so I went to the properties then compatibilty and checked for it to run as admin. From there any add that I clicked on "support launcher" and "visit ScriptUO.com" then page would not load, would just sit there trying to load. I also found that I could not open Chrome from its shortcuts. While this is either a Crome or Windows issue, it may affect the drag link function for some.
Title: Re: SUO Launcher
Post by: TrailMyx on March 21, 2015, 11:46:39 AM
I'll have to fiddle with the Chrome thing.  It seems to work pretty well with Firefox and IE.  I'm basically trying to filter the request to whatever default browser you have set up, but man Google makes everything difficult!  Lemme see if there's anything I can do on this end.  It's a google thing; Win 8.1 works OK.

Glad you like the background; it's better than plain vanilla.  I plan on making it more dynamic as time goes on.  Also I plan on making the Launcher splash screen seasonal.  So there will be a christmas one,  fall, summer, etc.

Thanks for testing!
Title: Re: SUO Launcher
Post by: TrailMyx on March 21, 2015, 03:12:16 PM
Release notes for v18 - RC1:

.  This is the first version I consider a release candidate (RC1)
.  All features are finished
.  Still will have issues with people who primarily use Chrome.
.  Ad campaigns are dynamic now, I can add/delete them server-side
.  Checkmark for archive clients now saves in XML
Title: Re: SUO Launcher
Post by: TrailMyx on August 31, 2015, 01:21:31 PM
Release Notes for Version 21 - RC4:

. Fixed bug in patching code where a missing multiclient signature would prevent the cfg file patch, resulting in the inability to redirect to freeshards.
. Added initial functionality for MySQL database interconnection to allow for Live shard database updates.  Now ScriptUO local database can be modified and presented as shards are added/removed from the Public tab!
. Now you can double-click on the shard to launch on the datagrid instead of having to press the Launch Client button.
. Revised site version to "21" so that now users of the Launcher will get an inital popup signifying a new version is available.
Title: Re: SUO Launcher
Post by: Tidus on September 02, 2015, 08:09:28 AM
I :heart: you TM
Title: Re: SUO Launcher
Post by: TrailMyx on November 03, 2015, 12:04:33 PM
I'll be posting a version of this program that will make it easier to run older version of the client that's been cateloged.  So if you accidentally patch, you can just pull-down a list of older clients and run those instead.  There's still one compatibility issue with EUO I need to work through, but it'll be neat once complete.

http://www.scriptuo.com/index.php?action=downloads;sa=view;id=8
Title: Re: SUO Launcher
Post by: Crisis on July 23, 2017, 11:43:46 AM
*NECRO*

I tried using this and I cannot get it to do anything. It pops up to allow it to run but the program never loads. I have tried deleting the version I had and then re-downloaded it. I have it set to run as admin. I have tried with win 10 settings, compatibility for win 7 and win 8. I use to run it under win 8 and it worked then. I wanted to use this for RUO test center since the port changes and I don't know how to save servers in Razor. Any suggestions?
Title: Re: SUO Launcher
Post by: TrailMyx on July 23, 2017, 03:33:21 PM
Strange.  I use it daily.   Lemme try a fresh copy on a new computer I have.

At the bottom of the About SUO Launcher window pop, you'll see some numbers at the lower left. What are they?
Title: Re: SUO Launcher
Post by: The Ghost on July 23, 2017, 03:39:04 PM
*NECRO*

I tried using this and I cannot get it to do anything. It pops up to allow it to run but the program never loads. I have tried deleting the version I had and then re-downloaded it. I have it set to run as admin. I have tried with win 10 settings, compatibility for win 7 and win 8. I use to run it under win 8 and it worked then. I wanted to use this for RUO test center since the port changes and I don't know how to save servers in Razor. Any suggestions?

No need to save port, just remember them   2593 and 5556  for RB :)   post it note
Title: Re: SUO Launcher
Post by: TrailMyx on July 23, 2017, 03:41:05 PM
Works fine on my new work laptop.  Windows 10-64bit.  admin-mode.  I barely even installed UO on this.

If you have multiple versions of UO loaded, you might be sure it's pointing to the right directory.
Title: Re: SUO Launcher
Post by: Crisis on July 23, 2017, 04:59:50 PM
It doesn't get to the point where I can do anything. I double click it, it prompts windows permission to run, then nothing. Nothing comes up or anything. I have it set for admin rights so I am not sure. Last time I ran it, I was on win 8. I did compatibility for both 7 and 8 as well but still nothing loads. I have Nortons already set to trust it.
Title: Re: SUO Launcher
Post by: TrailMyx on July 23, 2017, 05:22:25 PM
Sounds like you might be missing some .NET runtime component or Nortons is still messing with you somehow.  You might just try and disable your virus software temporarily.  Are you using anything else other than Nortons?

Check out this picture to see how you can turn on/off .NET stuff
Title: Re: SUO Launcher
Post by: Crisis on July 23, 2017, 05:55:18 PM
Sounds like you might be missing some .NET runtime component

DOH!! I never installed it when I set up my SSD and win 10 back in April. It is working like a charm now!
Title: Re: SUO Launcher
Post by: TrailMyx on July 23, 2017, 06:04:37 PM
Yehaw!
Title: Re: SUO Launcher
Post by: aptillah on April 19, 2020, 10:09:43 AM
nicee