How do I make Jscript interact with an EXE or MUD (game)?

  • Thread starter Thread starter nmonster
  • Start date Start date
  • Tags Tags
    Game
Click For Summary

Discussion Overview

The discussion revolves around how to write Jscript code that interacts with a Multi-User Dungeon (MUD), specifically focusing on passing information between an executable (exe) and the Jscript code, as well as sending strings back to the exe's text field. The scope includes technical exploration of scripting within MUDs and potential methods for integration.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks guidance on how to pass information from an exe to Jscript and how to send strings back to the exe.
  • Another participant warns that the inquiry may involve writing software that violates the terms of the MUD, suggesting that explicit "how to" discussions of illegal activities are prohibited.
  • Some participants note that there are many different MUDs with varying rule sets, and that some MUDs allow scripting, while others may not condone automation.
  • It is mentioned that MUD clients like Zmud, MUSHClient, and Tinyfugue have scripting functionalities and triggers that can respond to MUD communications.
  • A participant suggests that the ability to interact with TinyFugue may depend on its public APIs and mentions the need for a hook macro to capture text display.

Areas of Agreement / Disagreement

Participants express differing views on the permissibility of scripting in MUDs, with some asserting that certain MUDs allow it while others caution against potential violations of terms. The discussion remains unresolved regarding the specifics of implementing the Jscript interaction.

Contextual Notes

Limitations include the dependence on the specific APIs provided by the MUD clients and the varying rules across different MUDs regarding scripting and automation.

nmonster
Messages
3
Reaction score
0
I'm trying to write Jscript code that will interact with a MUD for me. A MUD is a Multi-User Dungeon. It's a text-based online game. The server sends the names and descriptions of places and things for the player to interact with. What I need to know is: 1) How do I pass information from an exe, where the text is displayed, to my code, or a specific method for processing, and 2) have my code send back strings (and enter them into the .exe's text field.)I wrote Java for about a year in some computer science classes, using BlueJ to create various things, but they all acted on their own and never interacted with other programs.A similar but not very relevant question was posted here: https://www.physicsforums.com/showthread.php?t=384110
 
Last edited:
Technology news on Phys.org
https://www.physicsforums.com/showthread.php?t=414380"

Illegal/Dangerous Activities:
Explicit "how to" discussions of illegal and/or dangerous activities, or posts advocating such activities, are prohibited; such as: how to make explosives, manufacture crack, steal software, hack into the CIA, ...

You are asking how to write software that will violate the terms of the MUD.
 
Last edited by a moderator:
Borg said:
https://www.physicsforums.com/showthread.php?t=414380"

Illegal/Dangerous Activities:
Explicit "how to" discussions of illegal and/or dangerous activities, or posts advocating such activities, are prohibited; such as: how to make explosives, manufacture crack, steal software, hack into the CIA, ...

You are asking how to write software that will violate the terms of the MUD.
There are thousands of different MUDs, few with the same rule sets. This MUD allows scripting, and the creator of the mud condones it. In fact, most muds do allow scripts, just not outrageous ones that completely automate the character for days on end.

You could choose to not read the entire first paragraph of the original post. I put it there to help give people a better understanding.
 
Last edited by a moderator:
nmonster said:
There are thousands of different MUDs, few with the same rule sets. This MUD allows scripting, and the creator of the mud condones it. In fact, most muds do allow scripts, just not outrageous ones that completely automate the character for days on end.

You could choose to not read the entire first paragraph of the original post. I put it there to help give people a better understanding.
Care to post a link to the site that you want to write the script for? It would be interesting to see exactly what they say about this.
nmonster said:
I'm trying to write Jscript code that will interact with a MUD for me. A MUD is a Multi-User Dungeon. It's a text-based online game. The server sends the names and descriptions of places and things for the player to interact with.
All MUDs send information to your computer. This doesn't say anything about condoning automated scripts.
 
Zmud, MUSHClient and Tinyfuge all have scripting functionality, and nearly every MUD client has "triggers" that automatically respond to sends from the MUD.
 
nmonster said:
What I need to know is: 1) How do I pass information from an exe, where the text is displayed, to my code, or a specific method for processing, and 2) have my code send back strings (and enter them into the .exe's text field.)
It is going to be dependent on what APIs those programs make public. I took a quick look at TinyFugue. For TinyFugue, you will probably need to use something like their paste command to send messages. In order to get the text display, you will need to set up a hook macro.
 

Similar threads

Replies
10
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
13K
  • · Replies 5 ·
Replies
5
Views
3K