Commit graph

650 commits

Author SHA1 Message Date
kinther
b6864f8db9 Remove junk vanishment 2025-08-20 09:28:37 -07:00
kinther
41742a168a Fix emoting system 2025-08-20 09:24:27 -07:00
kinther
603b82fc0f Remove auction, grats, gossip 2025-08-20 08:04:01 -07:00
kinther
cf621e02c1 Update gain_skill function with timers 2025-08-19 13:56:23 -07:00
kinther
3560427902 Add basic combat skills 2025-08-19 13:18:53 -07:00
kinther
16cd1fac05 Add four new classes 2025-08-19 10:54:28 -07:00
kinther
1cf23d76b0 Remove qsay 2025-08-19 09:40:03 -07:00
kinther
f5cae94e14 Remove redundant skillset command 2025-08-19 07:15:18 -07:00
kinther
5aec076135 Emoting system 2025-08-19 07:10:24 -07:00
kinther
944dc92bc9 Add skill gains on skill failures 2025-08-18 13:06:00 -07:00
kinther
00c475736c Add class skills upon chargen 2025-08-18 08:26:56 -07:00
kinther
93da215633 Move tell/reply to staff commands 2025-08-17 11:51:14 -07:00
kinther
dbf38a2c38 Remove holler command 2025-08-17 11:34:46 -07:00
kinther
1f707eee74 OOC command 2025-08-17 11:14:58 -07:00
kinther
a045045eec Updated set skill command to account for multi-word skills 2025-08-17 11:05:35 -07:00
kinther
993a94634e Add set skill command 2025-08-17 09:32:59 -07:00
kinther
5a19b015e3 Remove practice command, add skills command, remove guild special room assignment 2025-08-17 09:12:48 -07:00
kinther
31e46e739d Change title to be immortal+ command 2025-08-16 16:02:51 -07:00
kinther
5271729109 Update junk and donate 2025-08-16 15:56:08 -07:00
kinther
96f82a90e1 Remove levels command 2025-08-14 17:26:51 -07:00
kinther
868da4ed84 Reduce to five total levels 2025-08-14 13:15:10 -07:00
kinther
7ba065b069 Remove sacrifice and donate commands 2025-08-14 12:51:49 -07:00
kinther
ff7d3efcf2 Update score command output 2025-08-14 12:43:13 -07:00
kinther
8d46830d85 Remove line indicating XP gain on kills 2025-08-14 12:37:49 -07:00
kinther
fa1af68fdf Remove XP sacrifice gain and 2025-08-14 12:37:31 -07:00
kinther
7d2afcdee0 Remove XP gains for mortals 2025-08-14 12:28:08 -07:00
kinther
69caa31b8a Remove happyhour 2025-08-13 15:55:39 -07:00
kinther
9ce2340f7d Remove happy hour 2025-08-13 15:41:29 -07:00
Thomas Arp
f6339b495e
Feature/clang tidy (#154)
* 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.
2025-07-02 22:34:57 +02:00
Thomas Arp
3e0c1ccc18
Support cmake (#153)
* First cmake list file, simple docs.

TODO: utils folder.

* Support for building utils

* All fields except HAVE_DOPRNT in place

* Now builds and runs :)
2025-07-02 22:23:10 +02:00
Thomas Arp
b9d84fc325
Make sure %target% also works in act triggers and code cleanup (#152)
* Make sure %target% works in act triggers

* code cleanup. Remove inline block, make variable names more understandable.

Ref https://www.tbamud.com/forum/4-development/4525-confused-over-piece-of-code-in-parse-room
2025-07-02 22:22:36 +02:00
Thomas Arp
bdaca46e79
Added a new trigger type for mobs, called "Damage", that triggers every (#151)
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.
2025-07-02 22:22:17 +02:00
Thomas Arp
f1794521cf
Feature/issue 141 immort where (#142)
* 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
2025-07-02 22:21:14 +02:00
Thomas Arp
89eb009c4f
Remove webster lookup since it no longer works (#99)
* 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
2025-07-02 22:18:40 +02:00
Thomas Arp
9a0a096f85 Merge remote-tracking branch 'refs/remotes/origin/master' 2025-07-02 21:27:07 +02:00
Thomas Arp
ba7dc7bf6f convert docs files to utf-8 2025-07-02 21:26:19 +02:00
Thomas Arp
558e71eed8 ignore .idea from clion IDE 2025-07-02 21:25:34 +02:00
Marthammor
a4af23538f
Add MTTS support (#150)
MTTS support - thanks to marthammer for the patch
2025-06-28 23:58:14 +02:00
Thomas Arp
b471ff195e
avoid freeing obj_proto[].name. (#149)
fixes #148
2025-05-06 23:15:06 +02:00
Rumble
392f3d90b8 Staying ahead of the power curve 2025-04-16 12:24:37 -07:00
Thomas Arp
be8de64cf8
fix buffer overrun act.informative.c (#146)
Ref https://www.tbamud.com/kunena/4-development/5636-bug-in-do-toggle-in-act-informative-c#10540

Thanks to Ironfist for the fix
2025-02-19 21:18:39 +01:00
Rumble
5024dd8e66 Updated for 2025 release 2025-01-09 23:57:59 +00:00
Thomas Arp
69888a5d89
Update aedit.c (#145)
fixes #144 

Thanks to @gbstott for the bug report
2025-01-08 22:57:39 +01:00
haloway13
1ccb6adaee
Update dg_olc.c (#143)
Better auto-formatting of dg_scripts. Thanks to haloway13 for the patch.
2025-01-01 11:05:54 +01:00
Thomas Arp
d3227f1300
Fix bug in process_output (#140)
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.
2024-12-30 12:30:29 +01:00
Thomas Arp
88b3027ec6
Bugfix/135 while freezes the mud (#138)
* 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
2024-09-28 20:29:11 +02:00
Victor Augusto Borges Dias de Almeida
7036a15782
Changes to make the code compile normally on macOS. (#137)
Changes in configure to set crypt lib dynamically depending on the OS
2024-09-22 11:15:28 +02:00
welcor
e59420363a Merge branch 'master' of git@github.com:tbamud/tbamud.git 2024-09-16 22:26:44 +02:00
Thomas Arp
c838a513dd
Added loop counter per while instead of global. fixes #135 (#136) 2024-09-16 22:25:29 +02:00
welcor
ed9e5e1c5a Merge branch 'master' of github.com:tbamud/tbamud 2024-06-20 22:48:59 +02:00