From B.Srikanth@blr.spcnl.co.in Tue Dec 11 08:07:44 2001 From: B.Srikanth@blr.spcnl.co.in (Srikanth B) Date: Tue, 11 Dec 2001 13:37:44 +0530 Subject: [Coldstuff] helllo small query Message-ID: hi we intend to develop a mud flexible gaming architecture how cud genesis be use ful to me pls reply regards B.Srikanth Software Engineer (SCS G5 ) Siemens Public CommunicationsNetworks Limited (SIEMENS SCS) SN 3/37 , 3rd Floor , S N Towers 25/2 , M G Road Bangalore Phno (080)5062400 ext 4169 An obstacle is something u see when u take u r eyes off the goal From grimslayde@lonewolfe.net Tue Dec 11 12:41:52 2001 From: grimslayde@lonewolfe.net (Grimslayde) Date: Tue, 11 Dec 2001 06:41:52 -0600 Subject: [Coldstuff] helllo small query References: Message-ID: <000901c18241$4eff3dc0$8b1a7642@ACROFT2K> Heya, That has been a pet project of mine for several years now, as many annoyed veterans of this forum can atest. *grin* I would say that Cold is more geared towards a MOO/MUCK environment than a hack n' slash MUD. This is because a MUD handles all of it's objects as templates that are duplicated in memory while each object in Cold is an actual object in the database. Forgive my ineptitude at explaining this, folks... Scott on Cold Dark is the owner/developer of a HIGHLY successful game called The Eternal City. I can only guess at how his code looks, but it is proof that Cold can make a great gaming engine. I myself have developed a great deal in the way of stats, races, and items. I'm still struggling over the idea of how to make basic AI for the creatures for stuff like wandering and such, but I've been taking baby steps on it for this long... I'll figger it out. The key is not to limit yourself by the scope of DIKU-type MUDs... if you walk into this AWESOME piece of code that is ColdCore expecting something similar you've got another thang coming. If you're interested in seeing what I've done so far, I'd be happy to show off a bit... though I'm not handing code out just yet. Drop the forum a line and I'll zap you my addie and stuffage. Good luck and happy coding! - Andy ----- Original Message ----- From: "Srikanth B" To: Sent: Tuesday, December 11, 2001 2:07 AM Subject: [Coldstuff] helllo small query > hi > we intend to develop a mud flexible gaming architecture > how cud genesis be use ful to me > pls reply > regards > B.Srikanth > Software Engineer (SCS G5 ) > Siemens Public CommunicationsNetworks Limited > (SIEMENS SCS) > SN 3/37 , 3rd Floor , S N Towers > 25/2 , M G Road > Bangalore > Phno (080)5062400 ext 4169 > An obstacle is something u see when u take u r eyes off the goal > > _______________________________________________ > Cold-Coldstuff mailing list > Cold-Coldstuff@cold.org > http://web.cold.org/mailman/listinfo/cold-coldstuff > > From acormany@home.com Tue Dec 11 16:42:36 2001 From: acormany@home.com (Adam Cormany) Date: Tue, 11 Dec 2001 11:42:36 -0500 Subject: [Coldstuff] helllo small query References: <000901c18241$4eff3dc0$8b1a7642@ACROFT2K> Message-ID: <002501c18262$d6edd040$c8bab218@spdwy1.in.home.com> I'd be interested in seeing your set up of your Cold code so far. I've been working on trying to get a game on Cold for a year or two now and I'm stuck also on the way to handle enemies. I can handle only a handful of monsters, but if I have a mass amount, I may as well shut Cold down because of how slow it's going. Sometime I catch you on your site, I'll bring you over to mine and show you what i've done so far. What's your site? ----- Original Message ----- From: "Grimslayde" To: Sent: Tuesday, December 11, 2001 7:41 AM Subject: Re: [Coldstuff] helllo small query > Heya, > That has been a pet project of mine for several years now, as many > annoyed veterans of this forum can atest. *grin* I would say that Cold is > more geared towards a MOO/MUCK environment than a hack n' slash MUD. This is > because a MUD handles all of it's objects as templates that are duplicated > in memory while each object in Cold is an actual object in the database. > Forgive my ineptitude at explaining this, folks... > > Scott on Cold Dark is the owner/developer of a HIGHLY successful game > called The Eternal City. I can only guess at how his code looks, but it is > proof that Cold can make a great gaming engine. I myself have developed a > great deal in the way of stats, races, and items. I'm still struggling over > the idea of how to make basic AI for the creatures for stuff like wandering > and such, but I've been taking baby steps on it for this long... I'll figger > it out. The key is not to limit yourself by the scope of DIKU-type MUDs... > if you walk into this AWESOME piece of code that is ColdCore expecting > something similar you've got another thang coming. > > If you're interested in seeing what I've done so far, I'd be happy to > show off a bit... though I'm not handing code out just yet. Drop the forum a > line and I'll zap you my addie and stuffage. Good luck and happy coding! > > - Andy > ----- Original Message ----- > From: "Srikanth B" > To: > Sent: Tuesday, December 11, 2001 2:07 AM > Subject: [Coldstuff] helllo small query > > > > hi > > we intend to develop a mud flexible gaming architecture > > how cud genesis be use ful to me > > pls reply > > regards > > B.Srikanth > > Software Engineer (SCS G5 ) > > Siemens Public CommunicationsNetworks Limited > > (SIEMENS SCS) > > SN 3/37 , 3rd Floor , S N Towers > > 25/2 , M G Road > > Bangalore > > Phno (080)5062400 ext 4169 > > An obstacle is something u see when u take u r eyes off the goal > > > > _______________________________________________ > > Cold-Coldstuff mailing list > > Cold-Coldstuff@cold.org > > http://web.cold.org/mailman/listinfo/cold-coldstuff > > > > > > > _______________________________________________ > Cold-Coldstuff mailing list > Cold-Coldstuff@cold.org > http://web.cold.org/mailman/listinfo/cold-coldstuff From jon@enter.net Tue Dec 11 20:16:50 2001 From: jon@enter.net (Jon) Date: Tue, 11 Dec 2001 15:16:50 -0500 Subject: [Coldstuff] Climate and Weather Message-ID: <3c1669b2.4cf6.0@enter.net> Currently, I am running the most recent stable version of Genesis and ColdCore and I am trying to figure something out. As the subject may have hinted, I am trying to figure out Climates and Weather. I've read the help files, and the code on the associated objects, but I'll be the first to admit that I'm still lost. Can anyone offer me advice on how the steps involved after creating a new realm to assign a unique climate to it. If you want to e-mail me directly, please feel free. From brandon@roguetrader.com Wed Dec 12 16:35:54 2001 From: brandon@roguetrader.com (brandon@roguetrader.com) Date: Wed, 12 Dec 2001 09:35:54 -0700 Subject: [Coldstuff] patch for GMT offset Message-ID: <20011212093554.A10976@mojo.cold.org> --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached is a patch against 1.1.9 which will make GMT offset be valid for all platforms (currently it only works on BSD platforms). -Brandon --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=gmtoff_patch *** /svc/ftp/cold/src/stable/Genesis-1.1.9-STABLE/src/ops/misc.c Sun Oct 1 15:35:30 2000 --- Genesis-1.1.9-STABLE/src/ops/misc.c Wed Dec 12 09:34:02 2001 *************** *** 15,20 **** --- 15,25 ---- #include "util.h" #include "opcodes.h" + #ifndef HAVE_TM_GMTOFF + static int last_gmtoffcheck = -1; + static int gmt_offset = -1; + #endif + void func_anticipate_assignment(void) { Int opcode, ind; Long id; *************** *** 75,80 **** --- 80,88 ---- time_t t; cData *args; Int nargs; + #ifndef HAVE_TM_GMTOFF + struct tm * gtms; + #endif if (!func_init_0_or_1(&args, &nargs, INTEGER)) return; *************** *** 124,130 **** #ifdef HAVE_TM_GMTOFF d[11].u.val = tms->tm_gmtoff; #else ! d[11].u.val = 0; #endif push_list(l); --- 132,144 ---- #ifdef HAVE_TM_GMTOFF d[11].u.val = tms->tm_gmtoff; #else ! if (last_gmtoffcheck != tms->tm_yday) { ! int hour = tms->tm_hour; /* they use the same internal structure */ ! gtms = gmtime(&t); ! gmt_offset = ((hour - gtms->tm_hour) * 60 * 60); ! last_gmtoffcheck = tms->tm_yday; ! } ! d[11].u.val = gmt_offset; #endif push_list(l); --tThc/1wpZn/ma/RB-- From brandon@roguetrader.com Wed Dec 12 16:44:29 2001 From: brandon@roguetrader.com (brandon@roguetrader.com) Date: Wed, 12 Dec 2001 09:44:29 -0700 Subject: [Coldstuff] Cold Project Help Wanted: Genesis Release Engineer Message-ID: <20011212094429.A10995@mojo.cold.org> People continue to work on Cold, and there are a few varied and discrete collections of patches. The interest has not waned but releases of unified code for the driver becomes more and more infrequent--primarily because of a lack of motivation/time on my behalf, and I am causing the general community to suffer because of it. With this in mind, I would like to consider additional help. We could use a Release Engineer who's sole purpose would be to collect changes from people around the world and merge them into a single release. The acceptability of the patches should still be considered communally, and the release engineer doesn't necessarily have to do the code development themselves. However, they would need a bit of developmental skills. The requirements as I see them are experience with the following: C programming language, make, unix build environments, bourne shell scripting, autoconf, unix shells in general, ssh, ftp site administration, cvs. In addition to this would be references from other people supporting a moderate level of trust and reliability. How do people feel about this? Lets hear feedback and whatnot. If you have interest in filling this position, reply to me privately. If this is something we want to do, we can figure out how to go from there. -Brandon Gillespie From brandon@roguetrader.com Wed Dec 12 17:04:41 2001 From: brandon@roguetrader.com (brandon@roguetrader.com) Date: Wed, 12 Dec 2001 10:04:41 -0700 Subject: [Coldstuff] Climate and Weather In-Reply-To: <3c1669b2.4cf6.0@enter.net>; from jon@enter.net on Tue, Dec 11, 2001 at 03:16:50PM -0500 References: <3c1669b2.4cf6.0@enter.net> Message-ID: <20011212100441.B10995@mojo.cold.org> On Tue, Dec 11, 2001 at 03:16:50PM -0500, Jon wrote: > Currently, I am running the most recent stable version of Genesis and ColdCore > and I am trying to figure something out. As the subject may have hinted, I am > trying to figure out Climates and Weather. I've read the help files, and the > code on the associated objects, but I'll be the first to admit that I'm still > lost. > > Can anyone offer me advice on how the steps involved after creating a new realm > to assign a unique climate to it. > > If you want to e-mail me directly, please feel free. Miro was the original author of the climate system, and I havn't used it much, but I'll do my best to supplement the docs... mayhaps I'll update them too later... $world is the top level world object, it should be the most authoritative source for most things in the world. it defines the top level realm used in the world The realm is defined as a descendant of $realm. The setting weather-time can be referenced by other code, but should not be set manually, it is automatically set. The weather-setting references a climate. In this case $climate_taobh_thiar. The climate defines the various seasons and the various weathers... Do you have any specific q's/problems that can be addressed? -Brandon From bradleyr1@iname.com Wed Dec 12 20:58:54 2001 From: bradleyr1@iname.com (Robert Bradley) Date: Wed, 12 Dec 2001 13:58:54 -0700 Subject: [Coldstuff] patch for GMT offset In-Reply-To: <20011212093554.A10976@mojo.cold.org> Message-ID: <000901c1834f$d08f1ea0$e415313f@laptop> Hey Brandon, Speaking of patches, I have several patches for genesis relating to the VC++ compiler, where would you like me to submit those to? Rob -----Original Message----- From: cold-coldstuff-admin@cold.org [mailto:cold-coldstuff-admin@cold.org] On Behalf Of brandon@roguetrader.com Sent: Wednesday, December 12, 2001 9:36 AM To: coldstuff@cold.org Subject: [Coldstuff] patch for GMT offset Attached is a patch against 1.1.9 which will make GMT offset be valid for all platforms (currently it only works on BSD platforms). -Brandon From benswords@yahoo.com Wed Dec 12 22:00:02 2001 From: benswords@yahoo.com (ben swords) Date: Wed, 12 Dec 2001 14:00:02 -0800 (PST) Subject: [Coldstuff] new to everything Message-ID: <20011212220002.65987.qmail@web20008.mail.yahoo.com> just wondering if i could pull off this thing i have been wanting to for a few weeks. i am in the process of making a website for a competition called thinkquest (http://www.thinkquest.org). i was wondering if i could use cold to make a text-based interactive game for my website. i have played 1 game that i know used cold which is the eternal city. i really hope this will work for my site! __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From cynewulf@usit.net Thu Dec 13 05:25:24 2001 From: cynewulf@usit.net (Allen Noe) Date: Wed, 12 Dec 2001 23:25:24 -0600 Subject: [Coldstuff] genesis bug and patch Message-ID: <3C183BC4.D89A30D4@usit.net> This is a multi-part message in MIME format. --------------F09A15F4494CB2DAB7FBAA83 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit It looks like method_bytecode can crash if it tries to decompile a catch any. A patch is attached. (Oh, and I'm back. Brandon, I'm told you want to talk to me?) --------------F09A15F4494CB2DAB7FBAA83 Content-Type: application/octet-stream; name="catch_bytecode.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="catch_bytecode.patch" LS0tIHNyYy9vcHMvb2JqZWN0LmMub3JpZwlUaHUgRGVjIDEzIDAwOjA3OjAwIDIwMDEKKysr IHNyYy9vcHMvb2JqZWN0LmMJVGh1IERlYyAxMyAwMDowODo1NSAyMDAxCkBAIC05MjAsOCAr OTIwLDEzIEBACiAgICAgICAgICAgICBkLnUuZnZhbCA9ICooKEZsb2F0KikoJm9wKSk7CiAg ICAgICAgICAgICBicmVhazsKICAgICAgICAgY2FzZSBUX0VSUk9SOgotICAgICAgICAgICAg ZC50eXBlID0gVF9FUlJPUjsKLSAgICAgICAgICAgIGQudS5lcnJvciA9IG9iamVjdF9nZXRf aWRlbnQob2JqLCBvcCk7CisgICAgICAgICAgICBpZiAob3AgPT0gLTEpIHsKKyAgICAgICAg ICAgICAgZC50eXBlID0gSU5URUdFUjsKKyAgICAgICAgICAgICAgZC51LnZhbCA9IC0xOwor ICAgICAgICAgICAgfSBlbHNlIHsKKyAgICAgICAgICAgICAgZC50eXBlID0gVF9FUlJPUjsK KyAgICAgICAgICAgICAgZC51LmVycm9yID0gb2JqZWN0X2dldF9pZGVudChvYmosIG9wKTsK KyAgICAgICAgICAgIH0KICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICBjYXNlIElERU5U OgogICAgICAgICAgICAgZC50eXBlID0gU1lNQk9MOwo= --------------F09A15F4494CB2DAB7FBAA83-- From bruce@puremagic.com Thu Dec 13 13:39:23 2001 From: bruce@puremagic.com (Bruce Mitchener) Date: Thu, 13 Dec 2001 05:39:23 -0800 (PST) Subject: [Coldstuff] genesis bug and patch (fwd) Message-ID: <200112131339.fBDDdNeL027335@portland.puremagic.com> Forgot to cc the list ... > It looks like method_bytecode can crash if it tries to decompile a catch any. > > A patch is attached. That doesn't happen with a virgin install of 1.1.9. It only starts with a previous patch that you'd written that fixed a different bug in method_bytecode. :) I'm still on vacation, but I'll deal with some of these patches when I return. I have a lot of work that won't show up as a patch that has been done with Brad Roberts that will become 1.2 or 2.0. There's also a working MVVC++ port that is sitting in my inbox from Rob Bradley. Cheers, - Bruce From bruce@puremagic.com Sat Dec 15 04:21:42 2001 From: bruce@puremagic.com (Bruce Mitchener) Date: Fri, 14 Dec 2001 21:21:42 -0700 Subject: [Coldstuff] patch for GMT offset References: <000901c1834f$d08f1ea0$e415313f@laptop> Message-ID: <3C1ACFD6.8030206@cubik.org> I'm back from vacation now. Could you forward them to me once again? Thanks, - Bruce Robert Bradley wrote: > Hey Brandon, Speaking of patches, I have several patches for genesis > relating to the VC++ compiler, where would you like me to submit those > to? From vanish1024@onebox.com Sat Dec 15 09:21:56 2001 From: vanish1024@onebox.com (Vanish 1024) Date: Sat, 15 Dec 2001 01:21:56 -0800 Subject: [Coldstuff] last_daytime Message-ID: <20011215092156.RELB13130.mta09.onebox.com@onebox.com> -- Vanish 1024 vanish1024@onebox.com - email (818) 630-2340 x5993 - voicemail/fax How do I get ColdCore 3.0.1999-08-28 to announce last_daytime changes? I got weather to announce, and that was no easy task. It seems that the realm(s) are not changing the proper information in order to get those sunrise sunset and other sorts of messages that are on $realm. Up until now (from $realm.advance_weather) 15: new = (d[5].daytime(d[6], d[3].daylength(d[2])))[2]; seems to always be the same setting. ~Kris Anderson __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com From Kris Anderson" This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C185B4.C67972A0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I'm working on writing a formatter to use some of the spiffy features = that MXP and MSP use with zMUD. MSP does the general multimedia type = stuff while MXP is a markup type language thing. At the moment I am trying to figure out how to send buffers. What I did = was copy $pueblo_format.do_obj over to $zmud_format.do_obj. Under line 18 of the code I need to some how append the buffer = `[27,91,49, 122] ([1z) to what ever Line 18 of the code deals with formatting exit names in such a way as to = when one clicks it, much like $pueblo_format, the command is send back = to Cold as if the user typed it. I've tried putting the whole mess into a list [] but when it does it's = thing it throws an error. Basicly any command that could be an MXP command needs to have = `[27,91,49, 122] in with it at the beginning before it is sent to = $connection.write. Any help is greatly appreciated. This sort of functionality would be a = boon to Cold that's for certain :) ------=_NextPart_000_0007_01C185B4.C67972A0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I'm working on writing a formatter to = use some of=20 the spiffy features that MXP and MSP use with zMUD.  MSP does the = general=20 multimedia type stuff while MXP is a markup type language = thing.
 
