[IMG]http://csc.matt-walton.net/images/csc.png[/IMG]
Recently, I have seen a high demand for this type of addon so I decided to sit down for a few hours and develop and release one.
[B]What is CSC?
[/B]
CSC is an addon that can be used to communicate across multiple garry's mod servers, this can be useful for a community who hosts lots of servers and wants players to be able to communicate between them
[B]Features:[/B]
- Communicate with an infinite number of servers.
- Created with sockets, which makes it very fast to communicate between servers and eliminates a useless database.
- Easy to configure and add servers.
- Bundled PHP class that can be used to communicate with players on the server, outside the server.
[B]How do I get it?[/B]
I have created a github page which can be found here [URL]http://csc.matt-walton.net/[/URL] - This page includes everything you need to know about the addon and how to install and configure it.
I changed the command to "!gl" and it doesn't work? Am i correct on typing into chat "!gl hi *password*"?
[QUOTE=freshmintyy;40021402]I changed the command to "!gl" and it doesn't work? Am i correct on typing into chat "!gl hi *password*"?[/QUOTE]
You don't need to include the password in the text, the password is purely backend. Check your console for errors please
L 03/24/2013 - 12:48:59: Lua Error: Couldn't include file 'includes\modules\glsock2.lua' (File not found) (@addons/csc/lua/csc/sv_csc_init.lua (line 23))
L 03/24/2013 - 12:48:59: Lua Error:
[ERROR] addons/csc/lua/csc/sv_csc_init.lua:23: Module not found!
1. require - [C]:-1
2. unknown - addons/csc/lua/csc/sv_csc_init.lua:23
3. include - [C]:-1
4. unknown - addons/csc/lua/autorun/sv_csc.lua:2
Those are the errors
Read the installation instructions ([url]http://csc.matt-walton.net/[/url]). You don't have glsock2 installed.
Awesome addon! Thanks for taking the time to make something much needed in the community.
[QUOTE=Matt W;40021869]Read the installation instructions ([url]http://csc.matt-walton.net/[/url]). You don't have glsock2 installed.[/QUOTE]
I have 2 servers, I'm on one of the servers and i type "!gl can you hear me." it comes up in chat on the server where i said it, but the other server it does not? Help?
[QUOTE=freshmintyy;40022048]I have 2 servers, I'm on one of the servers and i type "!gl can you hear me." it comes up in chat on the server where i said it, but the other server it does not? Help?[/QUOTE]
Paste console logs again please, and PM me your config files for both servers.
Nice addon! Very useful.
Any chance of a linux build / could anyone help me with instructions as to how this would be built for Linux? I'm not great with C++ (novice really) but I really would like to be able to put this on my servers.
[QUOTE=thelastpenguin;40028123]Any chance of a linux build / could anyone help me with instructions as to how this would be built for Linux? I'm not great with C++ (novice really) but I really would like to be able to put this on my servers.[/QUOTE]
I'll have a go at building for linux tonight
Subscribed to this thread for interest, if you compile for linux that would be awesome
I quickly compiled it for linux, but I currently do not have access to linux game-servers so if someone could test it for me that'd be great [url]https://github.com/MattWalton12/CSC/blob/master/misc/gmsv_glsock2_linux.dll?raw=true[/url]
Have been using the addon for a few days, it's been awesome! Thank you!
I can not get this working i have read the instuctions over and over with no luck please help im putting it on 2 home hosted servers for testing then moving it to my main build servers
[QUOTE=Matt W;40070152]I quickly compiled it for linux, but I currently do not have access to linux game-servers so if someone could test it for me that'd be great [url]https://github.com/MattWalton12/CSC/blob/master/misc/gmsv_glsock2_linux.dll?raw=true[/url][/QUOTE]
Testing this right now, will edit this post...
edit 1:
[T]http://i.imgur.com/eVcJIxR.png[/T]
Is it looking in the wrong areas or do I just not fully understand the error? [I][SUB]Or maybe I did something wrong, but I put the linux module into /lua/bin...[/SUB][/I]
edit 2:
Turns out I'm actually mentally deficient and only put the module into one server, getting this now (on both server's start up):
[IMG]http://i.imgur.com/cSqPMTc.png[/IMG]
[QUOTE=tonymul;40109759]I can not get this working i have read the instuctions over and over with no luck please help im putting it on 2 home hosted servers for testing then moving it to my main build servers[/QUOTE]
Post your config file.
This broke my DarkRP server... none of the commands worked like OOC, and my friend said jobs didn't work. Here's my config file
[CODE]csc.config.port = 13376 // The port you want to host the CSC Server on
csc.config.password = "REDACTED" // Secure password so other servers cannot spam your chat remotly (These must be the same across all servers)
csc.config.id = "Stranded" // Unique server ID (visible in chat) so you can recognize your servers (This must differ on each server)
csc.config.alltext = false // Do you want all chat to be global?
csc.config.chatcmd = "/a" // If not, what do you want the chatcommand / prefix to be?
csc.config.faillimit = 3 // How many password failures before an IP ban (stops password bruteforce)
csc.config.showonsent = true // Show the global chat on the same server that sent it?
// Chat command only settings
csc.config.cooldown = 5 // Cooldown for global chat (in seconds)
csc.addServer("74.91.123.94", 27015)
csc.addServer("63.251.20.53", 27015)[/CODE]
For the DarkRP config it's the same but the addservers are switched around, and the ports and IDs are different.
/a also didn't work
edit: the darkrp is fixed, for some reason, random =s and >s got into my config.lua and shared.lua that I didn't do
/a still doesn't work though
[QUOTE=Pazda;40122091]
edit: the darkrp is fixed, for some reason, random =s and >s got into my config.lua and shared.lua that I didn't do
/a still doesn't work though[/QUOTE]
Should be some red text in console with [CSC] prefixed to it, can you send it to me please
Nope, there's none
[QUOTE=Lerpaderp;40113874]Post your config file.[/QUOTE]
i have got it working now the problem was due to a port error on my router
Has anybody gotten the Linux module working?
I have tried renaming the module also.... [lua][ERROR] addons/crossserver/lua/csc/sv_csc_init.lua:15: Could not load module!
1. require - [C]:-1
2. unknown - addons/crossserver/lua/csc/sv_csc_init.lua:15
3. include - [C]:-1
4. unknown - addons/crossserver/lua/autorun/sv_csc.lua:2[/lua] still errors :(
Unless I'm missing something, there isn't any support for actually viewing the Chat Messages sent in CSC using the PHP Class. It'd be quite awesome if there were support for that, if you could add it.
I don't even get lua errors from this and it just doesn't work, even to show sent messages on the same server.
[QUOTE=NotSoSuper;41600436]Well If someone could get this fixed that would be awesome![/QUOTE]
This addon works.
This install instruction makes no sense?
Ok.
Really must say you need to reword your instructions as they do not explain anything really the right way.
Server one has CSC installed and glsock
Server1:
csc.config.port 13375
csc.addServer("119.252.191.31", 13375) // Setup the first server, duplicate this for each entry
csc.addServer("119.252.191.31", 13376) // Setup the first server, duplicate this for each entry
Server2:
csc.config.port 13376
csc.addServer("119.252.191.31", 13376) // Setup the first server, duplicate this for each entry
csc.addServer("119.252.191.31", 13375) // Setup the first server, duplicate this for each entry
Servers are not communicating with eachother, they have differernt ports because in your instructions you say they can be uniqe "can be" and that you "cannot" have the same one on each csc server.
Am i misinterpreting or what?
[QUOTE=Lerpaderp;40371269]Has anybody gotten the Linux module working?
I have tried renaming the module also.... [lua][ERROR] addons/crossserver/lua/csc/sv_csc_init.lua:15: Could not load module!
1. require - [C]:-1
2. unknown - addons/crossserver/lua/csc/sv_csc_init.lua:15
3. include - [C]:-1
4. unknown - addons/crossserver/lua/autorun/sv_csc.lua:2[/lua] still errors :([/QUOTE]
i have a working copy of the linux module if you need it pm me
the link to download the fixed module is
[url]https://www.dropbox.com/s/8qo72qwvxelj36j/gmsv_glsock2_linux.dll[/url]
its working for me but if you get any trouble with it let me know and i will try to help
Thank you man, I needed this badly!
Sorry, you need to Log In to post a reply to this thread.