KGAT PATCHPACK R16183 32 patchs crashes

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

Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: KGAT PATCHPACK R16183 32 patchs

Post by Yexo »

Pacee wrote:
dihedral wrote:in the development forum there is a thread on how to apply a patch - read that - or read this thread starting from page one!
I've already read how to patch, but I can't do that. I always get some kind of error messages and I don't know what to do then. :(
Post the exact error message and also what steps you've taken before you got that error. If you do that we might be able to help you.
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: KGAT PATCHPACK R16183 32 patchs

Post by dihedral »

and after that you'll slowly learn how to ask for help also
Pacee
Engineer
Engineer
Posts: 9
Joined: 01 Jun 2009 17:51

Re: KGAT PATCHPACK R16183 32 patchs

Post by Pacee »

Yexo wrote:
Pacee wrote:
dihedral wrote:in the development forum there is a thread on how to apply a patch - read that - or read this thread starting from page one!
I've already read how to patch, but I can't do that. I always get some kind of error messages and I don't know what to do then. :(
Post the exact error message and also what steps you've taken before you got that error. If you do that we might be able to help you.
Well, I made some screenshots, I hope they will tell you what's the problem.
Attachments
openpatch6.PNG
On this screenshot you see the folder, where package packinstalled.
(57.43 KiB) Downloaded 169 times
openpatch2.PNG
(55.41 KiB) Downloaded 108 times
openpatch3.PNG
openpatch3.PNG (77.61 KiB) Viewed 1304 times
Pacee
Engineer
Engineer
Posts: 9
Joined: 01 Jun 2009 17:51

Re: KGAT PATCHPACK R16183 32 patchs

Post by Pacee »

dihedral wrote:and after that you'll slowly learn how to ask for help also
Sorry, but I'm new here. What did I do wrong?
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: KGAT PATCHPACK R16183 32 patchs

Post by Yexo »

Pacee wrote:Well, I made some screenshots, I hope they will tell you what's the problem.
You're trying to apply a patch to the ai/regression directory, you should apply your patch to the top-level direcotry (with src, bin, projects etc. in it).
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: KGAT PATCHPACK R16183 32 patchs

Post by Alberth »

Your OpenTTD source code directory should contain files and directories as shown in http://vcs.openttd.org/svn/browser/trunk/ .
That is normally the directory to start patching from.

However, before patching, you should first check that you can build a working OpenTTD program from your sources as a kind of sanity check of your setup.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: KGAT PATCHPACK R16183 32 patchs

Post by Alberth »

Pacee wrote:
dihedral wrote:and after that you'll slowly learn how to ask for help also
Sorry, but I'm new here. What did I do wrong?
Imagine that I had answered you:

You need to get all the source files in some way and then start patching from the start directory.


That's how you asked us for help (at least, I perceived in that way) at first.
Not much to go on eh?

(but posting screen shots was a good solution!!)


Good luck,
Albert
Pacee
Engineer
Engineer
Posts: 9
Joined: 01 Jun 2009 17:51

Re: KGAT PATCHPACK R16183 32 patchs

Post by Pacee »

Yexo wrote:
Pacee wrote:Well, I made some screenshots, I hope they will tell you what's the problem.
You're trying to apply a patch to the ai/regression directory, you should apply your patch to the top-level direcotry (with src, bin, projects etc. in it).
Hi! I think I could patch correctly now, thanks to your help, but I still have some questions. When I patch traffic lights I get the same errors like the last commenter in the traffic lights forum: The errors i am geting are on:

debug.cpp line 34 to 35 and 61 to 62
debug.h line 51
road_cmd.cpp line 175
road_cmd.h line 12 and 13
road_gui.cpp line 653 to 655 and 657 to 668
road_map.h line 196 to 216
saveload.cpp is "not under version control" so "patching is not possible"
saveload.h is "not under version control" so "patching is not possible"
settings.cpp lines 58 to 60, 1077 to 1135 and 1397 to 1402
settings_type.h lines 171 to 176

What should I do with these errors?
Another question: If I patch a file and there is no error during patching, should I do something else to make it work in the game, because I tried another patch files, and there was no error during the patching, but they don't work in the game. Later I post screenshots if needed. Thanks for helping.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: KGAT PATCHPACK R16183 32 patchs

Post by planetmaker »

Pacee wrote:saveload.cpp is "not under version control" so "patching is not possible"
saveload.h is "not under version control" so "patching is not possible"
saveload.* got split into two files and thus renamed and - I think - also moved to its own subdirectory. You'll have to find out where in what of those new files that piece of code which you try to patch to the old, not anymore existing file has to go now. Should be nearly straight forward was the actual environment where it belongs probably hasn't changed too much.
Kamzik911
Engineer
Engineer
Posts: 10
Joined: 08 Jun 2009 08:45

Re: KGAT PATCHPACK R16183 32 patchs

Post by Kamzik911 »

I am sorry for my bad english, because i am czech
I want ask. You can compilate this patch with daylenght and cargodest?
Thank you for your answer. Bye
User avatar
ShadowSpawn
Transport Coordinator
Transport Coordinator
Posts: 300
Joined: 24 Jul 2007 14:37
Location: Spehss

Re: KGAT PATCHPACK R16183 32 patchs

Post by ShadowSpawn »

It already has cargodest but not daylength which would be fun to have...
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: KGAT PATCHPACK R16183 32 patchs

Post by 2007Alain2007 »

hi all i fort i update a log file with what patchs are on in this patch pack

log file last updated 07/05/2009 any patchs that have been changed or update after this have not changed in the patch pack
log file Patch pack R 16183.txt
Kamzik911 wrote:I am sorry for my bad english, because i am czech
I want ask. You can compilate this patch with daylenght and cargodest?
Thank you for your answer. Bye
As i have alredy said i have stoped work on this pack and please feel free to add patchs in your self all the patchs the files are upload as well but please cheack for updates becuse this patch pack is all redy old can

I have put in Cargo Distribution not cargodest let alone i loved cargodest more and it seemed to run easyer for most ppl
For Community Integrated Version http://code.google.com/p/civopenttd/
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: KGAT PATCHPACK R16183 32 patchs

Post by 2007Alain2007 »

heres a patch for this patch pack if any one wants to use it i updated to the same SVN

i will add this patch to the main post once i updated it full to trunk :D
For Community Integrated Version http://code.google.com/p/civopenttd/
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: KGAT PATCHPACK R16183 32 patchs crashes

Post by 2007Alain2007 »

I just found a bug that i never got around to fixing and never will

So to help players to keep the game runing dont use sign list becuse it will crash the game fixed by removing the filter_sign_list patch

but added improved-breakdowns-v2.4 16183 and no_local authority_r16183

patch has been uploaded to frist post
For Community Integrated Version http://code.google.com/p/civopenttd/
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 1 guest