At the moment I am trying to figure out = how to send=20 buffers.  What I did was copy $pueblo_format.do_obj over to=20 $zmud_format.do_obj.
 
Under line 18 of the code I need to = some how append=20 the buffer `[27,91,49, 122] (<ESC>[1z) to = <SEND>what=20 ever</SEND>
 
Line 18 of the code deals with = formatting exit=20 names in such a way as to when one clicks it, much like $pueblo_format, = the=20 command is send back to Cold as if the user typed it.
 
I've tried putting the whole mess into = a list []=20 but when it does it's thing it throws an error.
 
Basicly any command that could be an = MXP command=20 needs to have `[27,91,49, 122] in with it at the = beginning before=20 it is sent to $connection.write.
 
Any help is greatly appreciated.  = This sort of=20 functionality would be a boon to Cold that's for certain :)
 
 
 
 
------=_NextPart_000_0007_01C185B4.C67972A0-- From bradleyr1@iname.com Sun Dec 16 09:11:31 2001 From: bradleyr1@iname.com (Robert Bradley) Date: Sun, 16 Dec 2001 02:11:31 -0700 Subject: [Coldstuff] $formatters In-Reply-To: <000a01c185f7$d688a420$6464a8c0@mouse> Message-ID: <000501c18611$a7bc5c30$0100a8c0@alphaprime> This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C185D6.FB5D8430 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit You might want to take a look at $ansi_format, it has to send buffer codes as well, and manages to do it with a substitution method. Rob -----Original Message----- From: cold-coldstuff-admin@cold.org [mailto:cold-coldstuff-admin@cold.org] On Behalf Of Kris Anderson Sent: Saturday, December 15, 2001 11:07 PM To: cold-coldstuff@cold.org Subject: [Coldstuff] $formatters I'm working on writing a formatter to use some of the spiffy features that MXP and MSP use with zMUD. MSP does the general multimedia type stuff while MXP is a markup type language thing. At the moment I am trying to figure out how to send buffers. What I did was copy $pueblo_format.do_obj over to $zmud_format.do_obj. Under line 18 of the code I need to some how append the buffer `[27,91,49, 122] ([1z) to what ever Line 18 of the code deals with formatting exit names in such a way as to when one clicks it, much like $pueblo_format, the command is send back to Cold as if the user typed it. I've tried putting the whole mess into a list [] but when it does it's thing it throws an error. Basicly any command that could be an MXP command needs to have `[27,91,49, 122] in with it at the beginning before it is sent to $connection.write. Any help is greatly appreciated. This sort of functionality would be a boon to Cold that's for certain :) ------=_NextPart_000_0006_01C185D6.FB5D8430 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

