Patchpack: Hard Game pack 0.8

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Patchpack: Hard Game pack 0.8

Post by Vaulter »

This idea was nurtured by a very long time. From early TTD, I want gameplay to be harder
This is a goal of this patchpack. And I know, this is not a first attempt :)

Anyway


http://www.tt-forums.net/viewtopic.php? ... 8#p1095548

0.7.144 Bundle for Windows http://rusfolder.com/32106035 http://www.multiupload.nl/IJ0Z4JL5L0
0.7.144 Bundle with Graphics and settings for Windows http://rusfolder.com/32106237
0.6.124 Bundle for Windows (6.2 МБ) x32 x64
0.5.117 Bundle for Windows (6.2 МБ) x32 x64 Please report all bugs to this forum.

BTW: all town grows replaced by GameScript [NoGo] Neighbours are important
All construction costs replaced by NewGRF BaseCosts 5.0

If you don't have any other openttd installed, probably you will also need to download OpenSFX and OpenGFX

Following GRF files are required:

- trafficlight.grf ( info from here)
This patch needs a valid trafficlight.grf to work. You can find in this thread trafficlight_light.grf (works well with most roads), trafficlight_dark.grf (better for light roads like in TTRS) and trafficlight_wooden.grf (if you prefer brown ones). Please choose the one you like, put it into your data folder and rename it to trafficlight.grf


Place trafficlight.grf and clipboard.grf into <game>\data folder and NOT in the newgrf folder.

Recommended GRF's are NuTracks with 2cc train set, industry stations, ECS

Here is pack with recommended graphics if you too lazy to download it yourself - just download and unpack in you openttd folder.

Thanks all developers for such cool fun stuff, which TTD has been turned
Attachments
vs_hard_pack.patch.0.7.142.7z
URL: svn://svn.openttd.org/trunk
Repository Root: svn://svn.openttd.org
Repository UUID: 6aa0318a-3be1-0310-93fa-89fd2396df07
Revision: 24462
(289.8 KiB) Downloaded 1167 times
vs_hard_pack.0.8.163.r25724M.patch.7z
(344.93 KiB) Downloaded 519 times
vs_hard_pack.0.8.165.r25739M.patch.7z
(346.36 KiB) Downloaded 1854 times
Last edited by Vaulter on 20 Nov 2013 14:49, edited 30 times in total.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Hard Game pack

Post by Rubidium »

Change the version of this patch pack. It is NOT 1.0.2, so PLEASE do not call it 1.0.2 and let OpenTTD advertise it as 1.0.2. It will cause desyncs, people failing to join network games assuming it's just a normal 1.0.2 server and more related issues. Also users of your patch pack will have a hard time finding a server that is running your patch pack due to not using a somewhat more unique name!
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

Rubidium wrote:Change the version of this patch pack. It is NOT 1.0.2, so PLEASE do not call it 1.0.2 and let OpenTTD advertise it as 1.0.2. It will cause desyncs, people failing to join network games assuming it's just a normal 1.0.2 server and more related issues. Also users of your patch pack will have a hard time finding a server that is running your patch pack due to not using a somewhat more unique name!
Done


Also, here is updated version with some burned small bugs
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

Added
  • Very large maps (extra-large-maps)
  • Copy / Paste infrastructure - press Ctrl + C / Ctrl + V to copy / paste, and Ctrl + (Left | Right | Up | Down) for rotations / reflections. (clipboard)
  • Transparent roads (transp-roads-rails-slopes)
  • Minimap Screenshot adds a console command `minimap`. (minimap-screenshot)
  • Split refit window - makes it more convenient choice of transport model. (split-refit)
  • Lease transport (long-term lease with option to purchase) (leasing)
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2822
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Hard Game pack

Post by ChillCore »

Hi Vaulter,
that is an impressive list of included patches you have there. :)

However,
I was wondering why your binary zip was so small while having so many patches included ...
Seems like you only included the executable and not everything for your bin. Without the rest there is no way to make it work.

The easiest way to get everything you need to include is the "make bundle" command from the main folder. It will make a new folder next to the bin folder named bundle. Zip it, preferably while renaming the zip to something which can be recognised while sitting next to other zips and you're done. Vaulters_Hard_Game_pack.zip might be a good name for it perhaps? (*)
If you prefer zipping your bin, do NOT forget to include COPYING and/or the readme, changelog and known_bugs files. These can be found also in the main folder.
Including COPYING is needed for you to stay in compliance with the license, if you do not include it your binary is likely to disappear from your post ...

(*) If .zip is too big to upload you may want to try 7.z as those are smaller in general.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Luukland
Engineer
Engineer
Posts: 98
Joined: 06 May 2007 10:37
Location: Paris, France
Contact:

Re: Hard Game pack

Post by Luukland »

Wow, nice work compiling those together! Really well done! Could you put the lng files also in the .zip file? OpenTTD is crying for some languagepack :)
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

updated
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

Added
  • Better statue placement (statue-placement)
  • Invoke daily, monthly and yearly scripts - you can write your scripts for daily, monthly and yearly invokation:
    • scripts/on_newday.scr
    • scripts/on_newmonth.scr
    • scripts/on_newyear.scr
    (daily-scripts)
Thanks
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Re: Hard Game pack

Post by Nickel_Plate »

The day length patch you link to allows up to 50, but your patch only allows a maximum of 10 is this by design or can we get it increased.
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

Nickel_Plate wrote:The day length patch you link to allows up to 50, but your patch only allows a maximum of 10 is this by design or can we get it increased.
Info in the first post of daylen thread is outdated.
1-10 times by design of daylen patch.
User avatar
sickie
Engineer
Engineer
Posts: 85
Joined: 15 Sep 2007 00:51
Location: Slovenia
Contact:

Re: Hard Game pack

Post by sickie »

So how's the development of the Hard Pack? Abandoned? I just popped-in to say I'm really enjoying it, though it should be even harder :D But the game I' playing with this hard pack is the best one I've played so thanks, Vaulter, for that build!
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

sickie wrote:So how's the development of the Hard Pack? Abandoned?
"Stand by" :)
sickie wrote:I just popped-in to say I'm really enjoying it, though it should be even harder :D But the game I' playing with this hard pack is the best one I've played so thanks, Vaulter, for that build!
That's really great to hear! You are welcome.
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Patchpack updated

Post by Vaulter »

Added
  1. (departure-boards hthhs)
  2. (progwaypoints)
  3. (improved-loans)
  4. (leave-orders)
  5. (townrating-indicator )
  6. Copy / Paste infrastructure - press Ctrl + C / Ctrl + V to copy / paste, and Ctrl + (Left | Right | Up | Down) for rotations / reflections. (clipboard)
  7. (VehicelsInTunnels )
  8. When selecting a group, it will show for the group the same stats as for the vehicules, but for the whole group :
    • Profit this year : sum of all profits of all vehicules in the group for this year
    • Profit last year : sum of all profits of all vehicules in the group for last year
    • Profit button : work like the vehicule profit button, but for the all group
    (group-info)
  9. This patch adds a drop down to the "create new group" button in the vehicle window. See the screenshot below. Using one of the entries allows you to create Vehicle Groups based on common properties of vehicles. (group-by-property)
  10. (airport-close)
  11. Trip History This patch is designed to show information about the last 10 trips that a vehicle has made. (trip-history)
  12. (station-cover)
  13. Very large maps (extra-large-maps)
  14. Patch with some low-level optimizations, especially for linux/gcc configuration. (low-level-opt kamil.nowosad)

Also, make some tweaks:
  • Lease - procents of leased part in info vehicle tab
  • cmd-train-console - added vehicle filter "slowed" which filtered vehicled which maximum speed is less than engine max speed (due wagon limits or needs repair)
  • station-cover - toggle cover by CTRL+clicking on station. Change color of tiles in TODO :)
Patchpack in first message.
Thanks.
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Re: Hard Game pack

Post by Nickel_Plate »

Use MinGW to compile.

Patched OK.

But when compiling long lost of errors below

