Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-02-15 | Fixed monster name check in npc_load_monster | Thorbjørn Lindeijer | 1 | -1/+1 | |
Small regression in 2ff2618f8c9a970d1822d5e376fdb67249f63c16. | |||||
2025-01-24 | Access mob_db array only once (same for dropitem) | Fedja Beader | 1 | -3/+4 | |
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> | |||||
2024-04-29 | npc_destroy: Defer NPC destruction via timer | Freeyorp | 1 | -4/+4 | |
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. | |||||
2018-01-01 | release v18.1.1 | gumi | 1 | -0/+8 | |
2016-04-24 | fix npc gender for ManaPlus | mekolat | 1 | -1/+4 | |
2016-04-15 | remove MESSAGE npc subtype | mekolat | 1 | -30/+0 | |
2016-04-15 | do not bind trigger detection to map cells | mekolat | 1 | -30/+0 | |
2016-04-15 | implement puppet npcs | mekolat | 1 | -1/+1 | |
2015-11-13 | do not require a name for warps | mekolat | 1 | -1/+1 | |
2015-06-20 | add map mask support | mekolat | 1 | -1/+14 | |
2015-05-19 | allow to make npcs sit | mekolat | 1 | -0/+4 | |
2015-05-02 | npc -1 => 32767 | mekolat | 1 | -121/+1 | |
2015-04-15 | Do not require pk_mode for NOPVP | meko | 1 | -1/+1 | |
2015-04-05 | Remove Warp Debug Sprite Action | wushin | 1 | -4/+1 | |
2015-01-23 | Use generated config for map | Ben Longbons | 1 | -6/+5 | |
2015-01-03 | Switch MATCH to separate begin/end macros | Ben Longbons | 1 | -12/+14 | |
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-09 | Add explicit check for mapless events | Ben Longbons | 1 | -0/+3 | |
2014-11-09 | Make it easier to debug scripts, especially from coredumps | Ben Longbons | 1 | -4/+4 | |
2014-11-05 | Fix shops not loading and bad price | wushin | 1 | -1/+1 | |
2014-11-04 | Clean up after that mess | Ben Longbons | 1 | -0/+1 | |
2014-11-04 | Use the new ASTs | Ben Longbons | 1 | -464/+513 | |
2014-10-26 | Fix header ranking | Ben Longbons | 1 | -0/+3 | |
2014-10-13 | Convert container lookups to use Option<Borrowed<T>> | Ben Longbons | 1 | -32/+29 | |
2014-10-08 | Split npc parse functions in to their own file | Ben Longbons | 1 | -0/+876 | |