Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Sun Dec 22, 2024 11:32 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Apr 15, 2006 3:53 am 
Offline
Mortal

Joined: Sat Feb 28, 2004 5:14 pm
Posts: 819
Infinite loops have been around long before mud. It has been a part of the alias code since its creation.
If you alias an infinite loop it will eventually end when you go link dead. If you fail to realise that is the cause you can come to the forums for help as you have done. If you can not work out the problem or speak to someone who can. I honestly dont think any amount of coding will make you able to use the alias command with out risk of an amusing mistake. The best you could really hope for is a line in the help file on Alias saying do not use Alias names in an Alias command line.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Apr 15, 2006 4:10 am 
Offline
Mortal

Joined: Sun Nov 16, 2003 8:05 pm
Posts: 326
Jesus Christ, I know what an loop is - I've had plenty of programming classes. I just don't remember this 'feature' being allowable within the SK alias code in the past.

Although I like the changes made which allow the flexibility of in-line aliases (e.g. calling an alias from within an alias) it's still buggy.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Apr 15, 2006 8:41 am 
Offline
Mortal Philanthropist

Joined: Mon Jun 21, 2004 12:58 pm
Posts: 3632
Location: Spokane, WA
The point is there is nothing to fix. Yes, big D can make the code such that you have to pick a valid alias, but how about all of the clients. I would list them all but that would most likely take more than a page. Big D cannot do anything about the infinite alias loop those can make. Why do something that will only affect a very small portion of the gamers? I don't use sk aliases. I only use client alias.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Apr 15, 2006 12:42 pm 
Offline
Mortal

Joined: Sun Nov 16, 2003 8:05 pm
Posts: 326
It wasn't like this before. That's the point.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Apr 15, 2006 7:33 pm 
Offline
Mortal

Joined: Tue May 20, 2003 1:19 pm
Posts: 1896
Sounds like more trouble than it's worth when using your brain solves the problem much faster and easier.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Apr 15, 2006 8:08 pm 
Offline
Mortal Philanthropist

Joined: Mon Jun 21, 2004 12:58 pm
Posts: 3632
Location: Spokane, WA
Ruud wrote:
It wasn't like this before. That's the point.


Actually, yes. When I first played the game back in '02 I didn't know what I was doing and then I decided to make some aliases thinking they are cool. I played a griffon back then. So, I did the alias that you did and low and behold. I got looped.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 16, 2006 9:58 am 
Offline
Mortal

Joined: Sun Nov 16, 2003 8:05 pm
Posts: 326
shrug, I still think it's a problem and I think that D will agree.

Have to laugh at the fact that ya'll are getting so riled up about this. <3


Top
 Profile  
Reply with quote  
 Post subject: Theory
PostPosted: Sun Apr 16, 2006 11:46 am 
Offline
Mortal

Joined: Fri Oct 17, 2003 10:06 am
Posts: 719
Ruud may be right, if only for one reason.

Since the commands are being generated server side, it may be plausable that a long enough loop generated by multiple players could possibly cause a noticeable increase in proc/bw utilization to create a noticeable lag.

Granted, it'd take a pretty concerted effort if it was possible it all, but may be a reason to eliminate this "feature".


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 18, 2006 1:04 am 
Offline
Mortal

Joined: Tue Feb 17, 2004 7:20 am
Posts: 471
Location: Gloucestershire, UK
If this really is so, then the fact that you can call an alias from within an alias strikes me as a feature, not a fault, though admitedly it's a feature somewhat limited by the 20 alias maximum cap imposed by the system.

The fact that you can then create infinate loops is an obviously undesired side-effect (and an obvious one, however), but avoiding doing so is simple enough once you're aware of the pitfall.

Perhaps the "fix" is just to improve the helpfile to spell out in big bold letters that infinite loops aren't such a smart idea.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 18, 2006 6:37 am 
Offline
Mortal

Joined: Thu Mar 07, 2002 7:25 am
Posts: 381
Location: Minnesota
Guys, are you braindead? Ruud is talking about the mud alias system, not the mud client. Even though it can be avoided by common sense, its still a bug, and he's just reporting it. Sheesh.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 119 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group