Jump to content
  • 0

Possibile web request?


Thejuster

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   28
  • Joined:  09/16/18
  • Last Seen:  

Hello, is possible whit npc send a webrequest or navigate.

 

for example

www.mysite.com/home.php?action=hi

No need response but only send an action.
No need url, or user to click on a link.
Just send an GET action on url.

Edited by Thejuster
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Your request is very ambiguous. How is the page being called? Is it through the client? Have you looked at how <url> works?

From script_commands.txt

URLs
----
Similarly, you can create links to websites that launch in a new window:

	<URL>Display Name<INFO>http://www.example.com/</INFO></URL>";

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   28
  • Joined:  09/16/18
  • Last Seen:  

I need the page is called via npc without click on link or button

 

In C# code example i call a webrequest whit WebClient

 

string msg = "Hello";
WebClient wb = new WebClient($"http://mysite.com?message={msg}");

wb.Navigate();

//or

wb.DownloadString(); // for response.

i need a function like this if exist.
or need to edit source code?

if i need, name of the interested file?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...