You might want to take a look at = $ansi_format, it has to send buffer codes as well, = and manages to do it with a substitution = method.

 

Rob

 

-----Original = Message-----
From: cold-coldstuff-admin@cold.org [mailto:cold-coldstuff-admin@cold.org] = On Behalf Of Kris Anderson
Sent: Saturday, December = 15, 2001 11:07 PM
To: = cold-coldstuff@cold.org
Subject: [Coldstuff] = $formatters

 

I'm working on writing a = formatter to use some of the spiffy features that MXP and MSP use with zMUD.  = MSP does the general multimedia type stuff while MXP is a markup type = language thing.

 

At the moment I am trying = to figure out how to send buffers.  What I did was copy $pueblo_format.do_obj = over to $zmud_format.do_obj.

 

Under line 18 of the code I = need to some how append the buffer `[27,91,49, 122] (<ESC>[1z) to <SEND>what ever</SEND>

 

Line 18 of the code deals = with formatting exit names in such a way as to when one clicks it, much like $pueblo_format, the command is send back to Cold as if the user typed = it.

 

I've tried putting the = whole mess into a list [] but when it does it's thing it throws an = error.

 

Basicly any command that = could be an MXP command needs to have `[27,91,49, 122] in with it at the beginning = before it is sent to $connection.write.

 

