a question
Would you at a development of the orginal CoAS version collaborate.
We need it for a new source code.
Would you at a development of the orginal CoAS version collaborate.
We need it for a new source code.
Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
Yes, only in the original game.So... Does this post fixes the random crashes of the CoAS game? :O
Yes, I would gladly help. Keep in mind that I don't know how to code :/
Anything related to testing and modyfing files with your instructions, I can help.
So you are building a new source code?
GREAT! Nice job!I will also discuss with Pieter. I would like to they have with it.
I will also discuss with Pieter. I would like to they have with it.
So... Does this post fixes the random crashes of the CoAS game? :O
Do I need to do it with EACH of the game files? Or the only files that are displayed in these boxes?Cool
You are heroes ..
I'm talking about the scripts ... in the folders program and ini
that is not right, something is missing ... .tx (Examples)
Code:Playlogic\Age of Pirates 2\RESOURCE\INI\dialog.ini(23):;texture = dialog\interface.tga Playlogic\Age of Pirates 2\RESOURCE\INI\dialog.ini(24):texture = dialog\dialog.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(4):Texture = fonts\pc_keyboard.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(92):Texture = fonts\xbox_buttons.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(140):Texture = fonts\interface normal font.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(312):Texture = fonts\interface normal font.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(484):Texture = fonts\interface normal font.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(656):Texture = fonts\interface bold numbers.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(687):Texture = fonts\interface button.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(855):Texture = fonts\interface normal font.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(1027):Texture = fonts\interface button.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(1199):Texture = fonts\interface normal font.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(1371):Texture = fonts\interface normal font.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(1543):Texture = fonts\interface button.tga Playlogic\Age of Pirates 2\RESOURCE\INI\fonts.ini(1715):Texture = fonts\interface button.tga
and so it is right
Code:E:\Age of Pirates 2\RESOURCE\INI\dialog.ini(23):;texture = dialog\interface.tga.tx E:\Age of Pirates 2\RESOURCE\INI\dialog.ini(24):texture = dialog\dialog.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(4):Texture = fonts\pc_keyboard.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(92):Texture = fonts\xbox_buttons.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(140):Texture = fonts\interface normal font.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(312):Texture = fonts\interface normal font.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(484):Texture = fonts\interface normal font.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(656):Texture = fonts\interface bold numbers.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(687):Texture = fonts\interface button.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(855):Texture = fonts\interface normal font.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(1027):Texture = fonts\interface button.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(1199):Texture = fonts\interface normal font.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(1371):Texture = fonts\interface normal font.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(1543):Texture = fonts\interface button.tga.tx E:\Age of Pirates 2\RESOURCE\INI\fonts.ini(1715):Texture = fonts\interface button.tga.tx
How to find the game a .tga file, if it a .tga.tx file.
I am not surprised, when they have graphic problems.
Take the list as template. Because they see what needs to be changed.Do I need to do it with EACH of the game files? Or the only files that are displayed in these boxes?
if (GetTime() >= 6.0 && GetTime() < 10.0) Islands[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.0 && GetTime() < 18.0) Islands[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.0 && GetTime() < 22.0) Islands[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.0 && GetTime() <= 23.99) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 0 && GetTime() < 6.0) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 6.00000 && GetTime() < 9.59999) Islands[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.00000 && GetTime() < 17.59999) Islands[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.00000 && GetTime() < 21.59999) Islands[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 0.00000 && GetTime() < 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 6.00000 && GetTime() < 9.59999) Islands[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.00000 && GetTime() < 17.59999) Islands[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.00000 && GetTime() < 21.59999) Islands[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 0.00000 && GetTime() < 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 0.00000 && GetTime() < 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 6.00000 && GetTime() < 9.59999) Islands[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.00000 && GetTime() < 17.59999) Islands[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.00000 && GetTime() < 21.59999) Islands[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
And why a - And function ?@Jan Marten : I still think that last line should be || as a number cannot be greater than 22 and smaller than 6 at the same time.
Get Time returns the time in hours as a number between 0.0 and 24.0, right?
And you want it to use Storm 4 if it is earlier than 06:00 OR later than 22:00 , right?
So it must be || instead of && .
If it is earlier than 6.0 then it is not also later than 22.0 at the same time.
Anyway, just trying to help. Feel free to ignore.![]()
if (GetTime() >= 6.00000 && GetTime() < 9.59999) Islands[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.00000 && GetTime() < 17.59999) Islands[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.00000 && GetTime() < 21.59999) Islands[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 6.00000 && GetTime() <= 9.59999) Islands[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.00000 && GetTime() <= 17.59999) Islands[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.00000 && GetTime() <= 21.59999) Islands[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) Islands[iCurLocation].QuestlockWeather = "Storm04";
if(CheckAttribute(pchar, "location"))
{
iCurLocation = reload_location_index;
if(iCurLocation != -1)
{
if(CheckAttribute(&locations[iCurLocation], "storm"))
{
bWhrStorm = 1;
}
if(CheckAttribute(&locations[iCurLocation], "tornado"))
{
bWhrTornado = 1;
}
//ìàëûé øòîðì â ëîêàöèÿõ
if(CheckAttribute(&locations[iCurLocation], "alwaysStorm"))
{
if (GetTime() >= 6.0 && GetTime() < 10.0) locations[iCurLocation].QuestlockWeather = "Storm01_add";
if (GetTime() >= 10.0 && GetTime() < 18.0) locations[iCurLocation].QuestlockWeather = "Storm02_add";
if (GetTime() >= 18.0 && GetTime() < 22.0) locations[iCurLocation].QuestlockWeather = "Storm03_add";
if (GetTime() >= 22.0 && GetTime() <= 23.99) locations[iCurLocation].QuestlockWeather = "Storm04_add";
if (GetTime() >= 0 && GetTime() < 6.0) locations[iCurLocation].QuestlockWeather = "Storm04_add";
if (CheckAttribute(&locations[iCurLocation], "alwaysStorm.WaveHeigh")) locations[iCurLocation].MaxWaveHeigh = 2.5; //óñòàíîâèì óðîâåíü âîäû
}
//áîëüøîé øòîðì â ëîêàöèÿõ
if(CheckAttribute(&locations[iCurLocation], "alwaysStorm_2"))
{
if (GetTime() >= 6.0 && GetTime() < 10.0) locations[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.0 && GetTime() < 18.0) locations[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.0 && GetTime() < 22.0) locations[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.0 && GetTime() <= 23.99) locations[iCurLocation].QuestlockWeather = "Storm04";
if (GetTime() >= 0 && GetTime() < 6.0) locations[iCurLocation].QuestlockWeather = "Storm04";
if (CheckAttribute(&locations[iCurLocation], "alwaysStorm_2.WaveHeigh")) locations[iCurLocation].MaxWaveHeigh = 40.0; //óñòàíîâèì óðîâåíü âîäû
}
if(CheckAttribute(pchar, "location"))
{
iCurLocation = reload_location_index;
if(iCurLocation != -1)
{
if(CheckAttribute(&locations[iCurLocation], "storm"))
{
bWhrStorm = 1;
}
if(CheckAttribute(&locations[iCurLocation], "tornado"))
{
bWhrTornado = 1;
}
//ein kleiner Sturm in den Standorten
if(CheckAttribute(&locations[iCurLocation], "alwaysStorm"))
{
if (GetTime() >= 6.00000 && GetTime() <= 9.59999) locations[iCurLocation].QuestlockWeather = "Storm01_add";
if (GetTime() >= 10.00000 && GetTime() <= 17.59999) locations[iCurLocation].QuestlockWeather = "Storm02_add";
if (GetTime() >= 18.00000 && GetTime() <= 21.59999) locations[iCurLocation].QuestlockWeather = "Storm03_add";
if (GetTime() >= 22.00000 && GetTime() <= 5.59999) locations[iCurLocation].QuestlockWeather = "Storm04_add";
if (CheckAttribute(&locations[iCurLocation], "alwaysStorm.WaveHeigh")) locations[iCurLocation].MaxWaveHeigh = 2.5; //setzt den Wasserstand
}
//ein großer Sturm in den Standorten
if(CheckAttribute(&locations[iCurLocation], "alwaysStorm_2"))
{
if (GetTime() >= 6.0000 && GetTime() <= 9.59999) locations[iCurLocation].QuestlockWeather = "Storm01";
if (GetTime() >= 10.0000 && GetTime() <= 17.59999) locations[iCurLocation].QuestlockWeather = "Storm02";
if (GetTime() >= 18.0000 && GetTime() <= 21.59999) locations[iCurLocation].QuestlockWeather = "Storm03";
if (GetTime() >= 22.0000 && GetTime() <= 5.59999) locations[iCurLocation].QuestlockWeather = "Storm04";
if (CheckAttribute(&locations[iCurLocation], "alwaysStorm_2.WaveHeigh")) locations[iCurLocation].MaxWaveHeigh = 40.0; //setzt den Wasserstand
}