summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
AgeCommit message (Collapse)AuthorFilesLines
2025-02-03Fix specing's brainJesusaves1-6/+6
2025-02-02Add askyesnosafe(), the safer version of askyesno for space-mashers like myself.Fedja Beader1-2/+21
+ lovely reindent of askyesno() Also: 1. I shifted one `mes "";` a bit in rebirth code, that may or may not break stuff. ~~2. There must be another case of where to use askyesnosafe but I can't remember where.~~ * Applied 1 suggestions from the MR body. * Preserve old messages.. * nvm this is where it was missing * Add askyesnosafe(), the safer version of askyesno for space-mashers like myself. + lovely reindent of askyesno() **** ml/serverdata!172 Approved-by: Jesusalva Jesusalva <jesusalva@tmw2.org>
2025-01-29Fix some mistranslations reported by @Xtreem and Zegas' Barrel PoI.Jesusaves1-2/+2
More specifically, allow you to search the barrels after the quest.
2024-07-30[CVE] Unsanitized input via debugmes maybe can fire GM 99 commands.Jesusaves1-3/+7
It's logged, but still, I would rather not have this vulnerability. (It might not even be a real issue, but who's going to risk it?!)
2024-07-29Black Jack game, reward is [Beard]Jesusaves1-0/+6
2024-07-01Optimization: api_sql() which is an async wrapper for SQL queries.Jesusaves1-0/+14
This should reduce freezes, specially from DelItemFromEveryPlayer. Also fix an optimization error on picklog table cleaning. Note that if API is disabled, it'll use query_sql normally.
2023-07-13Add an extra disclaimer to be on the safe side. We're using XLITE version.Jesusaves1-0/+1
2023-07-13Backport Miller Shuffler Algorithm from TMW Crossroads.Jesusaves1-0/+28
(C) Copyright 2022 Ronald R. Miller, licensed under Apache 2.0 License
2022-09-24Add new passive skill: Realm of Drops.Jesusaves1-0/+3
2022-01-04Add the first (and possibly only) mention to chantingJesusaves1-0/+2
2021-10-17Aethyr Initial VersionJesusaves1-0/+5
2021-10-17Spice up things at Fortress Town Siege - The Five Heroes are immune to the stunJesusaves1-0/+25
2021-09-20Update some of the debugmes for usage with syslog facilityJesusaves1-2/+4
2021-08-21Treat speech with GSET_LONGMENU_DENSITY setting as well.Jesusaves1-2/+2
Most npcs no longer use it, but those whom do will honor it. (And be treated as text walls, so expect weird menus?)
2021-08-21Use dnext wrapper on narrator instead of the next.Jesusaves1-2/+2
This means that such NPCs will now always be treated as a text wall. Therefore, they'll respect GSET_LONGMENU_DENSITY setting.
2021-05-23Exception() - avoid self-errorJesusaves1-0/+9
2021-03-28Improve a bit our SQL queries syntaxJesusaves1-4/+4
2021-03-25Enforce validatepin() to take a while to respond to avoid its abuse.Jesusaves1-0/+2
2021-03-25If you somehow set a pincode in a weird way, politely refuse it.Jesusaves1-0/+4
The only accepted pincodes are those with email confirmation.
2020-05-13Rewrite how death will be handled on Hardcore.Jesusaves1-3/+5
Instead, it'll set a variable called grace, and this variable will exempt you.
2020-05-13Replace our script-induced deaths with new, custom, die() commandJesusaves1-0/+11
This will fix one of the HardCore Server bugs.
2020-02-05New function: tutmes()Jesusaves1-0/+18
Deprecate the crazy way we were doing before. Reason: I want to standardize a new color for tutorial speech.
2019-12-12The bug: a missing returnJesusaves1-0/+1
2019-11-06Interlude: Density option on recipe bookJesusaves1-0/+9
2019-09-07How did I ignored the existence of unequipbyid and getmapname?Jesusaves1-0/+1
Anyway, add boss fight music to 018-6-3. Hopefully this will become a norm.
2019-08-25Send Town Administrators salary based on reputation and exports.Jesusaves1-0/+7
It would be nice if you could get some tax money, no? %%a
2019-08-11New function: gf_charid(accid). This is for Refeer System.Jesusaves1-0/+7
2019-07-14I don't see any specific error message to don't use rand2() in any_of()Jesusaves1-1/+1
But if old bugs get revived CALL ME AT ONCE.
2019-07-14"Improve" rand2() randomness (well, this is still awkward)Jesusaves1-4/+4
2019-06-16Fix bugs on rand2()Jesusaves1-6/+3
2019-06-04Fix any_of() bugsJesusaves1-1/+4
2019-06-01Fix a bug on any() - seems to be a bit old thoughJesusaves1-1/+1
2019-06-01Improve randomizer functions with rand2() - a fix proposed by 4144.Jesusaves1-2/+15
2019-05-28Item crafting (Bugslayer and Wooden Sword) will now output named items ↵Jesusaves1-0/+19
(crafter name). And these named items will have the crafter's skills on them =D Great, now we need recipes and learning (both of these) :>
2019-05-24Order mattersJesusaves1-4/+5
2019-05-24More alpha bugsJesusaves1-4/+6
2019-05-23col() can now be used without arguments. It'll then default to color 9.Jesusaves1-1/+1
2019-05-04Fix some bugs on mobhunter, and update Exception() codeJesusaves1-1/+1
2019-05-02Move Exception() from Util to MainJesusaves1-0/+45
2019-04-22Replace VarDiffValue with is_betweenJesusaves1-8/+0
2019-03-17Release Lilit already I'm sleepyJesusaves1-1/+2
2019-03-03Remove duplicate codeJesusaves1-11/+0
2019-03-03This is Saulc patch, but done properly ^.^Jesusaves1-0/+20
(Actually no, but I like high talking distances >.>)
2019-02-05I still need to check if mesn is not doing pollution on functionsJesusaves1-5/+2
2019-01-14Introduce a new helper for main storyline: msObjective().Jesusaves1-0/+10
2019-01-12As I *always* follow priority orders (sarcasm),Jesusaves1-0/+7
Implement rewards on milestones on GHQ. Intro still broken. Grand Hunter Quest is in need of a major rewrite, I want Pet Detective to take over.
2019-01-01b() for **bold** textJesusaves1-0/+4
Example: b(l("hello")) → ##BHello##b or ##BOlá##b
2018-12-19Update Eugene quest experience. Prepare update system so old players get ↵Jesusaves1-1/+1
rewarded.
2018-12-14Squash bug, and add a getmap() helper for future usesJesusaves1-0/+6
2018-12-14Hercules Update (needed for pipelines)Andrei Karas1-2/+2