Search found 9 matches

by quentinnuk
Mon Jan 02, 2023 1:56 pm
Forum: General Forum
Topic: stop \r also echoing \n
Replies: 1
Views: 12582

stop \r also echoing \n

I am using a MU* that uses \r as a line ending to make a carriage return (CR) to allow for simple ascii animation and other simple effects like a spinner. Mudlet seems to always do \r->CR LF rather than \r->CR which messes up the output. EG: Attempting buffer overrun against port 90... / - \ | / - \...
by quentinnuk
Thu Jan 24, 2019 8:25 pm
Forum: Help Forum
Topic: Waiting for a line then continuing
Replies: 0
Views: 3381

Waiting for a line then continuing

I have a button that I am trying to develop to find a way through a maze in order to find a treasure in the centre. The maze has 11 levels which are randomly interconnected each reset of the mud. You cannot map the maze with objects. My simplistic approach this is to generate random directions and k...
by quentinnuk
Wed Jan 23, 2019 11:42 pm
Forum: Help Forum
Topic: Character mode mud nuisance
Replies: 7
Views: 5434

Re: Character mode mud nuisance

Yea, BL is MUD1 and it is still available on the british-legends dot com domain.
by quentinnuk
Tue Jan 22, 2019 3:31 pm
Forum: Help Forum
Topic: Character mode mud nuisance
Replies: 7
Views: 5434

Re: Character mode mud nuisance

british-legends doesn't negotiate line vs char mode, it insists on char mode as it was originally written on a Dec-10 back in 1978 and then moved to Vax and is now on Windows so is very old character terminal (originally dialup serial) orientated. Telnet is very new tech in the BL world!
by quentinnuk
Tue Jan 22, 2019 3:26 pm
Forum: Help Forum
Topic: tabs and mudlet
Replies: 5
Views: 4176

Re: tabs and mudlet

I found another solution in the forums which works perfectly:

Code: Select all

local pos = selectString("\t",1)
while pos ~= -1 do
   replace(string.rep(" ",8 - math.fmod(pos,8)))
   pos = selectString("\t",1)
end
by quentinnuk
Tue Jan 22, 2019 3:17 pm
Forum: Help Forum
Topic: tabs and mudlet
Replies: 5
Views: 4176

Re: tabs and mudlet

Thanks Vadi, It does a job, but is not perfect as it is replacing tab characters with 8 spaces whereas it should really be moving to the next mod 8 column.
by quentinnuk
Mon Jan 21, 2019 9:26 pm
Forum: Help Forum
Topic: Character mode mud nuisance
Replies: 7
Views: 5434

Re: Character mode mud nuisance

Ive improved it a bit by turning off the "show text you sent" option in the settings, but can't seem to get it to go into character mode instead of line mode. Still, no biggy.
by quentinnuk
Mon Jan 21, 2019 9:22 pm
Forum: Help Forum
Topic: tabs and mudlet
Replies: 5
Views: 4176

tabs and mudlet

I see this has come up before but what I read suggests its resolved but doesn't seem to be the case for me. The MUD i am playing outputs a score with tabs in it; eg as shown on a plain telnet client: *score Score to date: 41019 Level of experience: necromancer Strength: 100 Stamina: 96 Dexterity: 10...
by quentinnuk
Mon Jan 21, 2019 3:36 pm
Forum: Help Forum
Topic: Character mode mud nuisance
Replies: 7
Views: 5434

Character mode mud nuisance

Hi I am playing a non-standard character mode MUD (british-legends) which has a entry prompt * and echos characters as they are typed retyping the entry line if new output occurs. This doesn't work well with the standard setup of mudlet which echos entered commands twice and doesn't align the entry ...