Commit Graph
896 Commits
Author SHA1 Message Date
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
Shahar6 cbc0b2707e Fix dupe glitch with wedding
PoC for the glitch:
https://www.youtube.com/watch?v=EoVGQtMkJOA&ab_channel=ThirtyOneFifty
2023-04-21 20:27:59 +03: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 10945927c1 Fix writeString not fully respecting charset
The string would be cut short for charsets
with characters more than 1 byte.
2023-03-02 18:11:41 +01:00
P0nk b30e03ffb3 Fix portal in Zenumist society not working for GM chr 2023-02-17 00:42:33 +01:00
P0nk 82157c7bd1 Flatten ChangeMapHandler 2023-02-16 23:46:13 +01:00
P0nk f89392b476 Refactor IdCommand 2023-02-04 19:46:09 +01:00
P0nk 771b69d151 Merge branch 'master' into feat/note-dao 2022-12-27 14:21:43 +01:00
P0nk 14d80dc2f3 Fix saving "Illegal program claim" report
No chatlog is provided in the packet for this type
2022-12-27 14:08:20 +01:00
P0nk cb38bcd270 Fix wrong timestamp format when saving report 2022-12-27 14:08:20 +01:00
P0nk 37a9a4121f Show confirmation after note is sent 2022-12-27 12:31:47 +01:00
P0nk 4731c0c60d Add tests for NoteService 2022-12-27 12:18:58 +01:00
P0nk 65111ae209 Create packet class for PacketCreator::showNotes 2022-12-27 12:18:36 +01:00
P0nk 2a460de911 Disable logging in tests 2022-12-27 12:05:51 +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 387437cada Workaround for Guild dependence on NoteDao 2022-12-27 11:05:00 +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 5f1f5b7dcd Fix saving note 2022-12-27 10:24:47 +01:00
P0nk c82881e6f2 Get rid of Character#sendNote, refactor usages of it 2022-12-26 18:09:09 +01:00
P0nk 6be1fabc55 Send wedding invitation note directly via dao 2022-12-26 18:07:41 +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
P0nk 605f2e212e Add NoteDao, used by NoteActionHandler to delete note when read 2022-12-26 18:07:41 +01:00
P0nk 188eb74a70 Add Note model object 2022-12-26 18:07:41 +01:00
P0nk 2d7d113458 Initial jdbi setup 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
Ponk 42d03a29e7 Merge pull request #133 from v3921358/master
Fix MiniGame Error
2022-09-29 19:37:20 +02:00
Ponk 675addf25c Merge pull request #137 from Sukishyou/fix-southperry-map-id-in-goto-command
Fix MapId for Southperry from old inaccessible map to correct one
2022-09-29 19:28:01 +02:00
Windyboy fd54c764e7 Change the position of the logic handle 2022-09-22 19:58:31 +08:00
Ponk a350d58065 Merge pull request #135 from cpurules/bugfix/lowb-reactor
Add handler for Land of Wild Boar's ritual stones
2022-09-22 07:19:49 +02:00
Sukishyou e999840f8e Fix MapId for Southperry from old inaccessible map to correct one 2022-09-21 20:30:51 -05:00