Commit graph

821 commits

Author SHA1 Message Date
Dragon Slayer
90e028b7d9 Create stairs.js 2025-09-22 15:35:00 -05:00
Xoduz
3229f0ed3a Fixes for weapon and armor definitions
- [UPD] Updated all Item definitions for weapons and armor to always inherit a default set of properties regardless of era. Some eras default to data from other eras, in cases where there's not much difference between them. GETUO, GET2A, GETUOR all point to the definition entries for T2A, while GETTD, GETLBR all point to LBR entries, GETAOS, GETSE point to AOS entries, and GETML and above all point to TOL entries.
- [FIX] Fixed many instances of GET tags pointing to incorrect entries, including some cases that were self-referential, and some duplicate era-specific tags
- [FIX] Fixed some missing variant/aliases for kite/heater shields across all colored armor types
- [FIX] Added missing GETUO tag support in code for Item definitions, which was only defined for NPC definitions previously
- [FIX] System messages about dismissing guild members and broadcasts to guild members about new Guild Master now use the actual name of the character being dismissed/promoted to GM, even if the characters are incognito/disguised
- [FIX] Account system will now save the actual names of characters on the account, even if they are incognito/disguised
- [FIX] Added 'get priv and 'set priv # commands to js/commands/targeting/get/set.js the privilege property for characters
2025-09-21 10:22:30 +08:00
Dragon Slayer
14ff27b342 Lighting Update
- [ADD] Added all new lights
- [FIX] Fixed spacing around brackets
2025-09-04 21:15:09 -05:00
Xoduz
46b82842ac Fix for onSkill scripts
- [FIX] Fixed incorrect parameter order in all scripts that use onSkill JS event
2025-08-22 06:15:17 +08:00
strattond
298ae2f553 Add onProfile* events. Update JS documentation 2025-08-21 20:47:00 +10:00
strattond
08e2a1a3cb Guild refreshed based on PR feedback 2025-08-21 07:41:16 +10:00
strattond
d5194eef9c Merge remote-tracking branch 'origin/develop' into feature/typescript-def 2025-08-19 09:54:35 +10:00
strattond
4a1760f8a3 TriggerEvent could return almost any type, as it invokes *other* events by name only 2025-08-13 15:13:44 +10:00
strattond
36d6c0745a Revert "Use BaseObject instead of Character | Item where appropriate"
This reverts commit 0c870a5c92.
2025-08-13 15:01:25 +10:00
strattond
0c870a5c92 Use BaseObject instead of Character | Item where appropriate 2025-08-13 14:58:43 +10:00
strattond
9ded72183c Remove context restore functions 2025-08-13 14:55:28 +10:00
strattond
bf1a5ae360 Add JSDoc for command registration 2025-08-13 14:49:57 +10:00
strattond
1a55b3796b Gump support 2025-08-13 14:43:10 +10:00
strattond
3831c7e4db Finish event fixups. Update scripts 2025-08-13 10:33:27 +10:00
strattond
5aecf0ba81 More event return validation 2025-08-12 16:45:07 +10:00
strattond
03c0199f28 More fixups for events 2025-08-12 12:43:20 +10:00
strattond
e916663aab Fixups to JSDoc 2025-08-12 12:21:49 +10:00
strattond
faf7b4672a Fix two events. Update JSDoc for the scripts 2025-08-12 11:31:41 +10:00
strattond
875bdf1fb4 Fix callback signature 2025-08-12 11:05:29 +10:00
strattond
702e764204 Finish out character methods 2025-08-11 18:32:56 +10:00
strattond
39261a3644 More character functions. Finish out some enum values 2025-08-11 17:45:13 +10:00
strattond
966263f026 Resolve item/char narrowing 2025-08-11 07:26:46 +10:00
strattond
5ce1c081c9 Item functions 2025-08-11 07:01:59 +10:00
strattond
2c2939064f Callback JSDocs 2025-08-08 11:44:42 +10:00
strattond
7daa5b952d Common base object methods 2025-08-08 07:42:50 +10:00
strattond
57342b6baf Add Multi methods 2025-08-07 14:34:10 +10:00
Dragon Slayer
dce5e001ab Bug Fixes
- [FIX] Replaced incorrect 'pSocket' with 'socket'.
- [FIX] Fixed missing <big> tag in tooltip HTML.
- [UPD] Removed unnecessary 'default: break;' from switch statement.
- [FIX] Added missing semicolon after 'break' in case 1.
- [FIX] Corrected 'mininterval' to 'minInterval'.
- [FIX] Corrected 'maxinterval' to 'maxInterval'.
2025-08-06 20:15:46 -05:00
strattond
564ae6f16f Treat each script as it's own module 2025-08-07 08:52:21 +10:00
strattond
0c0c77b6f2 onUseChecked JSDocs. Fix some enum values 2025-08-06 20:58:54 +10:00
strattond
6a53759445 Fix TriggerEvent definition. Add ts check to every script 2025-08-06 20:37:11 +10:00
strattond
c9bb1cf05b Start plugging in TS checks 2025-08-06 19:21:47 +10:00
strattond
57ed3b8884 Mining Data, Town Region props and methods 2025-08-06 17:48:58 +10:00
strattond
e2bb3b3840 Merge remote-tracking branch 'origin/develop' into feature/typescript-def 2025-08-06 08:33:47 +10:00
Dragon Slayer
86a8062077 Merge branch 'develop' into BOD-Fixes 2025-08-04 16:56:24 -05:00
Xoduz
3c4b014d92 Guild-specific updates
- [ADD] Integrated FindGuildId( const CGuild* ) in guild relation functions for better JS mapping (Thanks to Xuri for the base implementation)
- [ADD] Added new JS Function:
 - CreateNewGuild() // Returns the guild object for further setup
