Server Help

LVZ/LVL Questions - Multiple Door Control?

Dissident - Tue Aug 02, 2005 5:20 pm
Post subject: Multiple Door Control?
How would one go about deactivating one door, and at the same time activating two others? I grasp the binary concept of ?set door:doormode=#, but in my experience I can only get it to activate one door at a time and deactivate all the others in the process. I have three doors total. When one is active, the two others aren't, and when those two are active, the original one isn't.

I'd rather learn how to do it with SysOp commands instead of using a bot. I'm programming a bot of my own (unless you couuld give me a bot that handles doors and include the source and the permission to incorporate it into my own bot). Thanks.
Muskrat - Tue Aug 02, 2005 5:29 pm
Post subject:
There's no other way than what gets down to setting the doormode, just keep trying and you should find it somewhere in there. Make sure your doordelay is 0 when you try it.
Dissident - Tue Aug 02, 2005 5:29 pm
Post subject:
Nevermind, I figured it out. icon_redface.gif
Thanks.
Bak - Tue Aug 02, 2005 7:02 pm
Post subject:
Yeah, posting the solution will help others with the same problem. If you grasp the binary concept all you have to do is add them up to have multiple door modes, so like door #0,1,3 on is 1(2^0) + 2(2^1) + 8(2^3) = doormode 11
Dissident - Tue Aug 02, 2005 8:56 pm
Post subject:
Yeah, I was going on an old post I did a search for that had a table like:

Code: Show/Hide
Door 1: 0000 0001
Door 2: 0000 0010
Door 3: 0000 0100
Door 4: 0000 1000
Door 5: 0001 0000
Door 6: 0010 0000
Door 7: 0100 0000
Door 8: 1000 0000


I didn't quite put it together that you could have, for instance, something along the lines of:

Code: Show/Hide
Doors 2,3,6: 0010 0110


Silly me, no?
Bak - Tue Aug 02, 2005 9:17 pm
Post subject:
is that 2 code blocks in one post? hmm
D1st0rt - Tue Aug 02, 2005 10:15 pm
Post subject:
Haven't you noticed they are different? What with the show/hide and all
Dissident - Tue Aug 02, 2005 10:21 pm
Post subject:
Is there something wrong with that?
Bak - Wed Aug 03, 2005 12:57 am
Post subject:
it's new, they used to be bugged so you could only have one code block per post
Dissident - Wed Aug 03, 2005 12:59 am
Post subject:
Ah, gotcha.
Mine GO BOOM - Wed Aug 03, 2005 1:05 am
Post subject:
Bak wrote:
it's new, they used to be bugged so you could only have one code block per post

Code: Show/Hide
No, it was only buggy for you

Code: Show/Hide
Its fine for me, and is still the same original 'updated' show/hide

CypherJF - Wed Aug 03, 2005 7:53 am
Post subject:
Okay, I'll try and stop the digression this topic has gone through but I must say, I love your user title/avatar MGB.
D1st0rt - Thu Aug 04, 2005 12:39 am
Post subject:
How does it work with 0 buttons?
Muskrat - Thu Aug 04, 2005 1:04 am
Post subject:
Brain impulses.
Bak - Thu Aug 04, 2005 1:09 am
Post subject:
it's actually a one button, but you can't see the lines because the material bends when you press it. It's an Apple mouse.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group