P0nk
5aeed01e38
Fix not using the selected Cash shop surprise
...
If you have multiple, it would always use the first one. Now it uses whichever you select (as expected).
2024-06-16 15:08:48 +02:00
P0nk
6ab1af99da
Add tests for CashShopSurpriseHandler
2024-06-16 13:56:54 +02:00
P0nk
c7b2d218ef
Fix count not being updated after last Cash shop surprise
2024-06-16 12:59:30 +02:00
P0nk
01ae462b72
Refactor CashShop - add constants for cash types
2024-06-16 12:19:16 +02:00
P0nk
b67b29def5
Fix cash shop surprise count not properly updated on usage
...
This reverts the hacky solution made in db82cbcfae
2024-06-15 08:31:24 +02:00
Ponk
d22d9b603b
Merge pull request #228 from HarkuLi/feat/fix-npc-gain-meso #patch
...
NPC: Fix type casting error for `gainMeso()` method
2024-06-14 21:44:10 +02:00
Ponk
16b0a36c86
Merge pull request #238 from channarit1994/master #patch
...
Surprise Box Implementation
2024-06-14 21:33:08 +02:00
Channarit Sittiparat
db82cbcfae
Surprise Box Implementation
...
- Added showCashInventory after a successful gachapon opening in the CashShopSurpriseHandler.
- Added getItemsSize() condition to check the inventory size before proceeding with the cash shop surprise opening
2024-06-13 20:02:40 +07:00
remsus
eed47a9064
Check if the amount of damage lines doesn't exceed the max (autoban)
2024-06-11 18:44:47 +02:00
P0nk
4e743128e9
Remove all wildcard imports
2024-05-22 08:33:44 +02:00
P0nk
dee8651e61
Add DevtestCommand to easily test without restarting server
2024-05-21 21:36:54 +02:00
P0nk
04a92fe0c1
Remove buyback custom feature
2024-05-21 19:44:25 +02:00
P0nk
0eb78e2d9e
Use root db user by default
2024-05-09 22:08:28 +02:00
HarkuLi
0d684c1400
NPC: Fix type casting error for gainMeso() method
...
Number type values might be passed into the `gainMeso()` method in js
scripts, and thus it expects a `gainMeso(Double gain)` method in the
`NPCConversationManager` class.
2024-03-02 15:38:22 +08:00
Silwhoon
f9b328b432
Mob Skills now have a success rate
...
This was only used for MAGIC_IMMUNITY and WEAPON_IMMUNITY for some reason? A lot of other MobSkills also have a 'prop' node in the WZ files such as; Darkness and Seduce
2024-02-05 17:58:43 +00:00
Silwhoon
6f68f4edfd
Addressed nitpicks and removed unused item ID constants
2024-02-05 17:00:18 +00:00
Silwhoon
a7931c3e4d
New characters now utilise the MakeCharInfo.img data in the WZ files
2024-02-05 16:03:41 +00:00
P0nk
851b57e8ef
Fix able to gain infinite slots with clean slate scroll
...
And remove a GM config option.
Thanks Crabo for the suggested solution.
2024-02-05 08:34:36 +01:00
Ponk
ceb2866aa1
Merge pull request #214 from leevccc/master #patch
...
fix: item lock cant extend lock time
2024-02-04 14:22:00 +01:00
leevccc
08b089d9be
fix: seal lock cant extend lock time
2024-01-14 22:13:16 +08:00
leevccc
8b254a294e
fix: item lock cant extend lock time
2024-01-14 18:15:48 +08:00
yuzumika
5a4200cc8e
implement ByteBufInPacket.readUnsignedByte
2024-01-04 10:55:07 -08:00
yuzumika
cb0320a471
NPCMoreTalkHandler: don't underflow selection
2024-01-03 16:10:23 -08:00
yuzumika
db8666fc71
use isFace and isHair in ItemInformationProvider.getStringData
2023-11-24 01:38:34 -08:00
Ice Bear
7131e39c96
Merge pull request #1 from P0nk/master
...
Pull cosmic master into Peamy master
2023-11-10 11:40:55 +01:00
remsus
b80e9a3310
Bugfix: unable to complete scipted quests remotely
2023-11-10 00:20:52 +01:00
Ponk
03802666ef
Merge pull request #190 from ormizj/character-exp-log #minor
...
added logs for character exp gain
2023-11-08 21:16:57 +01:00
Ponk
ecd155f2bb
Merge pull request #201 from peamy/master #patch
...
BugFix: can't give CASH items to player (prepareInventoryItemList)
2023-11-08 20:50:50 +01:00
remsus
d6147d5191
Fix preparation of invList (CASH was skipped) in prepareInventoryItemList (AbstractPlayerInteraction)
2023-11-08 11:26:55 +01:00
王小宝
c3404d296a
Fix MTS sql syntax error and month error
2023-10-13 21:16:40 +08:00
Ponk
c609bcf2ee
Merge pull request #193 from P0nk/fix-192/playernpc #patch
...
Fix #192 - Unable to create PlayerNPC
2023-09-19 17:15:00 +02:00
P0nk
0aee9d7c3f
Fix unable to create playernpc
...
The initialization of the running world counters depended on worlds already having been initialized, so I made that dependency more explicit.
2023-09-19 12:56:51 +02:00
P0nk
a49c1703ae
Remove developer player npc
2023-09-18 23:26:37 +02:00
ormizj
c145a53688
fixed wrong method call
2023-09-15 01:04:22 +03:00
spiderpig60
c744935dd0
changed starting server to vanilla values
2023-09-10 21:48:02 +03:00
spiderpig60
90b44c3a8b
added timed thread, added batch, cleaned code
...
changed starting value to false
2023-09-10 21:36:52 +03:00
spiderpig60
60a44252ea
added logs for character exp gain
2023-09-10 01:53:53 +03:00
leevccc
e320bafa8b
fix: error flag after use karma
...
setFalg() function is designed to take arguments of type short. Forcing the short type flag to be converted to the byte type causes some errors here.
For example, the equipment merge system will make the UNTRADEABLE flag become 520, combined with the Scissors of Karma 16, and finally become 536, this value is beyond the byte range, and the mandatory variable type will cause the flag error, the specific problem I encountered is that the MERGE_UNTRADEABLE flag is lost after using the Scissors of Karma.
2023-09-08 04:59:56 +08:00
Arnah
2d7525f2b4
Fix cashshop exiting not using proper ip
2023-08-16 16:19:16 -06:00
Arnah
7adb25888f
Stop masking ip address when connecting locally
2023-08-16 00:53:40 -06:00
Ponk
d307eff71f
Merge pull request #177 from LynxStar/patch/mini-dungeons #patch
...
Fix mini-dungeon portals for parties
2023-07-10 23:09:51 +02:00
Arthur Charlton
b935725096
Handle the potentially null portal based on the name.
...
Matches the behavior of warping a character to a named portal.
2023-07-10 17:01:48 -04:00
Arthur Charlton
07eb0f5e8e
Untangle nested control flow conditions.
2023-07-05 14:16:09 -04:00
Arthur Charlton
cfb5fc25c3
Calling code assumes the pair never null and uses -1 to signify not found.
2023-07-05 14:12:42 -04:00
Arthur Charlton
3816e1c5bd
Add the warp party function that the scripts use
2023-07-03 18:25:14 -04:00
Ponk
c9d551cd39
Merge pull request #173 from MatthewHinds/gm-security #minor
...
GM security changes to prevent item/mesos abuse
2023-05-29 15:50:03 +02:00
Matthew Hinds
95bf0473f3
Adjusted based on feedback
2023-05-29 14:32:01 +12:00
Matthew Hinds
a9d92b78a2
Meso drop restricted by GM level
2023-05-29 12:57:01 +12:00
Matthew Hinds
4546fd44ff
To prevent abuse, GMs should be permission restricted (via GM level) to trade with other non GM players, use their storage (prevent transferring to their other characters), send via Duey and to drop items. GM level is configurable.
2023-05-12 18:02:08 +12:00
Matthew Hinds
216fa9341b
Removed level up messages as it is non GMS like and a bit cringey
2023-05-12 14:47:18 +12:00