Commit Graph

684 Commits

Author SHA1 Message Date
Enno Rehling 11bc581285 gmtool, angefangen highlighting zu implementieren.
bugfixes letzter eressea-commit
2006-04-09 18:13:47 +00:00
Enno Rehling 2f8e9e2053 on a hunch, checking that number of mages is correct. Also, removing invalid familiars. 2006-04-09 18:10:57 +00:00
Enno Rehling fc70d1d66a fix for fix_familiars complaining about goblins.
indentation fixes.
2006-04-09 17:35:15 +00:00
Enno Rehling 3145295ad4 http://eressea.upb.de/mantis/view.php?id=869
BEWACHE nach "langen" Kampf nicht möglich; Fehlermeldungen nach "langen" Kampf

Noch ein Flag eingeführt. Hoffe, dass das klappt.
2006-03-26 21:49:37 +00:00
Enno Rehling a14d57f32d made the save function work, and not print so much (quiet now understands
'real quiet' as anything >=2 in some places).
Made the listbox code handle PNEXT and PPREV, very helpful for the faction
list.
2006-03-26 21:14:35 +00:00
Enno Rehling a04cb3efbd http://eressea.upb.de/mantis/view.php?id=871
Units with FIGHT FLEE|NOT get -1 in tactics (implementation bug fixed)
2006-03-26 09:36:55 +00:00
Enno Rehling a4f3784cb3 even less refreshing. 2006-03-26 00:08:34 +00:00
Enno Rehling 6da812e00c missing project file for VC7.1 2006-03-25 18:10:33 +00:00
Enno Rehling 34d5a238a3 improving the update speed of curses windows over my slow ssh connection,
less redraws.
2006-03-25 18:05:22 +00:00
Enno Rehling bb1ba6b366 The new GM tool, added to the eressea/ directory. All that remains is to
salvage some mapper functionality and stuff it in there (and cleanup), then
the mapper/ directory can go.
2006-03-24 07:35:51 +00:00
Enno Rehling d5b6803137 http://eressea.upb.de/mantis/view.php?id=845
Vertrauter hat keine Zauber
- Korrekturroutine komplett
2006-02-26 15:48:56 +00:00
Enno Rehling d598babbb1 http://eressea.upb.de/mantis/view.php?id=845
- Vertraute haben keine Zauber, korrektur-routine.
2006-02-26 14:08:19 +00:00
Enno Rehling 6ed9ea2a9b call create_mage() for familiars
created a new lua file for familiar specializations, not really any content for now.
2006-02-26 13:24:16 +00:00
Enno Rehling 3fb3e7b201 New way of storing attrib-lists should make it faster to find a specific one and jump over entire classes of attribs. 2006-02-25 00:12:48 +00:00
Enno Rehling b7552f0d06 - New random number generator
- Faster get_pooled/use_pooled
- faster peasants()
- faster plagues()
- faster horses()
2006-02-19 22:43:56 +00:00
Enno Rehling dceb83c6a7 The incomplete fspecial functions cause quite a bit of attribute-lookups, so I'm putting them in a #define until they get implemented (if ever).
#define KARMA_MODULE is you want to use fspecial in the future.
2006-02-17 22:59:03 +00:00
Enno Rehling 4bc803ef2c http://eressea.upb.de/mantis/view.php?id=826
Wrong wages for orcs

also:
- removing some really old GMcommand code.
2006-02-12 20:10:32 +00:00
Enno Rehling e936284347 Massive changes:
- removed all hadcoded weapons
- added code to put resources like iron&wood in XML
- added laen & wood to XML
- fixed damage for mallorn lance
- removed the old entrise code
- added new ent code in lua, eressea-only
2006-02-11 16:11:16 +00:00
Enno Rehling d63090111d return statement in void function = evil 2006-02-11 08:31:18 +00:00
Enno Rehling d5c94df710 the awkwardly named 'young tree' is now called 'sapling' 2006-02-10 22:24:20 +00:00
Enno Rehling 102a68f01e eliminating iconv in favor of the encoding in libxml2 2006-02-09 22:43:31 +00:00
Enno Rehling 589b1b036a making the old eressea binary run on x64:
- normalvariate fix.
- familiars again
- invalid assert
- forgot init_reports
2006-02-09 22:20:28 +00:00
Enno Rehling a1de5d5701 old eressea executable has problems with non-existing lua spells. 2006-02-09 19:57:25 +00:00
Enno Rehling ef2e1c8da9 project eressa64: trying to run eressea natively on 64 bit hardware. 2006-02-09 19:39:17 +00:00
Enno Rehling 640652ef99 earn_silver Zauber in script/xml ausgelagert.
bugfix snowman
avoid huge amounts of log-messages
handle renaming of spells.
2006-02-05 15:48:52 +00:00
Enno Rehling 9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling 4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +00:00
Enno Rehling 74b15fcd70 global warming only in summer - fix 2006-02-04 11:59:03 +00:00
Enno Rehling fcbc834a2b global warming only in summer 2006-02-04 11:54:51 +00:00
Enno Rehling 5230bfd473 LUA: making faction.info writeable 2006-01-29 22:52:42 +00:00
Enno Rehling 584cea02ed fixed a few includes, problem caused by the header move yesterday 2006-01-29 08:31:54 +00:00
Enno Rehling 0fe3e9ad4b Project files: Not using MT libraries in VC7 really speeds up the CRT calls. 2006-01-24 23:20:33 +00:00
Enno Rehling 64318eaab3 ugroups code entfernt:
- Es ist unwahrscheinlich, dass er je genutzt wird,
- Er ist nicht vollständig
- Er ist gründlich veraltet
2006-01-22 23:29:15 +00:00
Enno Rehling 08fec11034 http://eressea.upb.de/mantis/view.php?id=708
Umsetzung Announce 13.9.: Die Kampfauswirkung auf Bewegung war nicht implementiert.
2006-01-15 17:50:01 +00:00
Enno Rehling 7ad5ed06cb number of new players in statistics corrected. 2006-01-15 11:05:23 +00:00
Enno Rehling 517f8e3f81 fixed some memory leaks 2006-01-02 21:50:57 +00:00
Enno Rehling 83e9b7a994 slightly improved, but still hackish way to recognize luabind versions. 2006-01-02 20:24:33 +00:00
Enno Rehling a032e94382 noch eine Stelle mit LUABIND_OLD :-/ 2006-01-01 23:32:20 +00:00
Enno Rehling 0336a0953e - Fehler in der neuen random_terrain routine gefunden.
- Problem mit altem luabind repariert.
2006-01-01 23:29:04 +00:00
Enno Rehling c60502bfc8 find_spellbyid() kriegt nen magietyp für den fall wo zwei zauber gleich heissen, und nicht über ihre 'alte' id erkannt werden, sondern den hash des namens (für seenspell) 2006-01-01 20:11:09 +00:00
Enno Rehling b49d1cadca Aus dem TODO:
- WDW spells per XML definiert, so dass sie nicht in Eressea auftauchen, aber auch kein define benötigen

- Neue Variante des seenspell-attributes.

- weniger find_spellbyid() aufrufe.
2006-01-01 18:35:55 +00:00
Enno Rehling 657fc3d123 WDW_PHOENIX define removed:
- Der Initialisierungs-Code ist in LUA reimplementiert.

- Ich habe das ganze spoils-Konzept etwas allgemeiner gemacht, man kann jetzt einfach ein equipment-objekt in XML definieren (siehe vinyambar-wdw.xml) der die spoils für eine Rassea angibt, (z.B. phonix_spoils nennen).

- Das gleiche für Drachen und Seeschlange gemacht.
2006-01-01 16:58:59 +00:00
Enno Rehling 9bf60a5451 Spezialfall: Einheiten, die nicht laufen können.
LUA: Rasse ändern ändert auch irace.
2005-12-31 16:13:20 +00:00
Enno Rehling e30c171995 lua: faction.options and faction.flags 2005-12-31 13:39:55 +00:00
Enno Rehling d0d03c08af Compile-fixes. 2005-12-31 13:18:35 +00:00
Enno Rehling c30cebd352 Beim erzeugen neuer Inseln keine Eisberge und Vulkane mehr machen. 2005-12-31 13:01:11 +00:00
Enno Rehling 9ea1f9fdf5 invalid reference removed 2005-12-29 15:08:54 +00:00
Enno Rehling 8727c7fc4f Versehentliche Löschung der Zugvorlagen 2005-12-29 13:46:34 +00:00
Enno Rehling 18153f5614 http://eressea.upb.de/mantis/view.php?id=775
Es gibt auch noch ältere Berge und Gletscher ohne Eisen.
2005-12-19 18:56:20 +00:00
Enno Rehling 8e508a9e99 http://eressea.upb.de/mantis/view.php?id=775
verbesserte Korrektur-Routine
2005-12-19 18:30:51 +00:00
Enno Rehling 5c07121a9f http://eressea.upb.de/mantis/view.php?id=775
Berge ohne Eisen (und generell Regionen ohne Resourcen).
2005-12-19 17:31:27 +00:00
Enno Rehling d51b277d8a crashbug missing volcano_terrain 2005-12-11 15:14:03 +00:00
Enno Rehling 9be2d7b33d didn't like binding int and double with same name. why? 2005-12-11 12:41:05 +00:00
Enno Rehling 28be52c1b2 LUA:
- messages an regionen versenden

