Thread Tools
Old June 14, 2001, 21:20   #1
Fuzzball
Prince
 
Fuzzball's Avatar
 
Local Time: 20:52
Local Date: October 31, 2010
Join Date: Apr 2001
Location: of bellybutton fluff
Posts: 489
Slic Modification
Any experience slic editors know what I should be coding here?
The idea...To remove all other items in a build queue when something is rush bought. Also to make it impossible to add items to a build queue until a rush bought item is completed.
__________________
Live EVERY day like it's the best day of your life, and it will be.
Fuzzball is offline  
Old June 15, 2001, 08:28   #2
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: 12:52
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
If I recall it correctly: If a item is rush bougt you can't change it. It is there on the top of the build queue, you can't switch to another item until it is built. You should try it.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old June 15, 2001, 17:32   #3
Fuzzball
Prince
 
Fuzzball's Avatar
 
Local Time: 20:52
Local Date: October 31, 2010
Join Date: Apr 2001
Location: of bellybutton fluff
Posts: 489
Perhaps you didn't understand what I wrote.....It's not the initial item that is rush bought that I want to alter with slic. It's the build queue behind it..
Guess you never found the rush buy bug in ctp2 eh?
__________________
Live EVERY day like it's the best day of your life, and it will be.
Fuzzball is offline  
Old June 15, 2001, 18:40   #4
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: 12:52
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
You are right Fuzzball I never got a rush buy bug I only got various savegame bugs like coruptions and exrtra turns, because I used the scenario file structure for my mod. What is the rush buy bug?

I took a look into the ctp2.exe and I found these pieces of code:

KillEndgameFromBuildList
KillWonderFromBuildList
KillBuildingFromBuildList
KillUnitFromBuildList
AddEndgameToBuildList
AddWonderToBuildList
AddBuildingToBuildList
AddUnitToBuildList
IsWonderAtHead
IsBuildingAtHead
IsEndgameInBuildList
IsWonderInBuildList
IsBuildingInBuildList
IsUnitInBuildList

ClearBuildQueue

RushBuyEvent

I foud the stuff there but I can't be shure if everything will work in a slic file. And I had to type the list by hand instead of copying and pasting.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old June 16, 2001, 02:44   #5
Fuzzball
Prince
 
Fuzzball's Avatar
 
Local Time: 20:52
Local Date: October 31, 2010
Join Date: Apr 2001
Location: of bellybutton fluff
Posts: 489
In ctp2 , if you rush buy an item twice, once on your turn, and once on your opponents turn, come the next turn the second item in the queue will also be complete, without any cost.
For example: I have a warrior at the top of the queue, and a Wonder behind it. I rush buy the warrior and end my turn. During my opponents turn I rush buy the warrior again, but this time it doesn't cost me anything. But when I rush buy it the second time, on my opponents turn, the wonder which is second in the queue is also completed, for no cost.
This is what I want to eliminate before I play ctp2 online again. The ctp2 lobbies have all emptied because of this and other bugs.
Thanx for the list there Martin.
__________________
Live EVERY day like it's the best day of your life, and it will be.
Fuzzball 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 06:52.


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