Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Problems with enslave option in apolyton mod
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:22
  Old Post 08-10-2002 15:26
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Problems with enslave option in apolyton mod Remove this text

I have been enjoying the apolyton mod for ctp2, i like the options you get when you capture a city. However there was one coastal enemy city that i couldnt enslave. When I selected enslave, nothing happened, it was as if the computer didnt know where to put the settler and slaver. Maybe this was because it was a coastal city, there was a lack of space?

The options window for what do to with the city stayed open even after i clicked on enslave. So I was able to select 'extend empire' and i captured the city as normal, but i noticed an enemy settler with very low health just to the south of the city (the same civ as the city i captured), which looked to me like the enslave effect had started but no slavers had appeared.....

I re-tried enslaving the city over and over again from a saved game just before i captured it, but the above problem kept happening.

I possibly had another problem with enslave, after capturing a city of about size 10 I am sure that i got only a couple of slaves from it. This was the first time I tried enslaving so I didnt think anything of it....

I was able to capture and enslave several other cities without any problems. This isnt a major issue but I searched the forums didnt find any references to this. Is there something im doing wrong?

Also I noticed that the enslave option is still available after the emancipation act has been built, this seemed quite strange...

I have just rememberd something else, I discovered the mexicans in 1000bc and i noticed that they already had about 6 large cities of 15+ pop and had improved virtually all their terrain with farms, roads, trading posts etc. It was as if they were getting massive amounts of free public works. After I captured one of their cities I got around 10,000 public works! This was at a time when I had managed only a couple of farms and road. Maybe the A.I was just devoting lots of resources to PW? I dont remeber this ever happening in normal ctp2.

Im not complaining tho, since their spare PW helped develop my land and I caprtued some nice developed terrain from them

Last edited by Daftpanzer on 08-10-2002 at 15:33

mapfi is offline mapfi
Prince
Zurich, Switzerland
Jul 2002
time: 06:22
  Old Post 08-10-2002 15:33
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Also I noticed that the enslave option is still available after the emancipation act has been built, this seemed quite strange...
It's not enslaving anymore but moving the population to other cities.
quote:
I am sure that i got only a couple of slaves from it
Did you take into account that not all slaves go to the same city but that it checks for units in the cities to safely control the slaves?
If you still have the savegame post it, I'm sure that'll help Martin. The code is his work.

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:22
  Old Post 08-10-2002 15:39
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Did you take into account that not all slaves go to the same city but that it checks for units in the cities to safely control the slaves?


I had a look around for slaves but if i remeber correctly there were only 2 taken. 2 cities nearby had 1 slave. The cities were recently catprued, but probably only had one hopltie/pikeman and one archer defending... maybe there was nowhere to send the slaves?

I will try to attatch the savegame with the other bug where i couldnt enslave at all.

I dont want to sound like I am being over-critical

I am still enjoying this mod very much

mapfi is offline mapfi
Prince
Zurich, Switzerland
Jul 2002
time: 06:22
  Old Post 08-10-2002 15:55
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

You don't. Any feedback is always appreciated!

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:22
  Old Post 08-10-2002 21:59
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

I played this again and there is something I forgot, when i select the enslave option and it doesnt work, the city is still destroyed! The conquer option box stays open until I click extend empire (none of the other buttons work after enslave is clicked once) but i dont get the city since it has dissapeared.

O.K I am attempting to attach the savegame.....

Near the right middle of the map the is a large bay with sea to the south. On the right of the bay there is a coastal swedish city, Norrkoping i think, (this is where the problem happens every time i try). I have an army of infantrymen and cannon ready to invade the city, it has always fallen every time ive tried (i think they have a couple of knights and catapults).

Thanks anyone who takes a look at this...

PS this is ctp2 with the latest patch, apolyton mod running and 16 civs altogether I think.

Attachment: enslave problem-860ad.zip
This has been downloaded 2 time(s).

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:22
Post  Old Post 09-10-2002 22:28 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

I think mapfi has a version without the bug, but that one included also a non working MP fix.

All you have to do is to find the file APOL_KillCityOption.slc inb your ..\ctp2_data\default\gamedata\ folder, open it with any text editor of your choice e.g. notepad or a better one.

Then search this line (it is line 124):

