Page 1 of 3

Evidence v1.0 // Start chatting, in group mode!

Posted: 18 Aug 2015, 16:31
by Dommy
Image

The first ever group-chat server controller for ManiaPlanet!

Detailed documentation on GitHub

What is Evidence?
Evidence is a replacement for the default chat plugin offered by Nadeo, which turns your ManiaPlanet into a group chat server. It's like a server controller, but for your chat. Once installed, when you start ManiaPlanet, you also start the group server. Only players that are your buddies or sent you an invitation can join you. Plugin offers many administrative tools for the player - you are able to mute, kick or ban players, set someone else as operator, let connected players that aren't buddies themselves communicate private with /pm and /pmr, send formatted messages like /hi or just let someone ragequit. Everything is covered with simple interface running in two modes: group and online. When in group mode, all messages you send are received by players connected to your server. When in online mode, select a buddy from the list to communicate with him only, just like in normal chat. With the interface your'e also able to easily mute/kick/join to play other players on the server, by pressing buttons on their cards.

How does it work?
With magic. Client sending message -> Received by buddy using server => Message sent to other users in the group

If your buddy is using Evidence script instead normal chat, you can join his group be sending him /join command directly in your chat (/leave = opposite). You don't need to download anything to join someones server, you just connect his group and messages of other players connected to your buddys server appear as messages from him (prefixed with nickname to see who send what). You can connect someone only if you have him in your buddy list or you sent him request. You don't need to have other connected users in your buddy list to receive their messages and send them private messages via /pm. While connected, typing to your buddy will send your message to all other connected users. Server supports usual commands you know from normal game servers, such as /hi, /me, /gg, /pmr, /rq. Server works only when hosting buddy is online.

Organize your party!
So, how to organize your own group chat? Simple! Just look below. One player must become a host for others and download the Evidence plugin. This player must have all users you want to talk with in his buddy list, otherwise non-buddies won't be able to join the group. All other players don't need to download anything to join the hosting buddy. They only need to send him /join message. When everyone are connected to the host, your party is ready!

Key features
  • Replace your chat with a group conversation server (with client to itself).
  • Completely different UI, prepared for managing a group conversation.
  • One chat window, displaying everything you receive - group and private messages
  • Two conversation modes - sending a message to the group or individual players.
  • Saving up to 250 messages for each conversation in the messages history.
  • Multiline support for messages and connecting messages from the same sender into one block.
  • Access to two unused before statuses: Wanna talk! and Snooze.
  • Commands support.
  • Automatic leaving of players going offline.
  • Easy player finding from login: need only 4 chars to find a player ("/hi domi" will result in "Hello ԍτx» dommy'54!").
TODO
  • Framerate optimization.
  • Notificatins on connection and messages.
  • Disable notifications and sounds when in Busy status.
  • Settings tab and easier mute/ban management tab.
  • Ingame overlay with last 5 messages preview, instead of notifications (optional).
  • Update notifications - check every 30 minutes if new version is available.
Download and installation
Before downloading: Make sure you want to be a server - consult with other buddies who will be the best option to host a party. Or miss this warning and check out how awesome it is. Really.

Click to download
Save the file in this location: C:\Users\[you]\Documents\ManiaPlanet\Media\Manialinks\Common\Chat\Chat.script.txt
Make sure you renamed Evidence.Script.txt to Chat.Script.txt!

To uninstall the plugin, just remove or rename Chat.Script.txt file.

All changelogs are available in documentation at GitHub:
https://github.com/domino54/title-packs/wiki/Evidence

Have fun with chatting in group!
- domino54 / Dommy
You're amazing
- Ze-Rax

Keep working on it, because it's the best thing you ever did
- Anonymous

/me congratulates Domino
- Law

Ozom, noice
- Nerpson

