Author Topic: LUA to send Steam Message?  (Read 2714 times)

0 Members and 1 Guest are viewing this topic.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
LUA to send Steam Message?
« on: June 19, 2016, 12:57:26 PM »
I just have a simple question, does anyone know if it's possible to send a Steam Message via an in-game command? I want it to be automated that basically will send a message to all of the registered Admins of a server that basically says something like: "xx has called for an Admin. If you can, please get on and use !calladmin_handle x to let other Admins know it's been handled." I saw something like this in a CS:GO server, but I was wondering if it would be possible via LUA? If so, anyone know how?


TL;DR: Can you send a Steam Message to someone with LUA?
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: LUA to send Steam Message?
« Reply #1 on: June 19, 2016, 01:02:16 PM »
Probably not through pure Lua, but you could perhaps set up a Steam bot with one of these libraries with some success, and interface with it with Lua, ie through sockets (see gm_bromsock).
bw81@ulysses-forums ~ % whoami
Homepage

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: LUA to send Steam Message?
« Reply #2 on: June 19, 2016, 01:06:38 PM »
Hm... do you know how much work this would take? I'm not very educated in many languages besides Lua, HTML, and a bit of Java (but not nearly enough to write something like that) so I'm not sure if I'd be able to do this... :P
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: LUA to send Steam Message?
« Reply #3 on: June 19, 2016, 01:21:27 PM »
It would take a lot of work. You would need to acquire or code your own steam bot using a different language (Python, java, etc) and the install a socket module to communicate with the bot from lua.

It's possible, I've done it, but it's not worth it.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: LUA to send Steam Message?
« Reply #4 on: June 19, 2016, 01:27:26 PM »
Ok, do you know if there's any way to do it without going through all the hassle or is this the only way?


On a related (sort of) topic: Is there a way to do this similar thing, but with an email?
« Last Edit: June 19, 2016, 01:37:32 PM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: LUA to send Steam Message?
« Reply #5 on: June 19, 2016, 01:49:47 PM »
That's the only way..

EMAIL is much easier. I have a system that does it.
Search the releases forum on here. I released it. It uses the http.post function in lua to send the messages to a php script on your web host that handles sending the mail.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President