Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-08-26 | Allow names instead of ids for attributes + cleanup | Erik Schilling | 16 | -229/+224 | |
I did not adapt the scripts yet since we need some special handling for the attributes which are required by the server directly. So you still have to use the ids for those. I will change that later. In the future I want to use the AttributeInfo class instead of the int id everywhere possible. So I did a small start on that too. | |||||
2013-08-26 | Warn when defining an attribute without a scope | Erik Schilling | 1 | -3/+3 | |
Attributes without a scope make no sense. | |||||
2013-08-26 | Added a first very basic monster ai version | Erik Schilling | 8 | -53/+191 | |
The ai is similar to the old c++ version. Only the target searching is executed every 10 ticks only now to prevent performance issues with too many lua calls. | |||||
2013-08-26 | Call the on_remove handler with the being as parameter | Erik Schilling | 1 | -6/+7 | |
2013-08-26 | Added look_at bind | Erik Schilling | 1 | -0/+33 | |
2013-08-26 | Fixed setting name of monsters | Erik Schilling | 1 | -2/+2 | |
2013-08-26 | Added tick argument to the monster update callback | Erik Schilling | 1 | -0/+1 | |
2013-08-26 | Removed the hardcoded monster AI | Erik Schilling | 4 | -230/+1 | |
2013-08-26 | Added entity:destination() bind | Erik Schilling | 1 | -0/+18 | |
2013-08-26 | Added function to check for length of a possible path | Erik Schilling | 3 | -9/+54 | |
2013-08-26 | Added get_monster_classes() bind | Erik Schilling | 3 | -2/+28 | |
It returns all monster classes in a id->monsterclass table. | |||||
2013-08-26 | [Abilities] Added abilities to monsters | Erik Schilling | 7 | -26/+237 | |
Monsters can now either receive abilities at lifetime via scripts, or via the <ability> node in the monsters node. | |||||
2013-08-26 | [Abilities] Removed the old autoattack system | Erik Schilling | 30 | -2013/+15 | |
As a side effect i had to remove the monster attack AI for now. I will readd this as next thing. | |||||
2013-08-26 | [Abilities] Added a add_hit_taken bind | Erik Schilling | 6 | -30/+55 | |
This allows to display hit messages in the client for abilities | |||||
2013-08-26 | [Abilities] Made a first example attack ability | Erik Schilling | 1 | -2/+20 | |
2013-08-26 | [Abilities] Added a useaction to the gamedata | Erik Schilling | 1 | -0/+1 | |
Only required clientside. | |||||
2013-08-26 | [Abilities] Inform other players about ability uses | Erik Schilling | 5 | -4/+77 | |
2013-08-26 | [Abilities] Added support for a global cooldown | Erik Schilling | 15 | -41/+154 | |
Each ability can now define a cooldown that prevents the player from using other abilities for a while. The time of this cooldown can be set to any attribute. The modified value of the attribute is the value of the cooldown in game ticks. The cooldown will be automatically started if the ability has `autoconsume` set to true. Otherwise a script has to call entity:cooldown_ability(ability). | |||||
2013-08-26 | [Abilities] Added a autoconsume option | Erik Schilling | 4 | -1/+14 | |
You do not need to reset the mana in the scripts if you do not want to. We will need this for attacks later since those do not nessecary have a script. | |||||
2013-08-26 | [Abilities] Moved the ability code into a own component | Erik Schilling | 9 | -255/+355 | |
This later allows monsters and characters to use this component. | |||||
2013-08-26 | [Abilities] Removed all except one ability | Erik Schilling | 2 | -21/+0 | |
Should allow easier modification without thinking of useful examples for each one | |||||
2013-08-26 | [Abilities] Made the rechargespeed depending on attributes | Erik Schilling | 7 | -90/+28 | |
This allows a lot more flexibility and makes stuff like magical items a lot easier to implement. We will also use this for the attack system in the future. So a attack (abilitiy) would simply depend on some value like Agility (or a derived attribute from it). Which sets the recharge speed. The recharge speed is the modified value of the attribute per game tick. | |||||
2013-08-26 | [Abilities] Only send status for actually changed abilities | Erik Schilling | 2 | -15/+17 | |
Previously *every* ability was spammed over the network regardless whether it was changed or not. | |||||
2013-08-26 | [Abilities] Turned special 1 into a point target for easier testing | Erik Schilling | 2 | -1/+2 | |
2013-08-26 | [Abilities] Added network message for removed ability | Erik Schilling | 2 | -1/+4 | |
This prevents really nasty code clientside | |||||
2013-08-26 | [Abilities] Renamed set to category | Erik Schilling | 7 | -32/+32 | |
On the one hand setSetName and setName could sound misleading in the qt client patch i plan. On the otherhand i never really liked the name "set". I think category is more general and obvious. | |||||
2013-08-26 | [Abilities] Renamed specials to abilities | Erik Schilling | 30 | -662/+720 | |
2013-08-25 | Use std::unique_ptr for Account instance of AccountClient | Thorbjørn Lindeijer | 3 | -38/+32 | |
Makes cleanup automatic and ownership somewhat better recognizable. | |||||
2013-07-28 | Allow -v for setting verbosity | Erik Schilling | 2 | -4/+4 | |
I am really bad at spelling verbosity :-> | |||||
2013-07-19 | Adapted the inline documentation for markdown docs | Erik Schilling | 2 | -171/+238 | |
2013-06-18 | Allow manaserv to be built with external ENet | Brian Callahan | 2 | -4/+16 | |
2013-05-23 | Added paths.xml to settings.xml in example data | Przemysław Grzywacz | 1 | -0/+1 | |
2013-05-10 | Partial rewrite and improvements of Warp object | Przemysław Grzywacz | 4 | -30/+180 | |
2013-05-04 | Client-side settings are now available from settings.xml too, so ↵ | Przemysław Grzywacz | 1 | -1/+4 | |
example/settings.xml needed updates | |||||
2013-05-04 | Added missing files to the codeblocks project | Erik Schilling | 1 | -0/+2 | |
Reported by tao1 on IRC. | |||||
2013-05-03 | Maps are now configured in settings.xml too | Przemysław Grzywacz | 6 | -70/+84 | |
2013-05-03 | Made member function tables available as a globals | Thorbjørn Lindeijer | 5 | -25/+30 | |
This way the scripts can add or replace existing member functions, which can be useful. As demonstration chr_money and chr_money_change are now added as Entity.money and Entity.change_money. Also fixed the banker to use ask_number instead of ask_integer (I had decided to rename this and apparently forgot the banker). Mantis-issue: 503 Reviewed-by: Ablu | |||||
2013-05-02 | Fixed a bunch of cppcheck warnings | Erik Schilling | 21 | -93/+78 | |
2013-04-30 | Bumped the protocol version to 3 | Thorbjørn Lindeijer | 1 | -1/+1 | |
Version 2 was on the lpc2012 branch. With version 3 the lpc2012 and master branches use again the same protocol. | |||||
2013-04-29 | Single xml solution | Przemysław Grzywacz | 24 | -577/+902 | |
Mana-mantis: #506. | |||||
2013-04-29 | Fixed two SQL queries that broke since NULL -> nullptr replacement | Thorbjørn Lindeijer | 1 | -3/+3 | |
2013-04-27 | Warn at failing overrides | Erik Schilling | 1 | -1/+2 | |
2013-04-27 | Use nullptr instead of NULL everywhere | Erik Schilling | 39 | -78/+78 | |
2013-04-27 | Added a few file to .gitignore | Erik Schilling | 1 | -0/+12 | |
2013-04-27 | Fixed typo in script docs | Erik Schilling | 1 | -1/+1 | |
2013-04-25 | Fixed crash when checking whether a character is already online | Thorbjørn Lindeijer | 1 | -3/+2 | |
Not every connected game client has a character in the world. The code was checking this, but since commit aa04597c5f8bb806996 the pointer was being used before being checked. | |||||
2013-04-25 | Simplified BeingComponent::updateDirection | Thorbjørn Lindeijer | 2 | -74/+7 | |
Same as in the client. | |||||
2013-04-22 | Removed old monster attributes | Erik Schilling | 1 | -3/+0 | |
2013-04-15 | Forgot to rename npc_message in some docs | Thorbjørn Lindeijer | 1 | -11/+11 | |
2013-04-15 | Fixed small script documentation error | Thorbjørn Lindeijer | 1 | -1/+1 | |