Re: "Fake" input?

Ossi Herrala <[email protected]> Thu, 25 Aug 2005 11:43:18 +0300
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
On Thu, Aug 25, 2005 at 08:20:48AM +0400, Eugene wrote:
> On Wed, 24 Aug 2005 17:37:37 -0700 (PDT)
>  "Malachi Clark" <[email protected]> wrote:
> >Hello all,
> >
> >Is there a command (or similar) that will enable me to 
> >"fake" input from the mud?  I want to test my modules on 
> >particular expected input from the mud, but waiting 
> >around for hours until the input comes in, sucks.  If 
> >there isn't a command already, should I just use the 
> >hooks to create my own?  Just wanted to ask before I go 
> >off reinventing the wheel.
> 
> No, there is no such a thing. For me, it was always easier 
> to run quick-and-dirt "server-like" script via netcat (on 
> Linux) and connect to it with the client. YMMV.
>

Install Netcat, run command

$ nc -l -p 65000  # -l for listen, -p for port

Then just connect your lyntin to specified port and copy & paste your
input to nc.


-- 
Ossi Herrala, OH8HUB
PGP: 0x78CD0337 / D343 F9C4 C739 DFFF F619  6170 8D28 8189 78CD 0337 

Hi! I am a .signature virus.  Copy me into your .signature to join in!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf