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: Playtest
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): [ <<   10   11   12   13   14   15   16     >> ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 18-04-2004 23:59 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#361 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Flinx
How do you do that?


Assuming that you normally start CTP2 through the start menu then you'll have to go to the properties of the shortcut, and look at the 'Target:' field, which, for example, in my setup looks like this:

F:\Games\CTP2Src2\ctp2_code\ctp\ctp2.exe

And then add the desired command line parameter, like this:

F:\Games\CTP2Src2\ctp2_code\ctp\ctp2.exe nointromovie

There are two possible problems:

1. Your CTP2 shortcut presently points at the loader in the main ctp2 directory, rather than the "real" executable, which is under ...\ctp2_code\ctp or ...\ctp2_program\ctp depending on whether you compiled it yourself or not. If so, change it - it'll save you time.

2. Your CTP2 path contains spaces (e.g. "Program Files") in which case you may need to remove them by using the 8.3 versions (e.g. "Progra~1"), because the quoting system doesn't handle command line parameters very well.

Other methods you could use:

- Open a command prompt, navigate to the CTP2 directory and run "ctp2 nointromovie" from there.

- Create a batch file in the same directory as the executable which calls CTP2 with the right command line parameters.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 19-04-2004 00:21
Edit/Delete Message Reply w/Quote
#362 Report this post to a moderator
Support Apolyton

I have downloaded an Indeo CODEC for Win2K (I am under WinXP) and I am no more told that I need Indeo Video Playback in order to run the video. It is very strange as I have never been asked this software for CtP2 before. Very, very strange...

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 19-04-2004 00:29 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#363 Report this post to a moderator
Enter the AD-FREE zone

That might be a problem with your setup. I don't think that the game could ask for that under any circumstances.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 19-04-2004 00:34 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#364 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Well it is encoded in "Indeo® video 5.10 Decompression Filter" (according to Windows Media Player) so it makes sense that you would need that codec. Perhaps it got corrupted or some other unlikely occurance...

BureauBert is offline BureauBert
Chieftain
Vienna, Europe
Apr 2003
time: 06:32
  Old Post 19-04-2004 03:23 Visit BureauBert's homepage!
Edit/Delete Message Reply w/Quote
#365 Report this post to a moderator
DebugSlic Support Apolyton

Thank you Martin for proposing a workaround concerning "GrantAdvance" . I will give it a try and post ...
Unfortunately the Event:CreateBuilding has no corresponding function - so I will have to leave this one for the moment.
I understood that the scripts are somehow compiled (or just "debugged", checked, whatsoever) at gamestart for running better at runtime, and that the error I get is intended to be thrown at the first occasion even with DebugSlic=No.
But using the same scripts with Activision's patch and DebugSlic=No did not result in any error messages - my possibly over-SLICed Mod-monster on a monstrouos map just became very, very slow at certain point .
The behaviour of Activision's patch was: With DebugSlic=Yes I got the same error messages once at gamestart and every time the "buggy" function was called in-game. With DebugSlic=No I got neither. I must admit that I prefered this behaviour because, though everybody should try to produce "clean" SLIC-code, it is just impossible with a couple of functions/event handlers (in their original/current implementation) because they are buggy themselves. AFAIK there are several functions that work as expected in-game (since experienced SLICers figured out how to use them ) but are not recognized as correct SLIC by the debugger, because the debugger is buggy. As J Bytheway said:

quote:
Fixing the root problem which causes the error will probably be rather harder though


In the meantime, if it is possible with reasonable effort, dropping the mostly useless error-messages at all with DebugSlic=No, as in Activision's patch, would IMHO be a good mid-term solution

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:32
  Old Post 19-04-2004 04:09 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#366 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by J Bytheway
Assuming that you normally start CTP2 through the start menu then you'll have to go to the properties of the shortcut, and look at the 'Target:' field, which, for example, in my setup looks like this:

F:\Games\CTP2Src2\ctp2_code\ctp\ctp2.exe

And then add the desired command line parameter, like this:

F:\Games\CTP2Src2\ctp2_code\ctp\ctp2.exe nointromovie
Thanks John
"C:\Program Files\Activision\Call To Power 2\ctp2_program\ctp\ctp2.exe" nointromovie works perfectly for me
I didn't have the problem Tamerlin had, but why click through the movey when you do not have to?!

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 19-04-2004 04:09
Edit/Delete Message Reply w/Quote
#367 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by J Bytheway
Well it is encoded in "Indeo® video 5.10 Decompression Filter" (according to Windows Media Player) so it makes sense that you would need that codec. Perhaps it got corrupted or some other unlikely occurance...


Thanks J Bytheway, I was actually becoming worried, installing the Indeo 5.11 CODEC for Win2K, though I am under WinXP, has solved the problem...

As far as I remember, I own few games using Indeo. I recently uninstalled some old games and I have perhaps erased some shared files in the process. Or perhaps have I overwritten some newer shared files when I installed some other older games...

Could someone remind me of the line that has to be added and in which file if I want to use ModSwapper and the SAP2 with the latest playtest build.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 19-04-2004 04:15
Edit/Delete Message Reply w/Quote
#368 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Flinx
... but why click through the movey when you do not have to?!


I like things to run smoothly and as they are supposed to... and I was afraid it could hide a deeper problem.

bartdanr is offline bartdanr
Chieftain
New Mexico, USA
May 2000
time: 05:32
Thumbs up  Old Post 19-04-2004 04:31
Edit/Delete Message Reply w/Quote
#369 Report this post to a moderator
Re: Update 2004-04-18 Get a bigger avatar today!

quote:
Originally posted by J Bytheway
New version available:

2004.04.18.CTP2Playtest.rar

(It has to be a .rar, rather than a .zip, because the .zip exceeds the 5MB limit on uploaded file sizes (Maybe I should subscribe to Apolyton to fix that ). Perhaps Locutus could repackage it as a zip and post it in the directory if anyone has a problem with rars.)

Changes:
Added: Rush buy button status updated when gold gained from goody huts
Fixed: Empty(ing) build queue crashes
Fixed: Invalid memory access when loading from a file with a different table size
Fixed: SLIC bugs
Changed: Menu structure and graphics

Now it's time for bed .


Thanks a ton, I was able to download your link. I look forward to playing!!!

drulius is offline drulius
Warlord
Lubbock, Tx USA
Jan 1970
time: 23:32
  Old Post 19-04-2004 11:23
Edit/Delete Message Reply w/Quote
#370 Report this post to a moderator
Remove this text

Still playing with the 2004[1].04.03.CTP2Playtest, but I don't think this would have changed with the new update. Early in a game, I explored a section of the map by 3250bc, and didn't go back until 1650bc. By then, the French had settled in the area just along the edge of where I had explored, and their territory extended well into the area I had explored.

When mousing over French squares, the French ownership was labeled in the ticker data at the bottom of the command window, before the border was revealed by "finding" the French city responsible for the ownership.

I think a picture will explain it better. But I think it is not supposed to be telling the player which direction the enemy is hiding. Is this something old or new?

Attachment: betterres.jpg
This has been downloaded 112 time(s).

Last edited by drulius on 19-04-2004 at 11:47

Fromafar is offline Fromafar
Prince

May 2003
time: 06:32
  Old Post 20-04-2004 02:50
Edit/Delete Message Reply w/Quote
#371 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Bug reports on the 2004.04.18 playtest release:

The game crashes when loading an old file or starting a scenario.

In SlicStructInstance::Serialize, there is an attempt to read 6 members from the file. It looks like the file data contains 3 valid members only. Starting with the 4th member, the interpretation of the file data is invalid (e.g. haveData gets read as 3 - I would expect only 0 or 1 for a boolean).

Some memory leaks have also reappeared (popup resourcelist asserts at the end of the program): it looks like the SP subscreen cleanup functions are not executed anymore.

But the new interface looks great .

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 20-04-2004 03:09 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#372 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by Fromafar
Some memory leaks have also reappeared (popup resourcelist asserts at the end of the program): it looks like the SP subscreen cleanup functions are not executed anymore.


I guess that's due to me cutting out swathes of code related to the interface...

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 20-04-2004 18:41 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#373 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Bug reports on the 2004.04.18 playtest release:

The game crashes when loading an old file or starting a scenario.


I loaded a save from the previous playtest build without any problems.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 20-04-2004 20:09 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#374 Report this post to a moderator
Lose 30 kilos (of popups)

OK, just tested it - saves from previous builds can be loaded just fine, but there's a CTD if a save that was saved under 2004-04-18 build is loaded.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 20-04-2004 20:22
Edit/Delete Message Reply w/Quote
#375 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

I have made a few tests with the latest playtest build.

I have started a new game, played a few turns and saved the game after I created my first city. I made a Quick Save and a regular one and tried to load them while the game was running and after I quitted the game. No problem at all with any kind of saves.

My CtP2 playtest installation is a patched CtP2 1.11 build over which I have successively installed the playtest builds (to the exception of the previous 2004[1].04.03 and 2004[1].04.12 builds)

Last edited by Tamerlin on 20-04-2004 at 20:30

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 20-04-2004 20:28 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#376 Report this post to a moderator
Help yourself to an AD-FREE life

OK, now if we have a game-crashing bug that can't be reproduced on every tester, that's a much worse situation.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 20-04-2004 20:29 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#377 Report this post to a moderator
Support Apolyton, buy Civilization 2

Saw your edit - mine's 1.11, and the first playtest build I installed completely over it was 2004-04-12, and now 2004-04-18, where I get this unfortunate behaviour.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 20-04-2004 20:42 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#378 Report this post to a moderator
Support Apolyton, buy Civilization 2

Tamerlin, I uploaded a save, can you download it and try to load? It's been started using GoodMod for Apolyton Pack - hmm, could that be what causes the problems?

The file: This

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 20-04-2004 20:48
Edit/Delete Message Reply w/Quote
#379 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Another quicktest with the 2004-04-18 playtest only installed over a CtP2 1.11 build (the regular CtP2 folder which I use to play the SAP2 and so on... with a few tweaks) produces the same result... no problem at all.

I am under WinXP and I don't use the Compatibility Tool to play...

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 20-04-2004 20:49 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#380 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Solver
Tamerlin, I uploaded a save, can you download it and try to load? It's been started using GoodMod for Apolyton Pack - hmm, could that be what causes the problems?


Fromafar conjectured a SLIC-related cause, so I guess mod saves would be more vulnerable than normal ones.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 20-04-2004 20:51 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#381 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Despite the previous build working perfectly, which had all of those SLIC functions added, hmm?

Well, maybe Fromafar can enlighten us some.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 20-04-2004 21:00
Edit/Delete Message Reply w/Quote
#382 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Solver
Tamerlin, I uploaded a save, can you download it and try to load? It's been started using GoodMod for Apolyton Pack - hmm, could that be what causes the problems?




No problem at all I can load and play your game.

Note, your game was not acknowledged as a CtP2 saved game until I removed the .chr extension added in the name of the file.

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

OK that's even more confusing then. How did you start CtP2 - via ModSwapper selecting Goodmod, or how?

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 20-04-2004 21:05
Edit/Delete Message Reply w/Quote
#384 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Solver
OK that's even more confusing then. How did you start CtP2 - via ModSwapper selecting Goodmod, or how?


I use Modswapper selecting GoodMod for Apolyton Pack 2.0!

[EDIT]I have played a turn, made two saves (a quick and a regular one) and loaded them sucessfully.[/EDIT]

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

quote:
Originally posted by J Bytheway
Fromafar conjectured a SLIC-related cause, so I guess mod saves would be more vulnerable than normal ones.


Indeed they are, Peter discovered a problem concerning the database access, no problem if you you initialize the slic but something wents wrong when you load the slic from a save. You can reload slic before you hit end turn after a reload. Of course this is not a solution, but that veryfies it.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 20-04-2004 21:16 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#386 Report this post to a moderator
Got spare money?

quote:
Originally posted by Martin Gühmann
Indeed they are, Peter discovered a problem concerning the database access, no problem if you you initialize the slic but something wents wrong when you load the slic from a save. You can reload slic before you hit end turn after a reload. Of course this is not a solution, but that veryfies it.


Was this fixed in your recent alterations to the slic source? If so, it's probably worth me uploading a new playtest exe so that people like Solver can actually load their games.

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

How do I reload SLIC then before I load the game to check it??

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

quote:
Was this fixed in your recent alterations to the slic source? If so, it's probably worth me uploading a new playtest exe so that people like Solver can actually load their games.


Did we have any source additions after the 4-18 build at all?

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 20-04-2004 21:25 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#389 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Solver
Did we have any source additions after the 4-18 build at all?


Yep, but just this one post.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:32
Post  Old Post 20-04-2004 21:35 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#390 Report this post to a moderator
Inflate your Upload Space

quote:
Originally posted by J Bytheway
Was this fixed in your recent alterations to the slic source?


No.

quote:
Originally posted by Solver
How do I reload SLIC then before I load the game to check it??


So a crash before the you can move a unit or do another thing. In that case we are talking about two different problems.

-Martin

 
Pages (17): [ <<   10   11   12   13   14   15   16     >> ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:32.
Apolyton Time is 00:32.
    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.0635 seconds (91.25% PHP - 8.75% 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