Commit Graph

1148 Commits

Author SHA1 Message Date
Enno Rehling 29340f9217 Bugfix "Astrale Integrität"
Beschleunigung einiger Skill-Durchläufe
2004-02-16 19:59:26 +00:00
Enno Rehling 7201ca85ac Bugfix Anzeige der aktuellen PArteien-Zahlen im Summary (das mit
NMRTimeout() ist krank, aber ich will das nciht kaputtmachen).
2004-02-16 00:35:20 +00:00
Enno Rehling fd8827b7a5 Bugfix überhöhte Magieresistenz 2004-02-15 23:15:14 +00:00
Enno Rehling 20f2546690 Spells for Cerddor 1-6 2004-02-14 11:11:16 +00:00
Enno Rehling cd0e99fc77 - Einheiten, die den Exploit ausgenutzt haben, werden vernichtet
- Nicht auf Monster anwenden
- Alte, unnütze Korrektur-Funktionen entfernt
2004-02-13 19:24:14 +00:00
Enno Rehling c5421f9a1f Golems können nicht mehr übergeben werden
Fix für Rassen, sie ein at_unitdissolve haben sollten
2004-02-13 19:14:38 +00:00
Enno Rehling 84d304caab Finally found this one: Recursive functions should not have static variables inside them. I should know that...
==32504==
==32504== Source and destination overlap in strcat(0x818ce00, 0x818ce03)
==32504==    at 0x4001FE12: strcat (mac_replace_strmem.c:87)
==32504==    by 0x80E8FDC: addtoken (common/util/umlaut.c:95)
==32504==    by 0x80E9029: addtoken (common/util/umlaut.c:92)
==32504==    by 0x80E9029: addtoken (common/util/umlaut.c:92)
2004-02-12 22:59:11 +00:00
Enno Rehling 5bd3875c8f Small changee takes care of the following valgrind messages:
==32343== Source and destination overlap in memcpy(0x4192492c, 0x4192492c, 20)
==32343==    at 0x40020351: memcpy (mac_replace_strmem.c:95)
==32343==    by 0x80BC95B: scramble (common/gamecode/economy.c:132)
==32343==    by 0x80BCA71: expandorders (common/gamecode/economy.c:169)
==32343==    by 0x80BCB75: expandrecruit (common/gamecode/economy.c:199)
==32343==
==32343== Source and destination overlap in memcpy(0x443f3de0, 0x443f3de0, 20)
==32343==    at 0x40020351: memcpy (mac_replace_strmem.c:95)
==32343==    by 0x80BC95B: scramble (common/gamecode/economy.c:132)
==32343==    by 0x80BCA71: expandorders (common/gamecode/economy.c:169)
==32343==    by 0x80C31A4: expandtax (common/gamecode/economy.c:3108)
==32343==
==32343== Source and destination overlap in memcpy(0x425a5b4c, 0x425a5b4c, 20)
==32343==    at 0x40020351: memcpy (mac_replace_strmem.c:95)
==32343==    by 0x80BC95B: scramble (common/gamecode/economy.c:132)
==32343==    by 0x80BCA71: expandorders (common/gamecode/economy.c:169)
==32343==    by 0x80C09C3: expandbuying (common/gamecode/economy.c:1949)
==32343==
==32343== Source and destination overlap in memcpy(0x425a78e0, 0x425a78e0, 20)
==32343==    at 0x40020351: memcpy (mac_replace_strmem.c:95)
==32343==    by 0x80BC95B: scramble (common/gamecode/economy.c:132)
==32343==    by 0x80BCA71: expandorders (common/gamecode/economy.c:169)
==32343==    by 0x80C10A3: expandselling (common/gamecode/economy.c:2180)
==32343==
2004-02-12 14:59:05 +00:00
Enno Rehling 71a87e1e7e bugfix für read after alloc:
==12779==
==12779== Invalid read of size 1
==12779==    at 0x807C3B2: simplename (common/kernel/battle.c:3049)
==12779==    by 0x807C43D: make_battle (common/kernel/battle.c:3083)
==12779==    by 0x807D236: do_battle (common/kernel/battle.c:3537)
==12779==    by 0x80C9706: processorders (common/gamecode/laws.c:3556)
==12779==    Address 0x45D84EB5 is 0 bytes after a block of size 13 alloc'd
==12779==    at 0x40028A89: malloc (vg_replace_malloc.c:153)
==12779==    by 0x40029038: realloc (vg_replace_malloc.c:302)
==12779==    by 0x809D3C5: rds (common/kernel/save.c:265)
==12779==    by 0x80A00C0: readregion (common/kernel/save.c:1832)
2004-02-12 07:20:47 +00:00
Enno Rehling b109a1d095 Kleine Korrektur. 2004-02-09 23:28:12 +00:00
Enno Rehling ac517da404 Anpassungen mehrerer Zauber daran, dass power double ist.
Crashfix falscher typecast.
Mehr Stellen auf Benutzung von float-wahrscheinlichkeiten und boolean chance(double) angepasst
2004-02-09 22:20:40 +00:00
Enno Rehling 567117932c Bugfix Wolfsgeheul und sonstige Sprüche (Hamo's Tod)
Behebung der restlichen double->int conversion warnings
2004-02-09 21:12:46 +00:00
Enno Rehling afe4e48a30 Falscher Parametertyp behoben, typo bei chance behoben. 2004-02-07 16:31:40 +00:00
Enno Rehling f3f8bd811d Behebung einiger double->int conversion warnings (immer noch ein Haufen drin) 2004-02-07 16:12:59 +00:00
Enno Rehling f9a7ecb796 Make the default script write out one list of emails per locale (in
emails.<locale>
2004-02-07 13:47:11 +00:00
Enno Rehling 4440c421f1 faction.locale nach lua exportiert 2004-02-07 12:50:27 +00:00
Enno Rehling 01ec35d68b bugfix erase_border - assert anpassen 2004-02-07 12:16:27 +00:00
Enno Rehling 7eaad89b31 bugfix erase_border 2004-02-07 12:10:24 +00:00
Enno Rehling 72f99f8b18 bugfix age borders 2004-02-05 19:43:19 +00:00
Enno Rehling 03a28c64af racenames nach lua exportiert 2004-02-05 19:04:58 +00:00
Enno Rehling 4910a42db0 anzeigen von vertratuten-sprüchen 2004-02-01 21:04:33 +00:00
Enno Rehling cce8707acb bugfix regionsinterval 2004-02-01 20:16:25 +00:00
Christian Schlittchen 5aec54ead5 - fix givemen 2004-02-01 18:19:49 +00:00
Enno Rehling aeebd61bee Ich bin ein Trottel... Pointerfix 2004-01-25 10:02:12 +00:00
Enno Rehling 039e239d35 Endlosschleifenfix 2004-01-25 10:00:31 +00:00
Enno Rehling b5721e9a13 Suchfunktion, die das richtige Intervall der auszugebenden Regionen bestimmt (evtl. versaut das die Beschleunigungen wieder, aber das ist sekundär. Hauptsache richtig). 2004-01-25 09:58:58 +00:00
Enno Rehling ea9e58b018 Bugfix givemen und warning bei Versuch des Mißbrauch 2004-01-25 09:16:00 +00:00
Enno Rehling 375a55b882 - chaosregionen, die terraformt werden, geben keine warning mehr in der korrektur-routine aus. todo: den fix direkt beim terraforming machen
- magie die wg. zu geringer stufe fehlschlägt, gibt keine warning mehr aus
2004-01-25 08:45:18 +00:00
Christian Schlittchen f08481e988 - Bugfix givemen 2004-01-25 08:19:05 +00:00
Enno Rehling d5ee814459 Elfenbögen nur von Elfen! 2004-01-24 11:04:59 +00:00
Enno Rehling 96c5ae33fa kleiner fix 2004-01-24 00:18:49 +00:00
Enno Rehling 9fbe85c618 bugfix: schiffsbau mit schaffenstrunk 2004-01-23 23:27:16 +00:00
Enno Rehling 2edb0c7100 lua project incredibuild-tauglich gemacht 2004-01-23 18:55:04 +00:00
Enno Rehling b30849b397 weg mit stdbool.h, das macht nur ärger.
library-path für luabind
2004-01-23 00:11:54 +00:00
Enno Rehling 44faa4e2fd kleine Beschleunigung in lastregion, evtl. vernachlässigbar.. 2004-01-19 20:37:39 +00:00
Enno Rehling 0f2f7f7b62 Mit einem Hashtable nrt_find beschleunigt.
Ausführungszeit ist durch die beiden letzten Änderungen von 26:44 minuten
auf 15:25 minuten gesunken, was schon ein echt spürbarer Fortschritt ist.

Weitere Optimierungskandidaten:

 19.80    116.74   116.74      8791    13.28    17.58  firstregion
 11.56    184.90    68.16      7275     9.37    16.38  lastregion
  7.28    227.80    42.90 644401018     0.00     0.00  a_find
  6.81    267.97    40.17    856647     0.05     0.07  internal_path_find
  4.57    294.90    26.93   1055956     0.03     0.03  mt_find
  3.33    314.51    19.61 263723185     0.00     0.00  check_leuchtturm
2004-01-19 10:01:43 +00:00
Enno Rehling 18cfe8b9a0 some warnings removed 2004-01-19 06:28:17 +00:00
Enno Rehling eb5ef3b51b Potentielle Beschleunigung der Reporterzeugung, muss noch profiled werden. 2004-01-18 23:57:43 +00:00
Enno Rehling 7d927094dd Bugfix crashbug bei Astraler Wirbel 2004-01-18 23:52:57 +00:00
Enno Rehling 53d6b4c2b8 Bugfix xml-datei einlesen. 2004-01-18 20:29:47 +00:00
Christian Schlittchen dc3e3b7a01 workaround 2004-01-18 20:17:47 +00:00
Katja Zedel 17e149797b undead pharaoh cant move, too dangerous 2004-01-18 18:53:01 +00:00
Katja Zedel d0ad28e9ca neue monster 2004-01-18 18:51:16 +00:00
Christian Schlittchen f59e497e7e - Fix Phönix 2004-01-18 11:19:45 +00:00
Enno Rehling 21c3da74e1 Das ging so natürlich nicht... Weil man bei ct_find ja abkürzen darf. Bessere Lösung in Sicht. 2004-01-15 22:45:26 +00:00
Enno Rehling 4349ce9456 bugfix non-case-sensitive ct_find 2004-01-15 22:29:41 +00:00
Enno Rehling 7ced18cfef stupid segfault... 2004-01-15 22:13:45 +00:00
Enno Rehling 0dce9060e9 making ct_find faster, since it's the slowest function in the game. 2004-01-15 22:11:19 +00:00
Enno Rehling 32659cddb6 jam rules for profiling, warnings fixed 2004-01-12 16:22:14 +00:00
Enno Rehling 9fef5c651f FAST_CONNECT: regionen speichern ihre nachbarn, das beschleunigt hoffentlich das verfluchte pathfinding. 2004-01-12 15:49:34 +00:00