• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:22
CEST 11:22
KST 18:22
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway13
Community News
SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues26LiuLi Cup - September 2025 Tournaments3Weekly Cups (August 25-31): Clem's Last Straw?39Weekly Cups (Aug 18-24): herO dethrones MaxPax6
StarCraft 2
General
Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues #1: Maru - Greatest Players of All Time Team Liquid Map Contest #21 - Presented by Monster Energy Classic Games #3: Rogue vs Serral at BlizzCon What happened to Singapore/Brazil servers?
Tourneys
WardiTV TL Team Map Contest #5 Tournaments Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast
Brood War
General
Pros React To: SoulKey's 5-Peat Challenge ASL20 General Discussion BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams
Tourneys
[ASL20] Ro16 Group B [ASL20] Ro16 Group A [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Nintendo Switch Thread Path of Exile General RTS Discussion Thread
Dota 2
LiquidDota to reintegrate into TL.net Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1604 users

Creating a Customladder similar to BW ICCup

Forum Index > SC2 General
Post a Reply
1 2 3 4 5 12 13 14 Next All
Prfx
Profile Joined July 2010
51 Posts
Last Edited: 2011-01-12 15:00:07
January 03 2011 19:48 GMT
#1
This thread is to give you information on how it can be possible to create an ICCup-like ladder system in SC2.

[image loading]
remember?


But wait... why would we want a customladder?
>To implent community maps
>We don't have the annoyingness of the bonus pool bothering us


The idea behind this is to use SC2Banks to communicate between SC2 and an external program (and a server).
Maps can store information in .SC2Bank files, likely located in (C\User\Username\Documents\StarcraftII\Accounts\AccNr\AccNrAgain\Banks\OneOfThoseFolders). An expamle for this is Marine Arena, it stores stats like total kills and games played in a bank and display it ingame on the leaderboard.



This is how a hypothetical customladder could work:

>Registers at some site and download a program.
>Use your login information to access the program. It will create a SC2Bank file with your Nickname stored in it (one file for each map in the pool).
>The program also shows your current rank and stats.
>Now you're ready to go. Go to the join custom game menu in SC2 and set the filter to "Tug of War" (This is because there are very few Tug of War overall games so the customladder maps wont be burried).
[image loading]
The Tug of War section is a wasteland

>Join a map according to your rank. Expample: "Metalopolis - Custom ladder rank D".
>Depending on the outcome of the game the map will save something along the lines of <ID Joe123 wins against ID Adam456> in the SC2Bank file.
>The program notices when the game is finished, reads out the result of the game from the SC2Bank and sends it to the server where your stats and your rank will be updated accordingly and send back to the program.


Problems with this method:
>Obviously won't work if both parties don't have the program running, but this can be easily detected so that you can leave the current game and join anotherone without ruining your stats.
>Cheating: SC2Banks can be edited with notepad to fake results. This too can be prevented. The easiest method would be to let the map create a hash file for the result and let the server validate it. This can be done with STARCODE (1)




This is how far i got on my own:
(Note that this is NOT an already working customladder, its just a basic attempt)


Created a map: "Metalopolis - Custom Ladder" (EU), it can be found by putting the filter on 'Tug of War'. It's unlocked so you can freely steal code.
Filefront link:
http://www.filefront.com/17745285/Metalopolis-test-backup.SC2Map/

Difference between this map and normal Metalopolis:
>The stuff i did in the triggers
>Changed some stuff arround in Map>Game Variants
>You can only spawn cross or close-air position



Created a program (with my shitty pascal programming skillz) to perform simple tasks with the SC2Bank.
Filefront link:
http://www.filefront.com/17745468/customladder.exe
Link of the Source:
http://www.filefront.com/17745477/reader.zip
Code:
+ Show Spoiler +
unit Unit1;

{$mode objfpc}{$H+}

interface

uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
ExtCtrls, StdCtrls, Menus;

type

{ TBcopyresults }

TBcopyresults = class(TForm)
bcopyresults: TButton;
bnewid: TButton;
Edit1: TEdit;
procedure bcopyresultsClick(Sender: TObject);
procedure bnewidClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;

var
Bcopyresults: TBcopyresults;

implementation

{ TBcopyresults }

procedure TBcopyresults.bcopyresultsClick(Sender: TObject);
var f,g,q:textfile; store:array[1..100] of string ; s,text1:string; u,i:integer;
begin
assignfile(f,'.\info.SC2Bank');
assignfile(g,'results.txt');
assignfile(q,'importantpartofresults.txt');
Reset(f);
i:=1;
while not eof(f) do begin

Readln(f,store[i]);
text1:=text1+store;
i:=i+1;
end;
edit1.text:=text1;
rewrite(g);


for u:=1 to i-1 do begin
write(g,store[u]);
writeln(g);

end;

rewrite(q);
write(q,store[5]);
writeln(q);
write(q,store[10]);

closefile(q);
closefile(g);
closefile(f);
end;

procedure TBcopyresults.bnewidClick(Sender: TObject);
var f:textfile; r:integer;
begin
r:=random(9999);
assignfile(f,'info.SC2Bank');
Rewrite(f);
write(f,'<?xml version="1.0" encoding="utf-8"?>');
writeln(f);
write(f,'<Bank version="1">');
writeln(f);
write(f,' <Section name="ID">');
writeln(f);
write(f,' <Key name="of player">');
writeln(f);
write(f,' <Value string="'+inttostr(r)+'78917"/>');
writeln(f);
write(f,' </Key>');
writeln(f);
write(f,' </Section>');
writeln(f);
write(f,'</Bank>');
closefile(f);

end;

procedure TBcopyresults.FormCreate(Sender: TObject);
begin
randomize;
end;

initialization
{$I unit1.lrs}

end.



How it works:
Run the map one time on Bnet against an AI.
Go to the banks directory and search for the folder with the bank "Thisbankhelpsyoufindthefolder.SC2Bank" in it.
Copy the program in it. Run it. Click "Create new ID". A Bank file with a random ID is created.
Play the map again. If you play against an AI the warning "This game is not ranked" will appear (ignore it). When you win the result will be saved in the Bank. Click "Copy result" in the program. 2 Textfiles will be created. One contains a replica of the content of info.SC2Bank, the other one only the result and a low security hash line.

[image loading]
[i]The content of your bank folder should now look like this

Hopefully someone (who knows more than pascal lol) will pick up on the idea and can make something useful happen.


(1): STARCODE can be found here:
http://forums.sc2mapster.com/resources/trigger-libraries/5091-library-starcode-v1-4/
Credits go to the mapster guys



Edit #1:

Feel free to post this on the US Blizzard forums (the EU ones are abandoned afaik) or somewhere else Blizzard will notice it, but i don't think they'll have a problem with it since there is 0 code injection happening.
You could basically construct the whole thing in a way that the program would just copy the SC2Bank and then screw arround in the copy and doesn't change a thing in the SC2 directory.

Example:
At the end of the match the result is saved in the SC2Bank. This will increase it's size. The program notices that and copys the bank. When you start a new map the previous results will be deleted from the bank during the Melee initialization process.

Thats the equivalent of you copying a Replay to your desktop, opening it with notepad and screwing arround in it and then never let it get in contact with SC2 again.

And:

On January 04 2011 06:59 dementrio wrote:
Show nested quote +
On January 04 2011 06:40 Keitzer wrote:

you wouldn't need 100 of each map... just 1. 1 that connected with the server and added or subtracted based on the results and who was playing against who.


and no i've never heard of wgt. looking it up now.


the point of a ladder would be that players are ranked and you play people who are around your skill level. you can't do that with how the custom game lobby works; you have to create and invite people, or play whoever decides to join the map otherwise. a bot that hears you saying "i want to play" and answers "random guy around your level is waiting for a game" would help.
One that creates games itself and invites players would be better but if the chat channels work under some known protocol a channel bot would be much easier to script.


I had also thought about a chatlobby based ladder first. The system could work similar to the one i posted only that there is just 1 version of the map floating arround instead of one for each rank and people arrange games in the appropriate channels. Much like here:
[image loading]



Edit #2:
Contacted ICCup.diamond and the Blizzard copyright department (since they don't seem to have a department for Third Party software).



Edit #3:
No response from Blizzard yet (8 days after i wrote them).

+

On January 12 2011 13:25 Lakai wrote:
A good point of reference for the client would be ESEA. You might even be able to try contacting lpkane and get a hold of the dev team behind ESEA if you are so inclined.

I've thought a bit about this and everything besides the editable sc2banks(which are just xml files which is awesome) seems good.

I'd like to clean up your ideas and add some of mine:

- Customs maps with a simple trigger to create a temporary sc2bank which stores the winner (I did this in 30 seconds without ever using the sc2editor)
- Client that would let you see the online players and their respective custom ladder ranking
- For now you would probably use the client to find the player/id and contact them through bnet
- Set up match in the client by entering the opponents name.
- The client sends the match request to the server and then to the opponents client
- Opponent accepts request and the match is ready.
- Create the custom game on the custom map and play.
- Once done both users click finish on the client
- The client then opens the tempBank.sc2bank and parses the XML, encrypts it and sends the results to the server and deletes the temp bank. There could be a 15 minute period to click finish until the server nullifies the match. Once the server receives both results and if they match up we are done.
- If they don't match the match would be marked as 'invalid' and would require the winner to upload a replay on the site and have an admin confirm the win.

This seems legit and as far as the editable banks go we have replays for confirmation and it's very easy to ban abusers. Just a minor annoying for the admins.


Here what my 30 seconds sc2bank looked like:

<?xml version="1.0" encoding="utf-8"?>
<Bank version="1">
<Section name="gameData">
<Key name="winner">
<Value int="2"/>
</Key>
</Section>
</Bank>





PlaGuE_R
Profile Blog Joined February 2010
France1151 Posts
January 03 2011 19:52 GMT
#2
is this even possible with B.Net 2.0? I was under the impression that not only is the system meant for things like iCCup on BW not to work but that it's also agaisnt the terms of use?
TLO FIGHTING | me all in, he drone drone drone, me win - SK.MC | JINROLLED! | KraToss for the win
ChickenLips
Profile Blog Joined May 2010
2912 Posts
January 03 2011 19:52 GMT
#3
YEAH!

This is what im talking about, what a great idea.

I'm in full support of this
❤Ƹ̵̡Ӝ̵̨̄Ʒ✿
Myles
Profile Blog Joined March 2010
United States5162 Posts
January 03 2011 19:55 GMT
#4
Blizzard will never allow this until they stop caring about SC2 like they did Broodwar.
Moderator
tnud
Profile Blog Joined April 2010
Sweden2233 Posts
Last Edited: 2011-01-03 19:56:18
January 03 2011 19:55 GMT
#5
On January 04 2011 04:52 PlaGuE_R wrote:
is this even possible with B.Net 2.0? I was under the impression that not only is the system meant for things like iCCup on BW not to work but that it's also agaisnt the terms of use?

There is no such thing as an unhackable system.
Yes it is against terms of use, but so was iCCup bw ladder.. Blizzard just didn't care.

This kind of thing will only work then blizzard have given up on sc2 (might take a while). I suggest you discuss this in a darker place of the internetz.

Until then, row row fight the power for a better map pool (and real chat channels )
- ಠ_ಠ - | disinfect wrote: AHAHHAHAHA 2DG FUCK ME ALREADY.
Ludwigvan
Profile Blog Joined April 2010
Germany2371 Posts
January 03 2011 20:00 GMT
#6
The people that would use it would be people who want to play different maps against players they dont know. I would definitely play there, but I dont know if there are enough people wanting to play. It is worth a try, but I cannot help you there.
Bey
Profile Joined May 2010
United States78 Posts
January 03 2011 20:02 GMT
#7
What prevents someone from editing the file and regenerating a new hash?
Do it. Do it right. Do it right now.
tnud
Profile Blog Joined April 2010
Sweden2233 Posts
January 03 2011 20:03 GMT
#8
On January 04 2011 05:02 Bey wrote:
What prevents someone from editing the file and regenerating a new hash?

Encrypting the files really isn't the main issue to overcome. Anti-cheat is the last thing to implement imho.
- ಠ_ಠ - | disinfect wrote: AHAHHAHAHA 2DG FUCK ME ALREADY.
DiZasteR
Profile Joined May 2009
Netherlands84 Posts
January 03 2011 20:04 GMT
#9
Why will blizzard not allow this? You still will not be able to play on a custom ladder made this way without buying a starcraft 2 key so blizzard won't lose money. The problem was that players could play BW for free on servers like iccup.
Keitzer
Profile Blog Joined May 2010
United States2509 Posts
January 03 2011 20:05 GMT
#10
hmm...

very interesting...

idk if blizzard will let this fly although your method is basically the same way custom maps work now that interact with another server that just has rankings (whether they're related to Starcraft or not, it's just Letters / Numbers)

hmm.... it might work.
I'm like badass squared | KeitZer.489
Keitzer
Profile Blog Joined May 2010
United States2509 Posts
January 03 2011 20:06 GMT
#11
ya, cuz with iCCup, you could illegally download SC:BW, then DL the iCCup client and never have to pay a cent, yet you play with the pros.. with this you still ahve the buy the full game (at a whopping $60 still)
I'm like badass squared | KeitZer.489
sqrt
Profile Blog Joined August 2010
1210 Posts
January 03 2011 20:06 GMT
#12
On January 04 2011 05:00 Ludwigvan wrote:
The people that would use it would be people who want to play different maps against players they dont know.


Or Pirates, which is why Blizzard may release the lawyers, I would trade carefully if I was the code monkey who did this. Our blue friends don't have the most merciful attitude when it comes to things like that, for example, look at WoW.

It would truly be wise to wait for Blizz to loose interest, if that happens.

But good work to the creator of this, we truly need it.
@
darkevilxe
Profile Joined August 2007
Canada346 Posts
January 03 2011 20:08 GMT
#13
1v1 play/obs python.... good times..
Keitzer
Profile Blog Joined May 2010
United States2509 Posts
Last Edited: 2011-01-03 20:11:48
January 03 2011 20:11 GMT
#14
On January 04 2011 05:06 sqrt wrote:
Show nested quote +
On January 04 2011 05:00 Ludwigvan wrote:
The people that would use it would be people who want to play different maps against players they dont know.


Or Pirates, which is why Blizzard may release the lawyers, I would trade carefully if I was the code monkey who did this. Our blue friends don't have the most merciful attitude when it comes to things like that, for example, look at WoW.

It would truly be wise to wait for Blizz to loose interest, if that happens.

But good work to the creator of this, we truly need it.


pirates? what?

no, you'd still have to buy the full game, because it would use the same system the Custom maps have now, just that after the game is over, it sends data to another server, which keeps a separate rating, that's it.

aka, you can't pirate and win.
I'm like badass squared | KeitZer.489
ZeromuS
Profile Blog Joined October 2010
Canada13389 Posts
Last Edited: 2011-01-03 20:16:02
January 03 2011 20:14 GMT
#15
This is how a hypothetical customladder could work:

>Registers at some site and download a program.
>Use your login information to access the program. It will create a SC2Bank file with your Nickname stored in it (one file for each map in the pool).
>The program also shows your current rank and stats.
>Now you're ready to go. Go to the join custom game menu in SC2 and set the filter to "Tug of War" (This is because there are very few Tug of War overall games so the customladder maps wont be burried).


My only problemwith this is I sign into a program I downloaded off the internet with my Bnet identifier and password to make a file on my computer ... and IDK where this program came from and who wrote it but it needs internet access to rank me on a non blizzard ladder. Now I dont have a problem with this in the future if it was safe and reliable but right now IDK if I could trust it since I like my account and dont want to lose it.
StrategyRTS forever | @ZeromuS_plays | www.twitch.tv/Zeromus_
Keitzer
Profile Blog Joined May 2010
United States2509 Posts
January 03 2011 20:21 GMT
#16
well thats what the crazy play testers do, they see if it's a reliable program... although $60 per account is kind of a big deal if you were to lose that information.

then again, the only reason someone would want to steal your account is if you had a WoW account attached which they could sell the characters, but even then they wouldn't know unless they signed in......

which in my case required an authenticator and i heard it's quite difficult to remove, so i might be OK with that.
I'm like badass squared | KeitZer.489
MrCon
Profile Blog Joined August 2010
France29748 Posts
January 03 2011 20:27 GMT
#17
I'm not even sure this is against the T&C.
It's just custom maps and a program to analyse the results. No client mod, no piracy involved. This is a great idea, it's nice to see this is technicaly possible.
prodiG
Profile Blog Joined January 2010
Canada2016 Posts
January 03 2011 20:31 GMT
#18
This is against the terms of usage. Blizzard has explained this very clearly since before the beta I believe. If you've actually found a loophole here, then I'm all for it though!
ESV Mapmaking Team || http://twitter.com/prodiGsc || Real talk, I don't have time to sugar-coat it for you sir
melonface
Profile Joined December 2010
1 Post
January 03 2011 20:31 GMT
#19
this is a brilliant idea!

seriously it has huge potential... just be aware that everything depends on the map pool.

make it awesome!
drlame
Profile Joined February 2010
Sweden574 Posts
January 03 2011 20:34 GMT
#20
I fully support this, the community mapmakers aren't getting enough credit with the current system, this is a great way to increase the use of custom maps while still being somewhat competitive.
1 2 3 4 5 12 13 14 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 38m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Sea 10111
Larva 542
Hyun 373
sSak 185
Soma 155
Pusan 142
Barracks 127
Dewaltoss 67
ToSsGirL 32
yabsab 22
[ Show more ]
Noble 19
NaDa 6
Dota 2
The International106404
Gorgc8387
Dendi1244
NeuroSwarm107
PGG 34
League of Legends
JimRising 485
Counter-Strike
Stewie2K961
allub148
Super Smash Bros
Mew2King136
Other Games
XaKoH 139
Nina61
Organizations
Other Games
gamesdonequick412
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1148
Upcoming Events
RSL Revival
38m
Cure vs Zoun
Classic vs Maru
Maestros of the Game
7h 38m
ShoWTimE vs herO
Bunny vs Zoun
TBD vs Serral
TBD vs Classic
BSL Team Wars
9h 38m
Afreeca Starleague
1d
Snow vs Sharp
Jaedong vs Mini
Wardi Open
1d 1h
Sparkling Tuna Cup
2 days
Afreeca Starleague
2 days
Light vs Speed
Larva vs Soma
LiuLi Cup
3 days
The PondCast
4 days
Korean StarCraft League
5 days
[ Show More ]
[BSL 2025] Weekly
6 days
BSL Team Wars
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
SEL Season 2 Championship
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
Chzzk MurlocKing SC1 vs SC2 Cup #2
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
SC4ALL: StarCraft II
EC S1
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.