robhol Posted February 1, 2009 Posted February 1, 2009 I think this could be useful for a lot of different things. Is there any chance someone might include it as a function or a module? I'd do it, but... I still suck at C++. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
Ace_Gambit Posted February 1, 2009 Posted February 1, 2009 What exactly do you mean with querying? Development blog Kings of San Andreas
robhol Posted February 1, 2009 Author Posted February 1, 2009 What exactly do you mean with querying? Well, sending a HTTP request and getting the response... Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
Ace_Gambit Posted February 1, 2009 Posted February 1, 2009 Hm, one of my modules does that to get RSS feeds. But it's a stand-alone module. Maybe I can try to merge that code with MTA and submit a patch. Development blog Kings of San Andreas
robhol Posted February 2, 2009 Author Posted February 2, 2009 Hm, one of my modules does that to get RSS feeds. But it's a stand-alone module. Maybe I can try to merge that code with MTA and submit a patch. Or maybe you could just release it as a module, it doesn't really matter as long as the functionality is there. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
eAi Posted February 16, 2009 Posted February 16, 2009 That's already possible with callRemote. Check the wiki.
robhol Posted February 16, 2009 Author Posted February 16, 2009 But if I understand correctly that web page has to be specifically created for MTA, using its SDK, etc. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
darkdreamingdan Posted February 18, 2009 Posted February 18, 2009 Yes, it does, but it still functions as an http request. VCP FOREVER!
robhol Posted February 18, 2009 Author Posted February 18, 2009 What I meant is being able to get the contents of ANY url.. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
Simbad de Zeeman Posted February 28, 2009 Posted February 28, 2009 Or like opening a http connection to a php script somewhere on your webserver which sends an confirmation e-mail to the user that just registered on your server. Edit: or is that already possible
Gamesnert Posted February 28, 2009 Posted February 28, 2009 Or like opening a http connection to a php script somewhere on your webserver which sends an confirmation e-mail to the user that just registered on your server.Edit: or is that already possible For as far as I know this should work: PHP SDK Projects: Slothbot | Maximap
Recommended Posts