[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  Line capture

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Line capture
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sat 23 Feb 2002 09:34 PM (UTC)  quote  ]
Message
Krenath has posted some examples of reading/writing to files from VB. Meanwhile, you might want to start a new thread if you go on with this one.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Magnum   Canada  (580 posts)  [Biography] bio
Date Sat 23 Feb 2002 11:46 AM (UTC)  quote  ]
Message
Earlier in this thread, EQ scripting was discussed. I am beginning work on this project, so I am posting to bring this thread to the top of the recent posts list.

I am attempting to design the EQ script as standalone, that can be "plugged-in" to any Ages Of Despair player's script using methods recommended elsewhere on these forums.

To save memory, I plan to store each Eq_Set to a file. The file would only be saved or loaded when the EQType was changed (or on world load).

I'll post more details as I move along on this project. File access in VBS is quite foreign to me, so I may ask for help. :)

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Tue 15 Jan 2002 09:03 PM (UTC)  quote  ]
Message
Hmm. Thanks for the comments. I had kind of wondered.

I still don't like the fact that exists are part of the status line (excpecially since some people like to turn those off). But the rest is helpful. I couldn't find a help file for MXP or anything else that I coudl think of (didn't think to consider html). :p Oh, well. I went there as a matter of curiousity. At the moment I am still playing Ages of Despair and am working on some ideas I may submit there for an area, so I really don't even have any time to play on another mud. But I do think MXP has potential, as long as some limits are placed on its use, but unfortunately that is a bit like trying to get the admin on the one I play at to admit that they messed up by not requiring unique item IDs. Real fun when you have 3 different amulets and the mud can't tell which one you are trying to use. :p

The ansi version at Bloodmoon though is more conducive to eye strain. I certainly hope that turning on the html type is a little better. ;)

As to the mapper... Yeah, that is pretty much the way AoD does it, but it also only uses the map outdoors. The problems I see with the one used on Bloodmoon is A) very limited 'field of veiw', even when you should be able to see farther and B) it intrudes in places like inside cities where you don't even need it. But that is mearly my opinion.

As to the letgain.... I guess my biggest problem is not this, but the 'requirement' of RP. On the mud I am currently one it is far more relaxed, so you can talk to people about non-game stuff as you play, but you can also act the part too. While there are no clans implimented in AoD, more than a few people have found themselves in serious trouble because they bragged about killing foxes on channels and someone who was friends with a healer name Fyxen told her about it. (She keeps a list. lol) Of course being Kitsune myself, I have passed the word along a few times as well... ;) imho Mudding is about fun, anything that restricts that by forcing RP or some other demanding requirement tends, at least for me, to make it a bit less fun.

Of course had I the time to play it for a while or any real interest in the rather limited number of races on Bloodmoon, I might not find it to be that big of a deal.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Kalahn   United Kingdom  (138 posts)  [Biography] bio   Moderator
Date Tue 15 Jan 2002 08:13 AM (UTC)  quote  ]
Message
Quote:

btw Checked out the lark.crod.com mud... Why is it again that they have to make objects in a room bright blue and underlined, but can't use the mxp color to show the lilacs in one room as 'lilac'?? Not sure that site is a good example of 'using' mxp, unless I completely missed something I needed to turn on to make it work right. Not that I want to go back anyway, I also hate their mini map thing (makes me feel clostraphobic after the full outside maps on AoD) and I don't like the idea of 'you must do this this way to advance past level 25'. :p I would hate to see what people would do with an idea I had.


Bloodmoon at lark.crodo.com 1313 runs the Dawn of Time codebase. As the implementor of this codebase my comments might shed some light on things.

Regarding the colour of links, I expect you will find that you have 'Use custom link colour' turned on in
(Alt+Enter)Configuration->Appearance->MXP/Pueblo. The check box options that Dawn works best with are off,on,on, off,on,on, off (from top to bottom in the MXP/Pueblo config page)

Dawn uses ansi colour by default (even with MXP connections) unless you have HTML colour coding turned on (type 'col mode html' to change modes).

The automapper is different from most mappers I have seen, many of them generate the map once off and make it part of the room description. Dawn was originally written from a roleplaying perspective and therefore tried to give a real line of sight to players. Dawn's automap is generated dynamically and reflects doors closing etc, also supporting a map scale. Immortals have access to other versions of the map which can scan out a radius of up to 100 rooms away and have clickable room links with mxp options.

