summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2025-05-16Fix "warning: this 'else' clause does not guard... [-Wmisleading-indentation]"fix_misleading_indentationFedja Beader1-10/+10
2/3 of this file use tabs for indentation, the rest uses mostly tabs. So let's just reindent this whole function with spaces.
2025-05-04Introduce SC_ELLIBAN and SC_INSPIREDJesusaves4-0/+38
2025-03-30Fix typoJesusaves1-1/+1
2025-03-29Several status conditions I'll need for the Showdown. All debuffs.Jesusaves7-3/+320
2025-03-29Fix some tabulation/spacing issues + additional commandJesusaves3-139/+201
2025-02-11Fix "'%s' directive output may be truncated writing up to 33 bytes into a ↵Fedja Beader1-5/+10
region of size 30 [-Werror=format-truncation=]" + some explanations what's going on + example password from my own local test server Some other buffers could also be shortened, but I CBA. MD5 is outdated anyways.
2024-08-11[PATCH] Add *duplicate/remove npc script commandHEADtmw2Emistry Haoyan3-0/+167
- `npc_duplicate()` duplicate any existing duplicated NPC. - `npc_duplicate_remove()` will remove any existing NPC other than source NPC. Edited by Jesusalva for ease of use in Moubootaur Legends context See also https://github.com/HerculesWS/Hercules/pull/2473
2024-08-03setq with illegal quest <= 0: Abort script execution, report errorJesusaves1-1/+8
2024-07-30I don't know how to squash this security vulnerability, so mark where it is.Jesusaves1-0/+5
No fix was detected upstream*. Vulnerability only happens when printing unsanitzed user input. I'll try to contact 4144, but he is MIA since May, might have been swallowed by the war, so if he doesn't reply I'll hunt someone else to test it in Hercules upstream. *: Naturally, I at very least cherry-pick any security fix they commit and I see
2024-07-27Homunculus evolution or swapping frameworkJesusaves3-0/+76
2024-07-27Fix theoretical bug I don't want to concern myself withJesusaves3-0/+8
2024-07-27Add a command to retrieve Homunculus GIDJesusaves3-0/+16
2024-07-23Dead Homunculus now only receive half of the experienceJesusaves1-1/+18
2024-06-28Reduce pet loot weight to 10kg to keep the 50% healing effect rule in mind.Jesusaves1-0/+3
2024-05-16so yeah sd also needs cecked for nullTest_User1-10/+3
and you can drop the earlier *srcPtr null check
2024-05-16Disable this code as we don't really need it.Jesusaves1-0/+7
2024-05-16fixTest_User1-1/+1
2024-05-09<\Test_User> looks like you'll need if (srcPtr && *srcPtr) { for that oneTest_User1-3/+1
<\Test_User> BL_CAST will function if *srcPtr == NULL, but it'll also "return" NULL, which is then dereferenced in that code as sd
2024-05-08Botter SyndromeJesusaves10-2/+79
2023-10-29Reject updates from setq to negative values (it is unsigned int)Jesusaves1-4/+5
2022-12-04Fix bug due to stupid syntaxJesusaves1-8/+12
2022-05-08Fix typoJesusaves2-2/+4
2022-05-08Add apiasync, for raw packetsJesusaves3-0/+17
2022-05-06Add support to make API updates with PYTHON_LOGS if set.Jesusaves3-0/+25
2022-03-04Bonus strength now affects max weight (10g each)Jesusaves1-0/+3
2022-02-06All new accounts will now have their passwords stored in SHA256.Jesusaves4-8/+70
Supersedes all previous authentication methods, except VAULT TOKEN. This is done on registration and when changing password.
2022-01-23Use TMW hash on user password when changing it.Jesusaves1-1/+2
It is not really an improvement, and is only used when changing password. Server still handles it internally as plain-text, but should avoid the password from being reused in a compromise... Maybe.
2022-01-02Implement SC_HALT_REGENERATION.Jesusaves6-0/+24
2021-12-29Add a fallback if source ends up messed upJesusaves1-0/+6
2021-12-29Allow source to be specified in harm() - for more precise calculationsJesusaves2-13/+16
2021-12-26Add advanced wrappers for Battle GroundsJesusaves3-0/+74
2021-09-20Update consoleinfo wrapper because the whole purpose of it is being caught ↵Jesusaves1-1/+2
by syslog
2021-09-20I'll need notice capability tooJesusaves3-0/+22
2021-09-20Add consolewarn() and consolebug() replacements for consolemes() and debugmes()Jesusaves3-0/+44
For the syslog monitor
2021-09-07Mount Bonus is now handled exclusively by item script.Jesusaves2-2/+5
ASPD penalty still handled by C code. Also, always report invalid operations on mailman. May help in fiding out if mailman ends up stealing players. (And futurely, in preventing that as well if it wasn't their fault)
2021-06-06add a script command to kick players offlineJesusaves3-0/+36
Author: gumi <git@gumi.ca> Date: Fri Jul 24 15:11:14 2020 -0400 You are currently cherry-picking commit 6d131f8. This reverts commit a22e3af8232b2e72e2c610339b3fd4fc9a0693e9.
2021-03-28This will be the next generation of rebirth system (trait-based).Jesusaves1-0/+15
Either that, or I'll end up moving this code to rEvolt and keep current one.
2021-03-01Add support to custom Homunculus skills.Jesusaves1-2/+10
2021-02-15Drop support for skill attack rate adjustment; Add support to Elemental adjust.Jesusaves4-13/+20
2020-10-14Book 5 extra chars on craft names so "Craft" word can fitJesusaves1-1/+1
2020-09-12add a script command to get craft recipe ingredientsgumi3-12/+79
fixup for getcraftrecipe
2020-09-12Fix all remaining bugsJesusaves1-1/+1
2020-09-12Revert "fix the hooks for npc->unload and mob->spawn_dataset, remove the ↵Jesusaves7-8/+30
unused hook for status->change_end_" This reverts commit fc19fdff65ee1561b2b1e30e5bab6906f65d34fa.
2020-09-12Partly Revert "update the call syntax of some internal functions"Jesusaves4-8/+8
This reverts commit 02963c54fa43b41ed8346e243c415e777e9caa4c.
2020-09-12fix the hooks for npc->unload and mob->spawn_dataset, remove the unused hook ↵gumi7-30/+8
for status->change_end_
2020-09-12update the call syntax of some internal functionsgumi7-12/+14
2020-09-12Syntax updateJesusaves1-1/+1
2020-09-12add buildin getnpcsubtype() to get nd->subtypeJesusaves4-0/+34
fix an incompatible assignment in buildin getnpcsubtype() Patch by gumi
2020-08-07Second degree of checking. I hate crashes.Jesusaves1-0/+4
2020-08-07PatchJesusaves1-1/+5