Thread Tools
Old December 29, 2002, 23:14   #1
Martin the Dane
Prince
 
Martin the Dane's Avatar
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Feb 2000
Location: Aarhus, Denmark
Posts: 550
Infinit slaves bug
I just accsidentaly found out that there is an bug in the retreat system that lets you get slaves without killing any enemy units.

If you attack a unit with a stak containing a slaver, and imediatelt press the retreat button, each side only gets of one shot/hit, so normally nobody dies, but since the slaver survived the battel you get a slave.

If you walk up to an enemy city, surround it with pairs of slavers and combatunits, you can in theory get 40 slaves each turn. (6 pairs on each tile and units in cities regenerate)

A not unrealistic setup could be to trap a single barbarian hoplite, between a unit one tile away, and a full 12-unit stack with 6 slavers, and you will have a steady supply of slaves.

I know that overexploitning this will only create problems, but used right it can be a tremendous advantage: think of having 4-6 slaves in each city. That's a lot of slaves!!!!
__________________
Visit my CTP-page and get TileEdit and a few other CTP related programs.
Download and test SpriteEdit development build.
Martin the Dane is offline  
Old December 30, 2002, 01:29   #2
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
Yeah i know, just another reason to get rid of retreat.
__________________
Call to Power 2: Apolyton Edition - download the latest version (7th June 2010)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Maquiladora is offline  
Old December 30, 2002, 08:34   #3
Martin the Dane
Prince
 
Martin the Dane's Avatar
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Feb 2000
Location: Aarhus, Denmark
Posts: 550
I'll just have to remember never to have a slaver in a raiding force.

I use retreat as a way of raiding enemy cities and armies without killing them. Or to weaken a defense force prior to an attak.
__________________
Visit my CTP-page and get TileEdit and a few other CTP related programs.
Download and test SpriteEdit development build.
Martin the Dane is offline  
Old December 30, 2002, 09:00   #4
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
Why dont you use a mainly bombarding stack of units and bombard them instead to weaken down cities or armies. Maybe this bug is why they took retreat out of multiplayer, but thought no one would notice in SP.
__________________
Call to Power 2: Apolyton Edition - download the latest version (7th June 2010)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Maquiladora is offline  
Old December 30, 2002, 11:44   #5
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 08:28
Local Date: November 1, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
Simple solution...

Exert a little self-control and don't use a feature that can exploit the AI - or a feature that you know that the AI will not use.
__________________
Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
...aisdhieort...dticcok...
hexagonian is offline  
Old December 30, 2002, 12:24   #6
Martin the Dane
Prince
 
Martin the Dane's Avatar
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Feb 2000
Location: Aarhus, Denmark
Posts: 550
I know

I wish the AI would use it, that would be the best, or maby something like the SMAC solotion where a failing unit would attempt a retreat, her of cause it would be the stack doing it.

But that belongs in another thread.
__________________
Visit my CTP-page and get TileEdit and a few other CTP related programs.
Download and test SpriteEdit development build.
Martin the Dane is offline  
Old December 30, 2002, 23:18   #7
HuangShang
Call to Power II Democracy GameCTP2 Source Code Project
King
 
HuangShang's Avatar
 
Local Time: 06:28
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Berkeley
Posts: 1,375
i just knew
HuangShang is offline  
Old December 30, 2002, 23:19   #8
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 10:28
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Like other thread said

Retreat option is just one big bug
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old January 10, 2003, 21:09   #9
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
Quote:
Originally Posted by Martin the Dane
I wish the AI would use it, that would be the best, or maby something like the SMAC solotion where a failing unit would attempt a retreat, her of cause it would be the stack doing it.
Thats the kinda thing i was trying to suggest on the other thread by doing it through SLIC, but from the sounds of it its impossible.
It would all depend on the attacker and defender, strength of defender/attacker, number of units and what terraint type it was on and from this it would work out how much health the retreating units would still have and also a percentage chance of and actual retreat taking place.

But if it cant be done, it cant be done

Even if these retreated units where not actually the same army, just new units that appeared on a corresponding tile in the appropriate quantities and health percent

-James
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old January 11, 2003, 10:22   #10
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: 15:28
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by SMIFFGIG
Thats the kinda thing i was trying to suggest on the other thread by doing it through SLIC, but from the sounds of it its impossible.
It would all depend on the attacker and defender, strength of defender/attacker, number of units and what terraint type it was on and from this it would work out how much health the retreating units would still have and also a percentage chance of and actual retreat taking place.

But if it cant be done, it cant be done

Even if these retreated units where not actually the same army, just new units that appeared on a corresponding tile in the appropriate quantities and health percent

-James
Well we have these Events:

RunCombat(army_t, location_t, int_t, int_t)
Run one round of combat

VictoryMoveOrder(army_t, location_t)
The move into an attacked square after winning a battle

So what would happen if we would do something liek this:

HandleEvent(RunCombat)'MG_StopCombat'{
return STOP;
}

Would this stop the combat or would this end in a infinity loop?

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old January 11, 2003, 14:48   #11
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
I can't imagine that having a good effect on the game. There's no way to end the battle if you don't run the combat rounds.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old January 11, 2003, 20:53   #12
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 15:28
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
You could try generating a BattleAfterMath event or something like that...
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old January 11, 2003, 21:41   #13
Dauphin
Civilization IV PBEMPolyCast Team
Deity
 
Dauphin's Avatar
 
Local Time: 14:28
Local Date: November 1, 2010
Join Date: Dec 1969
Location: Seouenaca, Cantium
Posts: 12,426
Interesting. Shame you can't retreat in MP, it would have been a cool trick to pull on my brother to get a major advantage.
__________________
"Everybody knows you never go full retard. You went full retard man. Never go full retard"
Dauphin 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 09:28.


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