code:
if (((TerrainType(MGUnitLoc1)<=9)||(18<=(TerrainType(MGUnitLoc1))<=21))&&(MG_OK2 == 0)) {//check if neighbour tile is a land tile


Modify it so it looks like this one:

code:
if (((TerrainType(MGUnitLoc2)<=9)||((18<=TerrainType(MGUnitLoc2))&&(TerrainType(MGUnitLoc2)<=21)))&&(MG_OK2 == 0)) {//check if neighbour tile is a land tile

Last edited by Martin Gühmann on 13-10-2002 at 21:33

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:22
  Old Post 10-10-2002 14:51
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase the size of your Attachments

Hey, my first piece of SLIC editing! cool

Thanks very much Martin, I will go and try to get this working....

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:22
Post  Old Post 10-10-2002 21:09 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Suffering from ads?

One piece of information I forgot, yesterday:

If you want to see the effect in your existing game then you have to reloadslic before you conquer the city. To do this just open the chat screen within the game by typing the apostrophe key (') and enter: /reloadslic

-Martin

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:22
  Old Post 11-10-2002 18:39
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Tired of ads?

Martin,

I keep getting a 'syntax error' message when im starting ctp2 after I replace that line. Ive tried a couple of times, looking for a repeated 'for' or bracket etc but I couldnt find anything...

what am i doing wrong?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:22
Post  Old Post 11-10-2002 21:00 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by Daftpanzer
Martin,

I keep getting a 'syntax error' message when im starting ctp2 after I replace that line. Ive tried a couple of times, looking for a repeated 'for' or bracket etc but I couldnt find anything...

what am i doing wrong?



I think I forgot one bracket, I fixed the code above, it contained also another syntax error. If you are not shure if the term has the right number of brackets just count them. If you start your count you have 0 open brackets, if you have one open bracket appear then add 1 to your bracket count, if you have an closing bracket then subtract one from your bracket count. If your bracket count during counting gets negative, the number of brackets in the term is wrong. When you added the last bracket to your bracket count and it is 0 you have the right number of brackets otherwise otherwise the number of open and closing brackets is wrong.

-Martin

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:22
  Old Post 12-10-2002 19:46
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Help yourself to an AD-FREE life

Ok thanks Martin ive got the new line... I will go and try it out.

Zaphod Beeblebrox is offline Zaphod Beeblebrox
King
aachen, germany
Aug 1999
time: 05:22
  Old Post 13-10-2002 00:29
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Re: Problems with enslave option in apolyton mod Tired of ads?

quote:
Originally posted by Daftpanzer
... When I selected enslave, nothing happened, it was as if the computer didnt know where to put the settler and slaver.


experienced the same in a cradle game some time ago, but didn't really care, had problems with my average city containing between 5-15 citizens and several times the amount of slaves anyway. annoying thing was i had to do a bloodbath, because enslavebutton just did nothing and i really had no use for that city over my citymaxlimit in a stupid location

ETB is offline ETB
Warlord
South Carolina
Dec 1999
time: 00:22
  Old Post 13-10-2002 02:32 Visit ETB's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Remove this text

I would select the “Enslave” option and if nothing happened then I would select “Extend Empire” and the city would be disbanded. I’m not certain what happened to the people or slaves. I always assumed that I wasn’t accumulating slaves, but I would get rid of the city!

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:22
  Old Post 13-10-2002 09:44
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by Martin Gühmann
code:
if if (((TerrainType(MGUnitLoc2)<=9)||((18<=TerrainType(MGUnitLoc2))&&(TerrainType(MGUnitLoc2)<=21)))&&(MG_OK2 == 0)) {

Martin,
There are two 'if' here in case tou havent noticed

EDIT:
So it should look like this:

code:
if (((TerrainType(MGUnitLoc2)<=9)||((18<=TerrainType(MGUnitLoc2))&&(TerrainType(MGUnitLoc2)<=21)))&&(MG_OK2 == 0)) {

Last edited by Pedrunn on 13-10-2002 at 21:43

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:22
Post  Old Post 13-10-2002 21:35 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Pedrunn
Martin,
There are two 'if' here in case tou havent noticed


Edit above post again, it should be now right.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:22.
Apolyton Time is 00:22.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0620 seconds (91.07% PHP - 8.93% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net