Commit Graph
1180 Commits
Author SHA1 Message Date
Luis C.M 88e90668be Merge branch 'patch' into dev 2023-06-01 22:48:40 -05:00
Luis C.M 0006526c32 NBTJsonUtil:
-Reverted previous changes, lowered performance.
2023-06-01 22:48:22 -05:00
Luis C.M ed6e09a617 Merge branch 'patch' into dev 2023-06-01 22:02:44 -05:00
Luis C.M b17a425dd8 ScriptLivingBase & ScriptWorld:
-Added additional IEntity[] ignoreEntities parameter to ignore those entities when creating lists.
-For ScriptLivingBase, the entity using getLookingAtEntities is ignored.
2023-06-01 22:02:27 -05:00
Luis C.M 0692c4362f ScriptWorld:
-Made offset parameter for rayCastEntities() have a use again
2023-06-01 21:29:29 -05:00
Luis C.M 414818ab8d ScriptWorld:
-Made rayCastEntities() use a function similar to rayCastPos() to create its entity list.
2023-06-01 21:24:59 -05:00
Kam 081c5500a3 Remove find Object Colon Index 2023-06-01 20:34:25 -04:00
Luis C.M b191ede19c Merge branch 'patch' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/fx/CustomFX.java
2023-06-01 18:15:54 -05:00
Luis C.M 6febeeea02 ScriptCustomItem:
-Fixed custom item visually disappearing after editing a script.
2023-06-01 18:12:15 -05:00
Luis C.M 9c5d5a8d73 PacketHandlerServer:
-Fixed custom items not updating scripted data
2023-06-01 17:53:08 -05:00
Luis C.M 598e8ede7c CustomFX:
-Now uses image caching, commit copied from dev without using the new ClientCacheHandler class.
2023-06-01 17:29:35 -05:00
Luis C.M a21ce47a60 CustomFX:
-Now uses image caching
2023-06-01 17:26:42 -05:00
Kam ba392395a4 Fix DBC Render Error 2023-06-01 18:22:48 -04:00
Luis C.M dd54e46df4 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/renderer/customitem/CustomItemRenderer.java
2023-06-01 16:36:47 -05:00
Luis C.M f5ac14b93e Merge branch 'patch' into dev
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/custom/components/CustomGuiButton.java
#	src/main/java/noppes/npcs/client/gui/custom/components/CustomGuiTexturedRect.java
#	src/main/java/noppes/npcs/client/renderer/customitem/CustomItemRenderer.java
2023-06-01 16:35:04 -05:00
Kam 25230ba93b Make Louis Mad 2023-06-01 17:14:50 -04:00
Kam 34c6c1d6e3 Merge branch 'patch' into dev 2023-06-01 17:12:12 -04:00
Kam f213cab261 Add Search to Manage Banks 2023-06-01 16:10:38 -04:00
Kam bf78c1be0f Display Selected Wand Tags in Cloner 2023-06-01 12:29:28 -04:00
Kam ff5e7de1be Save NPC Quick Tags properly on Close 2023-06-01 12:29:16 -04:00
Luis C.M 01339e7baf ScriptLivingBase:
-Reverted previous change, not worth the inaccuracies it would cause on servers
2023-06-01 00:49:33 -05:00
Luis C.M 62ee42a23d ScriptLivingBase:
-Slightly improved getLookingAtPos() results
2023-06-01 00:36:40 -05:00
Luis C.M a8a0528275 ScriptWorld:
-Increased the accuracy of rayCastPos().
2023-05-31 23:59:11 -05:00
Luis C.M 0e9ddd75b6 Fixed index out of bounds error on custom GUI slot clicks. 2023-05-31 20:21:00 -05:00
Luis C.M 0c25d7ec1c Reverted changes to saving/loading player data from previous commit to 2023-05-31 19:59:20 -05:00
Luis C.M b3a5854ff1 Merge remote-tracking branch 'origin/patch' into patch 2023-05-31 18:55:12 -05:00
Luis C.M 7000b525f3 Fixed entity custom item rendering, and rendering of textures for custom GUI buttons and rectangles. 2023-05-31 18:55:06 -05:00
Kam 075e3fdb41 1.8.4 Version Change 2023-05-31 19:34:24 -04:00
Kam 5befe141bd Fix Searching in Clone Tab to now account for the displayed tags 2023-05-31 18:45:10 -04:00
Luis C.M f5e4d702b1 ClientCache renamed to ClientCacheHandler, moved ImageData into the client package. 2023-05-31 00:56:15 -05:00
Luis C.M 118d79f3ad Added synchronization blocks to functions retrieving objects from CacheHashMaps and made the API use one for caching item stacks as well. 2023-05-31 00:35:57 -05:00
Luis C.M 3bc02a708e Moved entrySet() call outside of for loop 2023-05-30 23:43:10 -05:00
Luis C.M 46febe5c0a CacheHashMap:
-New class extending from the HashMap class, only takes CacheHashMap.CachedObject as values, which itself is a template class.
-On every call to get(), it goes through its values and removes any that are past a set age in millis.

