Merge with upstream#17
Merged
Merged
Conversation
* Add CodeQL analysis workflow configuration * Change CodeQL build mode from autobuild to manual * Fix exit code in CodeQL workflow Remove exit code 1 to allow successful completion of the job.
Added instructions for initializing and building the repository for agents
…st completion (tbamud#165) * Initial plan * Fix questmaster holding items: call extract_obj after AQ_OBJ_RETURN quest completion Agent-Logs-Url: https://github.com/tbamud/tbamud/sessions/f860d259-a59a-4c9b-a2b2-1f7a3a51990a Co-authored-by: welcor <357770+welcor@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: welcor <357770+welcor@users.noreply.github.com>
…d#167) * Better naming in do_drink. An unlimited source is never empty. * Add guard for negative amount when drinking from infinite source * Allow drinking from unlimited containers with current value of 0 * Fix unlimited drink container definition to allow negative current values Tested manually on localhost. Fixes tbamud#156 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… to previous dereference (tbamud#171) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
… to previous dereference (tbamud#172) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
… to previous dereference (tbamud#173) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
… to previous dereference (tbamud#174) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…n permissions (tbamud#170) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…check for a 'scanf'-like function (tbamud#169) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
tbamud#168) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
tbamud#175) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tbamud/tbamud/sessions/d031438d-2711-4447-b3df-9819d95d4058 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: welcor <357770+welcor@users.noreply.github.com>
…d#177) Introduced new system for unit tests based on the Unity framework. Added tests for some of the simple functions in four different files.
…ias expansion (tbamud#180) * Fix stack buffer overflow in perform_complex_alias() - add bounds checks * Refactor: use return value instead of char_data param in perform_complex_alias() * Add unit tests for perform_complex_alias() via perform_alias() Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: welcor <357770+welcor@users.noreply.github.com>
| int di, doff = 0; | ||
| dirs_str[0] = '\0'; | ||
| for (di = 0; *dirs[di] != '\n'; di++) | ||
| doff += snprintf(dirs_str + doff, sizeof(dirs_str) - doff, "%s%s", doff ? " " : "", dirs[di]); |
| int fi, foff = 0; | ||
| fields_str[0] = '\0'; | ||
| for (fi = 0; *door_field[fi] != '\n'; fi++) | ||
| foff += snprintf(fields_str + foff, sizeof(fields_str) - foff, "%s%s", foff ? " " : "", door_field[fi]); |
| int di, doff = 0; | ||
| dirs_str[0] = '\0'; | ||
| for (di = 0; *dirs[di] != '\n'; di++) | ||
| doff += snprintf(dirs_str + doff, sizeof(dirs_str) - doff, "%s%s", doff ? " " : "", dirs[di]); |
| int fi, foff = 0; | ||
| fields_str[0] = '\0'; | ||
| for (fi = 0; *door_field[fi] != '\n'; fi++) | ||
| foff += snprintf(fields_str + foff, sizeof(fields_str) - foff, "%s%s", foff ? " " : "", door_field[fi]); |
| int di, doff = 0; | ||
| dirs_str[0] = '\0'; | ||
| for (di = 0; *dirs[di] != '\n'; di++) | ||
| doff += snprintf(dirs_str + doff, sizeof(dirs_str) - doff, "%s%s", doff ? " " : "", dirs[di]); |
| int fi, foff = 0; | ||
| fields_str[0] = '\0'; | ||
| for (fi = 0; *door_field[fi] != '\n'; fi++) | ||
| foff += snprintf(fields_str + foff, sizeof(fields_str) - foff, "%s%s", foff ? " " : "", door_field[fi]); |
Owner
Author
|
conflict avoided merging... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.