-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Issues with Inventory Assignment, Spawn Flags, and Configuration in Exiled API 9.0-beta-2 #2777
Comments
Fixed in #2779 |
The inventory manager and spawn locations (tested with dynamic and role) aren’t working in 9.0.0 beta-5. It seems that the RoleID (e.g., Scientist) is overriding these settings. Currently, roles can be assigned (tested with the command crs g). However, there’s a minor issue with the team spawning command (cts s 1), as it doesn’t seem to recognize the ID correctly, even though cts i 1 worked. Settings within the pointers are not working, seems like the settings are overridden anyway by settings spawned by default inside the main file. I'll provide more details e.g. trace soon. |
As I promised there is the trace:
|
Will take a look right now |
Check with beta.6 👍🏼 |
[Beta-6] Command The issue I am facing now is with
|
The spawn properties should be fixed in the mentioned PR (A.k.a beta-7) Also make sure to set the Spawn Flags to None if you're gonna use Custom Inventories and Custom Spawn Positions |
Exiled 9.0.0 Beta 2
EXILED Version ("latest" is not a version): 9.0-beta-2
Repo
My repo with the code base:
Results of
pluginmanager show
command in console:Logs
https://pastebin.com/Sdmxwjb7
https://pastebin.com/eXHRF2Jr
https://pastebin.com/7JXgHv8t
Additional Context
https://pastebin.com/a0tfE9pd
https://pastebin.com/dPFu2H55
https://pastebin.com/JFvvbA7e
(Settings from the Config class ain't replicated here)---
(Literally this is the context of this file -> "---". It is missing stuff declared within the Config class in C#.)---
(Same as above)The Description
While testing the Exiled API 9.0-beta-2 with a custom setup, I encountered several issues
1. Inventory Not Assigned on Spawn:
The inventory specified in the InventoryManager configuration is not being assigned upon player spawn. Below is the configuration used:
Despite this configuration, the custom role does not receive the specified inventory items upon spawning. Furthermore, when forcing the role (replacing the scientist via config so the scientist always spawns as a custom class at the round start), the inventory does not appear, and spawn flags are not triggered. With the current configuration, the spawn does not even occur.
2. Spawn Flags and Properties Not Working
The following spawn flags and properties are not functioning as expected:
In testing, a custom scientist class was assigned a broadcast "You've spawned as " as intended, but it did not receive the custom equipment and spawned at the default location instead of the specified spawn points.
3. Configuration Issues with Separate Files
When moving the configuration to a separate file using the following pattern, the assigned values in the config file are not recognized:
4. Severe Lag and Server Instability with Multiple Players
When testing custom spawns with another player, the server experienced significant lag spikes after the second player joined. The server mostly stopped functioning correctly, with only the Nuke controls via Remote Admin working (for reasons unknown). Other commands, such as teleportation, map control, and noclip, did not work. Eventually, the server stopped sending heartbeat signals altogether. I couldn't reproduce this currently but I'll try and add paste bins to this thread later on.
Guides I've used
I followed the implementation guide closely, as outlined in this article, but these issues persist. Any insights or fixes would be greatly appreciated. I also tried doing things more like in the custom role guide but received similar results.
The text was updated successfully, but these errors were encountered: