PenUltima Online

It is currently Sat Sep 06, 2008 11:42 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject:
PostPosted: Tue Oct 16, 2007 12:24 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 750
Location: Chicago, IL USA
All I truly know that this function is doing is creating bantiles. Bantiles are put at all of the doorways and when someone steps on them, it will check if you are banned from the house or not and handle accordingly. I'm not completely sure about the coordinates set in the first half of the function though. Try posting the code that comes after the call to bigtowerarray and maybe we can figure it out.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 10:32 am 
Offline

Joined: Sat Mar 18, 2006 1:41 am
Posts: 92
Location: World Earth
CWO wrote:
All I truly know that this function is doing is creating bantiles. Bantiles are put at all of the doorways and when someone steps on them, it will check if you are banned from the house or not and handle accordingly. I'm not completely sure about the coordinates set in the first half of the function though. Try posting the code that comes after the call to bigtowerarray and maybe we can figure it out.


This is close for right way! After bigtowerarray goes function for keep(after castle...)! I have see multis.cfg, and something like thoose coordinates I don't search! :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 22, 2007 5:03 am 
Offline

Joined: Sat Mar 18, 2006 1:41 am
Posts: 92
Location: World Earth
Peeople!!! Any body know how to create this function??? Please!!! Help, very need!!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 24, 2007 5:14 am 
Offline

Joined: Sat Mar 18, 2006 1:41 am
Posts: 92
Location: World Earth
With many tests, I have known what is this.

Code:
  var boxarray := {};
  var box1 := {};
  box1.append(x - 6);
  box1.append(y - 6);
  box1.append(z + 6);
  box1.append(x + 7);
  box1.append(y + 5);
  box1.append(z + 65);
  boxarray[1] := box1;


This is a house range(when we build the house, at the centre of our self we have coordinates, and we search X of the house and Y(on a diagonal)). Then we write them at thoose box1.append(x ; y; z.

Code:
  var banarray := {};
  var bantile;
  bantile := CreateItemAtLocation(x-1, y+8, Z+3, 0x9999, 1);
  banarray.append(bantile.serial);
  SetObjProperty(bantile, "house_serial", house.serial);


This is slice of a threshold in the house. At our coordinates, we calculate or we add (like x-1 y+8 z+3).

Thats all folks! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Yukiko and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl