| Forums \ StarCraft forum \ 1.16.1 repfix (pause/chat) | |
|
|
![]() ![]() ![]()
texas
|
|
| (7898 reads, 42 replies, 3 years ago) | |
RepFix is a BWL/ChaosLauncher plugin which fixes StarCraft's (1.16.1) crash when watching a replay with chat text recorded while game was paused. Download: http://depositfiles.com/files/vbqbjcfx4 The bug itself seems to be very old. Basically replay action processing looks like: 1) read the actions for next tick and copy actions data to the buffer 2) wait until that tick comes, read actions from the buffer and execute When game is paused tick remains unchanged, so every chat message written while game paused has been recorded with that tick when game was paused. The problem is in that the buffer in which actions are copied for execution is too small. I believe about 12 messages are enough to make it overflow. And when overflow happens the data overrides neighbor memory areas in which are other variables located.The consequences can be very different and depend on amount of messages has been recorded during pause. What I did is a replacement of static buffer with dynamic one. 1) when copying actions to the buffer: 1.1) when overwrite - allocate new buffer, write data to the new buffer 1.2) when append (multiple actions for a single tick) - append to the previously allocated buffer increasing its size if needed 2) when reading from a static buffer - return a pointer to the dynamic buffer instead of static Plugin patches StarCraft's code, so use it on your own risk! I will be very appreciated for any testing/bugreports. Later I will merge this fix into ICCup Launcher. Thanks. PS: I believe the main mistake of BW developers was to count chat text as game action. I would rather record/read it in a different way. But I'm not the one who decide ^^ UPDATE: v. 0.0.0.2 should work online now. UPDATE: v. 0.0.0.3 fixed action loss in bnet-mode. Thx Python_Max for this excellent work!source: iCCup |
|
| ☆★☆ FIREBATHERO ★☆★ | |
|
|
Quote
|
|
|
3 years ago
#1
|
|
EffOrt
| |
| |
Quote
|
|
3 years ago
#2
|
|
![]()
gns.i-jasa
| |
|
|
|
3 years ago
#3
|
|
vAN_dAL
| |
| |
| Longer I play... worse I play | |
Quote
|
|
3 years ago
#4
|
|
ostojiy
| |
|
|
Quote
|
|
3 years ago
#5
|
|
![]() ![]()
ronin[bwd]
| |
| |
|
|
Quote
|
|
3 years ago
#6
|
|
Moto.Kah
| |
|
|
Quote
|
|
3 years ago
#7
|
|
Moto.Kah
| |
|
|
Quote
|
|
3 years ago
#8
|
|
Moto.Kah
| |
| |
|
|
Quote
|
|
3 years ago
#9
|
|
Moto.Kah
| |
| |
|
|
|
3 years ago
#10
|
|
![]() ![]()
Python_Max
| |
| |
|
|
Quote
|
|
3 years ago
#11
|
|
JiYan
(GosuBet Manager SC (inactive))
| |
|
|
Quote
|
|
3 years ago
#12
|
|
Moto.Kah
| |
|
|
|
3 years ago
#13
|
|
![]() ![]() ![]()
AnyTime
| |
|
|
Quote
|
|
3 years ago
#14
|
|
Moto.Kah
| |
|
|
|
3 years ago
#15
|
|
![]() ![]()
Python_Max
| |
| |
|
|
Quote
|
|
3 years ago
#16
|
|
![]() ![]()
nuclear
| |
|
|
Quote
|
|
3 years ago
#17
|
|
Moto.Kah
| |
|
|
|
3 years ago
#18
|
|
Moto.Kah
| |
|
|
|
3 years ago
#19
|
|
ToT)Ashur(
| |
| |
|
|
|
3 years ago
#20
|
|
![]() ![]()
Python_Max
| |
| |
|
|
|
|
|
» Read posting rules in detail Reminder: IP-addresses for the comments are saved. Offensive posts will be censored. Repeated offense will result in a warning and/or a temporary account lockdown.
1.16.1 repfix (pause/chat) \
|
|
|
|
Advertisement
Latest from the forums
KHAN
vs.
KT
3h12m
8th Pro Team
vs.
STX
4h52m
SKT T1
vs.
Entus
28h+
sas
vs.
Gt
43h+
[PaiN]
vs.
dM-
43h+
KT
vs.
KHAN
83h+
STX
vs.
8th Pro Team
107h+









Search


Python_Max for this excellent work!
This comment has been censored ("nuked") by the GosuGamers Crew.
mSj