Jump to content

Selecting a certain bot is not working

Closed 1.0.4

Ahmed Alkaabi

Posted

Hi,

Thanks for your awesome work. Your plugin is so fun.

However, I have encountered an issue selecting a bot from a specific permission.

For example, I have permission called `personalbuilder.small` and has multiple bots such as `sb1` and `sb2`,

In my case, when using chat command `/pbuilder sb2` will always choose the first bot which is `sb1`

  "Permissions": {
    "personalbuilder.small": [
      {
        "The name of the bot to be selected through the command when spawning": "sb1",

         ... //the rest of the code

       },

        "The name of the bot to be selected through the command when spawning": "sb2",

         ... //the rest of the code

       }

     ],

    "personalbuilder.medium": [
      {
        "The name of the bot to be selected through the command when spawning": "mb1",

         ... //the rest of the code

       },

        "The name of the bot to be selected through the command when spawning": "mb2",

         ... //the rest of the code

       }

     ]

 

walkinrey

Posted

Hi, i'll update it now, forgot about this fix

walkinrey

Posted

Changed Status from Pending to Closed

Ahmed Alkaabi

Posted

Thanks for the quick reply and support.

Can't wait for the next update.

Ahmed Alkaabi

Posted

I have tried the new version.

The second bot now spawns but doesn't respond. It says this:

 Calculation of the building drawing...

 

walkinrey

Posted

hi! any messages in the console? can i see your config?

Ahmed Alkaabi

Posted

Hi.

Yet, I got this is the error message I get in the console:
 

NullReferenceException: Object reference not set to an instance of an object

 

Find the config file in the attachment.

PersonalBuilder.json

walkinrey

Posted

Probably it can't find the building file. Can i see the contents of your oxide/data/copypaste folder? Also, can i see your server log? It's file called "output.txt" in the root server folder

Ahmed Alkaabi

Posted

You are right. It might have been a glitch.

after restarting the server it WORKED AS EXPECTED.

Thanks again for your professional support. KEEP UP 👍

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.