(Signs) External Files

Started by Valentine, May 22, 2006, 11:33:22 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Maybe it thinks the 'g' is silent?

I should've asked this in-game before posting here, but there doesn't seem to be a way to read the signs? I state that with a '?' because it's possible that I just don't know how to phrase it properly (if 'read sign' and 'read large sign' and 'r sign' are noobish, so be it). If this is something that's already been mentioned I'll delete this post.
"...There was always a minority afraid of something, and a great majority afraid of the dark, afraid of the future, afraid of the past, afraid of the present, afraid of themselves and shadows of themselves..." --Ray Bradbury, The Martian Chronicles

The proper command is "look large sign".



Kal



If Superman is bulletproof, why does he duck when a gun is thrown at him?

Don't worry Valentine, you can't read the signs at the moment.  It's a carryover from majormud, and it's looking for external description files that haven't been copied to gmud.

Also, although look sign (or l sign) is the common way of doing it, read sign also works (although r sign doesn't).
If we can hit that bulls-eye, the rest of the dominoes will fall like a house of cards.? Check-mate!

May 23, 2006, 12:01:13 AM #3 Last Edit: May 23, 2006, 12:03:03 AM by Valentine
I did the look command, and just got a file name. If look is the correct command to read, then I can accept that. Other muds have a description for signs/plaques/books/etc and you have to actually 'read' to see the content.

Ex:
/look book
The thick leather bound book is falling apart at the binding. The pages are worn and frail.

/read book
"Long ago in a galaxy far, far away..."

Alternatively, the book may be unreadable by certain races/classes/alignments.

Edit: Thanks for the explanation...maybe distinguishing between read and look is an idea for future development....once people get over the "keep it the same as mmud" mentality  ;).
"...There was always a minority afraid of something, and a great majority afraid of the dark, afraid of the future, afraid of the past, afraid of the present, afraid of themselves and shadows of themselves..." --Ray Bradbury, The Martian Chronicles

Alot of the signs aren't inputed yet.  If it means anything to you, both look, and read works for signs, or will.




                                    
           Weapon Shoppes             
         Adventurer's Guild           
           Trader Tull's             
                                      
 Holy Temple                Arena     
  Junkyard               Curio Shoppe 
   Casino               General Store 
                         Town Gates   
                                      
                                      
         Bank of Silvermere           
           Jewelry Shoppe             
              Bow Shoppe              
                                    




We jsut havent coded an ansi read for this.

I have some experience writing code dealing with ansi color tags :)

If Vitoc wants, I can send source to him (it might still be online, the source was included in the .jar file.  Just open with winzip/rar), but it's not that difficult once you know the codes.

http://www.termsys.demon.co.uk/vtansi.htm was a great reference for me.
If we can hit that bulls-eye, the rest of the dominoes will fall like a house of cards.? Check-mate!

Plz dont hijack my post =)
Free MajorMUD. No Playing Sysops - Quicksilver BBS
Quicksilver BBS
Quicksilver Forums

Quote from: DeathCow on May 23, 2006, 02:05:59 AMWe jsut havent coded an ansi read for this.

It's nothing to do with ANSI, it's just that text blocks (as associated with items that are "read" or "look"ed at) aren't handled/processed yet.

Quote from: Locke Cole on May 24, 2006, 12:28:04 AM
Quote from: DeathCow on May 23, 2006, 02:05:59 AMWe jsut havent coded an ansi read for this.

It's nothing to do with ANSI, it's just that text blocks (as associated with items that are "read" or "look"ed at) aren't handled/processed yet.
FILE DESCRIPTION
NEWHAVEN.TXT

Quote from: DeathCow on May 24, 2006, 12:32:46 AMFILE DESCRIPTION
NEWHAVEN.TXT

Ooh, right. Still nothing to do with ANSI parsing, just need to a) have the file and b) read it and write it out to the user doing the reading. :P

I believe ALL of these bugs have been fixed except for the sign issue, but that's going to be fixed by content anyway.? Please let me know if I've missed one of them.? Thanks!

It's also worth noting I changed the whole top list thing so it's real time.  It was on a delay to ease the burden on the cpu, but the cpu doesn't appear to ever go over 5% anyway except at startup so it is acceptable. ;)


TGS v1.0 (coming soon)

Quote from: ghaleon on May 22, 2006, 12:59:06 AM
Silver Street, Eastern End? ? ? ? ? ? ?
You notice 283 copper farthings here.?
Also here: Kal.? ? ? ? ? ? ? ? ? ? ? ?
Obvious exits: east, west? ? ? ? ? ? ?
Kal removes morningstar ring!? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[HP=867]:
True, this no longer produces an extra newline, but two things: there should be a message for seeing a character equip an item, and it should be colored (for palette 0 anyway).
Ian removes phoenix feather!
Ian wears phoenix feather!
Both in dark yellow (#7F7F00)

Quote from: ghaleon on May 22, 2006, 11:02:39 PM
After a long thought, you take your own life.
should be changed to

After a LONG thought, you take your own life.
You now have 8 lives remaining.


in light red, with an extra newline before it.

other people in the room should also see

Ghaleon took their own life!

in grey
Not implemented yet.
If we can hit that bulls-eye, the rest of the dominoes will fall like a house of cards.? Check-mate!

Quote from: Ian on May 28, 2006, 10:22:48 PMBoth in dark yellow (#7F7F00)

Hex triplets are overkill. If you're going to specify the color like that, use ANSI. :P

In this case:

ESC[0;33m

279148;33m :->

But um is the only problem here the file desc?  if so just split the topic and file this crap elsewhere.

ya its just the external file stuff... I don't seeing it being a issue with your content though unless you plan on using external descriptions so its just a legacy issue...