Valhalla Legends Archive

Gaming => Gaming Discussion => Topic started by: Barabajagal on February 04, 2007, 07:12 PM

Title: SSHR Gateway
Post by: Barabajagal on February 04, 2007, 07:12 PM
How do you change the gateway Starcraft Shareware connects to?
Title: Re: SSHR Gateway
Post by: l)ragon on February 04, 2007, 07:17 PM
Quote from: [RealityRipple] on February 04, 2007, 07:12 PM
How do you change the gateway Starcraft Shareware connects to?
IIRC it use's a list in the registry, and connects to the fastest one.
Title: Re: SSHR Gateway
Post by: Barabajagal on February 04, 2007, 07:21 PM
I need to make it connect to 127.0.0.1. I've added 127.0.0.1 to the gateway list (which should be the fastest since it's a 0ms connection time), but it doesn't connect to it. Should I get rid of all the other options?
Title: Re: SSHR Gateway
Post by: l)ragon on February 04, 2007, 07:23 PM
Could try that, but dont forget to make a registry backup of that list lol.
Title: Re: SSHR Gateway
Post by: Barabajagal on February 04, 2007, 07:28 PM
Apparently, it doesn't. It still connected to USWest when all that was in there was:
1001
05
127.0.0.1
8
LOCAL
Title: Re: SSHR Gateway
Post by: l)ragon on February 04, 2007, 07:51 PM
That was with editing "HKEYLM//Battle.net//Configuration//Server List" ?
Title: Re: SSHR Gateway
Post by: Barabajagal on February 04, 2007, 07:53 PM
current user. Local Machine just has "exodus.battle.net" in the server list field.
Title: Re: SSHR Gateway
Post by: l2k-Shadow on February 04, 2007, 07:57 PM
Perhaps it uses a list from battle.snp like old starcraft beta did. Try looking for IPs in battle.snp with a hex editor.
Title: Re: SSHR Gateway
Post by: l)ragon on February 04, 2007, 07:58 PM
I don't have it installed atm so if somone else dosent answer befor hand then I'll message you on AIM lateron when I do.
Title: Re: SSHR Gateway
Post by: Barabajagal on February 04, 2007, 08:04 PM
209.67.136.167;209.1.214.54;207.200.73.73Ping List ,;209.67.136.170;exodus.battle.net

that's around 022000 in battle.snp...
Title: Re: SSHR Gateway
Post by: l)ragon on February 05, 2007, 12:25 AM
Anyways the answer without hacking the battle.snp was, set exodus.battle.net to connect to 127.0.0.1 within the host file located in your system folder.
Title: Re: SSHR Gateway
Post by: Skywing on February 05, 2007, 09:07 AM
I believe that you would also have success in setting the old REG_SZ "Server List" in the appropriate key under HKLM.  Starcraft Shareware has not been updated for a long time, and does not use the new-style "Battle.net Gateways" server selection system.
Title: Re: SSHR Gateway
Post by: l)ragon on February 05, 2007, 12:18 PM
Quote from: Skywing on February 05, 2007, 09:07 AM
I believe that you would also have success in setting the old REG_SZ "Server List" in the appropriate key under HKLM.  Starcraft Shareware has not been updated for a long time, and does not use the new-style "Battle.net Gateways" server selection system.
What was the path of that key?
Title: Re: SSHR Gateway
Post by: Barabajagal on February 05, 2007, 01:21 PM
If you mean HKEY_LOCAL_MACHINE//Battle.net//Configuration//Server List, I've tried that, and it doesn't change anything.
Title: Re: SSHR Gateway
Post by: Ringo on February 06, 2007, 09:43 AM
Quote from: [RealityRipple] on February 04, 2007, 08:04 PM
209.67.136.167;209.1.214.54;207.200.73.73Ping List ,;209.67.136.170;exodus.battle.net

that's around 022000 in battle.snp...
Since lockdown, changing the string in Battle.snp wont work properly, due to failed version checks. (most likely caused by a modifyed battle.snp)

Also, I think* (Its been awhile) if you want to connect SSHR to a custom gateway, you need to do it on another system, because SSHR Doesnt like it when port 6112 is inuse.

I take it your trying to get the version check values?
Just SendKeys(chr$(13)) on a timer, and have your program capture the values when SSHR connects to west and does the version check -- its just gonner take along time, thats all :P
Title: Re: SSHR Gateway
Post by: Ringo on February 06, 2007, 09:44 AM
oops, it double posted for some reassion. Delete this :P
Title: Re: SSHR Gateway
Post by: Barabajagal on February 06, 2007, 01:07 PM
We already got it by editing hosts to redirect exodus.battle.net to 127.0.0.1. The only problem is something isn't working right and I'm getting IPBanned from the server when my little "proxy" program connects to bnet. I'll figure it out when my computer's giving me less problems.