[SRC] Compiling cargopacket.cpp
[SRC] Compiling cargotype.cpp
[SRC] Compiling cheat.cpp
[SRC] Compiling cheat_gui.cpp
[SRC] Compiling clear_cmd.cpp
[SRC] Compiling clipboard.cpp
In file included from C:/MinGW/msys/1.0/home/Cyril/trunk/src/template_base.h:25:0,
from C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:11:
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:617:7: error: redefinition of 'class CompactArrayBase<T>'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:15:24: error: previous definition of 'class CompactArrayBase<T>'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:745:7: error: redefinition of 'class CompactArray<T>'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:143:49: error: previous definition of 'class CompactArray<T>'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:789:8: error: redefinition of 'struct Compact2DOffset'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:188:1: error: previous definition of 'struct Compact2DOffset'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:804:8: error: redefinition of default argument for 'class Tno_const'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:201:23: note: original definition appeared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:926:1: error: redefinition of
'template<class Tleft, class Tright, class Tno_const> bool operator=
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:324:1: error:
'template<class Tleft, class Tright, class Tno_const> bool operator=
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:926:1: error: redefinition of
'template<class T, class Tno_const> bool operator==(const Tno_const*, const Compact2DIter<T, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:324:1: error:
'template<class T, class Tno_const> bool operator==(const Tno_const*, const Compact2DIter<T, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:926:1: error: redefinition of
'template<class T, class Tno_const> bool operator==(const Compact2DIter<T, Tno_const>&, const Tno_const*)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:324:1: error:
'template<class T, class Tno_const> bool operator==(const Compact2DIter<T, Tno_const>&, const Tno_const*)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:927:1: error: redefinition of
'template<class Tleft, class Tright, class Tno_const> bool operator!
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:325:1: error:
'template<class Tleft, class Tright, class Tno_const> bool operator!
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:927:1: error: redefinition of
'template<class T, class Tno_const> bool operator!=(const Tno_const*, const Compact2DIter<T, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:325:1: error:
'template<class T, class Tno_const> bool operator!=(const Tno_const*, const Compact2DIter<T, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:927:1: error: redefinition of
'template<class T, class Tno_const> bool operator!=(const Compact2DIter<T, Tno_const>&, const Tno_const*)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:325:1: error:
'template<class T, class Tno_const> bool operator!=(const Compact2DIter<T, Tno_const>&, const Tno_const*)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:928:1: error: redefinition of
'template<class Tleft, class Tright, class Tno_const> bool
operator<(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:326:1: error:
'template<class Tleft, class Tright, class Tno_const> bool
operator<(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:928:1: error: redefinition of
'template<class T, class Tno_const> bool operator<(const Tno_const*, const Compact2DIter<T, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:326:1: error:
'template<class T, class Tno_const> bool operator<(const Tno_const*, const Compact2DIter<T, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:928:1: error: redefinition of
'template<class T, class Tno_const> bool operator<(const Compact2DIter<T, Tno_const>&, const Tno_const*)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:326:1: error:
'template<class T, class Tno_const> bool operator<(const Compact2DIter<T, Tno_const>&, const Tno_const*)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:929:1: error: redefinition of
'template<class Tleft, class Tright, class Tno_const> bool operator>
(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:327:1: error:
'template<class Tleft, class Tright, class Tno_const> bool
operator>(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:929:1: error: redefinition of
'template<class T, class Tno_const> bool operator>(const Tno_const*, const Compact2DIter<T, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:327:1: error:
'template<class T, class Tno_const> bool operator>(const Tno_const*, const Compact2DIter<T, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:929:1: error: redefinition of
'template<class T, class Tno_const> bool operator>(const Compact2DIter<T, Tno_const>&, const Tno_const*)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:327:1: error:
'template<class T, class Tno_const> bool operator>(const Compact2DIter<T, Tno_const>&, const Tno_const*)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:930:1: error: redefinition of
'template<class Tleft, class Tright, class Tno_const> bool operator<
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:328:1: error:
'template<class Tleft, class Tright, class Tno_const> bool operator<
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:930:1: error: redefinition of
'template<class T, class Tno_const> bool operator<=(const Tno_const*, const Compact2DIter<T, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:328:1: error:
'template<class T, class Tno_const> bool operator<=(const Tno_const*, const Compact2DIter<T, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:930:1: error: redefinition of
'template<class T, class Tno_const> bool operator<=(const Compact2DIter<T, Tno_const>&, const Tno_const*)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:328:1: error:
'template<class T, class Tno_const> bool operator<=(const Compact2DIter<T, Tno_const>&, const Tno_const*)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:931:1: error: redefinition of
'template<class Tleft, class Tright, class Tno_const> bool operator>
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:329:1: error:
'template<class Tleft, class Tright, class Tno_const> bool operator>
=(const Compact2DIter<Tleft, Tno_const>&, const Compact2DIter<Tright, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:931:1: error: redefinition of
'template<class T, class Tno_const> bool operator>=(const Tno_const*, const Compact2DIter<T, Tno_const>&)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:329:1: error:
'template<class T, class Tno_const> bool operator>=(const Tno_const*, const Compact2DIter<T, Tno_const>&)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:931:1: error: redefinition of
'template<class T, class Tno_const> bool operator>=(const Compact2DIter<T, Tno_const>&, const Tno_const*)'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:329:1: error:
'template<class T, class Tno_const> bool operator>=(const Compact2DIter<T, Tno_const>&, const Tno_const*)' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:937:7: error: redefinition of
'class Compact2DArray<T>'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/misc/compact_array.hpp:335:51: error: previous definition of 'class Compact2DArray<T>'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:42:11: error: redefinition of 'Clipboard _clipboard'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:14:11: error: 'Clipboard _clipboard' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:43:10: error: redefinition of 'Template _clipboard_content'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:15:10: error: 'Template _clipboard_content' previously declared here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:46:15: error: redefinition of 'TemplateFace* Clipboard::Content()'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:18:15: error: 'TemplateFace* Clipboard::Content()' previously defined here
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:52:6: error: redefinition of 'void Clipboard::Clear()'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:24:6: error: 'void Clipboard::Clear()' previously defined here
make[1]: *** [clipboard.o] Error 1
make[1]: Leaving directory `/usr/home/Cyril/trunk/objs/release'
make: *** [all] Error 1

Cyril@office-one ~/trunk
$
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

Nickel_Plate wrote:Use MinGW to compile.

Patched OK.

But when compiling long lost of errors below
Got it. Will check
But windows bundle is available here
copy bundled openttd.cfg to your profile's openttd.cfg
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2822
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Hard Game pack

Post by ChillCore »

Nickel_Plate wrote: C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:52:6: error: redefinition of 'void Clipboard::Clear()'
C:/MinGW/msys/1.0/home/Cyril/trunk/src/clipboard.cpp:24:6: error: 'void Clipboard::Clear()' previously defined here
Hmm , had a quick looksie at the patch and I think I know what happened.
The quote above is just an example but is representative for the rest of the redifinition errors.

Nickel_Plate, have you applied the patch twice without removing/reverting the new files by hand in between?
I have seen this error before when I made that misstake myself with another patch.

Reverting the source only reverts the files under revision control and not the new files, you need to revert these by hand first.
I am almost sure that this is what happened because when looking at the patch Vaulter posted ... clipboard.ccp has only 28 lines.

Instead of reverting the source and removing/reverting the new files you can also remove the parts that are in the new files multiple times before trying to compile again.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Re: Hard Game pack

Post by Nickel_Plate »

Gone back and did clean install then patched OK.

Now just getting these errors.

[SRC] Compiling cheat.cpp
[SRC] Compiling cheat_gui.cpp
[SRC] Compiling clear_cmd.cpp
[SRC] Compiling clipboard.cpp
[SRC] Compiling clipboard_copying.cpp
[SRC] Compiling clipboard_pasting.cpp
[SRC] Compiling command.cpp
[SRC] Compiling command_queue.cpp
[SRC] Compiling company_cmd.cpp
[SRC] Compiling company_gui.cpp
[SRC] Compiling console.cpp
[SRC] Compiling console_cmds.cpp
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp: In function 'int DoVehicleCommand(const Vehicle*, VehicleCommand, int, char**)':
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp:2712:27: error: 'tolower' was not declared in this scope
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp:2781:113: warning: enumeral and non-enumeral type in conditional expression
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp: In function 'bool str_isprefix(const char*, const char*)':
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp:2858:47: error: 'tolower' was not declared in this scope
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp: In function 'void ConMatchTypeHelp(const StringInfo<MatchType>*, size_t, const char*, int)':
C:/MinGW/msys/1.0/home/Cyril/trunk/src/console_cmds.cpp:2987:59: warning: format not a string literal, argument types not checked
make[1]: *** [console_cmds.o] Error 1
make[1]: Leaving directory `/usr/home/Cyril/trunk/objs/release'
make: *** [all] Error 1

Cyril@office-one ~/trunk
$
User avatar
misieq666
Engineer
Engineer
Posts: 23
Joined: 05 Jul 2007 08:08
Location: Poland, Skierniewice

Re: Hard Game pack

Post by misieq666 »

Hi
I'm realy curious about this modification, but. I'm not good in cyrylic :P So here is my question. Is there any other language for this mod ? Especially I'm interested in English or Polish :P But if no can you give my any advices how to translate main language into another ?

Thanks in advance
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: Hard Game pack

Post by Vaulter »

misieq666 wrote:Hi
I'm realy curious about this modification, but. I'm not good in cyrylic :P So here is my question. Is there any other language for this mod ? Especially I'm interested in English or Polish :P But if no can you give my any advices how to translate main language into another ?

Thanks in advance
For sure! English is a default language for this game and all patches contains all english strings as well as russian.
Just change your settings.

Image
0.5 will be with 32bpp extra zoom.
User avatar
Vaulter
Traffic Manager
Traffic Manager
Posts: 185
Joined: 21 Dec 2004 05:35
Skype: andrey-zaharov
Location: St. Petersburg, Russia
Contact:

Re: [patchpack] Hard Game pack 0.5

Post by Vaulter »

Updated.
Added extra-zoom for 32bpp grafiks.
Fixed some bugs.
Windows bundle in first post.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 8 guests