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

  • Thread starter Thread starter nmonster
  • Start date Start date
  • Tags Tags
    Game
AI Thread Summary
The discussion revolves around writing JScript code to interact with a Multi-User Dungeon (MUD), a text-based online game. The user seeks guidance on two main points: how to pass information from an executable (exe) to their code for processing, and how to send strings back to the exe's text field. It is noted that MUDs vary widely in their rules, with some allowing scripting and automation to a degree, while others do not. Tools like Zmud, MUSHClient, and TinyFugue are mentioned as having scripting capabilities. For TinyFugue, the user may need to utilize its paste command for sending messages and set up a hook macro to capture text display. The conversation emphasizes the importance of understanding the specific APIs and functionalities of the MUD client being used.
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 dependant 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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top