ClientCache:
-New class with static CacheHashMap and function to get image data, will do more caching later on.
2023-05-30 23:41:37 -05:00
Luis C.M ab8e966f71 NpcAPI:
-Made item cache key removal a synchronized code block
2023-05-30 01:46:29 -05:00
Luis C.M 45a139ea68 NpcAPI:
-Further fix to concurrent modification exception
2023-05-30 01:37:08 -05:00
Luis C.M 65f3f8fc74 NpcAPI:
-Fixed concurrent modification exception
2023-05-30 01:33:18 -05:00
Luis C.M 500034f5f5 Merge branch 'patch' into dev 2023-05-30 01:28:02 -05:00
Luis C.M 895d20335f DataScript:
-Now doesn't create a new instance of NpcAPI
2023-05-30 01:27:34 -05:00
Luis C.M f260bb688a ScriptItemStack & NpcAPI:
-Created a cache for scripted item stacks
2023-05-30 01:25:20 -05:00
Luis C.M 1ce5b7b302 ScriptCustomItem:
-Fixed issue where NBT data was not being sent to the client side, caused by latest commit.
2023-05-30 00:56:39 -05:00
Luis C.M 7c4965d368 ScriptCustomItem:
-Made engine for containers also set on saving
2023-05-29 23:59:57 -05:00
Luis C.M a0adf0d7bd Fixed item toss event not being cancellable. Setting a script container's engine doesn't happen on every script call now, reducing lag. 2023-05-29 23:57:45 -05:00
Luis C.M 2ec6e5b753 PacketHandlerServer:
-Fixed global scripts still running old versions of their scripts when changed.
2023-05-26 00:22:14 -05:00
Luis C.M 130ac26879 ScriptContainer:
-Fixed issue where the full code the script engine evaluates wouldn't get remade after being changed
2023-05-25 22:18:54 -05:00
Luis C.M cbf99be297 PlayerData:
-Renamed loadPlayerDataFromFile() to load(), and moved it next to the save() function for later addition to the API.
-Moved saving/loading to EP functions where they used to be.
-Removed now unused PlayerData.get() and loadPlayerDataOld() functions

ServerEventsHandler:
-Added new EntityConstructing event to add the PlayerData EP earlier.

NoppesUtilPlayer:
-questCompletion() now saves player data right before its return statement.
2023-05-21 02:48:30 -05:00
Luis C.M dc42beee15 Merge branch 'dev' into patch
# Conflicts:
#	src/api
2023-05-20 21:15:14 -05:00
Luis C.M b49402f8bd Implemented ImageData object caching for custom GUI button & rect elements 2023-05-20 19:23:54 -05:00
Luis C.M 8df94aaf67 IDBCPlayer:
-Created separate mastery functions for racial and non-racial forms.
2023-05-20 16:13:15 -05:00
Luis C.M ed5cfad00d IDBCPlayer:
-Changed mastery functions to use a boolean for racial or non-racial forms.
2023-05-20 15:00:58 -05:00
Kam a9961ed740 Update to 1.8.4-beta 2023-05-19 14:29:08 -04:00