Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 03-15-2009, 03:27 PM   #21
Fizban
Member
 
Join Date: Jul 2006
Name: Brandon
Location: Shelby Township, Michigan
Home MUD: The Builder Academy
Home MUD: 4 Dimensions
Posts: 144
Fizban is on a distinguished road
Re: Revolutionary New OLC and Scripting

NIMScripts command functions do not replace existing mud commands by default, a special call to "return(1)" alerts the MUD that it should not continue looking for other commands (command syntax properly entered, so stop here) -- if this is not used, the command executes and then the mud continues to the next command. So, in effect, you can override or augment standard commands like 'wear', 'lock', 'drop', 'get' etc by adding a command like this to a "prop" (similar to Diku "object")

DG can do this as well. DG overrides the actual mudcommand by default, but can be set not to.

A few examples below:

That script fires if they type look with no argument, ie. to look at the room. They would get that message in place of seeing the room as would usually occur.

This script is the same as the one before except it triggers when anything is typed by players in the room. (arg list of * does this). It then checks what they typed against the command interpreter and if it would be interpreted as 'look' the "if %cmd.mudcommand% == look" part of the first if check is true. As such this one fires when they type l, lo, loo, or look if all of those would make them look if the script wasn't there. The return 0 in the else tells the script to pass the players input to the MUD as if the script wasn't there so that it doesn't interfere with commands other than 'look'.

This one sends the message in addition to showing them the room as usual due to the return 0 at the top passing the input to the command interpreter in addition to anything the script is doing.

