* First cmake list file, simple docs.
TODO: utils folder.
* Support for building utils
* All fields except HAVE_DOPRNT in place
* Now builds and runs :)
* Added support for clang-tidy, if available.
* First cmake list file, simple docs.
TODO: utils folder.
* Support for building utils
* All fields except HAVE_DOPRNT in place
* Now builds and runs :)
time the mob is harmed, through any means.
Valid return values:
-1: prevents damage from occurring. Will also prevent a fight from
starting.
0: forces a miss.
>0 : the damage the mob will endure.
Available variables:
%actor%: the one doing the damage
%victim%: typically the same as %self% - the one being attacked
%damage%: the damage inflicted. Always a non-negative number.
%attacktype%: The attack type. Will be UNDEFINED when hitting with a
weapon.
* perform_immort_where and print_object_location rewritten to handle paging.
Fixes#141
* A little more info in immort where now we have more space for output.
Fixes#141
* Added PRF_VERBOSE for toggling long output in where command.
Fixes#141
* Also toggle headers in `where x` depending on verbose-pref.
Fixes#141
* removed useless util/webster.c and fixed a couple of potential buffer overruns in the util functions
* removed stray utf-8 error chars. I guess someone has used an editor with fancy 's
* removed last webster integrations
Based on error report from JTP in the tbamud forums. If an attacker was able to start a session and then break the connection, the process_output function would fail. This would trigger two calls to close_socket on the same descriptor. This in turn results in a double free on the character struct.
https://www.tbamud.com/kunena/4-development/5617-another-core-dump-not-long-after-the-one-earlier
Thanks to JTP for the bug report.
* Added loop counter per while instead of global. fixes#135
* Revert "Added loop counter per while instead of global. fixes#135"
This reverts commit 59cf6a1fb2.
* Remove extraneous reset of loop var.
Fixes#135
Thanks to bylins for the fix - https://github.com/bylins