• Login Prompt

    From Mindless Automaton@VERT/ELDRITCH to DOVE-Net.Programming_(Javascript) on Tue Dec 29 12:53:54 2009
    For the login prompt, I wanted to display an ansi file in the backgroundãand then overlay the prompt text (Enter User Name..) on top.ã(Print ansi file, console.up & right to move cursor to print prompt)ããI can do this but when I just hit enter at the prompt, only the promptãtext gets printed again, the ansi does not.ã<code>ã // Display login promptã console.down(10);ã console.printfile(system.text_dir+"login.ans",P_NONE);ã console.up(7);ã console.right(17);ã console.print("\1n\1h\1cEnter \1wUser Name");ã if(!(bbs.node_settings&NM_NO_NUM))ã console.print("\1c or \1wNumber");ã if(!(system.settings&SYS_CLOSED))ã console.print("\1c or '\1yNew\1c'");ã if(guest)ã console.print("\1c or '\1yGuest\1c'");ã console.down(1);ã console.left(45);ã console.print("NN:\b\b\bLogin: \1w");ã</code>ããAny ideas or any samples in the other js files on doing something likeãthis?ããThanks!ããMindless
    Automatonã---ã þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.orgã
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Tue Dec 29 13:00:11 2009
    Mindless Automaton wrote:ãã> ã> Any ideas or any samples in the other js files on doing something likeã> this?ã> ã> Thanks!ã> ã> Mindless AutomatonããNaturally I figured it out 5 seconds after posting. I sprinkled in aãfew console.home() before the ansi & each prompt and it works now.ããLet me know if there is a better way or tweak for this anyone canãthink of though..ãããThanks!ããMindless Automatonã---ã þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.orgã
  • From mrproper@VERT/WARZONE to Mindless Automaton on Tue Dec 29 21:14:47 2009
    Re: Login Promptã By: Mindless Automaton to DOVE-Net.Programming_(Javascript) on Tue Dec 29 2009 12:53 pmãã > Any ideas or any samples in the other js files on doing something likeã > this?ããI used to do that just with animated ansis being printed by the NN and PWãprompts, with movement storage ending at where you want the typing to begin,ãyou can even make them fade in with checkerboard etc.. if you slow theãframerate down.ããdid'nt really have to mess with much JS.. or any at all cause at the time theãlogin and logon routines were baja.ããã--ããTim Smith (Mrproper)ãWarZone BBS: warzone.synchro.netãBBSsearch : http://search.synchro.netãã---ã þ Synchronet þ Warzone - warzone.synchro.net - Chatsworth GA, USAã
  • From art@VERT/FATCATS to Mindless Automaton on Thu Jan 7 15:54:16 2010
    Re: Re: Login Promptã By: Mindless Automaton to Mindless Automaton on Tue Dec 29 2009 13:00:11ãã > Let me know if there is a better way or tweak for this anyone canã > think of though..ããHi Mindless Automaton,ããYou can also make use of ANSI escape codes to do this.ããI.e., use your login script to display ansi background page, then the loginãprompt ansi part after.ããThe Login ansi would begin by home-ing the cursor, for example (but notãclearing the screen).ããHowever, the end result is the same as you've done so this isn't necessarily aãbetter way, just a different one.ããKind regards,ã +------------------------------+ã | Art % fatcats.poorcoding.com |ã +--------------- ----- -- -ãã---ã þ Synchronet þ fatcats bbs - http://fatcats.poorcoding.comã
  • From Tracker1@VERT/TRN to Mindless Automaton on Wed Jan 13 17:27:42 2010
    For the login prompt, I wanted to display an ansi file in the backgroundã > and then overlay the prompt text (Enter User Name..) on top.ã > (Print ansi file, console.up & right to move cursor to print prompt)ã > ã > I can do this but when I just hit enter at the prompt, only the prompt textã > gets printed again, the ansi does not.ã > ã > Any ideas or any samples in the other js files on doing something likeã > this?ããI have my entire mods directory in an archive on the website for this bbs onãthe download/files page.ã-- ãMichael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.netãicq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)ãã---ã þ Synchronet þ Roughneck BBS - telnet://roughneckbbs.com - www.roughneckbbs.comã
  • From Tracker1@VERT/TRN to Mindless Automaton on Wed Jan 13 17:29:53 2010
    Any ideas or any samples in the other js files on doing something likeã > > this?ã > ã > Naturally I figured it out 5 seconds after posting. I sprinkled in aã > few console.home() before the ansi & each prompt and it works now.ã > ã > Let me know if there is a better way or tweak for this anyone canã > think of though..ããbbs.show() and console.home() are perfectly acceptable for this. One hint, isãyou can replace the text for the password prompt from script, if you wantedãthe username and password embedded inside the ansi itself.ã-- ãMichael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.netãicq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)ãã---ã þ Synchronet þ Roughneck BBS - telnet://roughneckbbs.com - www.roughneckbbs.comã