• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:07
CET 03:07
KST 11:07
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros4[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win52025 RSL Offline Finals Dates + Ticket Sales!9BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams10Merivale 8 Open - LAN - Stellar Fest4
StarCraft 2
General
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win Weekly Cups (Oct 13-19): Clem Goes for Four RotterdaM "Serral is the GOAT, and it's not close" DreamHack Open 2013 revealed
Tourneys
SC4ALL $6,000 Open LAN in Philadelphia Merivale 8 Open - LAN - Stellar Fest Crank Gathers Season 2: SC II Pro Teams 2025 RSL Offline Finals Dates + Ticket Sales! $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
SnOw's ASL S20 Finals Review BW General Discussion [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/ Ladder Map Matchup Stats
Tourneys
[ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Big Programming Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread MLB/Baseball 2023 Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
KPDH "Golden" as Squid Game…
Peanutsc
Reality "theory" prov…
perfectspheres
The Benefits Of Limited Comm…
TrAiDoS
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1560 users

Program to resume games from replays - Page 9

Forum Index > SC2 General
Post a Reply
Prev 1 7 8 9 10 11 39 Next All
maartendq
Profile Blog Joined December 2010
Belgium3115 Posts
April 13 2012 10:01 GMT
#161
On April 13 2012 14:34 Gorkon wrote:
Using an unauthorized program would probably incur a Bnet ban, so I'll just wait until Blizzard creates their own similar feature. Good idea, though. Sins of a Solar Empire has a feature that lets you resume multi-player games, and it works quite well. I'm sure Blizzard is working on it.

Even Age of Empires had a save function for multiplayer games.. It's nothing new really.
kayrice
Profile Joined April 2012
United States17 Posts
April 13 2012 10:01 GMT
#162
Does anyone know what happens if the next game you play is a ladder game? Does it crash or what?


I have not tried yet but my assumption is BNet is much less liberal with the random seed in ladder games. War3 didnt use BNet in custom games and was very loose with custom games as they were direct to IP. I think the random seed not being strictly enforced is because BNet isn't actually playing the game state out (to save resources) and as long as the peers trust each other / agree on the game state they won't drop it.

With ladder games they are playing the game state out and if you change the random seed I would expect a desync.
This sentence you are reading is false
DKR
Profile Blog Joined June 2011
United Kingdom622 Posts
April 13 2012 10:02 GMT
#163
Random nerd joins TL, saves the world. Awesome film
"1 base. Cheese man." - MKP. "[MVP] is not stylistic, his style is winning, which is the style you want to have." - Artosis
kayrice
Profile Joined April 2012
United States17 Posts
April 13 2012 10:03 GMT
#164
Even Age of Empires had a save function for multiplayer games.. It's nothing new really.


Does anyone know of another game that has a rolling save feature like this? One where you don't have to explicitly save and can resume at different times?
This sentence you are reading is false
Exempt.
Profile Joined May 2011
United States470 Posts
April 13 2012 10:03 GMT
#165
On April 13 2012 18:47 kayrice wrote:
I've only glanced at the source code, but I really want to clear up some serious confusions I'm reading in this thread. First off it's totally NOT a hack or cheat of any kind. It takes advantage of the fact that as long as players agree on the synchronized game state the game will stay alive.

Also I saw someone defending Blizzard for not implementing this because the guy that made this "might know something they don't". That's really odd to say considering they have the source code to the game and he had to reverse engineer the entire thing. They could have added this feature easily since they have the entire blueprint of the game. He has a very very narrow view of the source code that is cryptic and extremely hard to understand. For example:

Show nested quote +
void*game = (void*)0x16C8C40;


What the hell is that? Who knows. Blizzard doesn't even need to know this because they have the source code to the objects and aren't concerned with their location in memory. This guy had to find out where that is, along with everything else. Seriously need to respect the fact that he's doing this with pokes and prods at bytes while Blizzard can't do this with a team of hundreds of developers, millions of dollars, and the original source code / blueprint. Another good example is:

Show nested quote +
(void*&)f = vftable[31];


Here he's calling "Function #31" essentialy. Blizzard probably has a really nice and simple name for this function, and a description of all it's arguments and how it works. He knows it's Function #31 and has to read the assembly code to determine how it may work.

The only thing that could be considered a "hack" could be how the random seed can be overridden:

Show nested quote +
offset<uint32_t>((void*)Pz[0],0x659C) = random_seed;


Maybe for custom games the random seed isn't created by BNet and as long as the game state hash matches the players will not de-synchronize.

Not counting the basic glue needed to make any Windows program and hook into the Starcraft process, StormLib, MPQ, etc. the whole thing is done in about 300 lines of code. Impressive!

*Hats off*


agreed ^^ as a CS student this is really respectable work, has impressed me as well.
shawty
Profile Joined June 2010
United Kingdom294 Posts
April 13 2012 10:04 GMT
#166
On April 13 2012 19:01 kayrice wrote:
Show nested quote +
Does anyone know what happens if the next game you play is a ladder game? Does it crash or what?


I have not tried yet but my assumption is BNet is much less liberal with the random seed in ladder games. War3 didnt use BNet in custom games and was very loose with custom games as they were direct to IP. I think the random seed not being strictly enforced is because BNet isn't actually playing the game state out (to save resources) and as long as the peers trust each other / agree on the game state they won't drop it.

With ladder games they are playing the game state out and if you change the random seed I would expect a desync.


Ah ok, I can imagine that using this program and then accidentally entering a ladder game could quite easily be misinterpreted as someone using a hack, hopefully that won't cause problems :/
Ryps
Profile Blog Joined May 2010
Romania2740 Posts
April 13 2012 10:04 GMT
#167
On April 13 2012 19:01 maartendq wrote:
Show nested quote +
On April 13 2012 14:34 Gorkon wrote:
Using an unauthorized program would probably incur a Bnet ban, so I'll just wait until Blizzard creates their own similar feature. Good idea, though. Sins of a Solar Empire has a feature that lets you resume multi-player games, and it works quite well. I'm sure Blizzard is working on it.

Even Age of Empires had a save function for multiplayer games.. It's nothing new really.

Thats some futuristic stuff your talking about, technology isnt there yet ! they said so
Exempt.
Profile Joined May 2011
United States470 Posts
April 13 2012 10:06 GMT
#168
On April 13 2012 18:57 kayrice wrote:
Show nested quote +
it's not incompetence. Stop being ignorant. Go learn some basics of computer science so you have some common sense on the issue or don't post.


Cool I've got my masters degree please edify us.


you really think blizzard is too incompetent to write this? Seems like you fled under the radar with that degree.
Severian
Profile Joined September 2010
Australia2052 Posts
Last Edited: 2012-04-13 10:10:53
April 13 2012 10:08 GMT
#169
On April 13 2012 18:50 felisconcolori wrote:
Interesting tool, but I think Blizzard would not like it for one reason - the injects. Because it's actually not playing a replay, so much as it's playing a custom game at high speed while replicating all of the actions both players took (using the replay as a script) until it hits a certain point, then it stops and you take over.

Not entirely, and I apologise because this misconception might have stemmed from my description of how it works. The program itself does not inject any actions into the game. Instead, the program simply "forces" SC2 to play the replay, even though it's in a custom game. All of the "at this time in the replay player 1 moved this unit, so now i'm going to move this unit" stuff is handled by SC2 itself through the very same functions that are used when you load up a replay. The only difference is that those functions are being activated inside of a playable game, rather than the replay viewer. So instead of all of those unit movements and actions and such affecting a replay state that you cannot affect in any way, only observe, they affect the current playable game state. In a very real sense it is actually playing a replay, just on a different stage than usual.

On April 13 2012 18:50 felisconcolori wrote:
Great for what the OP created it for. Seriously, badass. But unintended consequence - you can also use it (with modifications, since the OP gave us the source for it) to create a bot which will play the game. Imagine if you could start a game, then let this take over and have an absolutely perfect starting build order/opener. This is the part where blizzard gets unhappy - it's using essentially bannable botting techniques for good. Which means with a little bit of reprogramming, it can be used for evil. I like what it offers, and think it's a great proof of concept - Blizzard has really no excuse for not being able to offer this kind of functionality from within the client over bnet in an approved and secure way. But I think Blizzard will be very skeptical of it, and probably treat it exactly the same as a maphack/bothack because it is using the same techniques.

In an attempt to see if this were possible, I altered the program to move through the replay at normal speed instead of super speed. I then ran it only on one of my clients while both started a custom game. Immediately upon the game loading, both clients hit a Desync window and had to exit. So I'm not sure if it is possible to use this technique to automate one client without the other's permission.

edit: this might have something to do with the program changing the RNG seed. Perhaps if you didn't change it there might not be a desync, but then the automation may not work properly due to variance.
Yoshi-
Profile Joined October 2008
Germany10227 Posts
April 13 2012 10:09 GMT
#170
Does this even works for multiplayers games?
DigitalDevil
Profile Joined October 2011
219 Posts
April 13 2012 10:09 GMT
#171
On April 13 2012 18:53 Exempt. wrote:
Show nested quote +
On April 13 2012 15:11 DigitalDevil wrote:
On April 13 2012 15:06 hegeo wrote:
On April 13 2012 15:04 DigitalDevil wrote:
One programmer can do this within such a short span of time and Blizz can't implement something decent for who knows how long?


I'm wondering - did they ever say they couldn't? I don't think so.

Who cares if they ever said they could or couldn't? The fact that it's not implemented speaks for itself, and if it is technically this easy to implement, then there is unlikely to be good justification to not have it implemented. Blizz is either lazy or incompetent.


it's not incompetence. Stop being ignorant. Go learn some basics of computer science so you have some common sense on the issue or don't post.

Did you completely miss the posts I made further in the thread?
kayrice
Profile Joined April 2012
United States17 Posts
April 13 2012 10:10 GMT
#172
Ah ok, I can imagine that using this program and then accidentally entering a ladder game could quite easily be misinterpreted as someone using a hack, hopefully that won't cause problems :/


I would imagine with how locked down BNet is now-a-days any dsync is flagged. However they are likely aware that the process is hooked and have a CRC32 or similar hash of the shared libraries and binaries that are hooking into the process. They did this with other games with the "Warden" system. They can't assume anything hooking into the process is a hack as there are a wide range of programs that do this, such as (ironically) anti-virus programs.

As Blizzard gets more flags they will make their choice to flag this as a hack or not.
This sentence you are reading is false
kayrice
Profile Joined April 2012
United States17 Posts
April 13 2012 10:11 GMT
#173
you really think blizzard is too incompetent to write this?


Judging by the high demand and lack of implementation with the abundance of resources, what would you classify it as other than incompetence?
This sentence you are reading is false
Exempt.
Profile Joined May 2011
United States470 Posts
April 13 2012 10:12 GMT
#174
On April 13 2012 19:09 DigitalDevil wrote:
Show nested quote +
On April 13 2012 18:53 Exempt. wrote:
On April 13 2012 15:11 DigitalDevil wrote:
On April 13 2012 15:06 hegeo wrote:
On April 13 2012 15:04 DigitalDevil wrote:
One programmer can do this within such a short span of time and Blizz can't implement something decent for who knows how long?


I'm wondering - did they ever say they couldn't? I don't think so.

Who cares if they ever said they could or couldn't? The fact that it's not implemented speaks for itself, and if it is technically this easy to implement, then there is unlikely to be good justification to not have it implemented. Blizz is either lazy or incompetent.


it's not incompetence. Stop being ignorant. Go learn some basics of computer science so you have some common sense on the issue or don't post.

Did you completely miss the posts I made further in the thread?


What, did you contradict yourself later? If so my mistake for calling you out, otherwise it doesn't matter. It's a highly silly viewpoint to think blizzard couldn't write code to do the same thing if they wanted to.

Anyways on a side note I'm not detracting from the OP, like I said earlier it's impressive that he wrote it.

Pathetic that there can't be a thread without fucking blizzard bashing.
NukeD
Profile Joined October 2010
Croatia1612 Posts
Last Edited: 2012-04-13 10:14:34
April 13 2012 10:13 GMT
#175
So guys at Blizzard go to work every day a week, sit infront of their computers for 8 hours "working" and we get laughable amount of promised features 2 years after release. Im curious, what exactly do they fucking do, especially because Browder said for a million things such as shared replay viewing or clan features that they "love the idea and are looking into it and its definitely on their to do list". But I guess first on that list is what than? Modeling 5 units that they managed to come up within one year? Blizzard DOTA?

-Hey guise i tell em we look into ther ideas haha!
-Oh dustin yu epic troll you!

-Promises tons of features; clan support, shared replay viewing, custom game interface, arcade, removing ip blacklisting for tournaments, better chat and social features, name changes, implementing user maps in ladder, all kinds of balance promises.
-Gives none of those in two years.

/close enough
sorry for dem one liners
Exempt.
Profile Joined May 2011
United States470 Posts
Last Edited: 2012-04-13 11:35:16
April 13 2012 10:13 GMT
#176
On April 13 2012 19:11 kayrice wrote:
Show nested quote +
you really think blizzard is too incompetent to write this?


Judging by the high demand and lack of implementation with the abundance of resources, what would you classify it as other than incompetence?


edit: removed
kayrice
Profile Joined April 2012
United States17 Posts
April 13 2012 10:15 GMT
#177
I dunno


Answer I was expecting. Maybe you should stop trying to have a logical discussion considering you have no viewpoint?
This sentence you are reading is false
Technique
Profile Joined March 2010
Netherlands1542 Posts
April 13 2012 10:16 GMT
#178
That's nice, would save a lot of difficult decisions for tournament hosts.
If you think you're good, you suck. If you think you suck, you're getting better.
kayrice
Profile Joined April 2012
United States17 Posts
Last Edited: 2012-04-13 10:18:10
April 13 2012 10:17 GMT
#179
It's a highly silly viewpoint to think blizzard couldn't write code to do the same thing if they wanted to.


Ok I can play your game. Your arguments are _highly_ silly and I can cure cancer. Damn this is easy.
This sentence you are reading is false
bgx
Profile Joined August 2010
Poland6595 Posts
April 13 2012 10:19 GMT
#180
On April 13 2012 19:17 kayrice wrote:
Show nested quote +
It's a highly silly viewpoint to think blizzard couldn't write code to do the same thing if they wanted to.


Ok I can play your game. Your arguments are _highly_ silly and I can cure cancer. Damn this is easy.

Welcome to TL
Stork[gm]
Prev 1 7 8 9 10 11 39 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
23:00
Crank Gathers S2: Playoffs D1
BASILISK vs Shopify Rebellion
Team Liquid vs Team Falcon
CranKy Ducklings191
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SpeCial 338
Nina 130
RuFF_SC2 113
ProTech89
CosmosSc2 44
NeuroSwarm 9
StarCraft: Brood War
Barracks 4765
NaDa 53
Dota 2
monkeys_forever430
League of Legends
JimRising 499
Cuddl3bear1
Other Games
summit1g9017
tarik_tv5216
C9.Mang0382
Maynarde130
ViBE99
AZ_Axe64
Mew2King63
Livibee46
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• davetesta21
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift3622
Other Games
• imaqtpie965
• Scarra445
• Shiphtur115
Upcoming Events
Replay Cast
6h 53m
WardiTV Invitational
9h 53m
ByuN vs Spirit
herO vs Solar
MaNa vs Gerald
Rogue vs GuMiho
Epic.LAN
9h 53m
CrankTV Team League
10h 53m
BASILISK vs Team Liquid
Epic.LAN
1d 9h
BSL Team A[vengers]
1d 11h
Dewalt vs Shine
UltrA vs ZeLoT
BSL 21
1d 16h
BSL Team A[vengers]
2 days
Cross vs Motive
Sziky vs HiyA
BSL 21
2 days
Replay Cast
3 days
[ Show More ]
Wardi Open
3 days
Monday Night Weeklies
3 days
Sparkling Tuna Cup
4 days
Replay Cast
5 days
The PondCast
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 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.