summaryrefslogtreecommitdiff
path: root/src/map/map.hpp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-29npc_destroy: Defer NPC destruction via timerFreeyorp1-1/+5
055-1 _nodes.txt will call `destroy;` from within OnInit, that is during an iteration of the global `ev_db`. Previously, concurrent modification invalidated this iteration, resulting in a crash. This still nullifes `oid`, dequeues all timers, and effectively calls `builtin_end`. `npc_data::deletion_pending` is extended to include a third state. In addition to no deletion happening, and indicating when `npc_free` is currently on the stack, it now also tracks whether the NPC is about to be deleted by a timer. This means that an NPC which is about to be deleted is still blocked from triggering new events, much like an NPC actively being deleted would. Starting or continuing an NPC dialog with an NPC that does not, or is about to no longer exist, is now also blocked.
2023-11-27activity checks and status cleanupHoraK-FDF1-0/+9
2023-08-03weapon base attack delay standardizationHoraK-FDF1-1/+1
2023-02-09bAllStats, bAgiVit, bAgiDexStr, bDeadlyStrikeRate, bDeadlyStrikeAddRateHoraK-FDF1-2/+2
2023-01-22bSpeedCapHoraK-FDF1-1/+1
2019-08-28Revert the changes from the last 2 releasesgumi1-2/+1
battle.cpp is very messy and full of bugs
2019-08-23allow to summon multiple mobs with @summongumi1-1/+2
2019-04-15add gm automod toolgumi1-0/+11
2019-01-11drop support for gcc-5, gcc-6, clang-4, clang-5 in travis and fix some misc ↵gumi1-4/+4
issues
2018-12-30pre-send the auth details to map servers instead of blindly trusting 0x0072gumi1-0/+15
2018-01-03remove mob timers, make areatimer only work on PCgumi1-3/+0
2018-01-03remove npc event queue, always clear npc event timergumi1-2/+0
2018-01-01release v18.1.1v18.1.1gumi1-0/+2
2016-05-05add MUTE paramsmekolat1-0/+8
2016-04-15do not send superfluous info on LoadEndAckmekolat1-1/+0
2016-04-15improvements, cleanup, bug fixesmekolat1-1/+0
2016-04-15remove MESSAGE npc subtypemekolat1-10/+0
2016-04-15add new builtins for npc commandsmekolat1-0/+1
add requestitem builtin add requestlang builtin add camera builtin send a force-close on close when no npc dialog add clear builtin
2016-04-15add scope, npc/mob variables; add new get/setmekolat1-7/+7
2016-04-15implement puppet npcsmekolat1-0/+4
2016-04-15Remove old Magicwushin1-14/+1
2016-04-15new/modified builtinswushin1-0/+4
areatimer foreach aggravate Override attack animation injure summon
2016-04-10consolidate client version handlingmekolat1-1/+1
2015-09-22Fix how attacked summons behave when master leaveswushin1-0/+1
closes #143
2015-06-20add map mask supportmekolat1-0/+1
2015-05-31send pvp channel and rank to clientmekolat1-0/+1
2015-05-19fix mob hp, add mob range, unfuck packetsmekolat1-0/+1
2015-05-19allow to make npcs sitmekolat1-0/+1
2015-05-17use client versionmekolat1-1/+1
2015-04-04make pvp use channelsmekolat1-1/+1
2015-04-04Remove killer/killablewushin1-2/+1
Death Clears default pvp Add Player Togglable PvP Flag Add Timer to PvP Flag (Anti-Spam) Add getpvpflag builtin
2015-01-23Use generated config for mapBen Longbons1-13/+12
2015-01-22Generate most config parsersBen Longbons1-1/+4
2015-01-22Remove unsupportable config settingsBen Longbons1-1/+1
2014-11-09Add explicit check for mapless eventsBen Longbons1-0/+1
2014-11-04Remove sc_countBen Longbons1-2/+0
It was a negligible performance gain during death, but a lot of bugs.
2014-11-04Perform divorces asynchronously to avoid crashesBen Longbons1-1/+0
2014-10-26Fix header rankingBen Longbons1-34/+2
2014-10-13Convert container lookups to use Option<Borrowed<T>>Ben Longbons1-18/+34
2014-10-08Split script.cppBen Longbons1-3/+4
2014-10-06Remove vestigial support for offhanded weaponsBen Longbons1-11/+4
2014-09-30Rename enum Option to Opt0Ben Longbons1-2/+2
2014-08-27Debug debuggingBen Longbons1-1/+1
2014-08-05Move magic to its own namespaceBen Longbons1-4/+4
2014-06-30It's about time I did thisBen Longbons1-3/+3
2014-06-27This is more reliableBen Longbons1-29/+26
2014-06-26Stick everything in a namespaceBen Longbons1-0/+4
2014-06-26Low hanging fruitBen Longbons1-1/+1
2014-06-26specialize inventory/storage indicesBen Longbons1-3/+3
2014-06-24No one is .neutral() here (except IPv4 addresses)Ben Longbons1-7/+7