Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Thu May 17, 2007 6:47 pm   

parsing error thing
 
i like when chatting to be able to use the #, :) :( etc and i can't use them at all cuz it calls it some sort of parsing error.
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Thu May 17, 2007 6:48 pm   
 
It also only seems to happen if i'm typing out a sentence then add that
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu May 17, 2007 8:40 pm   
 
Can you give some specific examples of what's failing and how you're entering them (inside scripts, on the command line, as the parameter of an alias, whatever)? I can't get this to fail on the command line with general chat.

EDIT: And please make sure you mention what version of CMUD you're using.
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Mon Jul 02, 2007 6:41 am   
 
Ok, i was trying to enter this into my cmd line and it gives me an error msg

Listing of the Gods
-=-=-=-=-=-=-=-=-=-=-
<None>

There are 0 visible god(s) on.

Listing of the Mortals!
-=-=-=-=-=-=-=-=-=-=-=-=-
[55 Blood Reaver ] Ranz DreadLord Synagogue of Fury (inv) (Drow Elf)
[14 Shaman ] Spoo (Troll)

There are 2 mortal(s) on.

Total visible players: 2.
Total connections: 20.

Error Parsing command.

illegal token: =-=-=-=-=-==-=-=-=-=-

This happens all the time, when ever i use =, # and other signs in my tells or cmds into the mud, i was trying to write a note in the case of this.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Jul 02, 2007 10:00 am   
 
It's faily obvious why -=-=-= fails - the "=" character is CMUD's operator for assignment, but it doesn't understand how to assign like that. You need to put the line in quotes "" or start the line with a ` (not an apostrophe, the key next to the 1). This'll tell the parser to ignore that line.

Things like # are also special characters and need quoting (you can also quote a single character by putting a ~ before it) - the only exception to this should be the smiley faces - because they were used so often, support for them was built into zMUD's parser and carried over to CMUD, I think. If the worst comes to the worst, you can press Ctrl+R to temporarily turn off command line parsing entirely.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jul 02, 2007 5:09 pm   
 
Also, if you are trying to send lots of lines to the MUD like this (like if you are coding or world building), then try pressing Shift-Ctrl-Enter to open the editor window, then enter your long text and use the Send button to send the text (or press Shift-Ctrl-Enter again). The editor has it's own Parse setting (like the Ctrl-R for the command line). So you can turn off the Parse option in the editor Options window and use it when you want to send lots of text to the MUD verbatim.
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Tue Jul 03, 2007 7:05 pm   
 
i can't seem to use most of my :) :( smileys either when i'm writing out my says, but your suggestions should help, the ctrl 4 thing should hopefully help
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net