Thread Tools
Old December 8, 2001, 09:28   #1
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 20:11
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
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!"
Martin Gühmann is offline  
Old December 8, 2001, 20:19   #2
kaan
CTP2 Source Code Project
Prince
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Aarhus
Posts: 333
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
kaan is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 14:11.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team