Any help is greatly appreciated.  This sort of functionality would be a boon to Cold = that's for certain :)

 

 

 

 

------=_NextPart_000_0006_01C185D6.FB5D8430-- From bruce@puremagic.com Sun Dec 16 12:28:15 2001 From: bruce@puremagic.com (Bruce Mitchener) Date: Sun, 16 Dec 2001 05:28:15 -0700 Subject: [Coldstuff] $formatters References: <000501c18611$a7bc5c30$0100a8c0@alphaprime> Message-ID: <3C1C935F.9060300@cubik.org> Robert Bradley wrote: > You might want to take a look at $ansi_format, it has to send buffer > codes as well, and manages to do it with a substitution method. To be more specific, $ansi_format handles it by using \A in the $ansi_format.do_font() method and then in $ansi_format.format(), when it converts to a buffer, it does a bufsub() to translate the \A to the correct buffer sequence. Will your MXP support also be using the ANSI support? Or will it use some other means to handle color? - Bruce From joerg@fs.is.uni-sb.de Sun Dec 16 14:55:28 2001 From: joerg@fs.is.uni-sb.de (Joerg Weber) Date: Sun, 16 Dec 2001 15:55:28 +0100 (CET) Subject: [Coldstuff] $formatters In-Reply-To: <3C1C935F.9060300@cubik.org> Message-ID: Hello, some years back, I've written (X)MCP support for Cold. If there's interest, I can see wether I can find my core somewhere and share the changes I've made. Joerg On Sun, 16 Dec 2001, Bruce Mitchener wrote: > Robert Bradley wrote: > > > You might want to take a look at $ansi_format, it has to send buffer > > codes as well, and manages to do it with a substitution method. > > > To be more specific, $ansi_format handles it by using \A in the > $ansi_format.do_font() method and then in $ansi_format.format(), when it > converts to a buffer, it does a bufsub() to translate the \A to the > correct buffer sequence. > > Will your MXP support also be using the ANSI support? Or will it use > some other means to handle color? > > - Bruce > > > _______________________________________________ > Cold-Coldstuff mailing list > Cold-Coldstuff@cold.org > http://web.cold.org/mailman/listinfo/cold-coldstuff > From bruce@puremagic.com Sun Dec 16 17:17:57 2001 From: bruce@puremagic.com (Bruce Mitchener) Date: Sun, 16 Dec 2001 10:17:57 -0700 Subject: [Coldstuff] $formatters References: Message-ID: <3C1CD745.2090309@cubik.org> Joerg Weber wrote: > some years back, I've written (X)MCP support for Cold. If there's > interest, I can see wether I can find my core somewhere and share the > changes I've made. You're referring to the support for doing special stuff with TkMOO, right? That's distinct from the MSP/MXP stuff that this thread was about. But Brandon or others may be interested in incorporating your code and the MXP/MSP code into future revs of ColdCore. Who knows? - Bruce From brandon@roguetrader.com Sun Dec 16 19:01:39 2001 From: brandon@roguetrader.com (brandon@roguetrader.com) Date: Sun, 16 Dec 2001 12:01:39 -0700 Subject: [Coldstuff] $formatters In-Reply-To: <3C1CD745.2090309@cubik.org>; from bruce@puremagic.com on Sun, Dec 16, 2001 at 10:17:57AM -0700 References: <3C1CD745.2090309@cubik.org> Message-ID: <20011216120138.A1002@mojo.cold.org> On Sun, Dec 16, 2001 at 10:17:57AM -0700, Bruce Mitchener wrote: > Joerg Weber wrote: > > > some years back, I've written (X)MCP support for Cold. If there's > > interest, I can see wether I can find my core somewhere and share the > > changes I've made. > > You're referring to the support for doing special stuff with TkMOO, right? > > That's distinct from the MSP/MXP stuff that this thread was about. But > Brandon or others may be interested in incorporating your code and the > MXP/MSP code into future revs of ColdCore. Who knows? I would love to see better MCP support in coldcore. -Brandon From bradleyr1@iname.com Sun Dec 16 20:03:38 2001 From: bradleyr1@iname.com (Robert Bradley) Date: Sun, 16 Dec 2001 13:03:38 -0700 Subject: [Coldstuff] match_template() Message-ID: <001201c1866c$c0e33430$0100a8c0@alphaprime> This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C18632.14845C30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I wanted to propose a change to add functionality to match_template. I would like to modify it so that it can match asterisks that are adjacent to other characters besides =, ie @program *.* would be valid. I would also like to add optional matches such as @program *.* [*]. The original functionality of match_template should still work with these extra features. If anyone has a problem with these or suggestions please post, because I won't write the patch unless it's going to make it in the genesis distribution. Thanks. Rob ------=_NextPart_000_0013_01C18632.14845C30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I wanted to propose a change to add functionality to = match_template.  I would like to modify it so = that it can match asterisks that are adjacent to other characters besides =3D, ie @program *.* would be valid.  I would also like to add = optional matches such as @program *.* [*].  = The original functionality of match_template = should still work with these extra features.  If anyone has a problem with these or suggestions please post, because I = won’t write the patch unless it’s going to make it in the genesis = distribution.  = Thanks.

 

