Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IDB update, routing in TTD, aiboost

 
   Game Forums (Home) -> Transport Tycoon RSS
Related Topics:
Bug Fix by myself! - At last i found out what was giving me graphical glitches on hi-score It's a option that i have in the (by Michal Pavlik), i think also available in the TTDX when using 5 - Full Screen (Clear..

Annoying Telegraphic Sound - Is there any way, ou to integrate in the patch, an option that sets to the sound for each news message It's getting REALLY anoying after all this years... Oh, BTW, the telegraph as ended... Maybe a after..

Alpha 69 problems - fixed? - Hi Josef, et al, I've been playing a lot on Alpha 69 and begun problems which I haven't seen as being corrected in history logs for a70, a71, a72, a73 and b1. after a certain period of time my towns start to The first..

Beta 1 bug with "enhancedtunnels" - Those concerned probably already know this, but incase not... With on, play is broken - ie, only the company's trains will enter a tunnel, whilst other trains reverse when trying to enter it. Caused me a..

Observations and doubts - Hi all. Since ever, i have noticed that the of the farms is not so as it look; when a farm produces "90 tons of and "90 items of in very distinct games, i had very different results, sometimes the of grain..
Next:  2.0.1 alpha 26  
Author Message
Marcin Grzegorczyk

External


Since: May 11, 2004
Posts: 19



(Msg. 1) Posted: Tue May 11, 2004 12:30 pm
Post subject: IDB update, routing in TTD, aiboost
Archived from groups: alt>games>microprose>transport-tyc (more info?)

Hello all,

Last weekend I took it upon myself to finish annotating TTD's route
tracing code (which TTD uses to route vehicles, to search for the
nearest railway or road depot, and to update the state of signals) and,
after a long break, release an updated IDA database, available at
<http://kufel.immt.pwr.wroc.pl/~mgrzegor/ttdpatch/ida/> as usual, for
those who aren't daunted by 80386 assembly.

Thus, we now have the definite answer to the old question: how far TTD
'looks ahead' when trying to find a route to the destination? The
answer is: for trains and road vehicles, the limit is 64 tiles or 7
junctions (whichever is reached first); for ships, the limit is 50 tiles
or 4 turns. (This does not answer the question of how TTD selects the
'best' route; that'll need more investigation, which I hope I'll have
time to do in a couple of next weeks.)

Now I also know for 100% sure what I've long suspected: the 'aiboost'
switch never worked as expected because it patched the wrong code (the
code that traces existing routes, not the AI route planning code).
That's also why it was a major CPU hog even if no AI company was
present... The 'aiboost' switch in its old form could result in a minor
routing improvement, though, so it was not entirely useless. (In the
few latest alphas the switch does nothing.)

That's it for now, have to get back to my PhD thesis... Smile
--
Marcin Grzegorczyk

 >> Stay informed about: IDB update, routing in TTD, aiboost 
Back to top
Login to vote
Michael Blunck

External


Since: Apr 11, 2004
Posts: 40



(Msg. 2) Posted: Tue May 11, 2004 1:21 pm
Post subject: Re: IDB update, routing in TTD, aiboost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Marcin Grzegorczyk wrote:

[important work on IDB]

> That's it for now, have to get back to my PhD thesis...

Well, I hope youŽll finish this soon to have again more time for other
things. Surprised)

regard
Michael

 >> Stay informed about: IDB update, routing in TTD, aiboost 
Back to top
Login to vote
Marcin Grzegorczyk

External


Since: May 11, 2004
Posts: 19



(Msg. 3) Posted: Tue May 11, 2004 4:36 pm
Post subject: TTD internals corrected as well [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I almost forgot. My TTD savegame internals file,
<http://kufel.immt.pwr.wroc.pl/~mgrzegor/sv1tool/TTD-locations.html>,
has been updated too. The description of vehicle structure field 0x62
for railway vehicles used to replicate an error found in a comment in
TTDPatch sources (ttdprot.ah). I'm not sure how I managed to overlook
this error, but it's OK now, at least in my internals file.
--
Marcin Grzegorczyk
 >> Stay informed about: IDB update, routing in TTD, aiboost 
Back to top
Login to vote
Afoklala

External


Since: Apr 12, 2004
Posts: 25



(Msg. 4) Posted: Thu May 13, 2004 12:56 pm
Post subject: Re: IDB update, routing in TTD, aiboost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Op Tue, 11 May 2004 12:30:57 +0200 schreef Marcin Grzegorczyk:

> Now I also know for 100% sure what I've long suspected: the 'aiboost'
> switch never worked as expected because it patched the wrong code (the
> code that traces existing routes, not the AI route planning code).

So, would that mean that it is now possible to change things so that the
RIGHT code will be patched?

> That's it for now, have to get back to my PhD thesis... Smile

You do that, first things first! Good luck!
--
Jan Willem from Odijk, Netherlands
jw dot van dot dormolen at hccnet dot nl

New to this newsgroup? Please read the Frequently Asked
Questions (FAQ) at <http://www.tt-forums.net/faq/>. Thanks.
I hate it when people tell me I cannot take criticism.
 >> Stay informed about: IDB update, routing in TTD, aiboost 
Back to top
Login to vote
Marcin Grzegorczyk

External


Since: May 11, 2004
Posts: 19



(Msg. 5) Posted: Fri May 14, 2004 11:36 am
Post subject: Re: IDB update, routing in TTD, aiboost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Afoklala wrote:
> Op Tue, 11 May 2004 12:30:57 +0200 schreef Marcin Grzegorczyk:
>>Now I also know for 100% sure what I've long suspected: the 'aiboost'
>>switch never worked as expected because it patched the wrong code (the
>>code that traces existing routes, not the AI route planning code).
>
> So, would that mean that it is now possible to change things so that the
> RIGHT code will be patched?

Maybe; at least we know now which procedures are responsible for the
AI's construction planning.

The question still open is, *how* to patch the code to get good results.

--
Marcin Grzegorczyk
 >> Stay informed about: IDB update, routing in TTD, aiboost 
Back to top
Login to vote
Afoklala

External


Since: Apr 12, 2004
Posts: 25



(Msg. 6) Posted: Sat May 15, 2004 10:35 am
Post subject: Re: IDB update, routing in TTD, aiboost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Op Fri, 14 May 2004 11:36:07 +0200 schreef Marcin Grzegorczyk:

> Afoklala wrote:
>> Op Tue, 11 May 2004 12:30:57 +0200 schreef Marcin Grzegorczyk:
>>>Now I also know for 100% sure what I've long suspected: the 'aiboost'
>>>switch never worked as expected because it patched the wrong code (the
>>>code that traces existing routes, not the AI route planning code).
>>
>> So, would that mean that it is now possible to change things so that the
>> RIGHT code will be patched?
>
> Maybe; at least we know now which procedures are responsible for the
> AI's construction planning.
>
> The question still open is, *how* to patch the code to get good results.

OK, I won't hold my breath then.
It would be really great though... proper AI.
--
Jan Willem from Odijk, Netherlands
jw dot van dot dormolen at hccnet dot nl

New to this newsgroup? Please read the Frequently Asked
Questions (FAQ) at <http://www.tt-forums.net/faq/>. Thanks.
If you try to fail, and succeed, which have you done?
 >> Stay informed about: IDB update, routing in TTD, aiboost 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Transport Tycoon All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]