Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Manual Doors?

 
Post new topic   Reply to topic Printable version
 View previous topic  Wrong objects getting turned on Post :: Post Major Problem  View next topic  
Author Message
wEaViL
Don't make me turn this forum around!


Age:45
Gender:Gender:Male
Joined: Feb 17 2003
Posts: 829
Location: nc usa
Offline

PostPosted: Mon Jan 12, 2004 6:58 am    Post subject: Manual Doors? Reply to topic Reply with quote

Hmm eyes hurt from searching so imma just post this one. icon_biggrin.gif Ok I just made a new map and it has some tiles I have placed in certain places to keep people out or let in when I type *objon and off. I wrote down all the x and y coords for each tile and the index for them too... I was reading the lvz ini file but it just messed me all up... what I want to know is how to make it so that I can control these doors. I want object 1 to control 2 diff doors for letting piolets in and out and object 2 to allow and dissallow piolets from going into my safety areas. This is prob a easy thing but I dont understand it.... music and images are a snap lol
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Jan 12, 2004 9:13 am    Post subject: Reply to topic Reply with quote

You use the

?set door:doormode=some_number

where some_number is from 0 to 255. Each door tile represents 1 bit. You will almost certainly need a bot to do what you want, unless you happen to run ASSS.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
wEaViL
Don't make me turn this forum around!


Age:45
Gender:Gender:Male
Joined: Feb 17 2003
Posts: 829
Location: nc usa
Offline

PostPosted: Mon Jan 12, 2004 10:11 am    Post subject: Reply to topic Reply with quote

Someone shoot me now... Know of a good bot to use for it? lol
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Mon Jan 12, 2004 11:22 am    Post subject: Reply to topic Reply with quote

http://forums.minegoboom.com/viewtopic.php?t=2082
Im not sure if the bot works, i didnt really play with it too much.
This is the formula in c++ for doors
if((doorState & 255) | (1 << i))
where doorstate is the current # that the door is and i is the number of the door you wish to turn on

and a nice function

void botInfo::setDoorMode(Uint8 mode)
{
_linkedlist <String> settings;
settings.append(new String("Door:DoorMode:" + String(mode)));
tell(makeChangeSettings(&settings));

doorState = mode;
}
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Mon Jan 12, 2004 12:53 pm    Post subject: Reply to topic Reply with quote

there's a built-in 'calculator' in FACTS for people that don't like to think
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
wEaViL
Don't make me turn this forum around!


Age:45
Gender:Gender:Male
Joined: Feb 17 2003
Posts: 829
Location: nc usa
Offline

PostPosted: Mon Jan 12, 2004 2:35 pm    Post subject: Reply to topic Reply with quote

I like to think... I just been doing so much of it lately that my brain has went out on vacation lol Thx man
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Mon Jan 12, 2004 2:45 pm    Post subject: Reply to topic Reply with quote

I think to turn off a bit you XOR the number (might be wise to | first just to make sure it was switched on in the first place as ^ toggles the bits).
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 120 page(s) served in previous 5 minutes.

phpBB Created this page in 0.484945 seconds : 32 queries executed (92.8%): GZIP compression disabled