Note: I'm not trying to one up NIMSCript, I'm really mostly comparing because it piques my interest as well, to the best of my knowledge DG was what I'd always considered to be, by far, the most advanced scripting used in any DIKU derived codebase that wasn't just an existing language embedded into the MUD. (ie, I'm not comparing it non mud-specific languages like lua which can be embedded.)
Fizban is offline   Reply With Quote
Old 03-16-2009, 11:40 AM   #22
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

This one sends the message in addition to showing them the room as usual due to the return 0 at the top passing the input to the command interpreter in addition to anything the script is doing.

Note: I'm not trying to one up NIMSCript, I'm really mostly comparing because it piques my interest as well, to the best of my knowledge DG was what I'd always considered to be, by far, the most advanced scripting used in any DIKU derived codebase that wasn't just an existing language embedded into the MUD. (ie, I'm not comparing it non mud-specific languages like lua which can be embedded.)[/quote]


Is it mere coincidence that both languages use %variable% syntax? Probably not. NiMScripts have been made available as early as December 1993, so it's likely that parts of NiM's interpreter ended up as DG Scripts.

Here's an example of the mining script:
MUSHes are still easier to write code for, somewhat, because all objects in a MUSH are essentiall the same type. The split between actor/prop/scene is difficult to manage from the hardcode side because of the multiple types distinction on entities. It would probably take a week to fix this, with a lot of unknown consequences.

Here is an example of the script used to manage a pirate ship adventure:


The adventure begins when the player boards the ship. The player is then subject to the changes in the ship's state as set by the above script on a shipmate actor. The script digs an exit to a merchant vessel area with aggressive mobs during one of its random events. In another case, the player is transported to a lifeboat during a storm because the ship has wrecked. Several ancillary scripts are used: one to transport the player to the vessel Aelmon in the first place, another to manage the adventure from inside the Aelmon, and a script for effect during combat on the neighboring vessel, and a fourth script to handle the storm event once the player has been placed on the life boat.

Last edited by locke : 03-16-2009 at 10:25 PM.
locke is offline   Reply With Quote
Old 03-16-2009, 12:28 PM   #23
KaVir
Legend
 
KaVir's Avatar
 
Join Date: Apr 2002
Name: Richard
Home MUD: God Wars II
Posts: 2,052
KaVir will become famous soon enoughKaVir will become famous soon enough
Re: Revolutionary New OLC and Scripting

DG Scripts come from Death's Gate MUD, which was written from 1993 to 1994, and therefore predates NiMScripts. However NiMUD is based on Merc 2.2 (released in October 1993), which comes with a modified version of the scripting system developed by Worlds of Carnage in 1992, so it could be that they were both inspired by the same system. This would make sense, as Worlds of Carnage was the first Diku with embedded scripting. Did you remove the scripting system from Merc 2.2 before adding your own, or did you modify it into the NiMScripts?

I'm not sure if it's really a "revolutionary new OLC and scripting" if it's been around for 14 years though....
KaVir is offline   Reply With Quote
Old 03-16-2009, 01:48 PM   #24
Fizban
Member
 
Join Date: Jul 2006
Name: Brandon
Location: Shelby Township, Michigan
Home MUD: The Builder Academy
Home MUD: 4 Dimensions
Posts: 144
Fizban is on a distinguished road
Re: Revolutionary New OLC and Scripting

The World's of Carnage inspiration is a possibility I suppose, but Death's Gate was a CircleMUD and not a Merc derivative.



And Locke, do not let me catch you editing Wikipedia again to add this:


It has been removed, and if said false information is added back I will be very annoyed. I suppose I can't prove it's you, but here's the revision information from wikipedia of it being added less than two weeks ago:

This is an old revision of this page, as edited by 98.111.199.226 (talk) at 17:36, 4 March 2009. It may differ significantly from the current revision.

I'd bet money that 98.111.199.226 is your current IP or was as of two weeks ago. EDIT: (I traced the IP, it's in Pennsylvania, anyone know if that is where Locke lives?)
In fact do me a larger favor. Stop editing any and all MUD related wikipedia pages to make references to NiMUD. NiMUD's page was deleted some time ago due to being voted to be of little consequence, relatively unknown, and to have few MUDs running it. Since then you seem to have tried editing almost every other DIKU codebase's page in existence to add mention of NiMUD to it. Why do you bother? I'm guessing vanity, and that hopefully if it is mentioned on enough other pages you will have an easier time making the claim that it is of enough consequence to deserve its own page once again. Frankly I don't care for the reason, I do not want to see NiMUD referenced as being an inspiration for CircleMUD or DG Scripts when it was pre-dated by both.

Last edited by Fizban : 03-16-2009 at 02:11 PM.
Fizban is offline   Reply With Quote
Old 03-16-2009, 10:24 PM   #25
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

Well, early versions of The Isles had the original interpreter. Those versions were released in late 1993. I didn't have an account at any ISPs or Universities at the time, so I used Don Jone's account, and several others. Later, I fixed a major memory leak which made the language usable in 1996. I took a hiatus from coding in late 1997 which lasted until 2000. I then took another break until 2003. In 2003 I fixed a long time issue which opened the language up to a stable base of functions. It took three days to find it.

At the time the only other system available for Merc and that I was aware of aside from MUSHcode was MobProgs.

I based the %-% variable method from MS-DOS Batch File language. Since I was at the time developing The Isles using the DJGPP Compiler, and it seemed like something easy to implement. I've since then learned a lot more about programming and my experience has become quite vast. I can see where I could write a better language in retrospect, but don't really see a reason to because writing the software is not profitable for me. I'm also displeased with its illegal sale by Owen Emlen, so my days in MUD development are pretty numbered.

Considering many of the advanced features were only recently programmed, and since this thread proves its superior feature set, I would say "revolutionary" and "new" are fine adjectives. Additional evidence to back this up is in the 80 or so downloads since January, proving the software is still a cult classic.

Fizban,
As for your unfounded claims versus me on Wikipedia, you might want to consider that I have an avid fanbase, many of which do actively use other websites and it is very possible that discussions on my MUD may have lead to others erroneously making claims on other websites.

Regards,
Locke

Last edited by locke : 03-16-2009 at 10:45 PM.
locke is offline   Reply With Quote
Old 03-16-2009, 10:29 PM   #26
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

Actually, it's because you're obscuring the truth and lying about my software, along with many others, who share a group delusion. You think you're "defending the truth", but you're really "ganging up on the truthsayer".

These letters prove the circulation of NiMUD as early as October. I had already uploaded this information to several MUD archival sites, including wuarchive, and other defunct FTP directories services.

Bull**** your way out of believing it all you want, but I speak the truth when I talk about the 3Q-4Q of 1993.



<- October, at least 1 month after it was released to several FTP sites and announced privately on MUD bboards such as at Hidden Worlds MU*

Last edited by locke : 03-16-2009 at 10:48 PM.
locke is offline   Reply With Quote
Old 03-16-2009, 10:37 PM   #27
Fizban
Member
 
Join Date: Jul 2006
Name: Brandon
Location: Shelby Township, Michigan
Home MUD: The Builder Academy
Home MUD: 4 Dimensions
Posts: 144
Fizban is on a distinguished road
Re: Revolutionary New OLC and Scripting

I'm making no claims about your software. I stated DG was not in anyway derived from it, but I didn't state that yours was derived from DG either. I did though in fact state that I would appreciate you keeping the DG Scripts Wikipedia Page free of all references to NIMScript. As to whether or not you actually made the change yourself I can't prove as I do not know your IP nor where you live. What I do know is that whoever made the changes does live in Pennsylvania. I also know that Thomas Arp aka. Welcor wrote most of the DG Scripts language and that it was not derived from NIMScripts. I also know that KaVir has deleted references to NiMud in the past from the GodWars Wikipedia Page so that whoever is adding references to NiMUD to one of the pages is likely the same person who has added them to all of them in the past. I also know the change was added to the DG Scripts page just shy of two weeks ago which was around the same time that you recently began posting on TMC again.

Summary for those with tl;dr syndrome: I make no claims about the history of NiMScript, but I will vehemently deny any claim that DG is a derivative of said language as I have never heard of NiMScript till recently and have worked with Thomas Arp on TBA for five years and know that 99%+ of what is today known as DG Scripts was written by him or was in the initial release by the DG Staff when they released it. (ie. he coded the majority of the differenced between what it was then and is today, not that he coded the initial language that was used on Death's Gate)
Fizban is offline   Reply With Quote
Old 03-16-2009, 11:05 PM   #28
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting


Last edited by locke : 03-18-2009 at 04:11 PM.
locke is offline   Reply With Quote
Old 03-16-2009, 11:07 PM   #29
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

I would say the languages are not similar aside from the use of %<somevar>%, and possibly function calls which look like LPC anyway. I only recently named them NIMScripts (2003) -- before that they were referred to as "NiMUD's scripting language" or "NIM script interpreter". It's been a part of The Isles since 1994, but I wanted to wait to release it and now that some time has passed it is time to! I believe I even wrote a "how to" guide a few years back on installing them in other DIKUs. It's no easy chore though.
locke is offline   Reply With Quote
Old 03-17-2009, 04:53 AM   #30
KaVir
Legend
 
KaVir's Avatar
 
Join Date: Apr 2002
Name: Richard
Home MUD: God Wars II
Posts: 2,052
KaVir will become famous soon enoughKaVir will become famous soon enough
Re: Revolutionary New OLC and Scripting

That post is dated 31 July 1994. As I mentioned previously, Merc 2.2 (which TheIsles is based on) wasn't released until October 1993.
KaVir is offline   Reply With Quote
Old 03-17-2009, 09:37 AM   #31
Fizban
Member
 
Join Date: Jul 2006
Name: Brandon
Location: Shelby Township, Michigan
Home MUD: The Builder Academy
Home MUD: 4 Dimensions
Posts: 144
Fizban is on a distinguished road
Re: Revolutionary New OLC and Scripting

That just made me chuckle, I hadn't even bothered clicking his link to look at it till you quoted it but yeah....when you provide a link to back up your side of a story and the link actually backs up the other person's more than your own I think it's time to realize that well, just maybe, the other person was actually *gasp* right.
Fizban is offline   Reply With Quote
Old 03-17-2009, 01:30 PM   #32
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

Oh, you're right it is. Well, there you have it. It's actually the post mentioned in a later reply above that shows OLC to be written for CthulhuMUD, my first mud, which became NiMUD.

Although I did mention the release date inside an original release as December 31st, 1993. Merc had just came out when I was starting MUDs. The MUD I started on was a Merc 1.0, called Nameless MUD. By naming my software Nameless Incarnate, I was attempting to keep things documented. Chris Woodward was in the hospital by late 1994, so we certainly couldn't have been developing the software in 1994 together because he was incapacitated. By late 1994 he to leave Penn State during his first semester, and had gained a considerate amount of weight and was actually slightly shorter than me - whereas when I met him he was taller than me and rail thin. By December 13, 1995 he was dead. So, claims made that he somehow continued to work after the initial release is impossible and he did not work on the MUD after early 1994, if at all in 1994. That post must be from a NeXT machine which I had access to after Chris went to college. Before that I had only worked locally using DJ Delorie's GNU C Compiler for MS-DOS, which is where The Isles OLC was original written. Both Chris and I had installed this compiler as per the instructions on the Merc 2.0 port. Since we were already fans of the software, we downloaded the newest version of Merc as soon as it was made available. So, the development occurred almost immediately after Merc 2.2's release and it was later included as an add-on to Envy, but only after ILAB was written a year or so later. I believe Chris was still alive when ILAB was started, because I remember him giving me permission to permit the port, and of course being friends he thought it was a cool thing. Both of us were excited when Jason Dinkel approached us sometime later.

This is OT though, we're here to discuss NiMScripts and new OLC features, not Wikipedia or The Isles start date.

Last edited by locke : 03-17-2009 at 02:12 PM.
locke is offline   Reply With Quote
Old 03-17-2009, 01:41 PM   #33
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

Merc 2.0 released in 1993 :
Already on MSDOS:
Already distributed by April 21:
This is the post that shows Hidden Worlds added their OLC, mid-1993. This was the first one I ever saw on a Merc and it was the inspiration for ours though I never immorted -- Chris Woodward did -- our OLC was released only a few months later:
Me announcing CthulhuMUD using my friend Chris Tchou's Andrew account: Sept 1, 1993 -- this is precisely the time when we wrote OLC for our MUDs. It was only a few weeks/a month later that it was hacked and stolen, so we then released it publically. I re-released it several times in 1993 and 1994.
Looking for a site
Hidden Worlds goes down
Hidden Worlds back up!

Last edited by locke : 03-17-2009 at 02:01 PM.
locke is offline   Reply With Quote
Old 03-17-2009, 02:02 PM   #34
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

Sept 19, 1993, Circle 2.11 released
User looking for CthulhuMUD October 7th, 1993
CthuhuMUD back on new server
CircleMUD 2.20 released Nov 17, 1993
NiMUD had been created at this point, and my personal "NiMUD" development site, post-Chris Woodward: Dec 3, 1993
Evidence that OLC was already written: Dec 27-31, 1993 .. I gave it to the one person, then I released it because I felt everybody deserved it.

Last edited by locke : 03-17-2009 at 02:15 PM.
locke is offline   Reply With Quote
Old 03-17-2009, 02:27 PM   #35
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

What the confusion is about is that I also released one Dec 31, 1994. This was a one year anniversary.
locke is offline   Reply With Quote
Old 03-17-2009, 04:29 PM   #36
Fizban
Member
 
Join Date: Jul 2006
Name: Brandon
Location: Shelby Township, Michigan
Home MUD: The Builder Academy
Home MUD: 4 Dimensions
Posts: 144
Fizban is on a distinguished road
Re: Revolutionary New OLC and Scripting

Simply something that piqued my curiosity, why were you posting under the name Donald H. Jones and signing the posts Herb Gilliand in the signature?
Fizban is offline   Reply With Quote
Old 03-17-2009, 05:18 PM   #37
KaVir
Legend
 
KaVir's Avatar
 
Join Date: Apr 2002
Name: Richard
Home MUD: God Wars II
Posts: 2,052
KaVir will become famous soon enoughKaVir will become famous soon enough
Re: Revolutionary New OLC and Scripting

Yup, but I was talking about Merc 2.2, which The Isles was based on. I just downloaded Merc 2.2 and The Isles to verify the dates, and noticed that the date I gave previously was incorrect - sorry about that. Merc 2.2 was actually released 24th November 1993. I may have been thinking of 13th October 1993 because it was the date Merc Industries dissolved.

I also noticed this header in the scr.c file in The Isles distribution:

So there we have it, mystery solved. Work on the Nimud scripts started 7th May 1994, derived from the MOBprograms code originally written by Natasha (who in turn was inspired by Worlds of Carnage), and modified by Kahn for Merc 2.2 (which was released 24th November 1993).
KaVir is offline   Reply With Quote
Old 03-17-2009, 07:45 PM   #38
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

It was my friend's email - he owned the account and I asked for access to it. I didn't have internet access, I was only 13 and my parents didn't have the internet. I was mainly into BBSes right before that.
locke is offline   Reply With Quote
Old 03-17-2009, 07:45 PM   #39
locke
Banned
 
Join Date: Jan 2009
Home MUD: nimud.divineright.org 5333
Posts: 195
locke is an unknown quantity at this point
Re: Revolutionary New OLC and Scripting

Looks like Hot for Words decided to investigate:
Thanks for proving something I asserted earlier, KaVir. Except, I must admonish the above statement because: the only thing remotely inspired by MOBProgs is a single function, do();

There are over 150 functions in the language. The list is too big to post here, but it accounts for a very small percentage of the work. I doubt a single line looks like MOBProgs.

You've also proven that The Isles was based on Merc 2.0, not Merc 2.2, initially. What kind of Merc do you think I was running in September, 1993? Obviously a Merc 2.0 or 2.1, perhaps even 2.1c

Last edited by locke : 03-17-2009 at 08:01 PM.
locke is offline   Reply With Quote
Old 03-18-2009, 06:18 AM   #40
KaVir
Legend
 
KaVir's Avatar
 
Join Date: Apr 2002
Name: Richard
Home MUD: God Wars II
Posts: 2,052
KaVir will become famous soon enoughKaVir will become famous soon enough
Re: Revolutionary New OLC and Scripting

The comment you wrote within the code claims that two of your functions are derived from the MOBprograms code, and indeed one of those functions includes exactly the same 3-line comment (word for word) as the Merc 2.2 version, describing what it does.

However the degree of inspiration and derivation isn't the issue here. All I'm pointing out is that your Nimud scripts were based on the MOBprograms code shipped with Merc 2.2, which means you couldn't have started work on them until Merc 2.2 had been released on 24th November 1993. However that is a moot point anyway, as you state within the code that you started work on the Nimud scripts 7th May 1994.

We're talking about The Isles here, not Cthulhu MUD. From the distribution file that came with the first version of The Isles:

"The Isles is a modified Merc 2.2 source code, with many features not present in the original Merc source."

"We wanted a different system altogether, and we were pretty sure that this feature (present in CthulhuMUD, a long gone god) would be the ticket."

"Changed armor to resemble (vaguely) the CthulhuMUD/Aldara3 setup (damagable)."


However once again this isn't important to the point in question, which is whether or not DG Scripts copied parts of the Nimud Scripts as you have suggested.

We know that Worlds of Carnage was the first Diku to implement a scripting system. That system inspired others, including Cythera, LegendMUD, and the version implemented in Merc 2.2. It is possible (although this is only speculation) that Death's Gate MUD also drew some inspiration from Worlds of Carnage, but it couldn't have copied the Nimud scripting system because it predates it.
KaVir is offline   Reply With Quote
Reply


Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 06:54 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022