Auto-close door script

It Does What It Says on the Tin: Resolved Issues

Moderators: Moderator, Developer, DM

Post Reply
Dagesh
Posts: 891
Joined: Mon Jan 16, 2012 11:03 pm

Auto-close door script

Unread post by Dagesh »

Could a check be added to the autoclose script to check for PCs withing a certain range of the door? This way the door won't shut in people's faces. If there are people, just run another pseudo-HB and re-check from there.
ουκ εστιν ωδε, ηγερθη γαρ καθως ειπεν



PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander
tfunke
Retired Staff
Posts: 2305
Joined: Sat May 07, 2011 9:09 pm
Location: Australia- GMT+10

Re: Auto-close door script

Unread post by tfunke »

Something like this would cause noticeably more lag on the server, would be my guess. Heartbeat scripts are used sparingly on an online server, but especially given how many doors the server has, it would be out of the question.
I think just suck it up and reopen the door :), it happens to the best of us.
Per aspera ad astra
Dagesh
Posts: 891
Joined: Mon Jan 16, 2012 11:03 pm

Re: Auto-close door script

Unread post by Dagesh »

A pseudo-HB doesn't have to make a check every 6 seconds. On top of that, it only checks when the door is open. The amount of lag isn't even negligible.
ουκ εστιν ωδε, ηγερθη γαρ καθως ειπεν



PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander
Dagesh
Posts: 891
Joined: Mon Jan 16, 2012 11:03 pm

Re: Auto-close door script

Unread post by Dagesh »

tfunke wrote:Something like this would cause noticeably more lag on the server, would be my guess. Heartbeat scripts are used sparingly on an online server, but especially given how many doors the server has, it would be out of the question.
I think just suck it up and reopen the door :), it happens to the best of us.
Nothing, brony? C'mon dawg.
ουκ εστιν ωδε, ηγερθη γαρ καθως ειπεν



PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander
User avatar
Duster47
Retired Staff
Posts: 3727
Joined: Mon Nov 16, 2009 7:57 pm
Location: Florida, USA

Re: Auto-close door script

Unread post by Duster47 »

Dagesh wrote:
tfunke wrote:Something like this would cause noticeably more lag on the server, would be my guess. Heartbeat scripts are used sparingly on an online server, but especially given how many doors the server has, it would be out of the question.
I think just suck it up and reopen the door :), it happens to the best of us.
Nothing, brony? C'mon dawg.
The Auto-door close script activates in 9-seconds (IIRC). Don't dawdle. We will not be adding any HB-type check.

Closed.
PC1 = Nerys, Emissary and Skald of the Greyfox tribe, last seen roaming north near Secomber
PC2 = Valqis Sanejmeh; far away cartographer, Oracle of Nut at chaltin QulDaq, former navigator of the Sea Seeker, Reader of Candlekeep and sometime performer.
Dagesh
Posts: 891
Joined: Mon Jan 16, 2012 11:03 pm

Re: Auto-close door script

Unread post by Dagesh »

But wouldn't opening the door again re-fire the delay anyways which in essence the same exact thing...
ουκ εστιν ωδε, ηγερθη γαρ καθως ειπεν



PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander
Post Reply

Return to “Solved Problems”