Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2012, 10:13 PM
GLGanjika
Hill Giant
 
Join Date: Feb 2011
Posts: 132
Question Restricted Areas?

How are restricted areas made? I have played on servers where the area behind the banker is restricted or where certain buildings become restricted at night and automatically kick players out into a public area of the zone, or where if yor where play,etc.

like becoming KoS temporarily if you enter a restricted area, etc.

how is this done? if i wanted to restrict a building (obviously without using locks but rather restrictions like where the guards will attack and you will get a prompt "you are now in a restricted area" or something to this effect)?

NOTE: meant to post this in Server Support (windows) my bad, but my question still stands.
__________________
"Be who you are and say what you feel because those who matter don't mind
and those who mind don't matter." - Theodore Seuss Geisel. [Dr. Seuss.]

Reply With Quote
  #2  
Old 06-17-2012, 11:13 PM
Vexyl
Hill Giant
 
Join Date: Oct 2009
Location: U.S.A.
Posts: 197
Default

The servers I've been onto accomplish this with a perl script making an invisible 'trigger' npc and checking the distance between the player and this npc. Once triggered you can do anything that eqemu+perl allows you to do. You could also compile custom code for the server that does this, but that's a little of a overkill.

I'll see if I can find an example script for you.

Edit: Someone had a similar question and found help here: http://new.eqemulator.net/forums/sho...d.php?p=173158
Reply With Quote
  #3  
Old 06-17-2012, 11:32 PM
GLGanjika
Hill Giant
 
Join Date: Feb 2011
Posts: 132
Default

Quote:
Originally Posted by Vexyl View Post
The servers I've been onto accomplish this with a perl script making an invisible 'trigger' npc and checking the distance between the player and this npc. Once triggered you can do anything that eqemu+perl allows you to do. You could also compile custom code for the server that does this, but that's a little of a overkill.

I'll see if I can find an example script for you.

Edit: Someone had a similar question and found help here: http://new.eqemulator.net/forums/sho...d.php?p=173158
Where would i program in the changes indicated in the link at? thanks for your feedback btw.
__________________
"Be who you are and say what you feel because those who matter don't mind
and those who mind don't matter." - Theodore Seuss Geisel. [Dr. Seuss.]

Reply With Quote
  #4  
Old 06-17-2012, 11:44 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 905
Default

Have the NPC set a proximity that could be as small as a door way or as large as an entire field, when the player enters the field have the script move the player to a set location somewhere else.
Reply With Quote
  #5  
Old 06-18-2012, 06:31 PM
GLGanjika
Hill Giant
 
Join Date: Feb 2011
Posts: 132
Default question

Where do i put in the changes indicated in the hyperlink and/or where do i program in the npc at and how do i make it invisible,etc?
__________________
"Be who you are and say what you feel because those who matter don't mind
and those who mind don't matter." - Theodore Seuss Geisel. [Dr. Seuss.]

Reply With Quote
  #6  
Old 06-18-2012, 08:11 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 541
Default

If only there were guides or something that would explain that kind of stuff...
Reply With Quote
  #7  
Old 06-18-2012, 08:40 PM
GLGanjika
Hill Giant
 
Join Date: Feb 2011
Posts: 132
Lightbulb

Quote:
Originally Posted by Caryatis View Post
If only there were guides or something that would explain that kind of stuff...
there are, but the ones I read werent entirelly clear. :shrug:
i think its better to be safe than sorry by asking folks one feels might know. if you could post this, why not post a url to one of these guides a least? maybe you know of one i missed.
__________________
"Be who you are and say what you feel because those who matter don't mind
and those who mind don't matter." - Theodore Seuss Geisel. [Dr. Seuss.]

Reply With Quote
  #8  
Old 06-19-2012, 12:13 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 905
Default

I'm hardly a perl master, but everything I've learned has been from looking through existing quests and piecing them together to accomplish what I need and then if I can't figure it out, I ask for help. I hate asking for help unless I really need it.

Check out the quests forums here for a lot of good information. Study, study, study!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:41 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3