Eressea:
- Besucher von Muschelplateau kriegen ein Spezialgimmick
- Diverse magische Items im Gewicht auf 0 reduziert.
2005-12-11 11:43:18 +00:00
Enno Rehling 4635c46ec2 - dice_rand kann einfaches multiplizieren
- als dice_roll nach lua exportiert
- equipment kann in inventories getan werden
- region::land bekommt ein inventory
- terraform legt equipment in neue regionen

kingdoms:
- neues terrain berge.
2005-12-11 09:58:17 +00:00
Enno Rehling a6cc57370f LUA: export unit::age 2005-12-10 12:32:26 +00:00
Enno Rehling 93eb6adeff neue regionsresourcen: "chaos" und "grave" (um chaoscount und detahcount zu verändern) 2005-12-04 14:53:27 +00:00
Christian Schlittchen 3705d0d1eb init_summary für wdw, zusätzlicher assert 2005-11-27 14:13:48 +00:00
Enno Rehling 383dc8ad15 compilation errors 2005-11-27 10:06:18 +00:00
Enno Rehling d808de65c8 new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute)
exported to LUA: x.objects returns the collection of objects, accessible through :get() and :set() functions
2005-11-26 15:28:11 +00:00
Enno Rehling 402fbb24e5 - spawning new dragons and undead is now optional (lua function)
- battle-effect on peasants is configurable (by XML param)
2005-11-26 11:03:44 +00:00
Enno Rehling 3ae0abad4b bugfix old lua versions
removing some instances of oldterrain() calls

kingdoms: removing assert on missing old races
kingdoms: handling missing potions gracefully
2005-11-25 23:52:53 +00:00
Enno Rehling 33ec0e321b fixing up the luabind/gcc4 compilation 2005-11-25 22:53:10 +00:00
Enno Rehling 6e76a3d601 luabind: using define LUABIND_OLD instead of BOOST_VERSION 2005-11-25 22:25:13 +00:00
Enno Rehling bb1e86ebb4 new code for 'kingdoms':
- disabling skills
- region owners
- maintenance costs configurable
- wage configurable
2005-11-25 22:09:59 +00:00
Enno Rehling d215d26f45 http://eressea.upb.de/mantis/view.php?id=762
Teufelchen als Vertrauter einmal mit und einmal ohne Aura

Neue Vertraute haben kein mage-attribut gekriegt beim ersten lernen.
2005-11-25 17:07:41 +00:00
Enno Rehling 7783077517 simplified the work() functions
splitting more functionality from process_orders into separate functions
2005-11-20 12:58:59 +00:00
Enno Rehling 422008c0e2 exporting the origin of a faction to lua (so factions can be relocated) 2005-11-20 11:41:16 +00:00
Enno Rehling 357a73e826 XML reports - incomplete implementation, might finish it eventually. 2005-11-18 23:23:47 +00:00
Christian Schlittchen b34b63fd25 Fehlendes Include report.h 2005-11-06 08:53:17 +00:00
Enno Rehling d2a75f15fe code cleanup, reports. report types are now registered (some code I had on my disk since the days I was writing xml reports), and a new mailit format (reports.txt replaces mailit). Also, no more writing of shellscripts from the server, since that's done by an external script now. 2005-11-02 21:10:40 +00:00
Enno Rehling cc7a1d15bb it helps to include version.hpp 2005-11-01 20:49:58 +00:00
Enno Rehling f6952988e4 made compatible to earlier luabind version (just to avoid some work non VC++), but a little hackishly through the BOOST_VERSION define.
removed some almost unused funtions (pt_find, etc).
2005-11-01 20:33:21 +00:00
Enno Rehling dfc6f83c62 upgrade to luabind beta-7 devel-2
upgrade to g++ 4.0
2005-10-31 22:34:45 +00:00
Enno Rehling ada8c3a52d bugfix: water of life
initialization of potion text
removing #if 0 code.
2005-10-30 09:51:02 +00:00
Enno Rehling 1113d3d7e9 bugfix luxuries. now possible (though not done) to read them from xml. 2005-10-29 16:28:10 +00:00
Enno Rehling f6524ee015 kicking out a few more hardcoded item_type objects. 2005-10-29 14:48:37 +00:00
Enno Rehling cb9106473b Special non-item resources like hp and peasant can now be defined externally.
removed all the hardcoded armor from the source.
2005-10-29 14:12:46 +00:00
Enno Rehling 0e0f37d970 bugfix seed-registrierung 2005-10-26 19:02:45 +00:00
Enno Rehling 68433ad0d1 Der Eressea-Code hat jetzt auch extern definierte Terrains. Ich war so gründlich wie es ging dabei, die alten T_ Konstanten zu entfernen, aber einzelne Regeln sind ziemlich hardgecodet (wo Drachen geboren werden, usw), und benötigen daher noch das terrainid.h include, in das der alte enum verfrachtet ist.
Konfigurierbarkeit ahoi.
2005-10-25 12:38:01 +00:00
Enno Rehling 4ce88dad13 removing the old NEW_RESOURCEGROWTh macro 2005-10-24 20:06:40 +00:00
Enno Rehling 4dc1339ec3 New: familiars are initialized with an equipment-set.
New: familiars can have a LUA initialization function.

