Announcement

Collapse
No announcement yet.

Some code about the MP rush buy bug

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Some code about the MP rush buy bug

    You know the bug that killed MP. This piece of code should attemp to fix it, but I have no idea if it works. As I don't play MP or have a network or something else I have no possibility to test it.

    It should dectect if someone tries to rush buy something and if it is not the turn of the city owner, it should prevent one from rushing buy something.

    HandleEvent (BuyFront)'MG_RuchBuyStop ' pre {
    if (city[0].owner != g.player) {
    return STOP;
    }
    }

    To implement this code just open the script.slc and put the code above under the last line and start a new game of course everyone in this MP game must install this code. And finally start a game.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

  • #2
    nice one martin

    when do you make an update fileset for the apolyton pack?
    you know, one with all the little fixes and AI improvements
    (remember to set tank size to something other than small)

    klaus

    Comment

    Working...
    X