Jump to content

Error while compiling LiveAdminChat: A using clause must precede all other elements defined in the namespace except extern alias declarations | Line: 1064, Pos: 2

Not a Bug 1.2.3

ChardaZAR
ChardaZAR

Posted

Updated to the latest version this evening

Got this error when compiling
 

Error while compiling LiveAdminChat: A using clause must precede all other elements defined in the namespace except extern alias declarations | Line: 1064, Pos: 2


What did I do wrong? 😆

Daemante

Posted

That is a bit odd. All "using" directives are at the top of the plugin before any namespace. Can you please try to download the plugin again. 

ChardaZAR

Posted

I completely removed the plugin from the server, re-downloaded it and it loaded just fine now

Obvious user error here

Thanks!

 

Screenshot 2025-01-15 at 08.28.13.png

Daemante

Posted

No worries, glad you got it working.

Daemante

Posted

Changed Status from Pending to Not a Bug

ChardaZAR

Posted

Encountered another issue 
Not sure if I should open a new ticket or not
Just thought I'd message here

I got Discord Chat running on a private channel so I can monitor chat when I'm online
and I also use Live Admin Chat that players can use when I'm not paying attention to Discord

They worked really well together, especially if I just wanted to chime in on in-game chat through Discord Chat

Now it looks like the two plugins are conflicting

Screenshot2025-01-15at19_39_28.png.0a6732d7aec1e6d9c01943532195cb2c.png

Daemante

Posted

Changed Status from Not a Bug to Pending

Daemante

Posted (edited)

Do you by chance have both plugins setup to use the same channel category? If yes, that is why its complaining. Live Admin Chat is monitoring all the channels in the specified category that you put in the config. So if any channel names don't conform to the 17 digit STEAM64ID standard it will complain. I would suggest creating a new category just for Live Admin Chat. I know this isn't exactly ideal as most people would like to combine channels of different types into the same category. I can likely add a check to ignore any channels that don't conform to what it is watching for.

Edited by Daemante
Daemante

Posted

Changed Status from Pending to Not a Bug

ChardaZAR

Posted

Dude you're an absolute genius
That was the exact problem

Thank you 🙏

  • Love 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.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.