w3gh / brtghost

Automatically exported from code.google.com/p/brtghost
GNU General Public License v3.0
1 stars 1 forks source link

brtGhost replay problem #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. bot_savereplays = 1 
2. replay_war3version = 26 
3. replay_buildnumber = 6059 

What is the expected output? What do you see instead?
Ghost must save replays that can be viewed by the current version of Warcraft 3 

What version of the product are you using? On what operating system?
Windows 7 x64 ultimate
brtghost revisions 117-156

Please provide any additional information below.

Replays no longer remain in the desired format after Warcraft 3 upgrade to 1.25 
and 1.26 patches

Original issue reported on code.google.com by GunkoBo...@gmail.com on 4 Aug 2011 at 5:27

GoogleCodeExporter commented 9 years ago
You should set set replay_buildnumber = 6060.
This should solve your problems.

Original comment by angelus...@gmail.com on 4 Aug 2011 at 8:19

GoogleCodeExporter commented 9 years ago
No, the problem remains
rev. 143

ps
in rev. 156 ghost closed after the end of the game. After that, stats and 
replays are not saved.

Original comment by GunkoBo...@gmail.com on 4 Aug 2011 at 4:55

Attachments:

GoogleCodeExporter commented 9 years ago
ah i see. sry, just did a quick search on that.

you will need to make changes to the source code and therefore compile your own 
Ghost.exe. How to is explained here
http://www.codelain.com/wiki/index.php?title=Modifiying_ghost.exe&redirect=no

Changes need to be done to ghost.cpp. Search for that part, about line 2547 in 
r156, about line 3921 in r139

    if (m_LANWar3Version == 23)
    {
        m_ReplayWar3Version = 23;
        m_ReplayBuildNumber = 6058;
    }
    if (m_LANWar3Version == 24)
    {
        m_ReplayWar3Version = 24;
        m_ReplayBuildNumber = 6059;
    }

and replace this whole block with the following:

m_ReplayWar3Version = CFG->GetInt( "replay_war3version", 26);

Then compile your new Ghost.exe and you _should_ be fine then.

Original comment by angelus...@gmail.com on 4 Aug 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Thanks man, I followed the instructions but after compiling I did not get 
executable file ghost.exe in "Release MySQL folder", only 
"ghost.exe.intermediate.manifest"

Please tell me, how to create ghost.exe?

Original comment by GunkoBo...@gmail.com on 5 Aug 2011 at 3:45

Attachments:

GoogleCodeExporter commented 9 years ago
Check last line in tutorial!
"If you have any additional questions first check out the customization section 
of the FAQ. If your problem still persists make a topic at the forums GHost++ 
Customization Discussion & Help section. " (direct links in tutorial..)

This aint the place for basic support, but to report issues/improvement. Search 
for further help @ codelain.com forums like advised!

Original comment by angelus...@gmail.com on 6 Aug 2011 at 12:42

GoogleCodeExporter commented 9 years ago
Thank you very much! 
I figured out what was the problem, remove the old ghost.exe and compiled a new 
one. (c++ saves an executable file to the original ghost directory)

Now ghost writes excellent replays!

ps.
Buildnumber =6059

Original comment by GunkoBo...@gmail.com on 6 Aug 2011 at 7:36

GoogleCodeExporter commented 9 years ago
@GunkoBo Can you post the fixed Ghost.exe with replay support, Please?

Original comment by ivan.tod...@gmail.com on 27 Oct 2011 at 4:05

GoogleCodeExporter commented 9 years ago
You simply need to download brtGhost rev 182 or later.

Original comment by GunkoBo...@gmail.com on 1 Nov 2011 at 12:52