Then again you can't please everyone with something like mapping, I think everyone will generally like what they are used to.

Quote:

I don't like the idea of 'you must do this this way to advance past level 25'.

I assume you are talking about letgaining?
The level of 25 is configurable and can be easily disabled. The letgaining system is used to give mud implementors the opportunity to maintain some form of quality control with players advancing to the higher levels. The code automatically letgains you if you request a letgain (using requestletgain) and an imm hasn't processed the request within a few days. While the system isn't liked by all it does help increase the quality of players on the mud.

Dawn is a very flexible mud server, pretty much everything you said you didn't like can be tweaked to your liking or disabled.

Regards,

- Kalahn
Implementor of the Dawn of Time Codebase
http://www.dawnoftime.org/

Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Tue 15 Jan 2002 08:00 AM (UTC)  quote  ]
Message
Which then brings up the problem of having everything including exits in one color and crammed into a single status line. Lets just say that I was not won over and leave it at that. ;)

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 15 Jan 2002 12:41 AM (UTC)  quote  ]
Message
Quote:

I also hate their mini map thing (makes me feel clostraphobic after the full outside maps on AoD)


You can turn the mini-map off. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Mon 14 Jan 2002 11:42 PM (UTC)  quote  ]
Message
Merlin?? I had a copy of that for my Aple IIgs, only no hard drive, so I could never use the dang thing. Sigh.. Actually 48k was not a big deal, especially since you could actually hand code machine language on Apples without spending a century just figuring out what all the bloody opcodes where for. The 286 was bad, 386 worse, 486 even worse, I haven't even bothered looking with the new chips and the new 64 bit AMD will have opcodes so complicated I don't even want to think about it. ;) I miss being able to do quick and dirty stuff on my Apple, which included using assembly. Now unless you have an old copy of qbasic, you have to spend a week just looking up how to do the same thing you did a year before, even to program in Visual Basic. lol

btw Checked out the lark.crod.com mud... Why is it again that they have to make objects in a room bright blue and underlined, but can't use the mxp color to show the lilacs in one room as 'lilac'?? Not sure that site is a good example of 'using' mxp, unless I completely missed something I needed to turn on to make it work right. Not that I want to go back anyway, I also hate their mini map thing (makes me feel clostraphobic after the full outside maps on AoD) and I don't like the idea of 'you must do this this way to advance past level 25'. :p I would hate to see what people would do with an idea I had.

The idea being to create an addon that takes a text file containing scene code based on POVRay and actually raytrace a small 160x100 image of it. A lot more versitile that using graphics, since A) text is often smaller, especially compressed and B) you can set internal features of the script to adjust lighting, sky textures, sun/moon position, etc., all based on what is really happening on the mud. Not sure how to even begin developing it though, especially since it would detract from my mud play. lol

Figure it would have to be one of three things. A COM server object called from a script (bit of a problem doing it that way, since how do you make sure the data gets recieved correctly...). A proxy that sits between the client and windows (Not a clue how this would work). Or something built into a client (but in a seperate thread <is this even possible?>, since the render needs to take place even while the client does other stuff). Most scenes would take a few seconds even on a fast machine to produce, and may need to use several passes if I included support for true glass ior and reflections, which add a lot of calculation time. Not to mention fog or other stuff. Oh well, maybe I will get around to trying to do it eventually. ;)

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Linda   Sweden  (164 posts)  [Biography] bio
Date Thu 10 Jan 2002 03:43 PM (UTC)  quote  ]
Message
That'd be a very good addition. :)
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Wed 02 Jan 2002 12:35 AM (UTC)  quote  ]
Message
In that case I should probably write a quick utility that turns the database-based documentation (eg. the functions) into a text file (or web page perhaps) that you can download.

That file could be regenerated when necesssary.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Linda   Sweden  (164 posts)  [Biography] bio
Date Tue 01 Jan 2002 12:12 PM (UTC)  quote  ]
Message
Regarding documention on the web, I agree that the relative ease with which it can be kept up-to-date is a useful feature.

However, providing the option of downloading a compilation of the documentation would be very useful as well for those of us who are on-line but only a limited amount of time as it simply costs too much with metered phone costs. I do almost all my docmentation reading and experimentation when off-line, so I can use my on-line time more effectively.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sat 29 Dec 2001 09:33 PM (UTC)  quote  ]
Message
Quote:

