Commit Graph

29 Commits

Author SHA1 Message Date
P0nk
c022c3595f Turn npc id magic numbers into constants 2021-11-07 12:36:00 +01:00
P0nk
8d10e3d1b0 Turn mob id magic numbers into constants 2021-11-07 12:15:36 +01:00
P0nk
4efd356cbf Turn item id magic numbers into constants 2021-11-07 11:39:09 +01:00
P0nk
69f4580637 Reformat and clean up "constants" package 2021-09-09 23:23:32 +02:00
P0nk
fef273ecc9 Rename and clean up MapleQuest 2021-09-09 22:42:02 +02:00
P0nk
2332458ed9 Rename and clean up MapleDataTool 2021-09-09 21:52:32 +02:00
P0nk
5089f23f79 Rename and clean up MapleDataProviderFactory 2021-09-09 21:51:34 +02:00
P0nk
1592d3efc8 Rename and clean up MapleDataProvider 2021-09-09 21:51:05 +02:00
P0nk
ae59916e98 Rename and clean up MapleDataFileEntry 2021-09-09 21:50:40 +02:00
P0nk
f3cae06288 Rename and clean up MapleDataDirectoryEntry 2021-09-09 21:49:08 +02:00
P0nk
2281aec440 Rename and clean up MapleData 2021-09-09 21:48:28 +02:00
P0nk
3e1b5b93d5 Rename and clean up MapleJob 2021-09-09 21:21:04 +02:00
P0nk
0c721b85dd Rename and clean up MapleDisease 2021-09-09 21:15:22 +02:00
P0nk
7dc3a2159a Rename and clean up MapleCharacter 2021-09-09 21:09:45 +02:00
P0nk
5ed7cf73d1 Rename and clean up MapleInventoryType 2021-09-09 20:49:05 +02:00
P0nk
05cae9022f Move charset loading to fix issue with static fields 2021-09-09 08:20:45 +02:00
P0nk
52551b2451 Load config.yaml using its own charset
Strings in the config are therefore respected by the configured charset
2021-09-08 20:01:43 +02:00
P0nk
c841e9952b Respect charset when loading scripts 2021-09-08 18:46:16 +02:00
P0nk
41cb6749c8 Make packet charset configurable
Better support for different language clients such as Thai or Korean
2021-09-08 08:26:34 +02:00
P0nk
86224f5152 Merge branch 'master' into netty 2021-07-11 15:20:00 +02:00
P0nk
b8781ee209 Merge branch 'master' into fix-tools
# Conflicts:
#	pom.xml
2021-07-11 14:53:11 +02:00
P0nk
14a405adb2 Consistent handling of wz files and their paths 2021-07-10 17:49:04 +02:00
P0nk
23bad12f8c Netty WIP
Implementing ByteBuf backed In/OutPacket first in a separate branch
2021-06-15 22:12:40 +02:00
James McDowell
ae744aa870 Merge remote-tracking branch 'upstream/master' into Custom-rebirth-npc 2021-05-26 19:44:58 +10:00
James McDowell
cff3d3df56 Added the ability to specify a custom rebirth npc id, which is automatically added to the list of scriptable npcs for overriding. Changed scriptable npcs to use config instead of a constants file, so that users can easily modify them without digging into the code and requiring a rebuild. 2021-05-16 14:46:38 +10:00
P0nk
a18a1cb8ce Replace NashornScriptEngine with implicit GraalJSScriptEngine
GraalJSScriptEngine implements Invocable, which is why casting to it works.
However, this is just a quick and ugly fix to make it compile.
A better solution would be to cast it once, immediately after `eval`,
and from then on only handle it as Invocable.

Scripts still need to be fixed. They are still using Rhino and Nashorn-specific
ways of importing packages.
Usages of "importPackage" and "Packages" need to be replaced with
the Graal specific "Java.type".
2021-04-17 15:12:19 +02:00
P0nk
3434c7334b cleanup: remove redundant cast 2021-04-08 17:39:55 +02:00
P0nk
5e3b346053 cleanup: use Java-style array declaration 2021-04-08 07:17:03 +02:00
P0nk
813643036b Switch to Maven file structure 2021-03-30 21:56:34 +02:00