GJ man
- Dreammyw0w

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 18 Aug 2015, 23:54
by djhubertus
DAMN SON. You made it!

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 00:08
by novationx
could u make a buddylist where:
- my friends actually get my messages :p ?
- urls become clickable automatically
- where multiple lines of texts are grouped into 1 line
- I can give an alias to a buddy ( so i can remember who he/she is when they've changed nicknames for the 100th time )
- You can see if your friend is in the map editor or using another tool

:D I'm mostly looking for that ^^. I dont know why I'd wanna be talking in groups :p in a gaming-platform ^^

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 09:00
by kripkee
nice tool :D
but:
How can I add buddies? How can I see "MP-Mails"?

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 09:45
by Cerovan
Nice code :thumbsup:

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 12:12
by Dommy
novationx wrote:could u make a buddylist where:
1 - my friends actually get my messages :p ?
2 - urls become clickable automatically
3 - where multiple lines of texts are grouped into 1 line
4 - I can give an alias to a buddy ( so i can remember who he/she is when they've changed nicknames for the 100th time )
5 - You can see if your friend is in the map editor or using another tool

:D I'm mostly looking for that ^^. I dont know why I'd wanna be talking in groups :p in a gaming-platform ^^
1 - Doesn't depend on which chat do you use, It's mostly problem of buddies manager engine.
2 - Of course I can.
3 - Can you explain it a lil' bit more?
4 - Of course I can.
5 - Partially possible, can set status depending on CManiaplanetPlugin::EContext.
:thumbsup:
kripkee wrote:nice tool :D
but:
1 - How can I add buddies? 2 - How can I see "MP-Mails"?
1 - There was going to be special "buddy card" for adding buddies at the end of the list in Online tab, but I had not enough time. Of course it will be done in future update.
2 - Just forgot to add this button somewhere. :mrgreen:
Cerovan wrote:Nice code :thumbsup:
Would be even nicer if you (Nadeo) would provide us documentation for CManiaplanetPlugin again (the archival one I use is over 2 years old now). :teub:

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 14:02
by Cerovan
domino54 wrote:Would be even nicer if you (Nadeo) would provide us documentation for CManiaplanetPlugin again (the archival one I use is over 2 years old now). :teub:
You've diverted a plugin to do a new plugin while the class isn't ready to be used externally, you're burning the steps :P

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 14:25
by 011000010110111001101111
domino54 wrote: Would be even nicer if you (Nadeo) would provide us documentation for CManiaplanetPlugin again (the archival one I use is over 2 years old now). :teub:
You can't even see that, obviously, this was not intended to be public?

To me your plugin is just an abuse of the chat system. I would not be surprised if it's blocked.

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 14:49
by Dommy
011000010110111001101111 wrote:You can't even see that, obviously, this was not intended to be public?

To me your plugin is just an abuse of the chat system. I would not be surprised if it's blocked.
Well, the same installation comes with experimental chat Cerovan used to share us on the forum some time before:
viewtopic.php?t=31415

In my POV, its obvious that this plugin is not abusing chat system, it uses the same mechanics, except it is written by me from blank file. Plugin I share to everyone is not sending spam to anyone, moreover it has a few new features, which original chat is missing, and of course plugin itself lacks some things from original script too. The goal is to provide group-messaging ability for players, not abusing ManiaPlanet mechanisms. Plugins abilities itself are also limited. They can actually only manage buddies systems, display manialink interfaces and generate game keys for title packs created by you.

Even official documentation from Nadeo proves, that plugins will be available to public soon.
http://doc.maniaplanet.com/creation/man ... et-plugins
The global plugins are not available to the players at the time being. Once it will be the case, it will be possible to create small tools directly inside ManiaPlanet. You will be able to improve the current buddy system or create a new instant messenger by example.
Cerovan wrote:You've diverted a plugin to do a new plugin while the class isn't ready to be used externally, you're burning the steps :P
I just like to break the systems, you know. :roflol:

Re: Evidence v1.0 // Start chatting, in group mode!

Posted: 19 Aug 2015, 15:27
by Rots
Does this tool come with aimbot? speedhack?

No, right? So there's no abuse.