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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: Fri Sep 17, 2004 12:30 pm   

access scrollback (buffer) from COM object
 
Hello, i was just wondering if it is possible to access the entire scrollback (buffer) throught the COM Server in zmud. i cannot find any function for it in zmud.inc or any builtin variable that could referr to this object..
_________________
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Fri Sep 17, 2004 9:44 pm   
 
Sorry there is nothing to directly access it. If your really desperate to do this there is a round-about way. You would have to set the preferences to save the buffer when logging, create a log, then open it with #FILE and probably %grep for what you want.

Also you can use the #SCROLL command to locate something for reading, the above assumes you want to have the data available to a script.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Sep 19, 2004 5:42 pm   
 
I am a little fuzzy on his use of "COM' server.
If he means Zmud as a hole then there is a way to get a partial list
and Vijilante's sugestion on keeping a log

If he means useing some sort of develepors kit or outside program, then I don't know.
_________________
megamog75 Smile
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere
Reply with quote
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: Mon Sep 20, 2004 6:13 am   
 
Well, i have made a program (http://dlogs.net/logedit/) that allows direct copy paste from zmud to the program, that keeps colors, and allows the user to save as html and rtf. However i was hoping to make it so the program could get the scrollback from zmud itself instead of through user interaction, this could of cource be integrated as a "save as html" menu function etc in a future zmud plugin. Since i couldnt find any parameter for the scollback in the zmud com documentation, i looked for a command i could use with zMUDFunction or zMUDCommand, however i couldnt find anything there either.

I think i will make it so one can save the log to a specific file, and my program will monitor this file.
_________________
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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