Check the web site?? Who checks websites!? lol Will take a look in there, thanks again. ;)


Well, you are typing a message on one now. :)

I am moving towards documenting MUSHclient (and other programs) online, as it has a number of advantages ...


  • Most people who play MUD games are on the web anyway
  • Documentation can be updated (expanded, errors corrected) on-the-fly rather than having a static "help file" that might be wrong or incomplete
  • People can see the power of the program before they necessarily download and install it
  • You have an element of self-help amongst users (as on this page) where you can give tips to each other.


BTW - some of my earliest programming was on an Apple - I eventually got an Apple assember (Merlin was one of them) and coded a heap of stuff on that. Ah yes, those were the days when 48 Kb of RAM was a lot!

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 28 Dec 2001 03:35 AM (UTC)  quote  ]
Message
Actually Magnum, I have done a lot of programming in various flavors of basic as far back as the days when Apple Basic was still used and a 256 color display on a PC was considered amazing, especially when you forced the graphics cards into aliased mode and got 'gasp' 1024x768. lol

If I need to I can code it myself. In fact I still have a mapping/data sorting program from playing the Trade Wars 2002 BBS game that is significantly more complex than anything this would require. Kind of wish I could find a place to download that game from, it was kind of fun. ;) I was purposely vaque because the intent was a feature that could be used for a wide number of purposes, not just eq. At the moment I don't even need it, but was mearly suggesting something that I thought could be useful at some point. However, I realize that for my purposes there may be a better, if more complicated way to do it.

I like the 'brief' trick, even with speed walk things in a long walk get swallowed. Being a healer I don't tend to have a bunch of people following along behind me, so also don't need to pause much. That by the way is your second clue to my identity. To remind you, the first one was the Japanese word for fire, 'Hi'. I doubt there are a lot of healers on that have that syllable in their name. ;)

To Gammon: Check the web site?? Who checks websites!? lol Will take a look in there, thanks again. ;)

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 27 Dec 2001 10:08 PM (UTC)  quote  ]
Message

The help file is sadly a little out of date. The most up-to-date list of inbuilt functions is online here, and is available at MUSHclient scripting functions

This is stored in a database, so you can search for keywords. Also there are extensive examples, in VBscript, Jscript, and Perlscript, for each script function.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Magnum   Canada  (580 posts)  [Biography] bio
Date Thu 27 Dec 2001 06:53 AM (UTC)  quote  ]
Message
Heh Heh...

I knew there was probably a more efficient way to handle EQ with scripting. :) Since EQ isn't all that exciting, I usually work on more interesting projects than improving my EQ script.

Anyway, I believe nick has provided some excellent suggestions that would greatly improve the script, cutting down on both code and the number of aliases!

This new alias/script is excellent for simplifying EQ handling... except it currently only handles ONE SET of EQ.

You seem to want some complex aliases and scripting to handle multiple equipment sets, but you haven't offered many insights into programming what you want. Are you requesting that I write the script FOR YOU? :) I believe it CAN be done.

I don't know ANY Japanese, do I still can't figure out your AoD handle. LOL.

Did the AutoWalk tip help?

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Wed 26 Dec 2001 11:24 PM (UTC)  quote  ]
Message
To Magnum - Can I say "Ack!". The idea with equipment was to find an easy way to handle it, using one alias to get it, one to change to party eq, one to change to solo eq and one for puting it away. If I am getting a lot of lag close to reboot or it looks like the lag may be getting bad enough that a crash is immiment, I want the mud to receive all my eq commands, not one at a time as I type them. Your method definitely works, but it is imho a little too complicated and doesn't address these two problems. Also, the idea I suggested was intended as a more versitile tool, reasonably easy to use and capable of dealing with things not covered by my own particular problem. ;) P.S. I was already 99.9% sure you where on AoD, but since I use the Japanese version of my online name only on AoD so far, I am not surprised it took you a little longer. lol I'll give you a clue. Fire in Japanese can be one of several words, but the one I use is 'hi'. ;)

To Gammon - world.queue?? I did a search in the help file for that, but couldn't find a reference to queue in help, save as it related to aliases. The World.queue command just doesn't seem to be in the help file... :p I am using 3.16 now, since most added features/fixes in 3.17 are MXP related (and thus a non-issue for me), so it may be in the help for that version, just not this one. Thanks. ;)

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


6,909 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]