MudBytes
» MUDBytes Community » Discussion » General Chatter » MudRage = gone?
Pages: << prev ... 4, 5, 6, 7, 8 next >>
MudRage = gone?
Guest
Unregistered


Go to the bottom of the page Go to the top of the page
#106 id:12220 Posted Sep 17, 2008, 9:24 am

DavidHaley said:
EDIT: and, uh, could we fix the code posts so that the page formatting doesn't go all whack?


That didn't used to happen. Looks like someone has been messing with the overflow settings in the skin.

Kayle
Wizard






Group: Members
Posts: 1,258
Joined: Nov 27, 2006

Go to the bottom of the page Go to the top of the page
#107 id:12223 Posted Sep 17, 2008, 9:44 am

I was wondering wtf was up with this page. I have to scroll to the right because of those DG Scripts!
.........................
Owner/Coder -- Malevolent Whispers -- Development Phase - Not accepting players
Coder -- Star Wars: The Sith Wars -- Open Alpha - Players Welcome - Full System Re-writes Imminent.
FUSS Project Team Lead -- SmaugMuds.Org - The Smaug MUDs Community Center

I3 Contact: Kayle@SithWars   

http://www.elysiangamedesign.net/hq_gethinf.png                       

Fizban
Wizard




Group: Members
Posts: 678
Joined: Jan 8, 2007

Go to the bottom of the page Go to the top of the page
#108 id:12224 Posted Sep 17, 2008, 9:48 am

Sandi said:
Heavens, that's ugly stuff. If you could read it, you wouldn't put comments in the middle of it. Why the second %?


What second %

you mean %load%  and the things along those lines? There's three separate commands oload mload and wload but you can, and is usually suggested to, use %load% instead which is then parsed into one of the others based on what it is attached to.

And no, i don't usually post comments at all, I only did while writing those right now under the assumption that isn't something that everyone here has used and understands intuitively, which is mot likely the reason for the ugliness as well, or is the following just as ugly when un-commented?

Code (text):
Name: 'Push Ball & Touch Stone'
Trigger Intended Assignment: Rooms
Trigger Type: Command , Numeric Arg: 100, Arg list: touch push
Commands:
if %cmd% == push && 'ball /= '%arg%
  %send% %actor% You push the ball and reveal a hole in the ground underneath it leading into a cave.
  %door% %self.vnum% north room 4500
  %echoaround% %actor% %actor.name% puts all of %actor.hisher% weight behind the ball and manages to move it.
elseif %cmd% == touch && 'stone /= '%arg%
  %send% %actor% You reach forward and touch the stone, but suddenly feel as if you shouldn't be here and are perhaps invading.
  %load% mob 500
  %force% %self.people% mkill %actor% 
else
  %send% %actor% %cmd% what?!?
end
.........................
The Builder Academy
4 Dimensions

Last edited Sep 17, 2008, 9:48 am by Fizban
Zeno
Wizard






Group: Moderators
Posts: 1,462
Joined: May 15, 2006

Go to the bottom of the page Go to the top of the page
#109 id:12225 Posted Sep 17, 2008, 9:49 am

I think they know it's parsed, but I assume they mean why not something like %var instead of %var% as the format
.........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy.
Zenorebirth: Free MUD host.
Learn how to build in Smaug at Smaug Building Institute.
Dragonball Z World is back: dbzw.uforce-hq.net 4000

David Haley
Wizard






Group: Members
Posts: 7,841
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#110 id:12227 Posted Sep 17, 2008, 10:38 am

Zeno, that's exactly what I was talking about: why the implementor might have chosen to use two instead of one...
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

Fizban
Wizard




Group: Members
Posts: 678
Joined: Jan 8, 2007

Go to the bottom of the page Go to the top of the page
#111 id:12228 Posted Sep 17, 2008, 10:42 am

My only guess is so you could send the literal string '%var' without need of an escape character to tell it that it isn't a variable but the actual string that you want.
.........................
The Builder Academy
4 Dimensions

Zeno
Wizard






Group: Moderators
Posts: 1,462
Joined: May 15, 2006

Go to the bottom of the page Go to the top of the page
#112 id:12229 Posted Sep 17, 2008, 10:45 am