Rob

------=_NextPart_000_0013_01C18632.14845C30-- From K Anderson" This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C18959.08D3AFB0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Here is some preliminary code for handling MXP, it is still under = revision. For the most part it uses the ANSI formatter but does some = mods to exits, details and objects. When using zMUD, hovering over an = exit will of course tell you what's up, then clicking it will send off = the command back to the server. ;var p, new; if(!(| valid($zmud_format) |)) { new =3D = $ansi_format.spawn(); new.set_objname('zmud_format);} ;|as $zmud_format<$root>;manager =3D $zmud_format; ;|as $zmud_format<$root>;flags =3D ['variables, 'methods, 'code]; ;|as $zmud_format<$root>;created_on =3D 1008434622; ;|as $zmud_format<$root>;inited =3D 1; ;|as $zmud_format<$dmi_data>;descriptions =3D #[]; @program $zmud_format.do_mxpsound() +access=3Dpub arg vars, flags, args; // One might be so inclined to change the U=3D URL to maybe match the = 'base_url that is created in Cold so that it matches the one in the = pueblo formatter. return ["\AZZ", vars]; =20 // $#Edited: 16 Dec 01 03:54 $user_shar . @program $zmud_format.format() +access=3Dpub arg data, vars; var str, len, line; =20 str =3D (> (._eval_ctext(data, vars))[1] <); if (strlen(str) < 2 || substr(str, strlen(str) - 1) !=3D "\n") str +=3D "\n"; =20 // ugly and inneficient--use a client people // out =3D str_to_buf(str); // out =3D out.bufsub(`[92, 65], `[27, 91]); // go in and change all the \AZZs to the command code for MXP then also = change all the ANSI stuff too. :) return str_to_buf(str).bufsub(`[92, 65, 90, 90], `[27, 91, 49, = 122]).bufsub(`[92, 65], `[27, 91]); =20 . @program $zmud_format.do_obj() +access=3Dpub arg vars, flags, args; var gateway, argname, output, context, object, name, options; =20 name =3D flags.getkey("name"); [name, vars] =3D ._eval_ctext([name], vars); context =3D flags.getkey("context"); options =3D (| flags.getkey("options") |); object =3D args[1]; if (type(context) =3D=3D 'string) context =3D tosym(context); if (options && type(options) =3D=3D 'string) options =3D tosym(options); switch (context) { case 'look: if (options) { switch (options) { case 'exit: output =3D ["\AZZ" + flags.getkey("name") + = "", vars]; case 'contained: output =3D ["\AZZ\A1;4m" + flags.getkey("name") + = "\A0m", vars]; } } else { output =3D ["\AZZ" + name + "", vars]; } case 'display: [gateway, argname] =3D ["display", "target"]; case 'exit: output =3D ["" + = name + "", vars]; } if (output) return output; return ["" + name + "", vars]; =20 @program $zmud_format.do_detail() +access=3Dpub arg vars, flags, args; =20 return ["\AZZ\A1;4m" + flags.getkey("name") + "\A0m", vars]; =20 . @program $zmud_format.do_image() +access=3Dpub arg vars, flags, args; var src, html, alt; =20 src =3D flags.getkey("src"); alt =3D (| "alt=3D\"" + flags.getkey("alt") + "\"" |) || ""; if (!match_regexp(src, "^(http|ftp):")) src =3D vars['base_url] + src; return ["\AZZ", vars]; =20 ------=_NextPart_000_000E_01C18959.08D3AFB0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Here is some preliminary code for = handling MXP, it=20 is still under revision.  For the most part it uses the ANSI = formatter but=20 does some mods to exits, details and objects.  When using zMUD, = hovering=20 over an exit will of course tell  you what's up, then clicking it = will send=20 off the command back to the server.
 
;var p, new; if(!(| valid($zmud_format) = |)) { new =3D=20 $ansi_format.spawn(); new.set_objname('zmud_format);}
;|as=20 $zmud_format<$root>;manager =3D $zmud_format;
;|as=20 $zmud_format<$root>;flags =3D ['variables, 'methods, = 'code];
;|as=20 $zmud_format<$root>;created_on =3D 1008434622;
;|as=20 $zmud_format<$root>;inited =3D 1;
;|as=20 $zmud_format<$dmi_data>;descriptions =3D #[];
@program=20 $zmud_format.do_mxpsound() +access=3Dpub
  arg vars, flags,=20 args;
  // One might be so inclined to change the U=3D URL = to maybe=20 match the 'base_url that is created in Cold so that it matches = the one=20 in the pueblo formatter.
  return ["\AZZ<SOUND " +=20 flags.getkey("src") + " U=3Dhttp://192.168.100.105/~tempest/sound/>", = vars];
  

  // $#Edited: 16 Dec 01 03:54=20 $user_shar
.
@program $zmud_format.format() = +access=3Dpub
  arg=20 data, vars;
  var str, len, line;
 
  str =3D = (>=20 (._eval_ctext(data, vars))[1] <);
  if (strlen(str) < 2 || = substr(str, strlen(str) - 1) !=3D = "\n")
      str +=3D=20 "\n";
 
  // ugly and inneficient--use a client=20 people
  // out =3D str_to_buf(str);
  // out =3D = out.bufsub(`[92,=20 65], `[27, 91]);
 // go in and change all the \AZZs = to the=20 command code for MXP then also change all the ANSI stuff too. = :)
 =20 return str_to_buf(str).bufsub(`[92, 65, 90, 90], `[27, 91, 49,=20 122]).bufsub(`[92, 65], `[27, 91]);
 

.
@program=20 $zmud_format.do_obj() +access=3Dpub
  arg vars, flags, = args;
  var=20 gateway, argname, output, context, object, name, options;
  =
 =20 name =3D flags.getkey("name");
  [name, vars] =3D = ._eval_ctext([name],=20 vars);
  context =3D flags.getkey("context");
  options = =3D (|=20 flags.getkey("options") |);
  object =3D args[1];
  if=20 (type(context) =3D=3D 'string)
      context = =3D=20 tosym(context);
  if (options && type(options) =3D=3D=20 'string)
      options =3D = tosym(options);
 =20 switch (context) {
      case=20 'look:
          if = (options)=20 {
           &n= bsp; =20 switch (options)=20 {
           &n= bsp;     =20 case=20 'exit:
          &nb= sp;          =20 output =3D ["\AZZ<SEND>" + flags.getkey("name") + "</SEND>", = vars];
          &nb= sp;      =20 case=20 'contained:
         &nbs= p;           =20 output =3D ["\AZZ<SEND href=3D\"look " + flags.getkey("name") + = "\">\A1;4m" +=20 flags.getkey("name") + "\A0m</SEND>",=20 vars];
          &nb= sp;  =20 }
          } else=20 {
           &n= bsp; =20 output =3D ["\AZZ<SEND href=3D\"look " + object.name('noarticle) + = "\">" +=20 name + "</SEND>",=20 vars];
         =20 }
      case=20 'display:
          = [gateway,=20 argname] =3D ["display", "target"];
      = case=20 'exit:
          output = =3D=20 ["<a xch_cmd=3D\"go " + object.name() + "\">" + name + = "</a>",=20 vars];
  }
  if = (output)
     =20 return output;
  return ["<a href=3D\"" + vars['base_url] + = "/bin/" +=20 gateway + "?" + argname + "=3D" + tostr(object) + "\">" + name + = "</a>",=20 vars];
 
@program $zmud_format.do_detail() = +access=3Dpub
  arg=20 vars, flags, args;
 
  return ["\AZZ<SEND = href=3D\"look " +=20 flags.getkey("name") + "\">\A1;4m" + flags.getkey("name") +=20 "\A0m</SEND>", vars];
 
.
@program = $zmud_format.do_image()=20 +access=3Dpub
  arg vars, flags, args;
  var src, html,=20 alt;
 
  src =3D flags.getkey("src");
  alt =3D = (| "alt=3D\""=20 + flags.getkey("alt") + "\"" |) || "";
  if (!match_regexp(src,=20 "^(http|ftp):"))
      src =3D = vars['base_url] +=20 src;
  return ["\AZZ<IMAGE FName=3D\"" + FName + "\" = align=3Dleft=20 hspace=3D10 " + alt + ">", vars];
  =
------=_NextPart_000_000E_01C18959.08D3AFB0-- From grimslayde@lonewolfe.net Fri Dec 21 21:29:11 2001 From: grimslayde@lonewolfe.net (Grimslayde) Date: Fri, 21 Dec 2001 15:29:11 -0600 Subject: [Coldstuff] Frobbery Message-ID: <000d01c18a66$88f3c960$831a7642@ACROFT2K> Greets! I heard it straight from the horse's mouth that frobs were "a failed experiment" the last time I asked about them, but still I persist in my foolish notion that they may be of use to me. I'm dealing with currency, in particular - dropping and picking up coins. I've seen the $coin_frob mentioned in the help file and I spotted it on tCD, but alas I remain ignorant. Is it possible to use these $thing_frobs for such a utilitarian purpose rather than waste a object number on creating when money is dropped? If so, can someone point me in the right direction? I'm gonna peer into the $wearable_frob, but if someone could sound off I'd love to hear it. As always, thanks!!! - Grim/Paidran/Andy/That Guy Who Does Stuff From brandon@roguetrader.com Sat Dec 22 22:04:36 2001 From: brandon@roguetrader.com (brandon@roguetrader.com) Date: Sat, 22 Dec 2001 15:04:36 -0700 Subject: [Coldstuff] Frobbery In-Reply-To: <000d01c18a66$88f3c960$831a7642@ACROFT2K>; from grimslayde@lonewolfe.net on Fri, Dec 21, 2001 at 03:29:11PM -0600 References: <000d01c18a66$88f3c960$831a7642@ACROFT2K> Message-ID: <20011222150435.B6047@mojo.cold.org> On Fri, Dec 21, 2001 at 03:29:11PM -0600, Grimslayde wrote: > Greets! > I heard it straight from the horse's mouth that frobs were "a failed > experiment" the last time I asked about them, but still I persist in my > foolish notion that they may be of use to me. > > I'm dealing with currency, in particular - dropping and picking up > coins. I've seen the $coin_frob mentioned in the help file and I spotted it > on tCD, but alas I remain ignorant. > > Is it possible to use these $thing_frobs for such a utilitarian purpose > rather than waste a object number on creating when money is dropped? If so, > can someone point me in the right direction? I'm gonna peer into the > $wearable_frob, but if someone could sound off I'd love to hear it. The issue is that you add a lot of overhead through duplicate code, because ultimately a frob is NOT an object, so things are handled differently, such as setting parameters, etc (since it doesn't exist as a unique entity). Because of this you end up increasing the complexity of any VR code by an order of magnitude, and for what gain? Nil. Objects already are fairly lightweight, why simulate them? Frobs in general are useful, just not as VR objects. -Brandon From frankc@maddog.com Sun Dec 23 22:14:56 2001 From: frankc@maddog.com (Frank Crowell) Date: Sun, 23 Dec 2001 14:14:56 -0800 Subject: [Coldstuff] anyone want to help with creating a 3D cold Message-ID: <001f01c18bff$41a15ce0$0501a8c0@ramphome.com> This is a multi-part message in MIME format. ------=_NextPart_000_001C_01C18BBC.32BDDA20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I need someone to help me understand what it would take to = integrate/enhance a cold server to work with an ongoing server emulation = project. The project is open source and already has working servers. = The objective is to look at the world and zone servers and determing = what and how the cold server could replace the zone servers and maybe = even the world server. Since there is already a reference model, it's = fairly easy to determine if the cold conversion matches the existing = servers. This means I am looking for someone that can: - read and code in C -at least read C++ code; write C++ would be nice too -knows or can learn some basic Mysql stuff -fairly well understands the cold server and how to add functions to the = server (C code) Currently the servers run on Unix and MSWindows, although the Unix port = is lagging behind the MSWindows. If you are interested in getting involved with this project send mail to = frankc@maddog.com. I am not the project manager for the emulation = project, I am just an interested person.=20 Meanwhile happy holidays and the year 2002 just has to be better than = 2001. frank P.S. If you were on my mail list vworlds-biz, the list is now dead = thanks to Verio and their view of what they consider good service. I = will be reviving some form of this list in early 2002 as soon as I = figure out what I am going to do for computer services. ------=_NextPart_000_001C_01C18BBC.32BDDA20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I need someone to help me understand what it would = take to=20 integrate/enhance a cold server to work with an ongoing server emulation = project. The project is open source and already has working = servers.  The=20 objective is to look at the world and zone servers and determing what = and how=20 the cold server could replace the zone servers and maybe even the world=20 server.  Since there is already a reference model, it's fairly easy = to=20 determine if the cold conversion matches the existing = servers.
 
This means I am looking for someone that = can:
 
- read and code in C
-at least read C++ code; write C++ would be nice=20 too
-knows or can learn some basic Mysql = stuff
-fairly well understands the cold server and how to = add=20 functions to the server (C code)
 
Currently the servers run on Unix and MSWindows, = although the=20 Unix port is lagging behind the MSWindows.
 
 
If you are interested in getting involved with this = project=20 send mail to frankc@maddog.com.  I=20 am not the project manager for the emulation project, I am just an = interested=20 person. 
 
Meanwhile happy holidays and the year 2002 just has = to be=20 better than 2001.
 
frank
 
P.S. If you were on my mail list = vworlds-biz,=20 the list is now dead thanks to Verio and their view of what they = consider good=20 service.  I will be reviving some form of this list in early 2002 = as soon=20 as I figure out what I am going to do for computer=20 services.
------=_NextPart_000_001C_01C18BBC.32BDDA20-- From K Anderson" This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C18D5B.E271E560 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Could somebody give a really good step by step example on how to do = stuff with events? I would like to know how to register them, make them work, general stuff = like that. Let's say I create an event called 'music. How would I = register it then get the world, realm, room, user, player (or what ever) = to know that it is occuring and where I should put code at to handle the = event. You know, stuff like that. I'm finding a the help files a little confusing and in some cases = unfinished. Help is greatly appreciated. Thanks. ------=_NextPart_000_001E_01C18D5B.E271E560 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Could somebody give a really good step = by step=20 example on how to do stuff with events?
 
I would like to know how to register = them, make=20 them work, general stuff like that.  Let's say I create an event = called=20 'music.  How would I register it then get the world, realm, = room,=20 user, player (or what ever) to know that it is occuring and where I = should=20 put code at to handle the event.  You know, stuff like = that.
 
I'm finding a the help files a little = confusing and=20 in some cases unfinished.
 
Help is greatly appreciated. = Thanks.
 
 
------=_NextPart_000_001E_01C18D5B.E271E560-- From bruce@puremagic.com Sun Dec 30 21:29:31 2001 From: bruce@puremagic.com (Bruce Mitchener) Date: Sun, 30 Dec 2001 14:29:31 -0700 Subject: [Coldstuff] tutorial Message-ID: <3C2F873B.2030808@cubik.org> Well, I figured that restoring the old tutorial might be useful, so, I dug it out of www.archive.org's archive of the web. I've put it online at: http://www.cubik.org/mirrors/cold/ A lot of the information there is old, out of date, or missing (never written), but maybe it'll inspire someone out there to go and write a better set of tutorial documents or something. Enjoy, - Bruce From coldstuff@cold.org Sun Dec 9 22:19:13 2001 From: coldstuff@cold.org (coldstuff@cold.org) Date: Sun, 9 Dec 2001 17:19:13 -0500 Subject: [Coldstuff] Advisory: Security hole with ColdCore References: <20020123185007.A22072@mojo.cold.org> Message-ID: <002301c180ff$88d71f60$9900a8c0@alpha> Hey if you could send me the fix, that would be appreciated. Jon ----- Original Message ----- From: "Brandon Gillespie" To: Sent: Wednesday, January 23, 2002 8:50 PM Subject: [Coldstuff] Advisory: Security hole with ColdCore > This is an advisory to anybody running ColdCore. There is a security > hole which was found by xmath where anybody can run code as an > administrator. I'll post the fix here in a week or so, to give > administrators a chance to fix it first. To get the fix either > contact me via email or get on the Cold Dark and ask either me or > xmath. > > -Brandon Gillespie > _______________________________________________ > Cold-Coldstuff mailing list > Cold-Coldstuff@cold.org > http://web.cold.org/mailman/listinfo/cold-coldstuff >