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 07-04-2005, 03:49 PM   #1
Kinnith
Member
 
Join Date: Aug 2004
Location: Arizona
Posts: 31
Kinnith is on a distinguished road
I don’t want to start a flaming thread, I just want to know the
thoughts of other coders out there on this subject.

How do you really know if a code snippet is yours, I mean
sure the main idea behind it could be, but how do you know
that the code is?

I decided to start this after some recent code I’ve done,
which are key rings. I was browsing for ideas the other
night and found a snippet on Mudmagic.com about
key rings, I read the description using values for key
holders.

I decided that would be a very cool new item to add to the
Mud, so I coded it in and finished testing it. After which I was
asked which snippet I used; I replied with I used Such and
Such for the idea, but I coded it myself.

After looking at the snippet it looks pretty much the same,
other than the way I do my for statements, and int names.

Now for the question, I wouldn’t post the code as a snippet as
there are a lot of them out there, but if I did, how would you
know that I didn’t copy the other snippets?

Could you tell if it was yours? I really don’t want to stir up
many flames, but I feel this might, as perhaps im trying to
say I didn’t take something when I did; Just would like to
know your thoughts on the matter.

Kinni -
Kinnith is offline   Reply With Quote
Old 07-05-2005, 02:18 PM   #2
Valg
Senior Member
 
Valg's Avatar
 
Join Date: Apr 2002
Home MUD: Carrion Fields
Posts: 643
Valg will become famous soon enough
Many common features like the ones you're discussing are available from multiple authors. I've never used a non-Carrion-Fields snippet (our code is a ROM derivative (*), but after 11 years of modification it's very unlikely that a system developed for another MUD would "plug in" nicely), but I'd imagine that even if you wrote a snippet with the same goal (e.g. key holders), no one would doubt your authorship since you'd inevitably do things a little differently for anything complex enough to be worth posting about. It's to the community's advantage if multiple solutions to one problem are available-- your keyring snippet might work better than Joe's for a particular MUD.

(*): I'm using the legal definition here, not the crazy Medievia perversion of it.
Valg is offline   Reply With Quote
Old 07-05-2005, 06:59 PM   #3
Kinnith
Member
 
Join Date: Aug 2004
Location: Arizona
Posts: 31
Kinnith is on a distinguished road
Yeah, that makes some sense.

Ill start getting together snippets ive made for my own mud, and start posting them about. Hoping that someone else will
also get something from it, other than just myself.
Kinnith is offline   Reply With Quote
Reply


Thread Tools


Is it really your snippet? - Similar Threads
Thread Thread Starter Forum Replies Last Post
Incomplete mprog snippet Jherlen MUD Coding 0 03-18-2003 05:08 PM

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 11:13 AM.


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