Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-01-24 | Access mob_db array only once (same for dropitem) | Fedja Beader | 1 | -80/+81 | |
Note: there were some checks before mob.cpp:3743 that I think applied on empty memory? Plus I moved the std::move right at the end of that loop. I'm not too familiar with move mechanics but it seems to work. YMMV. Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl> | |||||
2025-01-21 | Remove redundant nullptr checks on md | Fedja Beader | 1 | -4/+4 | |
(see nullpo_retz(md) at start of function, plus md is used all over) grep -r 'if.*[ (]md ' src | |||||
2024-11-25 | Rename server-set variables as suggested by Thorbjorn | Hello=) | 1 | -2/+2 | |
2024-11-16 | Expose X and Y of killed mob to OnMobKillEvent script event (for slime ↵ | Hello=) | 1 | -1/+3 | |
split, etc) Rationale: OnMobKillEvent invoked under PLAYER's RID - so using e.g. POS_X and POS_Y returns PLAYER's coordinates when kill occured. The only extra data available been @mobID - giving killed mob's type (class). However, to "split" slimes I need to spawn few new mobs right on location where kill occured - or some area around this spot, not player's X/Y. This commit exposes 2 new variables set by server, @mob_X and @mob_Y containing mob's X and Y coordinates when kill happened. This is server-code change needed by relevant scripts. Scripts itself would be landed a bit later to serverdata. | |||||
2024-04-29 | mob: Avoid dangling else | Freeyorp | 1 | -0/+2 | |
2024-04-10 | Add server-wide drop rates modifier | Fedja Beader | 1 | -0/+3 | |
2023-11-27 | activity checks and status cleanup | HoraK-FDF | 1 | -71/+182 | |
2022-12-16 | mobs critical_def + 10 drops + storage 500 | HoraK-FDF | 1 | -0/+9 | |
2022-11-17 | MobInfo | HoraK-FDF | 1 | -4/+4 | |
* includes @mobinfo ingame command aswell as mobinfo functions for scripts * enhanced summon script command to take a name to support spawn names * moved @summon to where other mob related commands are * added enchanter and koyntety cooldown symbols * some translations * some constants added for drops and mobs | |||||
2019-08-28 | Revert the changes from the last 2 releases | gumi | 1 | -56/+31 | |
battle.cpp is very messy and full of bugs | |||||
2019-08-26 | allow summoned mobs to also have slaves | gumi | 1 | -4/+1 | |
2019-08-26 | fix mob slaves not attacking | gumi | 1 | -21/+44 | |
2019-08-23 | allow to summon multiple mobs with @summon | gumi | 1 | -12/+17 | |
2016-04-15 | improvements, cleanup, bug fixes | mekolat | 1 | -2/+11 | |
2016-04-15 | new/modified builtins | wushin | 1 | -0/+10 | |
areatimer foreach aggravate Override attack animation injure summon | |||||
2015-09-29 | Merge pull request #161 from wushin/failover-bug | meko | 1 | -17/+1 | |
Stop looking for the next victim on the map for mob deaths. | |||||
2015-09-29 | Merge pull request #152 from wushin/summoned-mobs | meko | 1 | -0/+13 | |
Fix how attacked summons behave when master leaves | |||||
2015-09-27 | Stop looking for the next victim on the map for mob deaths. | wushin | 1 | -17/+1 | |
2015-09-24 | Fix warp mob freeze bug | wushin | 1 | -2/+2 | |
2015-09-22 | Fix how attacked summons behave when master leaves | wushin | 1 | -0/+13 | |
closes #143 | |||||
2015-09-20 | Merge pull request #150 from wushin/mob-freeze-bug | Wushin | 1 | -3/+3 | |
Add missing checks | |||||
2015-09-20 | More abs errors on direction | wushin | 1 | -4/+7 | |
2015-09-20 | Add missing checks | wushin | 1 | -3/+3 | |
closes #140 | |||||
2015-04-19 | Dynamic Xp percentage command @exprate | wushin | 1 | -24/+26 | |
2015-01-23 | Use generated config for map | Ben Longbons | 1 | -11/+14 | |
2015-01-22 | Have I mentioned that I hate ADL? | Ben Longbons | 1 | -4/+4 | |
2015-01-03 | Switch MATCH to separate begin/end macros | Ben Longbons | 1 | -1/+2 | |
The for loop trick turned out to be very prone to infinite loops at runtime. It's better to force compiler errors even if it's ugly. | |||||
2014-11-19 | Magically allow "break" within WITH_VAR | Ben Longbons | 1 | -1/+1 | |
2014-11-04 | Remove sc_count | Ben Longbons | 1 | -1/+0 | |
It was a negligible performance gain during death, but a lot of bugs. | |||||
2014-10-26 | Fix header ranking | Ben Longbons | 1 | -2/+2 | |
2014-10-13 | Convert container lookups to use Option<Borrowed<T>> | Ben Longbons | 1 | -29/+27 | |
2014-10-05 | Stupid bug in mob summons | Ben Longbons | 1 | -1/+1 | |
2014-09-30 | Rename enum Option to Opt0 | Ben Longbons | 1 | -2/+2 | |
2014-08-05 | Enums are not usually integers, sorry | Ben Longbons | 1 | -6/+8 | |
2014-07-16 | Revert bounds checks and go back to signed integers | Ben Longbons | 1 | -3/+0 | |
2014-06-30 | Invulnerability should not be the default | Ben Longbons | 1 | -0/+7 | |
2014-06-30 | It's about time I did this | Ben Longbons | 1 | -18/+18 | |
2014-06-26 | Stick everything in a namespace | Ben Longbons | 1 | -0/+4 | |
2014-06-26 | Low hanging fruit | Ben Longbons | 1 | -86/+86 | |
2014-06-26 | specialize inventory/storage indices | Ben Longbons | 1 | -2/+2 | |
2014-06-24 | No one is .neutral() here (except IPv4 addresses) | Ben Longbons | 1 | -3/+3 | |
2014-05-27 | Generate the char server protocol | Ben Longbons | 1 | -4/+4 | |
2014-05-20 | :%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ↵ | Ben Longbons | 1 | -6/+6 | |
]\)\@! */\1 / | |||||
2014-05-12 | Split net/ from mmo/ | Ben Longbons | 1 | -2/+3 | |
2014-04-24 | Header cleanup | Ben Longbons | 1 | -2/+1 | |
2014-04-22 | Use strict ID types | Ben Longbons | 1 | -228/+234 | |
Possibly some missing for the far side of the network. AccountId and BlockId are still terribly entangled. | |||||
2014-04-14 | Ditch gcc 4.6 support | Ben Longbons | 1 | -44/+38 | |
2014-04-09 | Add all the missing copyright headers | Ben Longbons | 1 | -1/+21 | |
2014-03-31 | Be stricter about most arrays | Ben Longbons | 1 | -15/+15 | |
2014-03-16 | Clean up header organization | Ben Longbons | 1 | -6/+9 | |