Loading

Paste #pzkhn4386

  1.         /* This station can be used, add it to st1/st2 */
  2.         if (st1 == NULL) {
  3.             st1 = st; best_rating1 = st->goods[type].rating;
  4.         } else if (owner == MAX_COMPANIES || st1->owner == OWNER_NONE || st->owner == OWNER_NONE || (st->owner == owner && st->owner == st1->owner) || (st->owner != owner && st1->owner != owner)) {
  5.             if (st->goods[type].rating >= best_rating1) {

Paste #pzk83sgm1

  1.         /* This station can be used, add it to st1/st2 */
  2.         if (st1 == NULL) {
  3.             st1 = st; best_rating1 = st->goods[type].rating;
  4.         } else {
  5.             if (owner == MAX_COMPANIES || st1->owner == OWNER_NONE || st->owner == OWNER_NONE || (st->owner == owner && st->owner == st1->owner) || (st->owner != owner && st1->owner != owner)) {

Paste #ptsdqblf6

  1.         /* This station can be used, add it to st1/st2 */
  2.         if (owner == MAX_COMPANIES || owner == INVALID_OWNER || st->owner == OWNER_NONE || st->owner == owner) {
  3.             if (st1 == NULL || st->goods[type].rating >= best_rating1) {
  4.                 st2 = st1; best_rating2 = best_rating1; st1 = st; best_rating1 = st->goods[type].rating;
  5.             } else if (st2 == NULL || st->goods[type].rating >= best_rating2) {

Paste #pepir7ja6

  1. /**
  2.  * Test whether a vehicle can load cargo at a station even if exclusive transport rights are present.
  3.  * @param st Station with cargo waiting to be loaded.
  4.  * @param v Vehicle loading the cargo.
  5.  * @return true when a vehicle can load the cargo.

Paste #py6mtez6a

  1. OpenTTD.andythenorth(7213)$ make run-lldb
  2. [SRC] No such source-file: run-lldb.[c|cpp|mm|rc]
  3. cc   run-lldb.o   -o run-lldb
  4. clang: error: no such file or directory: 'run-lldb.o'
  5. clang: error: no input files

Paste #pqhbaoyzr

  1. OpenTTD.andythenorth(7213)$ lldb ./bin/openttd
  2. (lldb) target create "./bin/openttd"
  3. Current executable set to './bin/openttd' (x86_64).
  4. (lldb)
  5. Current executable set to './bin/openttd' (x86_64).

Paste #pqkpfycxi

  1. [2019-02-20 13:40:20] dbg: [misc] Repositioning Main Toolbar...
  2. [2019-02-20 13:40:20] dbg: [misc] Repositioning statusbar...

Paste #pgtcjzyqf

  1. OpenTTD.andythenorth(7213)$ valgrind ./bin/openttd
  2. ==94051== Memcheck, a memory error detector
  3. ==94051== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==94051== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
  5. ==94051== Command: ./bin/openttd

Paste #pwbjmocxr

  1. Error: Assertion failed at line 168 of /home/pavels/Builds/OpenTTD/src/tilearea_type.h: this->tile != INVALID_TILE
  2. Crash encountered, generating crash log...
  3. *** OpenTTD Crash Report ***
  4.  
  5. Crash at: Tue Feb 19 19:29:07 2019

Paste #p6yebqjtt

  1. uild FAILED.
  2.  
  3.        "D:\a\1\s\projects\openttd_vs141.sln" (default target) (1) ->
  4.        "D:\a\1\s\projects\openttd_vs141.vcxproj" (default target) (2) ->
  5.        (ClCompile target) ->

Paste #pn9ozxfzw

  1.      2>Done Building Project "D:\a\1\s\projects\openttd_vs141.vcxproj" (default targets) -- FAILED.
  2.      1>Done Building Project "D:\a\1\s\projects\openttd_vs141.sln" (default targets) -- FAILED.
  3.  
  4. Build FAILED.
  5. …         d:\a\1\s\src\viewport.cpp(3196): error C2065: 'line': undeclared identifier [D:\a\1\s\projects\openttd_vs141.vcxproj]

Paste #pasmwbwr2

  1. 1 - dbg: [misc] [Collect Garbage] 540138635 [avg: 540138635.0]
  2. 2 - dbg: [misc] [Collect Garbage] 980850 [avg: 980850.0]
  3. 3 - dbg: [misc] [Collect Garbage] 1080357 [avg: 1080357.0]
  4. 4 - dbg: [misc] [Collect Garbage] 3437898 [avg: 3437898.0]
  5. 5 - dbg: [misc] [Collect Garbage] 1894220 [avg: 1894220.0]

Paste #pfxktjee4

  1.     openttd.exe!ScriptConfig::SetSetting(const char * name, int value) Line 109 C++
  2.     openttd.exe!ScriptConfig::AddRandomDeviation() Line 137 C++
  3. >   openttd.exe!ScriptConfig::ScriptConfig(const ScriptConfig * config) Line 57 C++
  4.     openttd.exe!AIConfig::AIConfig(const AIConfig * config) Line 31 C++
  5.     openttd.exe!MakeNewgameSettingsLive() Line 369  C++

Paste #p1kktkghs

  1. svn diff svn://svn-archive.openttd.org/branches/1.8/src  svn://svn-archive.openttd.org/tags/1.8.0/src
  2. Index: rev.cpp.in
  3. ===================================================================
  4. --- rev.cpp.in  (.../branches/1.8/src)  (revision 28004)
  5. +++ rev.cpp.in  (.../tags/1.8.0/src)    (revision 28004)

Paste #p8yedjtpa

  1. commit f437cd06b66357f1276e6d20cba18ebba28bc669 (HEAD -> req_desc)
  2. Author: Ingo von Borstel <planetmaker@openttd.org>
  3. Date:   Sat Feb 9 17:39:40 2019 +0100
  4.  
  5.     Change: Improve description of what is really needed to run OpenTTD