Auto-close door script
Moderators: Moderator, Developer, DM
-
Dagesh
- Posts: 891
- Joined: Mon Jan 16, 2012 11:03 pm
Auto-close door script
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
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
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.
I think just suck it up and reopen the door
Per aspera ad astra
-
Dagesh
- Posts: 891
- Joined: Mon Jan 16, 2012 11:03 pm
Re: Auto-close door script
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
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
Nothing, brony? C'mon dawg.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.
ουκ εστιν ωδε, ηγερθη γαρ καθως ειπεν
PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander
PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander
- Duster47
- Retired Staff
- Posts: 3727
- Joined: Mon Nov 16, 2009 7:57 pm
- Location: Florida, USA
Re: Auto-close door script
The Auto-door close script activates in 9-seconds (IIRC). Don't dawdle. We will not be adding any HB-type check.Dagesh wrote:Nothing, brony? C'mon dawg.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.
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.
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
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
PCs:
Rorick Runegraph (Check out Rorick's Rune of Light)
Ckalthea Chenfur
Aeric
Squire Brevin of Lathander