Statistics Patch
Moderator: OpenTTD Developers
Have a v2514 diff. I even fixed the crash bug with opening the "All (Player)'s Trains" dialog. It was trying to retrieve the xy of station -1...
- Attachments
-
- OpenTTD Stats Mod 2514.zip
- .exe and english.lang
(I know, I know, I'm too generous :-)) - (451.03 KiB) Downloaded 295 times
-
- stats_r2514.diff
- (102.66 KiB) Downloaded 310 times
Melt with the Shadows,
Embrace your destiny...
Embrace your destiny...
Hmm, that crash didn't happen when I tested it, but ok, the last version I upped was buggy anywayThief^ wrote:Have a v2514 diff. I even fixed the crash bug with opening the "All (Player)'s Trains" dialog. It was trying to retrieve the xy of station -1...

I hope i have time to get a new version together in the next few days which will hopefully not be that buggy.

So thanks for updating it in the meantime, Thief^, because I didn't have the time I wanted to have... (hopefully will get around to some more code-cleanup soon)
A little side note, anyone know why I always got a "error: found gui.h twice, this normally means you've patched the wrong folder" message when I was applying both the old patch and my new patch? I was using tortoisesvn, and it happens on vehicle_gui.h, so I had to patch that file manually. I can upload a pre-patched version if anyone needs it.
Melt with the Shadows,
Embrace your destiny...
Embrace your destiny...
Hmm, I got that error with tortoise, too, but as none of the persons that tested the patch reported any such problems I blamed it on my computerThief^ wrote:A little side note, anyone know why I always got a "error: found gui.h twice, this normally means you've patched the wrong folder" message when I was applying both the old patch and my new patch? I was using tortoisesvn, and it happens on vehicle_gui.h, so I had to patch that file manually. I can upload a pre-patched version if anyone needs it.

I guess it messes gui.h and vehicle_gui.h somehow as both are in that patchfile.
Anyway, with the current patch-file I dont get this anymore, but its not updated to current svn, yet... do you remember any other problems, that i should solve before upping a new version

Anyone want to update this
?
The patch seems very good and should not stay forgotten like this.

The patch seems very good and should not stay forgotten like this.
OTTDCoop NewGRF Pack|Different sets of GRFs for TTDPatch (some of them work in OTTD) - 1|- 2|GRF sets for OTTD|OTTD nightly

I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
I will try to update it, I can't promise that I will succeed though.gkirilov wrote:Anyone want to update this?
The patch seems very good and should not stay forgotten like this.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone







-
- Engineer
- Posts: 4
- Joined: 26 Aug 2006 17:40
stats-patch updated a bit
Hi there!
I took this patch and updated it to revision r2800. I will continue merging the changes of trunk in the coming days. but I'm a little out of time, as I'm having exams the next three weeks. I'll attach the current progress.
Comments welcome!
I took this patch and updated it to revision r2800. I will continue merging the changes of trunk in the coming days. but I'm a little out of time, as I'm having exams the next three weeks. I'll attach the current progress.
Comments welcome!
- Attachments
-
- stats-r2800.diff
- (114.68 KiB) Downloaded 211 times
-
- Engineer
- Posts: 4
- Joined: 26 Aug 2006 17:40
further update of stats-patch
Hi there! I did an update to r3000
- Attachments
-
- stats-r3000.diff
- (111.42 KiB) Downloaded 242 times
Let us know when you reach r6100. 
I actually *strongly* recommend downloading a current SVN, and manually integrating it in directly. Many elements have changed radically since r3000, and it is sometimes quicker to manually rewrite/integrate than to try and correct the conflicts.
Also, there are *many* old ways of doing things that have been totally redesigned since. So your patch may be trying to do things the old way, and it will take a lot of work to recode.

I actually *strongly* recommend downloading a current SVN, and manually integrating it in directly. Many elements have changed radically since r3000, and it is sometimes quicker to manually rewrite/integrate than to try and correct the conflicts.
Also, there are *many* old ways of doing things that have been totally redesigned since. So your patch may be trying to do things the old way, and it will take a lot of work to recode.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
-
- Engineer
- Posts: 4
- Joined: 26 Aug 2006 17:40
stats-patch Update
Well, at least I brought some life to this thread...
I managed to get the patch to r3365
I managed to get the patch to r3365
- Attachments
-
- stats-r3365.diff
- (110.48 KiB) Downloaded 228 times
I wont stop you from getting it up-to-date, Captain Sifff. My main goal this time will be to do small pieces one by one and possibly get them into the trunk as soon as possible
The main problem, why the patch hasn't gotten into trunk back when I made it was that it was way to big and did too much things at a time.
I don't want to make that mistake again, but it will take some time to get anything done

The main problem, why the patch hasn't gotten into trunk back when I made it was that it was way to big and did too much things at a time.

I don't want to make that mistake again, but it will take some time to get anything done

Ok, attached is a very small stats-patch:
It only shows how many vehicles visit a station per month, so its only a very small version of the complete patch on the first post.
No stats for anything else yet, but this one is for latest trunk.
It only shows how many vehicles visit a station per month, so its only a very small version of the complete patch on the first post.
No stats for anything else yet, but this one is for latest trunk.
- Attachments
-
- station_stats_4.diff
- Station vehicles stats patch r6396 (trunk)
- (17.48 KiB) Downloaded 292 times
Asterix, can you provide a patch against miniIN and post it here:
http://www.tt-forums.net/viewtopic.php?t=26333 ?
This way we all can test it.
Edit: thanks
http://www.tt-forums.net/viewtopic.php?t=26333 ?
This way we all can test it.
Edit: thanks

OTTDCoop NewGRF Pack|Different sets of GRFs for TTDPatch (some of them work in OTTD) - 1|- 2|GRF sets for OTTD|OTTD nightly

I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
-
- Engineer
- Posts: 4
- Joined: 26 Aug 2006 17:40
old stats-Patch
I'll abandon this Patch here. I'll attach a functional Version aganst r6226 (AFAICT). Afterwards the recent changes againstPlayerVehWndProc got a bit much to absorb for me
. I'll also attach the last version I did, against r6413. Good Luck Asterix with further maintaining.

- Attachments
-
- stats-r6413.diff
- (97.07 KiB) Downloaded 261 times
-
- stats-r6226.diff
- (107.05 KiB) Downloaded 264 times
Who is online
Users browsing this forum: Google [Bot] and 10 guests