Well that doesn't make any sense, what if you wanted to send '%var%'? :P I really don't see how it helps. It would seem like one would rarely want to send %var and thus they escape char method would be less often used, so if they stuck with using %var as a format it would ultimately save on # of characters used in a prog.
.........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy.
Zenorebirth: Free MUD host.
Learn how to build in Smaug at Smaug Building Institute.
Dragonball Z World is back: dbzw.uforce-hq.net 4000

David Haley
Wizard






Group: Members
Posts: 7,841
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#113 id:12230 Posted Sep 17, 2008, 10:53 am

I'm starting to feel a little ignored here. :tongue: Parsing is a lot easier when you have delimiters on either end of the identifier. So it wouldn't surprise me at all if somebody made the decision based on that alone -- even though I think it was a bad decision to make.
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

Sandi
Wizard






Group: Members
Posts: 629
Joined: Jun 17, 2006

Go to the bottom of the page Go to the top of the page
#114 id:12231 Posted Sep 17, 2008, 11:23 am

DavidHaley said:
I'm starting to feel a little ignored here. :tongue:


^ Look! It's David!! Right there! Look! Look! ^


Quote:
Parsing is a lot easier when you have delimiters on either end of the identifier. So it wouldn't surprise me at all if somebody made the decision based on that alone -- even though I think it was a bad decision to make.


Ah, now I'm curious. Why do you think it was a bad decision?
.........................
The Witch of Tir na nOg


David Haley
Wizard






Group: Members
Posts: 7,841
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#115 id:12232 Posted Sep 17, 2008, 11:26 am

Thanks Sandi  :biggrin:

The reason I think it was a bad decision is that it adds all these extra sigils to the code for no real language-side gain, which it makes it uglier hence harder to read. If the reason really was to make it easier to parse (which is of course still just a hypothesis at this point) then saving a little time now and creating all this ugliness later just isn't really worth it.
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

Sandi
Wizard






Group: Members
Posts: 629
Joined: Jun 17, 2006

Go to the bottom of the page Go to the top of the page
#116 id:12235 Posted Sep 17, 2008, 12:21 pm

Fizban said:

And no, i don't usually post comments at all, I only did while writing those right now under the assumption that isn't something that everyone here has used and understands intuitively, which is mot likely the reason for the ugliness as well, or is the following just as ugly when un-commented?


No, that's quite readable. Thank you. I'm quite impressed. Still, I'd like reading it better without the trailing %s, and I'd hate writing them. Since I see no spaces between them, it seems the first would suffice.

I see David just posted, and yes, exactly.  :wink:
.........................
The Witch of Tir na nOg


papa
Fledgling




Group: Members
Posts: 2
Joined: Sep 18, 2008

Go to the bottom of the page Go to the top of the page
#117 id:12281 Posted Sep 18, 2008, 3:22 pm

Was the Mud Magic client kyndig's show? Is it now lost along with Mud Magic/Rage until/unless kyndig returns? A pity since it was the best client for working with Unicode.

The_Fury
Sorcerer






Group: Banned
Posts: 485
Joined: Jun 1, 2008

Go to the bottom of the page Go to the top of the page
#118 id:12282 Posted Sep 18, 2008, 3:39 pm

papa said:
Was the Mud Magic client kyndig's show? Is it now lost along with Mud Magic/Rage until/unless kyndig returns? A pity since it was the best client for working with Unicode.


I think it was open sourced and with that anyone should be able to fork it and keep the development going. Tho someone might like to correct me here if i am wrong.

OH and Welcome to the boards papa.
.........................
bMUD: Custom server written in Ruby.
        The Oriental Dojo Mud     
The_Fury: Coder and Designer.
http://www.orientaldojo.net/downloads/oriental-large.gif

Last edited Sep 18, 2008, 3:39 pm by The_Fury
papa
Fledgling




Group: Members
Posts: 2
Joined: Sep 18, 2008

Go to the bottom of the page Go to the top of the page
#119 id:12286 Posted Sep 18, 2008, 6:06 pm

Indeed it is: <http://sourceforge.net/projects/kyndig/>.

And thank you for the welcome.

Last edited Sep 18, 2008, 6:08 pm by papa
Fizban
Wizard




Group: Members
Posts: 678
Joined: Jan 8, 2007

Go to the bottom of the page Go to the top of the page
#120 id:12287 Posted Sep 18, 2008, 6:43 pm

It was coded by Elanthis, Kyndig just 'used' it.
.........................
The Builder Academy
4 Dimensions

Pages:<< prev ... 4, 5, 6, 7, 8 next >>