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

Send a message to website through sourcemod plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
matchaboy
Senior Member
Join Date: Jun 2013
Location: Bananaland
Old 10-18-2013 , 10:06   Send a message to website through sourcemod plugin
Reply With Quote #1

Hey guys, I have been working on a plugin, however i'm not sure if it is possible to send a message through the sourcemod plugin to a website.

Example, in my plugin i typed !command <message>, then it sends a message to my website. Is this possible?
__________________
Learning how to make plugins.
matchaboy is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-18-2013 , 10:18   Re: Send a message to website through sourcemod plugin
Reply With Quote #2

If someone does write a plugin to do it, chances are it will need either the Socket or SteamTools extension to do so.

(There's a third extension that can do this too, but heck if I can remember what it is.)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
matchaboy
Senior Member
Join Date: Jun 2013
Location: Bananaland
Old 10-18-2013 , 10:21   Re: Send a message to website through sourcemod plugin
Reply With Quote #3

I hope someone writes a plugin for that ._. anyway if you can find the third extension please tell me

I just need the last part to finish up my plugin ><
__________________
Learning how to make plugins.
matchaboy is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 10-18-2013 , 10:28   Re: Send a message to website through sourcemod plugin
Reply With Quote #4

Quote:
Originally Posted by Powerlord View Post
[...](There's a third extension that can do this too, but heck if I can remember what it is.)
cURL.

@Topic: Use steamtools and you're done.

EDIT: asherkin once showed me this when I was asking for an example:
http://forums.alliedmods.net/showpos...&postcount=185
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 10-18-2013 at 10:37.
Dr. Greg House is offline
matchaboy
Senior Member
Join Date: Jun 2013
Location: Bananaland
Old 10-18-2013 , 11:09   Re: Send a message to website through sourcemod plugin
Reply With Quote #5

Quote:
Originally Posted by Dr. Greg House View Post
cURL.

@Topic: Use steamtools and you're done.

EDIT: asherkin once showed me this when I was asking for an example:
http://forums.alliedmods.net/showpos...&postcount=185
What's the cURL url? and how do i use it?

Edit 1 : Ok , so I think i found it : https://forums.alliedmods.net/showthread.php?t=152216
Correct me if i'm wrong about the link. how do I use it? Is there a guide? I'm new to coding :C
__________________
Learning how to make plugins.

Last edited by matchaboy; 10-18-2013 at 11:11.
matchaboy is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 10-18-2013 , 11:20   Re: Send a message to website through sourcemod plugin
Reply With Quote #6

Quote:
Originally Posted by Dr. Greg House View Post
[...]@Topic: Use steamtools and you're done.

EDIT: asherkin once showed me this when I was asking for an example:
http://forums.alliedmods.net/showpos...&postcount=185
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
matchaboy
Senior Member
Join Date: Jun 2013
Location: Bananaland
Old 10-18-2013 , 11:30   Re: Send a message to website through sourcemod plugin
Reply With Quote #7

How do i change the url? The red wordings?

Edit 1 : I think i require a little scripting help ><
__________________
Learning how to make plugins.

Last edited by matchaboy; 10-18-2013 at 11:33.
matchaboy is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-18-2013 , 11:35   Re: Send a message to website through sourcemod plugin
Reply With Quote #8

define "send a message ... to a website"

Do you want a new post on your forums to appear? Do you want something else?
__________________
View my Plugins | Donate
TnTSCS is offline
matchaboy
Senior Member
Join Date: Jun 2013
Location: Bananaland
Old 10-18-2013 , 11:37   Re: Send a message to website through sourcemod plugin
Reply With Quote #9

I have made a plugin which is actually a !report <message> command, so upon a player who typed this, i can be able to receive his message and the message would appear in my website, so I can see to his request, but im not sure how to
__________________
Learning how to make plugins.
matchaboy is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-18-2013 , 11:48   Re: Send a message to website through sourcemod plugin
Reply With Quote #10

"appear in my website" means what? You have a routine established on your site that is ready to intercept some sort of message and display it? If so, what are the protocols?
__________________
View my Plugins | Donate
TnTSCS 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 07:25.


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