PenUltima Online

It is currently Fri Sep 05, 2008 10:47 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Problem with .secure command.
PostPosted: Mon Nov 06, 2006 1:57 am 
Offline

Joined: Sun Nov 05, 2006 5:57 pm
Posts: 6
Location: Copacabana
Good afternoon.

I have a pol95 shard but i can't use the command .secure in my house.
The player dont can uses too.

Were i found the secure system for players house. Or wath and were i found the code [.create 0x____] of .secure exist?

Were i find or change this name. ... please helpme!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 2:06 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 747
Location: Chicago, IL USA
By default, I think saying

I wish to secure this

would allow you to secure an item. As for where to find it, maybe its pkg/systems/housing but someone else will have to confirm that since its all custom on my shard.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 10:21 am 
Offline

Joined: Sun Nov 05, 2006 5:57 pm
Posts: 6
Location: Copacabana
[Sorry i dont speak english very good] I'm from Brasil.... RJ


It leaves I to explain, when I type I command .secure nothing I happen, as if the command exist, already had not said me that a code exists .create for this secure chest of the owner of the house. I want to know where I can find this command… and it will be itself the case, to enter in script, to edit for .secure to save and to compile again. If they someone will have this ready system, I am thankful if to send me… Mine yahoo: to comonier Mine msn: comonier@hotmail.com My email: comonier@gmail.com Debtor. I continue trying to decide this problem.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 10:47 am 
Offline

Joined: Wed May 10, 2006 5:15 pm
Posts: 113
Perhaps your .secure is working properly, but you're not dropping out of GM mode when you test it- thus you're bypassing some of the checks in your container script. Are you using custom container scripts or a custom .secure script?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 2:12 pm 
Perhaps you could post the code to your secure.src so we have some idea what might be happening? Otherwise, we're just kinda shooting in the dark, and we're just as likely to shoot you in the head, as actually fix the problem 8)


Top
  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 5:24 pm 
Offline

Joined: Sun Nov 05, 2006 5:57 pm
Posts: 6
Location: Copacabana
I dont have a file secure.src and secure.ecl in housing dir


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 8:18 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
I have 28,375 source files from over 7 different shards and third party packages and I cannot locat a .secure command for housing systems.

I believe what you are trying to do is create a secure container in a house. If so you need to be the owner of the house, you need to be inside the house and you need to be visible. Once you have met those criteria then you type the following phrase:

I wish to secure this

You should get a target. Click on the container you wish to secure and it should be marked by the housing system as a secure container and its "use" script will be changed to the secure container use script.

I hope that helps.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 07, 2006 12:52 am 
Offline

Joined: Sun Nov 05, 2006 5:57 pm
Posts: 6
Location: Copacabana
Quote:
I believe what you are trying to do is create a secure container in a house. If so you need to be the owner of the house, you need to be inside the house and you need to be visible.


Exatly this! :D

I Understand you sad about say the command:

I wish to secure this

1) But how can i chage the script for the player dont need type this. And only need type .secure to create a secured container in your house ?
2) Wath is the script file for this operation ?
3) Were i found it ?[/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 07, 2006 2:09 am 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
If you are using POL 95 Distro you will find the secure script is not just one script. It is part of the signControl script and house.inc in \pol\pkg\items\housing

The problem in converting that to a text command is that this script does several tests to be sure the person securing the item has the access rights to perform the securing function. The command is integrated into the whole speech handling system. It would be easier to shorten the speech to "secure this" for now and later, when you feel like taking on a larger project you could break apart the pieces of the script and create a <dot> command.

If you want to shorten the speech necessary to secure a container simply edit this line in house.inc found in \pol\pkg\items\housing:

elseif (text["i wish to secure this"] or text["i wish to unsecure this"])

It should be at or near line number 529

Simply change the text "i wish to secure this" to whatever you want to shorten it to and save the file and then recompile all your scripts. I would recommend not making it just the word secure. Use atleast two words in the command.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 07, 2006 4:02 am 
I think I'd definitely recommend the dot-command route, if you are looking for something shorter to type. The reason the spoken commands are long is so they are not accidentally spoken in the midst of normal speech. For instance, it could be quite common while in a house to simply say 'secure this', without having any intention of actually securing something. Accidentally saying that while another cursor is up, or without realizing what is happened can easily end up with a container getting secured/unsecured without being intended... so as Kiko mentions, don't try to make a spoken command too short.


Top
  
 
 Post subject:
PostPosted: Tue Nov 07, 2006 6:06 pm 
Offline

Joined: Sun Nov 05, 2006 5:57 pm
Posts: 6
Location: Copacabana
So i dont have hous*.inc any directory of the pol...

You can giveme this file ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 07, 2006 11:16 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
Marilla the primary reason I recommended shortening the spoken command initially was because I assumed the reason he was asking for a <dot> command was for brevity. So the quickest way is to shorten the speech until he is able to script a <dot> command. It was meant as a temporary measure. Personally I like the idea of <dot> commands for all house operations like lockdown and secure but haven't yet tackled the thing.

Comonier, what version of scripts are you using? I assumed you were using POL 95 Distro. If so it has the file I referenced.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 11, 2006 3:20 am 
Offline

Joined: Sun Nov 05, 2006 5:57 pm
Posts: 6
Location: Copacabana
Yes i POL 95,

If you can send to me i tank you

Send me the files of housing system....

to use a command in house for lockdown unlockdown etc secure


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users 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