16 Commits
Author SHA1 Message Date
MrTransistor fcf1a877b6 Merge remote-tracking branch 'origin/master' 2023-10-02 03:32:07 +03:00
MrTransistor e391884484 Added shooting correction for target speed 2023-10-02 03:31:52 +03:00
MrTransistor e410ee8d09 Version bump 2023-08-11 21:30:54 +03:00
MrTransistor 7d212a4c30 Code cleanup 2023-08-11 21:26:19 +03:00
MrTransistor ba1f3a1d89 Code cleanup 2023-08-11 21:26:12 +03:00
MrTransistor 4d04e75f01 Code cleanup 2023-08-11 21:26:03 +03:00
MrTransistor 86df28a1b4 Code cleanup. Fixed bug with bots still being on fire when respawned after death 2023-08-11 21:21:24 +03:00
MrTransistor 6f3b9bf1b3 1.19.2 update (changed spigot version in gradle build script, changed CraftBukkit version, changed chat.Component.getContents() to .getString())
Added e.printStackTrace when CommandDispatcher is failing to find a method
2022-08-19 19:25:20 +03:00
MrTransistor 6c44745317 Added more WIP pathfinding stuff 2022-04-15 22:45:03 +03:00
MrTransistor 85884dfb42 Merge remote-tracking branch 'main/master' 2022-04-07 01:10:22 +03:00
MrTransistor 4ab5b3319f [+] Added locale field to prevent 3rd party plugins that are using aikar`s ACF library from throwing NoSuchFieldException when a bot joins.
[+] Added pathfinding test (commented out)
[+] Bots now don't shoot at endermen and dead entitied
[+] Shooting range increased from 35 to 50 blocks
[+] /afkutils controlBot changed to /afkutils control
2022-04-07 01:07:53 +03:00
MrTransistor 3fcfacd74e [+] Added locale field to prevent 3rd party plugins that are using aikar`s ACF library from throwing NoSuchFieldException when a bot joins.
[+] Added pathfinding test (commented out)
[+] Bots now don`t shoot at endermen
[+] /afkutils controlBot changed to /afkutils control
2022-04-07 01:04:25 +03:00
MrTransistor 677a6ee101 Added ranged attacks!!! (finally) Bots can now use bows, crossbows, tridents and snowballs/eggs to attack nearest mob with command.
Fixed some bugs to do with occupied names.
2022-04-06 01:11:49 +03:00
MrTransistor 585696552a [-] move xp calculation to DummyPlayer#die() - can`t do but fixed some problems with xp drops
[+] use kick instead of force disconnecting when removing with specified command
[+] Prevent dummies from overwriting online players
[+] test if dummy can be auto-kicked by a player for duplicate login
[+] test if player cache works in offline mode - works but players somehow get different uuids from what they had with online mode
[+] remove dropping inventory and xp on disconnect
[+] reimplement saving bots (maybe with manually refreshed skins if there`s no native way to do that)
[+] add a method to rejoin bots without resetting position, gamemode, etc.
[+] remove command for removing bots by name
[+] delete messages for spawning/removing bots
[+] fix bots teleporting to their disconnect coords if being removed after kill
[+] fix bots rejoining while server is running delayed init tasks
[+] fix bot disconnect not removing them from bot list
[+] move event listeners into separate class
[+] fix a bug that newly added players that are not actual accounts will be invincible and don`t load all skin layers
[+] fix a bug with bot names using registered account names
[+] add a system for storing active server players to prevent bots using their names
[+] 1.18.2 update
[+] bump the version number
2022-04-03 01:41:51 +03:00
MrTransistor 38a359c950 Moving to native PlayerEntity handling (no more packet manipulation). Added fix for PaperMC's post-chunk-load player join handling. Added WIP bot saving. Added automatic resource processing to gradle build script.
Switched to reflection-based command dispatcher. Removed unnecessary stuff
2022-03-03 03:57:10 +03:00
MrTransistor 79e1ab20f3 NMS 1.18.1 update. Moved to Gradle project. Added remapping script for Mojang mappings. 2022-02-03 11:38:47 +03:00