Moved the spell implementations from spell.c to spells.c where they "belong".

Spell ids moved to a separate header (to phase them out eventually)
2005-10-23 09:05:11 +00:00
Enno Rehling e0f6999a4f typo 2005-10-11 20:39:16 +00:00
Enno Rehling 1e3877e8a2 irgend etwas am fixing des ozean-alters ist nicht richtig und zerstört die neuaussetzung. 2005-10-11 20:37:48 +00:00
Enno Rehling 3415216610 more verbose exception handling 2005-10-09 22:01:08 +00:00
Enno Rehling 31e3384165 compilation errors 2005-10-09 21:48:56 +00:00
Enno Rehling a521385b13 even more create_ spells are now scripted.
started on another spell (earn_silver), needs enabling and testing.
2005-10-09 21:41:04 +00:00
Enno Rehling e208a2ba8d added exception handling 2005-10-09 01:19:44 +00:00
Enno Rehling c7c6f169cb Englische Namen für alle Zauber.
Rassen-Spells in XML müssen keine ID mehr nutzen.
2005-10-08 18:27:40 +00:00
Enno Rehling fed680604a missing includes for spell.cpp
bugfix memset in create_mage
2005-10-08 16:14:15 +00:00
Enno Rehling 1771a81c52 Neues Datenformat macht Schluss mit der Speicherung von spell-ids im Datenfile. 2005-10-08 15:25:21 +00:00
Enno Rehling b3c4dda44a Messages als LUA-Objekte. Damit lassen sich jetzt auch von LUA aus lokalisierte messages an Parteien versenden. 2005-10-08 11:42:45 +00:00
Enno Rehling 6426004640 Neu: Zaubersprüche können in LUA programmiert werden, und per XML-Datei (siehe spells.xml) in ein Spiel integriert werden.
Ich habe angefangen, die Item-erzeugenden Zauber aus dem Code in Skripte zu verlagern.
2005-10-08 11:02:10 +00:00
Enno Rehling 5dfc2f08b6 Apfel, Nuss und Mandelkern (und Kekse) fleigen raus aus dem Source.
Burgen fliegen aus dem Source.

XML reader unterstützt jetzt auch Gebäude mit mehreren Ausbaustufen.
2005-10-03 20:59:11 +00:00
Enno Rehling 23d7205a8b removed I_GREATSWORD and I_RUSTY_GREATSWORD from the source. 2005-10-02 21:32:20 +00:00
Enno Rehling 49bd595d69 New code:
"equipment-sets" in the XML definition files (equipment.xml) can define skills and items for a unit. these can be applied using the equip_unit() function (from both LUA and C).

I've rewritten the random first encounters and addplayer() functions to use these. As a result, there's now even less dependency on fixed item types in the source, and I can take more items out.
2005-10-02 20:28:44 +00:00
Enno Rehling 9f97148163 spawning of new braineaters moved into a separate LUA function which is not called for wdw. 2005-10-02 16:06:12 +00:00
Enno Rehling a72a43c384 starting equipment & skills for new factions is read from the equipment.xml file instead of hardcoded. Makes give_starting_equipment a lot smaller and reduces the number of I_* item-constants used in the code. 2005-10-02 15:54:24 +00:00
Enno Rehling ee64acff21 http://eressea.upb.de/mantis/view.php?id=684
Straßen durch Wüste ohne Karawanserei