- [ADD] Added new Guild JS Methods: .AddMember( targChar ), .AddRecruit( targChar ), .RemoveRecruit( targChar ), .RemoveMember( targChar ), .RecruitToMember( targChar ), .IsAtWar( targetGuild ), .IsAlly( targetGuild ), IsNeutral( targetGuild )
	Added documentation entries for all new guild/character functions and methods
- [ADD] New JS Event that triggers when GUILD button in paperdoll is pressed:
 - onGuildButton( mChar )
- [ADD] Added new Guild JS Property: .id (guild number)
- [ADD] Added new Character JS Property: .guildNumber
- [UPD] Updated Guild JS Methods and renamed them:
 - Renamed .NewMember( trgChar ) to .AddMember( trgChar )
 - Renamed .NewRecruit( trgChar ) to .AddRecruit( trgChar )
 - Renamed .GuildIsAtWar( targetGuild ) to .IsAtWar( targetGuild )
 - Renamed .GuildIsAlly( targetGuild) to .IsAlly( targetGuild )
 - Renamed .GuildIsNeutral( targetGuild ) to .IsNeutral( targetGuild )
- [UPD] Removed Character JS Method .CheckGuild(). Can be checked via .guild and/or .guildNumber properties
- [UPD] 'get command can now be used to fetch guild information for characters. Example: 'get guild / 'get guildnumber
- [UPD] Updated 'add item sectionID command to support optional amount. New syntax: 'add item sectionID amount
- [FIX] Fixed an issue with 'wholist command where characters with serials in the millions would not show up in the list
2025-08-05 04:05:43 +08:00
strattond
d6b86d2fa7 Start adding syntax checks on JS 2025-07-20 07:30:55 +10:00
Dragon Slayer
c01f132e6d Fixed smallbod.js
- [FIX] Fixed Multi Gumps opening at same time when using small BOD.
2025-07-19 00:50:45 -05:00
strattond
a9dfade94b Create entry related updates 2025-07-16 14:34:42 +10:00
strattond
000f02486e Merge remote-tracking branch 'origin/develop' into feature/typescript-def 2025-07-10 08:45:58 +10:00
Dragon Slayer
f4fc37644f sound effect 2025-07-08 16:47:43 -05:00
Dragon Slayer
bdb21a86e8 small tag fix
promise this my last one
2025-07-08 15:45:32 -05:00
Dragon Slayer
6010f42845 small update
This last update
2025-07-08 15:39:27 -05:00
Dragon Slayer
e622b5b0ce Update healing.js 2025-07-08 15:21:15 -05:00
Dragon Slayer
9ff7353fb7 Added Deathtime 2025-07-08 14:50:11 -05:00
Dragon Slayer
9d6c6ddc33 Update instabond.js 2025-07-08 14:13:42 -05:00
Xoduz
0ca218cbd6 Added support for large radio/checkbox button IDs
Added [Tame] and [Bonded] to character tooltips of tame/bonded animals and updated Dictionary files
Updated .AddRadio() and .AddCheckbox() Gump Methods to support 32-bit unsigned int for the buttonID
2025-07-09 01:17:59 +08:00
Dragon Slayer
e3b69b4a9d update to vet
Thanks Xuri
2025-07-07 17:50:16 -05:00
strattond
1415950655 Add Race properties and methods. Add Guild methods. Add Skills properties 2025-07-07 18:59:24 +10:00
strattond
82fd8555eb Guilds, Parties and more Char props 2025-07-07 14:37:39 +10:00
Dragon Slayer
6fa9361f75 Updates 2025-07-06 21:42:05 -05:00