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 > Call To Power II > CtP2-Source Code Project > PROJECT: Playest II
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread   
Pages (17): [ 1   2   3   4   5   6   7     >> ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:36
  Old Post 15-06-2004 19:18 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#91 Report this post to a moderator
Re: Update - 2004.06.15 Tired of ads?

quote:
Originally posted by J Bytheway
It's been nearly a month
Where does the time go?!

Lui2 is offline Lui2
Chieftain
Saarbruecken
May 2004
time: 06:36
  Old Post 15-06-2004 22:17
Edit/Delete Message Reply w/Quote
#92 Report this post to a moderator
Re: Update - 2004.06.15 Support Apolyton

Thanks for compiling a new playtest version.

quote:
Originally posted by J Bytheway
It's been nearly a month, so I guess it's time for a new version. Lots of little changes this time.

...

Fixed: Incorrect display in keymapping dialog
Added: New commands in keymapping dialog
...


But for this change you didn't include the needed
ctp2_data/xxxxxx/uidata/layouts/km_screen.ldl files.

So this will not work correctly.

Also there is an other problem with this change, that i described in this thread.

So take care when playing saved games with this updated version.

Last edited by Lui2 on 16-06-2004 at 02:19

Lui2 is offline Lui2
Chieftain
Saarbruecken
May 2004
time: 06:36
  Old Post 16-06-2004 02:17
Edit/Delete Message Reply w/Quote
#93 Report this post to a moderator
Re: Update - 2004.06.15 Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by J Bytheway

The change which removes the blank age buttons from the MP setup screen might cause problems with mods, but I included it anyway. Complain if you want it removed.

...

Fixed: Blank age boxes in MP setup

...


The fix for this problem does not work with this archiv, because the fixed ctp2_dta/xxxxx/uidata/layouts/ns_strings.ldl files are not included.

Maybe you can update the archiv with these files.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:36
  Old Post 16-06-2004 02:19 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#94 Report this post to a moderator
Support Apolyton, buy Civilization 2

That's not the only thing I missed - I forgot about all the updates needed to the ctp2_data directory. I'd best fix that...

Edit: crosspost, I see you noticed another symptom of the same problem.

Last edited by J Bytheway on 16-06-2004 at 02:38

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:36
  Old Post 16-06-2004 02:37 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#95 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

OK, I think it's right now. If you downloaded before, please do so again.

I'm not sure that I've got all the current translations - I've sort of lost track of that sort of thing, so be careful about overwriting any translations you might have done recently which I have failed to include.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:36
  Old Post 16-06-2004 02:39 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#96 Report this post to a moderator
Avatar Enlargement: We've got the solution

...and I just copied the km_screen.ldl from german to the other languages. It seems to work OK for the english at least.

primemover is offline primemover
Chieftain
Houston, TX, USA
Nov 2001
time: 23:36
  Old Post 17-06-2004 10:47 Visit primemover's homepage!
Edit/Delete Message Reply w/Quote
#97 Report this post to a moderator
Full PM-box? Change here!

still seems to have a bug in caravan calculation that someone mentioned earlier. (not that this has been reportedly addressed yet but that is the first thing i noticed on my first playtest of the sourcecode project.)

everything else seems to be working ok so far.

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:36
  Old Post 17-06-2004 19:24 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#98 Report this post to a moderator
Support Apolyton buy from Amazon

You can find a correction here (Out-of-the-box #s) or here (Suggested playtest #s)

Last edited by Flinx on 15-07-2004 at 20:12

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:36
  Old Post 18-06-2004 00:35 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#99 Report this post to a moderator
DB-access: Advance and Buildings Support Apolyton, buy GURPS/ Alpha Centauri

The good news is: GrantAdvance() no longer crashes the game. The bad news: It still doesn't work. But as I now got an error message concerning argument type mismatch I could track the problem down to a database access problem. I tried to put the advance into a global variable and tested it using a message box - voilà:

This line should make SLIC happy:

code:
GrantAdvance(iwwPlayer, VIS_VisiStuffAdvance);


... if this assignment worked:
code:
int_t VIS_VisiStuffAdvance HandleEvent(BeginTurn) 'SetupEveryTurnPre' pre { VIS_VisiStuffAdvance = AdvanceDB(ADVANCE_SUBNEURAL_ADS); Message(1, 'GeneralGamestatsMsg'); } messagebox 'GeneralGamestatsMsg' { Text(ID_GENERAL_GAME); }


The proof of the assignment is the messagebox:
code:
GENERAL_GAME "Visi: {VIS_VisiStuffAdvance}"


The message box always displays "Visi: 0" (just to make it clear: ADVANCE_SUBNEURAL_ADS is at the bottom of my Advance.txt, hence certainly not no. 0), so GrantAdvance() would always just grant advanced composites according to my Advance.txt.

There seems to be another DB-access-issue with Buildings.txt:

code:
Event:CreateBuilding(popCity, BuildingDB(IMPROVE_GERM_THEORY));


gives the SLIC error message:
type mismatch for argument 2, expected int_t

I didn't test this one with a message box yet but I would guess it's similar to the above one.

I haven't yet tested HasAdvance() intensively but I wouldn't be surprised if this function wouldn't work, too (and probably due to the same lack of database access), because I already had the feeling in earlier testing that all of my diplomacy and strategy related functions lost all impact on the AI's behavior. It hits me now that many of them are using "if(HasAdvance())"-statements and I am also missing a messagebox that should appear under certain circumstances, among those a neighboring civ having a certain advance . But this is just a feeling and probably related to something completely different. Anyway - it might be useful to take a look into HasAdvance(), too.

I am also sure that HasGood() doesn't work - as far as I remember it never did, just wanted to mention my observation: I am telling SLIC not to put my "visible capitol" on a tile if it HasGood(someLoc) - actually SLIC doesn't care at all and still likes to build capitols on cotton fields

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:36
Post  Old Post 18-06-2004 01:22 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#100 Report this post to a moderator
Remove this text

Well just used my Debug version with GoodMod, the goods were improved. Well I must admit that I don't have the latest source alteration in.

If you want to know if a tile has a good you have to do something like this:

if(HasGood(someLoc) > -1){
}

Note HasGood returns the good database index and the first good in your database has index zero. And zero is treates as false and everything else as true.

-Martin

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:36
  Old Post 18-06-2004 02:55 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#101 Report this post to a moderator
Got spare money?

quote:

Note HasGood returns the good database index


So THAT's why it
quote:

doesn't work - as far as I remember it never did

I always assumed it should return true or false and just asked:

code:
if(HasGood(someLoc)) { it's fine; }

This needs to be registered at the "CTP2 Bureau" (under construction) as soon as possible. I should have read the GoodMod files more carefully .

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:36
  Old Post 18-06-2004 03:16 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#102 Report this post to a moderator
Lose 30 kilos (of popups)

Sorry, I forgot to report some real good news: player[].government seems to work perfectly now.

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:36
  Old Post 18-06-2004 04:21 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#103 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Originally posted by Martin Gühmann
Well just used my Debug version with GoodMod, the goods were improved. Well I must admit that I don't have the latest source alteration in.

If you want to know if a tile has a good you have to do something like this:

if(HasGood(someLoc) > -1){
}

Note HasGood returns the good database index and the first good in your database has index zero. And zero is treates as false and everything else as true.

-Martin
you would have thought they would have called a function that returned the database index of the good WhatGood or WhichGood. One would logically assume HasGood would return True/False 0/1.
Oh well!

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:36
Post  Old Post 18-06-2004 22:42 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#104 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Flinx
you would have thought they would have called a function that returned the database index of the good WhatGood or WhichGood. One would logically assume HasGood would return True/False 0/1.
Oh well!


Before I used this function it would return a value between -1 and 3, -1 for no good at all, 0 for the first good that can appear on the underlieing terrain and so on.

At least you find this in the slic documention for that function.

-Martin

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:36
  Old Post 19-06-2004 16:00 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#105 Report this post to a moderator
BuildingDB broken database access Full PM-box? Change here!

I got the proof for the broken database access for Buildings.txt already reported above - tested it using a global variable and a message box:

code:
VIS_CapitolBuilding = BuildingDB(IMPROVE_CAPITOL);


assigns "0" to the variable, should be index no. "14" according to my Buildings.txt (a funny effect in my Mod-playtest is that I am getting a lot of "capitol suburbs" - so my "visible capitol"-feature currently works as an "ancient city expansion"-feature ).

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:36
  Old Post 20-06-2004 00:34 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#106 Report this post to a moderator
Auto-centering on invisible special attacks? Increase the size of your Attachments

This is certainly a minor issue (and as far as I remember it has already been present in the original game): I am getting auto-centering on Cleric's actions in explored but currently invisible terrain (I could not proceed in the game to later stages but I assume this one would occur with all special unit's actions).
To my personal feeling this seems as annoying as the auto-center-on-invisible-pirates-event that has already been fixed by Fromafar .
I am not sure if I like the according sound being played. Actually I like it as far as clerics are involved (somehow this gives the feeling of something disquieting going on in the world - rumors about flagelling monks wandering around and heretic movements already destabilizing neighboring empires ...), but I am not sure about spies, bio-infectors etc.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 22-06-2004 23:20 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#107 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I've started a new game with the latest playtest build. Everything is going smooth so far, except that I am playing with 12 other civs, and one of them is Portugese - but I have already selected Portugese for myself. It doesn't crash or anything, plays fine with two Portugese civs, but I think that a check should be added on such a circumstance.

Another thing that bugs me, though, is AI attack priority. Playing with mods, I am facing a competent AI, but it seems to always ignore ceasefires. I sign one, it will attack the next turn, if it wants to. I did the following a few times: before an AI attack save. After they attack, reload and get the AI to sign a ceasefire. End turn. Every time, the attack still commenced. Therefore, it seems to me that if the AI has assigned a target for its attack, then it does not re-evaluate the target based on presence of a ceasefire/peace treaty.

Sure, it helps create a more competetive AI, but I somehow don't like the fact that once a war starts, it stays that way. Heck, even the civs I bring down to 1-3 cities and sign peace with, attack me shortly.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:36
  Old Post 25-06-2004 22:55
Edit/Delete Message Reply w/Quote
#108 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Solver
Sure, it helps create a more competetive AI, but I somehow don't like the fact that once a war starts, it stays that way. Heck, even the civs I bring down to 1-3 cities and sign peace with, attack me shortly.


Perhaps am I about to say something stupid... but if you are playing a mod it is perhaps originating from the Frenzy AI. Try to disable the Frenzy AI... whether it has an effect or not on your problem this code is thought to be buggy so your mods can only fare better.

Last edited by Tamerlin on 25-06-2004 at 23:03

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 25-06-2004 23:40 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#109 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Thanks, maybe, got to look into that. Frenzy indeed had that bug, IIRC, and other AI scripts are better anyway.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:36
  Old Post 26-06-2004 00:03
Edit/Delete Message Reply w/Quote
#110 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Originally posted by Solver
Thanks, maybe, got to look into that. Frenzy indeed had that bug, IIRC, and other AI scripts are better anyway.


I know that Martin's BetterAI slic file can be used with the SAP2 though I would have to find again how to make it compatible as the BetterAI.slc code needs some other files that can be found in Martin's mods.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 26-06-2004 00:35 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#111 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Martin's GoodMod with SAP is what I usually play. It has Martin's SLIC files, which are really good as far as AI is concerned. Cradle is a great mod, but the gameplay changes it makes don't exactly suit my preferences, unfortunately.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:36
  Old Post 26-06-2004 01:09
Edit/Delete Message Reply w/Quote
#112 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Solver
Cradle is a great mod, but the gameplay changes it makes don't exactly suit my preferences, unfortunately.


I agree with you, I am currently testing the Cradle 1.30b through the Succession Game and I must admit the game is too different from the original game for my taste.

This is a great mod nonetheless...

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 26-06-2004 01:44 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#113 Report this post to a moderator
Avatar Enlargement: We've got the solution

My main complaint with it isn't the amount of differences it makes, but rather the focus, so to speak. Cradle expands ancient ages a lot, and some of the middle ages, while my favorite part of the game starts somewhere in the Renaissance, and I enjoy later stages too. I love ancient times, but not to the point where they take up half the game.

I will still always praise Cradle for the excellent work it contains, and recommend it to newcomers .

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 30-06-2004 18:04 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#114 Report this post to a moderator
Got spare money?

A very weird bug. I played into the Modern, and researched Advanced Infantry Tactics. Now, every turn the tech disappears for me, and for all the AIs as well. Marines and Paratroopers disappear from queues, and the tech is again available for research. I have to give it back to myself through the cheat editor, and for the AIs as well, to prevent a problem when they are trying to research that tech again and again.

Interestingly, that tech is apparently the first in some index - it appears on the top of advance list in cheat mode listing of advances, at least.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:36
  Old Post 30-06-2004 22:53 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#115 Report this post to a moderator
Inflate your Upload Space

Yes, Advanced Infantry Tactics is the first advance in advance.txt (They're mostly in alphabetical order).

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 30-06-2004 22:56 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#116 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Well, it's not first by alphabet for me as I'm playing with German files. But I guess it at leasts gives a clue for what the bug is - first advance by index disappearing.

I'll go edit advance.txt, creating some bogus advance and giving it the first index, and see if that fixes the problem.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:36
  Old Post 30-06-2004 23:05 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#117 Report this post to a moderator
Update 2004.06.28 Put an end to popups!

A new version. The main reason for this one is the new freetype library in the hope of fixing these problems.

I made a complete mess of putting this one together and had to reconstruct my codebase from scratch, so I wouldn't be surprised if I got something wrong. Complain quickly if it doesn't work . Unfortunately I'm on a dialup connection for the moment and not around frequently so I may not be able to respond to complaints as swiftly as I would like (It has taken me three days to get this one uploaded because I kept getting cut off... ).

[file removed]

[This version is obsolete. The next version is available here.]

Changes:

Fixed: Various memory leaks
Added: Specialists tab in national manager dialog
Fixed: Bug related to changing civ with the scenario editor
Fixed: Bug with scenario savegames
Added: Translational functionality on right click on the radar map
Changed: Version of the freetype library used
Fixed: Bombard information to AIs

Last edited by J Bytheway on 18-05-2005 at 05:13

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:36
  Old Post 30-06-2004 23:16 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#118 Report this post to a moderator
Inflate your Upload Space

As for the issue with Advance.txt: Obviously some strange things happened to the database access and it seems to affect not only SLIC (as reported above) but also hard-coded functions .

A late response concerning the known 'buggyness' (or 'simplicity that renders diplomacy useless') of Frenzy AI (v 1.x): There's a new thread in the modding section: Frenzy AI revisited (v 2.1)

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 30-06-2004 23:23 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#119 Report this post to a moderator
Inflate your Upload Space

Will download later . So far, I am stupid enough not to be able to add another advance to txt.

Or will my savegame ignore the new advance till I start a new game?

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:36
  Old Post 30-06-2004 23:26 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#120 Report this post to a moderator
Put an end to popups!

Bert, how safe do you imagine is that Frenzy code? That is, does it provide a real improvement to AI (as intended and, to a degree, it worked), but without the problem of never going to peace once it attacks?

Another thing I'm pondering is city attack focus, sometimes maybe the AI hesitates a bit in attacking cities... but that's unimportant right now.

The advance problem, then, is unrelated to the SLIC engine, but rather to the database engine, I gather. Anyone has messed enough with that to provide valuable input?

OK, really going to watch football now .

 
Pages (17): [ 1   2   3   4   5   6   7     >> ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:36.
Apolyton Time is 00:36.
    top of page
Rate This Thread:
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.0721 seconds (89.79% PHP - 10.21% MySQL) with 36 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