PDA

View Full Version : Forgee...plz help me on door open



hopper
07-31-2012, 01:27 PM
hey Forgee,i make this thread to ask u ,if its possible to open the door by key ??
My botting cave got 2 doors.the first one can open by normal,the second need open by key...

could u help for this ?/

so thanks
so thanks
so thanks
so thanks
so thanks
so thanks
so thanks
so thanks

-------------------------------------
1.info on normal door:
close door id:1629
open door id:1630
and the door is on the east
2.infor on door(need key open)
key id:2968
closed by key .id:1631
open by key.id:1633
closed as normal id:1632
open by key id:1633
and the door is on the south

Forgee
07-31-2012, 03:46 PM
XenoBot uses items as if you had assigned them to a hotkey. Keys are not usable by hotkey, thus XenoBot can't use them. Try to bind the key to a hotkey and use it, you'll see the problem.

Xeno Scripts
07-31-2012, 04:12 PM
nvm :p

Shadow Wolf
07-31-2012, 09:40 PM
Forgee
So at the moment it's still impossible to use a key for opening doors on Xeno?

~ Shadow Wolf

DPK
08-01-2012, 12:02 AM
you can, you just have to specify a bp and location of the bp its in. Or default is bp 1 i think.

Also if you need help, you need to specify the coordinates if you want help with open door scripts

hopper
08-01-2012, 07:14 AM
it looks difficult

Forgee
08-01-2012, 07:43 AM
DPK
I always thought the usage method was the same since you get the "Using one of..." message, whichever function you use. Don't get me wrong, I hope I'm mistaken. I will try to test it when I get a chance.

Stusse
08-01-2012, 08:48 AM
Forgee is right i believe. Have tried all different options really but it doesnt work yet, unfortunately.

DPK
08-01-2012, 01:50 PM
no it works. Ill post the script im using with key doors later.

Also, i find it easier to make the bot open doors and stuff by using a one liner script in the walker

Shadow Wolf
08-02-2012, 08:20 PM
DPK
Would be great if you could PM on how to get it going,
I've been working my ass off on it, but i cant seem to get anywhere. :p

~ Shadow Wolf

Forgee
08-03-2012, 10:14 AM
I did a test, and DPK is right. It works perfectly.

Jfrye
08-13-2012, 02:22 AM
It looks like this has been figured out, but is there a link to a lua file? I could use this, but i cant seem to find it. Thanks in advance for any help.

Forgee
08-13-2012, 09:58 AM
openDoor(x, y, z, keyID) in my library.

Jfrye
08-13-2012, 09:30 PM
And I run that as a 1 line script in the walker? And would I do it the same way to close the door, but instead put closeDoor?