alexander171294 / RustMon

Rust game admin tool for servers (RustMonitor)
Apache License 2.0
21 stars 3 forks source link

When Better Chat plugin is installed, the names are doubled #23

Closed Bazimek closed 2 years ago

Bazimek commented 2 years ago

image

Bazimek commented 2 years ago

If you can make it (when better chat is installed) like this [TITLE] [NAME]: [MESSAGE] that will be really nice.

alexander171294 commented 2 years ago

this plugin? https://umod.org/plugins/better-chat

Bazimek commented 2 years ago

Yes.

alexander171294 commented 2 years ago

Done, can you test it, and say me if works or not?

thanks.

Bazimek commented 2 years ago

Sure I can.

Bazimek commented 2 years ago

Oh my god! You did so many great stuff in this update! This is like very big update. Looks so .... good! The best Rust Rcon tool ever. I love that I can see the server message in chat now, I just LOVE the console update (font and spacing if you using banlist or status command)

The yellow and VAC icons are very nice function too. The right click on names with so many options is awesome!

New favicon is a nice detail too!

Unfortunatelly I have still double names in chat.

alexander171294 commented 2 years ago

Thanks, I test it local with betterChat plugin and i can see ok the nick with better chat plugin format as this picture:

image

but i think, exist a bug when the dashboard is open, also i think my endpoint isn't updated.

Bazimek commented 2 years ago

yes but look at the chat it is [name] [title] [name] [text]

Can it be with this plugin [title] [name] [text] like in th econsole? Without doubling the name

alexander171294 commented 2 years ago

like the last message, in the pic, the first two message are loaded from previous session, and last message is shown when the dashobeard is open.

Bazimek commented 2 years ago

Exactly. I have a new messages with this opened and it it not like yours.

alexander171294 commented 2 years ago

i think is because are not really updated, in my instance is the same, i can't see correctly, but when i run it locally it works, is strange.

Bazimek commented 2 years ago

And can I somehow fix that for me?

alexander171294 commented 2 years ago

can you pull and try again?

Bazimek commented 2 years ago

Seems to like if they got the title is correct, but without it it is not:

image

alexander171294 commented 2 years ago

oh, i will work on fix it

alexander171294 commented 2 years ago

try again plz

Bazimek commented 2 years ago

Looking goood! Thank you for your great work! It is like like completely new version

Bazimek commented 2 years ago

Oh it works only when I start up and the history names was OK. But a new messages are not okay :(

alexander171294 commented 2 years ago

I pushed new update, check it, and tell me if its work

Bazimek commented 2 years ago

I think it is working ... nice job!

Bazimek commented 2 years ago

I move it to the website FTP like previous version, but I cannot again connect because of that https stuff if you remember. And I allow the settings in your tutorial but it does not work for this version.

alexander171294 commented 2 years ago

hmmm, were you able to fix it?, i don't remember your webpage to see what is the problem :(

Bazimek commented 2 years ago

IT was working on previous version IT Is rcon.gamearea.cz without https on different hosting IT works but not in https even with your tutorial

Bazimek commented 2 years ago

And some more bugs to report. In one player nickname (what I see for now) image It is not working I think it is because he has ":)" in his nickname.

And second thing: When I want to use copy steamID it says clipboard is disabled? (I am using http on different host for testing because as you know it is not working for me on that my main website)

alexander171294 commented 2 years ago

Related to the first bug: yes it's because the message without profile use : to split and in that case can't match the regex, it's really difficult to support that plugin because have a strange format in rcon console.

The second thing, I discovered that the clipboard only works in specific condition (a limitation of browser), the clipboard only works with ssl, localhost, but have a lot of problems, so I added the steam id in variety of places, like if you click (left click) in chat message you will see a popup with the steam id for copy, and that also works in player list.

now i pushed new feature, when a user report to another user with F7, then a popup is showed in top-right corner.

in the future i will add a popup with list of reports.

Bazimek commented 2 years ago

But the clipboard was working for me in previous version. And I get that it is not easy to fully integrate the plugin but I think thats ok. It is for me only for this one player with ":)" in nickname. But it works really great. Just IDK why now it does not work in my main domain with https (but disabled for this subdomain) like previous version was working.

alexander171294 commented 2 years ago

First: I updated the script adding multiple connection history (storing in a list the different connections, called previous sessions) obviously this only works with connections from the same computer, you can't see the connections of others users.

Second: your ssl is broken in https://rcon.gamearea.cz/ i got a warning of "unsecured site", could be the problem of clipboard.

Bazimek commented 2 years ago

I tried different webhost without SSL and the clipboard still does not work.

alexander171294 commented 2 years ago

Try with last updated (v1.3.0), and tell me what happens.

I implemented an old clipboard copy method, previous to 2015 but i think, that method has more support.

Bazimek commented 2 years ago

Ye now the clipboard is working.