Recent Posts

Pages: 1 [2] 3 4 5 ... 10
11
Pak128.Britain-Ex Bug Reports / Re: air/rolling resistance fix
« Last post by jamespetts on Yesterday at 08:32:09 PM »
I cannot remember precisely what I did now, but the calibration that I did for the horse drawn vehicles entailed repeatedly modifying various parameters (the power, top speed and tractive effort of individual horses mostly, if I recall correctly) until each combination of horses could haul a realistic load at a realistic speed for that particular combination of horses, and each distinct type of horse had its own (realistic) relative merits compared with the others (e.g. a Yorkshire coach horse was faster but a little less sturdy than a Cleveland bay; coaching horses generally are faster but can haul less than draught horses, etc.).

The 'buses and trolleybuses involved calibrating only the acceleration: the power is a known amount for most 'buses and trolleybuses, so only the tractive effort has to be calibrated in this way, and is done by measuring acceleration to a certain speed and adjusting it until it matches known values (or estimates extrapolated from known values where these are unavailable).
12
Pak128.Britain-Ex Bug Reports / Re: air/rolling resistance fix
« Last post by Vladki on Yesterday at 08:21:34 PM »
And could you tell me more in detail how did you do the calibration? It may help me understand if there is a bug in the code or, that just the tractive force / friction / whatever in dat file/  is way off
13
Pak128.Britain-Ex Bug Reports / Re: air/rolling resistance fix
« Last post by jamespetts on Yesterday at 08:10:29 PM »
Thank you - I have now fixed the UltraMail.

As to which road vehicles are calibrated: the 'buses (especially the Routemaster, the Leyland Atlantean and Dennis Enviro400, the others being extrapolated from those calibrations) have had their acceleration calibrated, likewise the trolleybuses (extrapolated from the MCW Q1) and the horse drawn vehicles (including the horses). I think that I have also calibrated the trams and probably the steam powered lorries, too, although I do not think that the latter has been as thorough as with the other vehicles. I have not worked at all yet on internal combustion engine powered goods road vehicles.
14
Ah - I think that I have pushed what amounts to a fix for this. Would you be able to re-test?
15
I'm afraid that this change (commit 7d09ea4d9d1f18a9f9b237f8a7167259eb8f4c6f) has broken compilation on linux:

Code: [Select]
===> CXX obj/leitung2.cc
g++ -std=gnu++11 -O -DNDEBUG -DMULTI_THREAD -DREVISION="7d09ea4" -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -fno-delete-null-pointer-checks -fno-strict-aliasing  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/leitung2.o obj/leitung2.cc
In file included from obj/../vehicle/../boden/grund.h:19:0,
                 from obj/../vehicle/../simplan.h:12,
                 from obj/../vehicle/../simworld.h:34,
                 from obj/../vehicle/simvehicle.h:18,
                 from obj/../vehicle/simroadtraffic.h:15,
                 from obj/../simcity.h:22,
                 from obj/leitung2.h:16,
                 from obj/leitung2.cc:17:
obj/../vehicle/../boden/wege/weg.h:60:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  static const uint32 get_all_ways_count();
                                         ^
In file included from obj/leitung2.cc:23:0:
obj/../simfab.h:131:32: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const sint32 get_in_transit() const { return statistics[0][FAB_GOODS_TRANSIT]; }
                                ^
obj/leitung2.cc:395:44: warning: unused parameter ‘dummy’ [-Wunused-parameter]
 void leitung_t::info(cbuffer_t & buf, bool dummy) const
                                            ^
obj/leitung2.cc: In member function ‘virtual void leitung_t::rdwr(loadsave_t*)’:
obj/leitung2.cc:457:27: error: cast from ‘powernet_t*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
   value = (uint32)get_net(); //  This seems to be functionless, but should be preserved for compatibility. It likewise appears functionless in Standard.
                           ^
obj/leitung2.cc: At global scope:
obj/leitung2.cc:687:42: warning: unused parameter ‘dummy’ [-Wunused-parameter]
 void pumpe_t::info(cbuffer_t & buf, bool dummy) const
                                          ^
obj/leitung2.cc:1130:42: warning: unused parameter ‘dummy’ [-Wunused-parameter]
 void senke_t::info(cbuffer_t & buf, bool dummy) const
                                          ^
common.mk:50: návod pro cíl „build/default/obj/leitung2.o“ selhal
make: *** [build/default/obj/leitung2.o] Chyba 1


16
[CS]Tvorba / Re: České addons aneb naše lidová tvořivost-diskuze
« Last post by Vladki on Yesterday at 07:11:01 PM »
Ahoj, psal jsem to z mobilu, tak jsem nevedel dohledat presnou adresu. Spravne je: https://sourceforge.net/projects/simutrans/
Pres odkaz files se dostanes na zkompilovane verze ruznych paku, vcetne pak128.CS: https://sourceforge.net/projects/simutrans/files/Pak128.CS/ Ty jsou ale hodne zastarale. Sekce nightly zdaleka neni nightly, spis yearly... :(
Pres odkaz code se dostanes ke zdrojovym kodum (dat+png), opet vsech moznych paku (pak64, pak128, britain, cs,...), dokonce tam muzes sledovat i historii zmen. https://sourceforge.net/p/simutrans/code/HEAD/tree/pak128.CS/
Je to postavene na projektu subversion (SVN), ktery slouzi hlavne pro sledovani vyvoje programu, ale celkem dobre slouzi i pro praci s paksety pri simutrans. Downloadovat muze kazdy, zapis tam mame ja, jk271, miziiik a vtpsim.
Muzes si stahovat jednotlive soubory, nebo cele jak to je a zkompilovat pomoci  pak128CS.bat (na Windows), nebo make (na Linuxu). Tak na to mrkni a vyzkousej.
17
It works!
Thanks a lot!
18
Pak128.Britain-Ex Bug Reports / Re: air/rolling resistance fix
« Last post by Vladki on Yesterday at 05:49:31 PM »
Ok, could you tell me which vehicles are already calibrated?

I seems that the air_resistance fix for maglev/UltraMail.dat has been lost somewhere. It should have air_resistance=103 just as the other streamlined maglevs.

19
[CS]Tvorba / Re: České addons aneb naše lidová tvořivost-diskuze
« Last post by EAndrew on Yesterday at 05:22:31 PM »
Vladki - vrátil jsem se zpět ke tvému příspěvku o asi 6 příspěvků výše - http://forum.simutrans.com/index.php?topic=553.msg160449#msg160449

Já jsem zkoušel jít tedy na simutrans.sourceforge.net, který mě přesměroval na http://www.simutrans.com/en/

Žádné tedy soubory ke stažení nevidím, je nějaký speciální odkaz? sourceforge.net moc neznám... takže nevím k čemu přesně slouží.
Nebo jestli je to jen file-hosting server... a myslel jsi to tedy jako vyloženě jen jako místo pro uložení těch souborů ?

20
Scripting Scenarios and AI / Re: Get coordinates "z"
« Last post by Yona-TYT on Yesterday at 03:14:31 PM »
@Yona what exactly would you like to get? the total height of the slope, ie one of 0,1,2 ?
I need to get the coordinates of the marked road.
Is it possible to get the height of the underground slope?  ???



Pages: 1 [2] 3 4 5 ... 10