Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Yandex, DotBot, Sogou

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWR FUSS » TELEPORT_DATA
Forum Rules | Mark all | Recent Posts

TELEPORT_DATA
< Newer Topic :: Older Topic > ...What the hell does it do?

Pages:<< prev 1 next >>
Post is unread #1 Oct 10, 2005, 2:35 am
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

I was upgrading room_flags to xbvs in SWRFUSS (Yes, I know it's the wrong board for SWR... But it's the main board here, and this is an issue in Smaug, too.) and found that variables printed out for "teleport data" were causing me some trouble. I removed all of the teleport data from the area files and got everything working alright, but now I'm wondering...

...What the hell does teleport data do, anyway? I only found 11 calls to it throughout either SMAUG or SWRFUSS, and none of them seemed to actually do anything. Is it something that's safe to just remove altogether? I took out all these extra variables from the area files in SWR and didn't catch a single hitch.

If it really serves no purpose, it would seem to me that all it's actually doing is just taking up memory, even if not much.
       
Post is unread #2 Oct 10, 2005, 3:09 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

The teleport data is used by rooms which have the teleport flags attached to them. It's how those rooms work. Yes, you can take it out if you want but then you won't have this functionality anymore unless you resort to using mudprogs to express it.
       
Post is unread #3 Oct 10, 2005, 2:33 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

Okay, but what's it actually do? I rooted around in the code a bit, but couldn't find it actually doing anything. Is there something I missed? It looks to me like all it does is when you step into a room with the ROOM_TELEPORT flag, it makes some teleport_data, but then I don't actually see it doing anything with it.
       
Post is unread #4 Oct 10, 2005, 6:11 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

The teleport data has an update in the update_handler that cycles over the teleport lists and moves things along.
       
Post is unread #5 Oct 10, 2005, 9:39 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

...Ahh, I see it now.

Hrm... I probably would leave that up to mudprogs, as most of the builders I've ever worked with found it easier and a little more flexible to work with, giving them a little more power over what goes where.

On that note, thanks for clearing that up. I suppose that being the case, I won't remove the functionality just yet.
       
Pages:<< prev 1 next >>