Jump to content

Either crashes or doesn't load

Pending 2.1.6

Bear Grills
Bear Grills

Posted

I can't get this to work on the Atlanta Map. Without the custom map folder it won't load, with it (empty), it crashes.


c.reload BossMonster
Unloaded plugin BossMonster v2.1.6 by KpucTaJl
Loaded plugin BossMonster v2.1.6 by KpucTaJl [326ms]
[BossMonster] Loading files on the /oxide/data/BossMonster/Bosses/ path has started...
[BossMonster] File Clown has been loaded successfully!
[BossMonster] File Evil has been loaded successfully!
[BossMonster] File Franken has been loaded successfully!
[BossMonster] File Frankenstein has been loaded successfully!
[BossMonster] File Heavy has been loaded successfully!
[BossMonster] File Horror has been loaded successfully!
[BossMonster] File Jason has been loaded successfully!
[BossMonster] File King of the Night has been loaded successfully!
[BossMonster] File Michael Myers has been loaded successfully!
[BossMonster] File Oni has been loaded successfully!
[BossMonster] File Raptor has been loaded successfully!
[BossMonster] File Scary has been loaded successfully!
[BossMonster] Loading files on the /oxide/data/BossMonster/CustomMap/ path has started...
Failed to call internal hook 'OnServerInitialized' on plugin 'BossMonster v2.1.6' [352240293] (Could not find a part of the path '/home/container/carbon/data/BossMonster/CustomMap'.)
   at IntPtr System.IO.Enumeration.FileSystemEnumerator<string>.CreateDirectoryHandle(string path, bool ignoreNotFound)
   at new System.IO.Enumeration.FileSystemEnumerator<string>(string directory, EnumerationOptions options)
   at new System.IO.Enumeration.FileSystemEnumerable<string>+DelegateEnumerator(FileSystemEnumerable<string> enumerable)
   at new System.IO.Enumeration.FileSystemEnumerable<string>(string directory, FindTransform transform, EnumerationOptions options)
   at IEnumerable<string> System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(string directory, string expression, EnumerationOptions options)
   at IEnumerable<string> System.IO.Directory.InternalEnumeratePaths(string path, string searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at string[] System.IO.Directory.GetFiles(string path, string searchPattern, EnumerationOptions enumerationOptions) x 2
   at string[] Oxide.Core.DataFileSystem.GetFiles(string path, string searchPattern) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Configuration/DataFileSystem.cs:line 47
   at void Oxide.Plugins.BossMonster.LoadCustomMapPositions() in /home/container/carbon/plugins/BossMonster.cs:line 1579
   at void Oxide.Plugins.BossMonster.OnServerInitialized() in /home/container/carbon/plugins/BossMonster.cs:line 416
   at object Oxide.Plugins.BossMonster.InternalCallHook(uint hook, object[] args) in BossMonster.cs/Internal:line 313

c.reload BossMonster
Unloaded plugin BossMonster v2.1.6 by KpucTaJl
Loaded plugin BossMonster v2.1.6 by KpucTaJl [326ms]
[BossMonster] Loading files on the /oxide/data/BossMonster/Bosses/ path has started...
[BossMonster] File Clown has been loaded successfully!
[BossMonster] File Evil has been loaded successfully!
[BossMonster] File Franken has been loaded successfully!
[BossMonster] File Frankenstein has been loaded successfully!
[BossMonster] File Heavy has been loaded successfully!
[BossMonster] File Horror has been loaded successfully!
[BossMonster] File Jason has been loaded successfully!
[BossMonster] File King of the Night has been loaded successfully!
[BossMonster] File Michael Myers has been loaded successfully!
[BossMonster] File Oni has been loaded successfully!
[BossMonster] File Raptor has been loaded successfully!
[BossMonster] File Scary has been loaded successfully!
[BossMonster] Loading files on the /oxide/data/BossMonster/CustomMap/ path has started...
Connection to server closed.
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 0
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image

aimacak

Posted

@Bear Grills

Hello, I have attached a description of the BossMonster plugin, it contains information about what an ID is and how to get it yourself for custom maps, sometimes they are provided somewhere when buying a map, but you can always use this example to calculate them yourself using plug-ins that show information about entities, for example, EntityOwner from umod by command /prod when you look at the entity. I have also attached an Example file slightly modified according to this description, which is located in the BossMonster archive at the path data/BossMonster/CustomMap/Example.json, I also added the syntax of coordinates to it, global coordinates, to get the coordinates you need in the game, stand at the place where you want the boss to appear and write `printpos` in the console. Also, do not forget to check that the names of the Bosses correspond to the data files (presets) in the folder data/BossMonster/Bosses.

All files for custom maps are stored in the folder  oxide/data/BossMonster/CustomMap. You don't have to delete files from there, the plugin will understand by itself which map is currently installed on the server and will download only the necessary file if there is one in this folder. The plugin will tell you about this process in the console during the plugin loading. It will write in the console what file works on the current map, and what ones don’t work

If you want to create a custom place for the boss to appear on your custom map or on a map that is not in this list, you have to create the  ID  of this custom map. After that you need to place an item such as a  RAND Switch  on your map. It must be placed randomly, where it will not be visible to other players. You will get the identifier, if you add up the three coordinates of the position of this object from RustEdit (x, y and z) and write the resulting value in the parameter of your file (an example file can be taken from ready-made files) -  ID

As an example, let's take the coordinates  (26.896, -456.158, 527.258), then our identifier is  26.896 - 456.158 + 527.258 = 97.996

Then you need to indicate a list of bosses that will appear on your map. You need to copy the configuration data block for each boss. In the database parameters you will specify the name of the boss and a list of positions where it can appear

image.png

Example.json

2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

142.6k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.