Raised This Month: $51 Target: $400
 12% 

[Any] Source Chat Relay [Discord <=> Ingame]


Post New Thread Reply   
 
Thread Tools Display Modes
Obyboby
Veteran Member
Join Date: Sep 2013
Old 02-06-2019 , 19:02   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #31

Quote:
Originally Posted by RumbleFrog View Post
Armv7 artifact added, try it out

Works!
I still have to set the database credentials, I'll report back when I get some time to do that and complete the setup.
Thanks for now!
__________________
Obyboby is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 02-07-2019 , 09:01   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #32

I dont know why but bot disconnects from Discord if i close opened SSH terminal (X-Shell in my case).

How i can leave socket server (Relay) working without terminal (i don't know Linux well)? (okay i found method (not the best, but...) with launching ./server & exit)

There's also "bind: address already in use" error when i'm trying to restart socket server. (fixed by using fuser)
__________________

Last edited by MAGNAT2645; 02-07-2019 at 11:21.
MAGNAT2645 is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 02-07-2019 , 15:28   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #33

Quote:
Originally Posted by MAGNAT2645 View Post
I dont know why but bot disconnects from Discord if i close opened SSH terminal (X-Shell in my case).

How i can leave socket server (Relay) working without terminal (i don't know Linux well)? (okay i found method (not the best, but...) with launching ./server & exit)

There's also "bind: address already in use" error when i'm trying to restart socket server. (fixed by using fuser)
You can use system service, screen, nohup, etc
RumbleFrog is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 02-08-2019 , 11:22   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #34

Ok, thank you. I've created autolaunch script (contains cd and nohup commands) for @reboot in crontab.
__________________
MAGNAT2645 is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 02-08-2019 , 20:53   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #35

Quote:
Originally Posted by MAGNAT2645 View Post
Ok, thank you. I've created autolaunch script (contains cd and nohup commands) for @reboot in crontab.
That also works
RumbleFrog is offline
TheBOSS
Member
Join Date: Nov 2018
Old 02-08-2019 , 21:12   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #36

what this bazooka plugin in video
TheBOSS is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 02-08-2019 , 21:22   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #37

Quote:
Originally Posted by TheBOSS View Post
what this bazooka plugin in video
Dodgeball? It's a heavy fork from the original one which isn't available anymore.
RumbleFrog is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 02-09-2019 , 04:25   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #38

Idk what's the problem but autolaunch script don't work after linux boot.

My autolaunch script (works if you launch it manually):
Code:
#!/bin/bash
cd /home/SourceChatRelay
nohup ./server &
Crontab line:
@reboot /home/SourceChatRelay/autolaunch >/dev/null 2>&1

Nohup log just said this (before rebooting):
time="2019-02-09T05:00:01+03:00" level=info msg="Received exit signal. Terminating."
__________________
MAGNAT2645 is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 02-09-2019 , 10:51   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #39

I'd try system service instead
RumbleFrog is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 02-09-2019 , 13:31   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #40

Is there any way to add server script without cd command (script don't see config if you're not in directory where script is located) to etc/init.d ?
__________________
MAGNAT2645 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode