Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2008, 03:30 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default get player faction

i want to put up a proximity around a npc and then when a player enters it check if its hostile to the player then get the faction id of itself if that faction id = 19471 (hostile) and if the player is not kos then report them for ghosting in a log and shout it to the zone. and tell the player they have been reported would me nice also.

im sure something like this could be done using quest objects but i cant for the life of me figure it out.. i figure i could put this quest on the default.pl file that way all npcs that don't have a quest are running it and then checking players near them. at lest till there is a fix in the server code to check for ghosting. i would say the proximity did not have to be to big but big enough to catch someone walking by.
Reply With Quote
  #2  
Old 06-29-2008, 04:19 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Having all of your NPCs set to use proximities would probably be a major resource hog on your server and would most likely cause alot of stability issues.

I have never used ghosting, but I thought it worked by the player attacking a mob but tricking the mob into thinking he/she was outside of the NPCs attack range. I had never heard that it has something to do with factions. And even if it does, once you attack an NPC, it doesn't matter what faction you have, it will hit you back.

If someone is an expert on ghosting, I wouldn't mind a better understanding on it so a solution could possibly come about.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 06-29-2008, 05:06 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

ghosting is when a player using mq2 uses the nokos command what it does is makes them not kos so they can walk though an area without getting attacked.

im not actually sure how it works but im sure you can find the uncompilable source for the crack and read the code.. i think it comes default with mq2.

anyways most players seem to use it to warp to target and not get attacked by that target then back up turn it of and attack.. or just pull without getting agro from others.. also it lets them turn on the bankatnpc crack and bank without getting attacked.

i did try it out and with no kos on and warping to a npc i could not see my player that was ghosted.. so it either changes your factions or just makes it so the npcs cant see you. like gm hide maybe..
Reply With Quote
  #4  
Old 06-29-2008, 05:18 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

here is some code i found on the nokos plugin if it helps

click here
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 08:00 AM.


 

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