Der Code scheint okay zu sein, nur Altdaten nicht. Habe eine Korrektur-Routine eingebaut.
2005-09-28 18:52:18 +00:00
Enno Rehling bcf0b8d446 removed the old GROWING_TREES macro.
Also, made sure starting regions always have at least a few trees and horses, because I'm sick and tired of the complaints.
2005-09-10 21:09:51 +00:00
Enno Rehling 0ee59cf55e http://eressea.upb.de/mantis/view.php?id=694
global warming "infection" not with regular glaciers
2005-09-03 09:13:36 +00:00
Enno Rehling 118230a737 implemented global warming (glacier belts with age > 200 can melt) 2005-09-03 08:54:19 +00:00
Enno Rehling b7ebf40866 Better version of the ocean-age fixes produces proper firewalls around the
world
2005-09-03 07:50:00 +00:00
Enno Rehling 6ec1bbe52e Drawing borders around regions requires that oceans have an age, too. Fixed.
Also, removing some unnecessary race-enums
2005-09-03 00:30:03 +00:00
Enno Rehling e639a1258b autoseed, creating island controlled from script.
bugfix empty orders in savefile
2005-08-07 13:48:18 +00:00
Enno Rehling 90f24a0ae4 neat trick to extract the origin from a faction in LUA 2005-07-28 12:42:46 +00:00
Enno Rehling 200201b384 started limiting the maximum number of orders for a unit.
removed num_migrants as it was not updated properly.
2005-07-27 11:48:16 +00:00
Enno Rehling c9fa3abcac new iteminfos in english. moved gemran iteminfos from separate files into xml.
reset UFL_LONGACTION before a turn, so I can run several turns from a single script run.
2005-07-26 18:14:13 +00:00
Enno Rehling e4bdec8e7c crwritemap has been exported to lua as write_map(filename). 2005-07-26 10:50:00 +00:00
Enno Rehling 82af7525e6 making password & email read/write from scripts. 2005-07-25 10:39:11 +00:00
Enno Rehling e6c5c45910 das GROUP flag muss gespeichert werden. 2005-06-26 12:52:26 +00:00
Enno Rehling 475bd5a735 gcc inline muss static deklariert werden. 2005-06-15 21:04:37 +00:00
Enno Rehling cb9eaf426c http://eressea.upb.de/mantis/view.php?id=556
Feuerwände im Astralraum

Werden durch Astralblock ersetzt. Ausserdem wird aus dem mapper heraus wieder eine Grenze von Feuerwänden um ältere Gebiete herum gezogen.
2005-06-13 21:29:59 +00:00
Enno Rehling 7a69ac541b http://eressea.upb.de/mantis/view.php?id=556
Feuerwände im Astralraum

Werden durch Astralblock ersetzt. Ausserdem wird aus dem mapper heraus wieder eine Grenze von Feuerwänden um ältere Gebiete herum gezogen.
Issue: 556
2005-06-13 21:26:52 +00:00
Enno Rehling 9dc06958e2 Even more flags to reduce attribute-lookups.
double bookkeeping can be scary, but i think it should be rather safe in these cases.
2005-06-12 17:57:14 +00:00
Enno Rehling 71dee49bbb ifdef enclosure of doug lea malloc 2005-06-12 10:56:18 +00:00
Enno Rehling 70413bb43c Noch einmal Strassen reparieren. 2005-06-12 09:48:19 +00:00
Enno Rehling 032cc5eadf bugfix in fix_attribs: falsche attributeliste durchgegangen. 2005-06-12 08:52:46 +00:00
Enno Rehling 85e2dd76d9 bugfix letzter commit. 2005-06-11 23:10:06 +00:00
Enno Rehling c5846b0990 - region flag that speeds up access to at_travelunit
- unit flag that speeds up access to at_guard
- test for at_npcfaction only when AllianceRestricted.
2005-06-11 23:02:52 +00:00
Enno Rehling 1a1dc417c4 misc. memory leaks removed 2005-06-11 08:09:55 +00:00
Enno Rehling 8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling 54fbc30359 Kalender aus timestrings heraus und in die xml-files hinein. Ziemlicher Aufwand für (fast) keinerlei neue Features :-) 2005-06-04 13:22:31 +00:00
Enno Rehling 198f2cf90f Das mit dem neuen Befehls-handling zieht Kreise. 2005-05-09 22:30:43 +00:00
Enno Rehling 64a85e8138 jamrules und fixes, damit die kranke uni-installation klappt 2005-05-08 17:32:01 +00:00
Enno Rehling 3460cf5b82 memory leaks 2005-05-08 00:38:21 +00:00
Enno Rehling 26745e16f7 f->mistakes is a useless pointer. 2005-05-07 23:53:23 +00:00
Enno Rehling b4acb828d7 Ein bischen aufraeumen am Schluss kann nicht wehtun. Nicht doll. 2005-05-07 13:38:46 +00:00
Enno Rehling d7cf8ccc6a reactivating some cleanup code 2005-05-07 10:31:25 +00:00
Enno Rehling 264880cc7b making dmalloc work again 2005-05-07 10:07:06 +00:00
Enno Rehling 2e9e7f1e23 Implemented BSD string.h extensions (strlcat, strlcpy).
Big items in astral space crumble (disabled by define).
Chaossog verursacht 3/4 Schaden beim durchgehen (ungetestet).
Überladeschutz bei Schiffen abgeschaltet.
2005-05-06 22:30:19 +00:00
Enno Rehling f8ef91907a Beschleunigung des von get_seen_interval (Dank ENUM_REGIONS) 2005-05-01 00:26:15 +00:00
Enno Rehling b445cc1ed3 - maxsize für einheiten
- fehler bei u_setfaction-änderung
- faction specials? was für faction specials...
- signal handler für SIGSEGV, backtraces
2005-04-30 22:03:47 +00:00
Enno Rehling 3eea6880a8 Einmalig die Zugvorlage für Eressea deaktivieren, wenn ein Spieler den CR bekommt. 2005-04-30 19:00:57 +00:00
Enno Rehling 092b249060 unit::lastorder entfernt. Das Konzept eines einzelnen langen Befehles hat ausgedient, spätestens seit @ existiert. 2005-04-30 17:07:46 +00:00
Enno Rehling 1d0590d4c7 Auch alter server mit autoseed. 2005-04-30 14:48:32 +00:00
Enno Rehling c97d520bc6 lastregion und firstregion sind m.M. buggy (Leuchttürme). ich disable die mal, und schaue wieviel sie für die performance überhaupt tun... 2005-04-27 13:30:12 +00:00
Enno Rehling 1f4ec6520b Writing individual factions' reports is now a lua command. but it probably needs some initialization, must check.
Also, a bit more error reporting when i.e. the report path cannot be created. time for a chek on a linux box.
2005-04-27 12:18:05 +00:00
Enno Rehling 0bcac1de15 lua write_reports() kann jetzt theoretisch einen Fehler zurückliefern, aber tut das (noch) nicht, weil ich dafür Fehlerchecks in den Report-Routinen brauche. Hier ist aber definitiv die nächste Baustelle, auch das gezielte Schreiben einzelner Reports ist wirklich an der Zeit. 2005-04-24 21:49:51 +00:00
Enno Rehling 1e17981a1f http://eressea.upb.de/mantis/view.php?id=480
Folgen von Schiffen funktioniert nicht (Nachtrag).
2005-04-24 21:46:53 +00:00
Enno Rehling 3bf96bdb12 http://eressea.upb.de/mantis/view.php?id=480
FOLGE SCHIFF wird ein langer Befehl

