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
7adb25888f
Stop masking ip address when connecting locally
2023-08-16 00:53:40 -06: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
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
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
Sukishyou
301f65ce16
Add null check to duey packet edit check
2023-04-15 14:36:00 -05:00
Sukishyou
f1b95fe45e
Fix exploit with Duey Send Items
2023-04-14 19:43:51 -05:00
P0nk
f89392b476
Refactor IdCommand
2023-02-04 19:46:09 +01:00
P0nk
cee82a08ba
Remove ItemInformationProvider field in Character
...
This field prevented creation of Character mock in tests
2022-12-27 11:59:14 +01:00
P0nk
af14da987e
Replace FredrickProcessor dependence on NoteDao
2022-12-27 11:04:11 +01:00
P0nk
389b3ad2a4
Add NoteService to handle note operations
...
NoteService should be the only class with access to NoteDao;
nowhere else should NoteDao be accessed directly.
Channel dependencies are static in PacketProcessor, for now.
Ideally they would be injected in the constructor,
but since the constructor is private and I don't want to open
up that can of worms, I'll leave it like this.
At the very least, now we have a way of injecting services into
the handlers. This will make further restructuring way easier.
2022-12-27 10:34:55 +01:00
P0nk
c82881e6f2
Get rid of Character#sendNote, refactor usages of it
2022-12-26 18:09:09 +01:00
P0nk
4d480660b5
Rework sending notes to chr, get rid of the first method
...
Sending notes should not be the handled by Character
2022-12-26 18:07:41 +01:00
P0nk
1f4ce98998
Show notes using NoteDao
2022-12-26 18:07:41 +01:00
Matthew Hinds
32f6194a75
Adjusting name
...
Adjusting name and added it to the config
2022-10-13 21:27:57 +13:00
Matthew Hinds
dd260e7b2a
Toggle the NX coupon loot notice
...
Added a toggle to the showHint that announces the NX gain on a NX coupon loot
2022-10-13 21:23:49 +13:00
P0nk
1a28fc98ac
Commit to "tameness" name over "closeness" for pets, fix scripts
2022-09-15 17:12:21 +02:00
Windyboy
388ee5c805
Fix dead people could be revived with a party hp potion
2022-09-15 01:02:34 +08:00
P0nk
d31f4806fc
Fix mob using attack with no diseaseSkill causing errors
2022-09-12 20:31:38 +02:00
P0nk
df5159e34c
MobSkillFactory throws exception instead of returning null
2022-09-07 19:25:30 +02:00
P0nk
a6ec6adbb5
Combine type and skillLevel in MobSkill
2022-09-03 14:07:24 +02:00
P0nk
7a784a7938
Disease and MCSkill hold MobSkillType instead of int
2022-09-03 05:20:54 +02:00
P0nk
fba49e7eec
MobSkillFactory takes MobSkillType instead of int as id argument
2022-09-03 04:52:55 +02:00
P0nk
84890ac308
Support sealing mob skill
2022-08-29 19:40:24 +02:00
Charlie Unfricht
3a16a724f5
Add forceEnjoy parameter to Pet.gainClosenessFullness to ignore existing fullness value
2022-08-17 16:39:21 -04:00
Windyboy
97f358f047
Analyze pet packet structure correctly
2022-08-17 14:07:39 +08:00
Charlie Unfricht
cd706c544b
Fix bug where non-200 capped classes can't rebirth
2022-08-16 02:17:49 -04:00
Charlie Unfricht
b0b197a7a5
Update executeReborn to take in a job id
2022-08-16 02:11:38 -04:00
P0nk
d691dc1e18
Prefer Path.of() over Paths.get()
2022-08-11 19:01:40 +02:00
P0nk
229252cd63
Fix deprecations
2022-08-11 15:18:09 +02:00
P0nk
4fb632ecdb
Remove monitored locks (fair), use basic version
2022-08-11 14:45:48 +02:00
P0nk
54878ebe8c
Remove monitored locks with default fairness, use basic version
2022-08-11 14:26:23 +02:00
P0nk
8657b765b1
Remove monitored read/write locks, use basic version
2022-08-11 14:16:06 +02:00
P0nk
c7af125afc
Remove FaceExpressionService
...
Face expressions are automatically defaulted back after 5 seconds by the client, anyway
2022-08-11 11:48:11 +02:00
truongdatnhan
7f7b28874f
Remove comments
2022-08-11 16:08:45 +07:00
truongdatnhan
72a87cae43
Merge pull request #8 from truongdatnhan/eclipse
...
Removing unused comments
2022-08-11 16:05:10 +07:00
Đạt Nhân Trương
53914bbd32
Removing unused comments
2022-08-11 16:02:53 +07:00
truongdatnhan
68663146c8
Merge pull request #7 from truongdatnhan/eclipse
...
remove comments
2022-08-11 15:58:57 +07:00
Đạt Nhân Trương
8e395b0770
remove comments
2022-08-11 15:58:18 +07:00
truongdatnhan
d9fa632204
Merge pull request #6 from truongdatnhan/eclipse
...
Moving checking null for storage to when loading character
2022-08-11 01:35:38 +07:00
Đạt Nhân Trương
85e5356a9c
Moving checking storage null to when loading char
2022-08-11 01:33:48 +07:00
Đạt Nhân Trương
0ef3e69638
Clean up code, replace switch and try-with-resource where possible.
2022-08-07 21:51:10 +07:00
Đạt Nhân Trương
f983b4dccf
Clean up code & Upgrade syntax to new Java
2022-08-07 01:35:02 +07:00
Đạt Nhân Trương
571d804f50
Character storage won't get initialize at first time on server
2022-08-05 19:33:15 +07:00
P0nk
c2b28b5148
Merge branch 'master' into various-fixes
2022-08-03 07:43:02 +02:00
ronancpl7
905a0260a6
Wrap around hpDec schedules ( #75 )
...
* Wrap around hpDec schedules
Merges hpDec schedules at character into a world schedule.
* Patch hpDec timer reset on changing maps
Patch timer reset on changing maps with hpDec.
* Update Character.java
* Update Client.java
* Update World.java
Co-authored-by: Ronan Lana <rcpl2010@gmail.com >
2022-08-03 07:42:15 +02:00