Neuer Parameter --lomem, um unkritische Strings zu ignorieren (spart mindestens 150 MB Speicher). Nicht für echte Auswertungen verwenden!

Tests für display/name/etc == NULL
2005-04-23 09:47:03 +00:00
Enno Rehling afa1c2a804 http://eressea.upb.de/mantis/view.php?id=449
Gewicht auf Schiffen wird im Report abgerundet.
2005-04-17 16:02:13 +00:00
Enno Rehling 4e2a3beaa9 Korrekte Meldungen über fehlerhafte Familiars. 2005-04-16 16:59:08 +00:00
Enno Rehling f0e5e62e5b small fixes 2005-04-16 16:44:00 +00:00
Enno Rehling 1597f54a5e reporting familiars that have lost their magicians. 2005-04-16 15:55:16 +00:00
Enno Rehling 80ac5399ec Das schreiben der Zusammenfassung ist jetzt ein Skriptbefehl.
Neue Parteien werden in das SQL-log aufgenommen.
2005-04-16 13:03:35 +00:00
Enno Rehling 799ecdac31 Jetzt geht's 2005-04-11 22:11:02 +00:00
Enno Rehling 61e63eed3c luxusgut-korrektur in neu erschaffenen Inseln. 2005-04-11 21:49:30 +00:00
Enno Rehling 1c01343739 Neuer Inselgenerator im Server.
Einheitliche Runtime-Library für VC.net Targets.
2005-04-03 08:32:16 +00:00
Enno Rehling 464f50a48d autoseed in ein Modul verlegt und zu einem Teil des Servers erhoben. Der Server kann jetzt durch Aufruf der lua-Funcktion utoseed(filename) selber neue Parteien erzeugen, was es erspart, vor jeder Runde den mapper aufzurufen, und das Aussetzen von Parteien erlaubt, wenn der Spieler in der selben Runde STIRB setzt. 2005-03-23 23:39:26 +00:00
Enno Rehling 1b62f53285 Lua-Zugriff auf den item-pool 2005-03-06 13:53:13 +00:00
Enno Rehling 09d3a99006 50 Silber/Woche in den Pool
Debug message
2005-02-18 20:25:39 +00:00
Enno Rehling 03548f12b4 lua: faction.locale ist jetzt writeable. 2005-02-13 08:04:51 +00:00
Enno Rehling de1658f961 Remove a few warnings,
Remove all the old makefiles
2005-02-12 02:18:13 +00:00
Enno Rehling ca099ec5ae lua erweiterung:
unit:cast_spell, um einen zauber zu wirken (vorerst nur testweise, syntac wird sich ändern)
2005-02-06 09:29:22 +00:00
Enno Rehling d221ca4db7 Fixes an fix_otherfaction (null-pointer) 2005-02-06 08:23:28 +00:00
Enno Rehling f55639c4e7 http://eressea.upb.de/mantis/view.php?id=378
- Einheiten mit otherfaction==u->faction
2005-02-05 19:05:47 +00:00
Enno Rehling b7130d8ba7 Im xml reader können jetzt daten, die gamecode-related sind, abgeschaltet werden (etwas komische API, aber es geht. Das verhindert, dass der Mapper (der gamecode nicht linkt) über fehlende use-Funktionen von items jammert.
Mehr von den Funktionen in den gamecode geschoben. Insbesondere Artrewards. Die entsprechenden Items sind raus aus dem Code und rein in eine XML-Datei (artrewards.xml), die dann nur von Eressea geladen wird.
2005-01-30 23:33:28 +00:00
Enno Rehling a44951cf6f Cleanup:
Removing old items created in code and replacing them with XML definitions.
2005-01-30 14:30:31 +00:00
Enno Rehling 812c41c220 Mapper kompilierte nicht mehr, ohne gegen gamecode zu linken:
- gamecode/items.c enthält Funktionalität von items
- items/items.c umbenannt in items/itemtypes.c, enthält item_type Definitionen (to be replaced by xml definitions)

So geht es, glaube ich.
2005-01-30 08:57:16 +00:00
Enno Rehling ac64278080 fixes for older luabind versions 2005-01-27 11:30:21 +00:00
Enno Rehling 13172a28af - regionid() und die ersetzung von \\r entfernt.
- Neue Funktion für Steinkreise
- Bugfix alta Steinkreisfunktion
- Geschwindigkeit findfaction
- Geschwindigkeit it_find
- Einige Messages internationalisiert
- Bugfix Startholz
2005-01-19 20:33:13 +00:00
Enno Rehling f9826a2674 Reichweitenlimit für sail() augebaut. 2005-01-14 17:47:51 +00:00
Enno Rehling d46c0a9d46 HSE-specific changes and LUA extensions donw during the game 2005-01-13 12:42:36 +00:00
Enno Rehling 032466e908 builing_action kann jetzt einen string-parameter haben. 2005-01-07 17:02:32 +00:00
Enno Rehling fd2b7a540d LUA: faction.age 2005-01-06 23:38:22 +00:00
Enno Rehling 8f26d5a725 - Verschieben von Regionen sicherer gemacht
- Fehlende includes aus eressea.xml entfernt.
2005-01-04 00:12:23 +00:00
Enno Rehling 918057aa90 Man kann von lua aus regionen versetzen. Ich muss mal wieder Weltkosmetik betreiben, weild er Mapper Dinge in alte Welten setzt. 2005-01-03 22:09:33 +00:00
Enno Rehling f56265c589 Bugfix eternath-gates 2005-01-03 21:28:57 +00:00
Enno Rehling 41d8f1ebfa - Startgegenstände über XML definierbar (nicht lua, weil dann nicht im mapper)
- TARNE PARTEI NUMMER geht wieder richtig, hoffe ich
2005-01-03 21:28:21 +00:00
Enno Rehling 48141abc65 Nachbesserung an Fix für create_teleport_plane 2005-01-01 17:14:51 +00:00
Enno Rehling f15e8526b7 create_teleport_plane hat regionen erzeugt, die nicht im Astralraum liegen.
Lua-binding kriegt eine methode region.remove um regionen zu entfernen
2005-01-01 15:16:41 +00:00
Enno Rehling df26ef19be special_direction jetzt von LUA aus benutzbar. Neuer Testcode für special directions. 2005-01-01 11:48:36 +00:00
Enno Rehling 07a214b7fa Neue Schiffe erzeugen setzt sie automatisch in die Regionsliste ein. 2004-12-22 22:58:52 +00:00
Enno Rehling e60e14930e LUA:
- Schiffe können erzeugt und Einheiten zugewiesen werden.

Reichweiten-Bug (http://eressea.upb.de/mantis/view.php?id=339) evtl. gefixt, cap_route war evtl. einen zu lang.
2004-12-22 22:02:31 +00:00
Enno Rehling 080a9a8bba Weihnachtsevent mit dickem Gnom und Sonnensegeln, jetzt komplett implementiert.
Beinhaltet Partei-Inventory und neuen Befehl CLAIM / BEANSPRUCHEN.
2004-12-22 00:53:12 +00:00
Enno Rehling 1ead3ebe08 http://eressea.upb.de/mantis/view.php?id=329
http://eressea.upb.de/mantis/view.php?id=285
 Insekten können Gletscher betreten.

 Kompletter Umbau der movement-Routinen, wesentlich sauberer getrennt. Konstrukte wie A wird von B verfolgt, welcher C transportiert, und C wird von D verfolgt klappen, und kommend amit klar, das Einheiten zwishendurch stehenbleiben wegen fehlender Reichweite oder Gletscherproblemen.

 Wenn hier nicht mindestens ein Bug drin ist, wäre ich überrascht, obwohl ich es mit diversen konstruierten Testfällen in LUA ausprobiert habe. Ich teste das gleich mal mit Datenfiles.
2004-12-19 16:39:51 +00:00
Enno Rehling f5b6d89c1b http://eressea.upb.de/mantis/view.php?id=295
- Bei einer versklavten Einheit wird die Rasse geändert
2004-10-15 18:01:14 +00:00
Enno Rehling a43b493fce include required for luabind B7 2004-09-26 19:16:07 +00:00
Enno Rehling 3fd66be379 exception handling 2004-09-26 19:15:36 +00:00
Enno Rehling 5f30d635dc a little extra error handling for lua 2004-09-26 18:49:57 +00:00
Enno Rehling 29ea980738 lua extensions:
- building.type
- tostring for ships
stricter const's
2004-09-26 18:00:49 +00:00
Enno Rehling e135dc7728 http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000194
- zauber sind mehrfach in der zauberliste
2004-09-11 19:26:58 +00:00
Enno Rehling f68f9af5c5 http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000256
- FLIEHEnde oder NICHT kaempfende Einheiten koennen keine Beute mehr machen.
- Es gibt fuer select_enemy() u.a. jetzt eine Option, die ohne Beruecksichtigung des Advancements zu berechnen, wie fuer die o.g. Beuteverteilung benoetigt.
2004-09-11 17:29:13 +00:00
Enno Rehling 736739ca42 Some updates to the VC6 files. Can't compile it since I have no libxml installed here 2004-09-11 16:57:05 +00:00
Enno Rehling 0a27d60de0 Kompatibilität zu luabind-b7 2004-09-05 14:08:10 +00:00
Enno Rehling eb10f3e429 - WACH_WAFF
define removed, because it will never be turned off again.

- bewache_an()
  renamed to guard_on_cmd, guard_cmd renamed to guard_on_cmd. now uses parse()
  
- http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000242
  Hungernde Einheiten können Bewache nicht zurücknehmen.
  GUARD is a short command, should be allowed when hungry.
2004-09-04 10:16:21 +00:00
Enno Rehling fa1ab26cfe Removing a bunch of files: Makefiles, CVS ignore files, compiled python files 2004-09-04 08:52:10 +00:00
Enno Rehling f8daca105b Alte externs entfernt, die nicht benutzt werden.
Veralteten Statistik-Output entfernt.
2004-09-02 19:04:14 +00:00
Enno Rehling f06e9e8bef Better logging for invalid email addresses (incl. faction no) 2004-08-28 23:06:15 +00:00
Enno Rehling 8ab908dde9 - Simpler Adresscheck (ungültige emails)
- Lua:
  - faction.info (banner)
2004-08-22 09:33:15 +00:00
Enno Rehling 79d61bd763 Die Sphinx, ordentlich gelöst. 2004-08-21 12:02:45 +00:00
Christian Schlittchen 8ee6431125 WDW Änderungen vom Wochenende.
- besseres Error-handling in eventhandlern
- bugfix get_variable

Scriptänderungen Sphinx
! bedarf noch eines Cleanup
2004-08-18 22:24:48 +00:00
Christian Schlittchen 00c546d850 Sphinx 2004-08-08 20:24:11 +00:00
Enno Rehling d9ddf937ad lua:
- unit:add_notice
2004-08-08 11:27:12 +00:00
Enno Rehling cbce0fab74 include probleme 2004-08-08 11:14:45 +00:00
Enno Rehling 9d01981c7b event-handling in lua,
events mit vargs,
events für message to unit
2004-08-08 11:02:42 +00:00
Christian Schlittchen 2b1e4f0dca at_variable 2004-08-08 09:42:48 +00:00
Enno Rehling 2367ea70ca - Rassenprefix als xml-include
- is_familiar() gab false zurück, wenn Magier nicht vorhanden war (partielles laden)
- verschiedene typecasts, die eigentlich unnötig sind
- windir nur benutzen, wenn MSCVER gesetzt
2004-08-07 07:42:22 +00:00
Enno Rehling cd4fc9e2bc New rules, with defines 2004-08-03 15:34:26 +00:00