Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2010, 12:15 AM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default qglobals

can you use a qglobals as a zone flag and put the qglobal name under the zone flag id
Reply With Quote
  #2  
Old 02-01-2010, 02:09 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

I do not know for sure if you're able to use it under the table, chances are no because its not the proper way to call that table. But you can definately use Qglobals to restrict access to a zone.

For example:

Zone : templeveeshan (some random raid zone)
Player.pl
Code:
sub EVENT_ENTERZONE
{
if ($qglobals{GTFO} == 1)
{
quest::movepc(ZONE,X,Y,Z,H);
$client->Message(15, "Denied!");
}
}
Although it depends on how you want to execute that, it's a safe way to double up on the anti-MQ hacks. You could do it many different ways.

And you didn't really inquire on any other type of information on what you were trying to do so I just shot that out.
Reply With Quote
  #3  
Old 02-01-2010, 08:21 AM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

im making custom raid zones that are going to have a npc port you to the zone npc checks the qglobal before he ports you but i also wanna make it so that the you cant just run to the zone and zone in also
Reply With Quote
  #4  
Old 02-01-2010, 12:37 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

so the thing u posted id put in the templeveeshan folder under player.pl and what it does is check to see if they have qglobal GTFO and if they dont it boots them bac kto whatever zone i put in correct>?
Reply With Quote
  #5  
Old 02-01-2010, 02:19 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Yes, you can also do a proximity type quest that can surround the zone in that will do an if check as well. I just used Temple of Veeshan for an example, same with the Qglobal that was just an example as well. But if you create a proximity quest that triggers within enter in place of the zone in without wiping the natural zone line it can do the same thing without having someone zone in without getting rejected as well. The player.pl is just the most foolproof way other than the actual zone flag column.
Reply With Quote
  #6  
Old 02-01-2010, 02:40 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

and that worked amazing thanks a ton
Reply With Quote
  #7  
Old 02-01-2010, 02:41 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

No problem, glad it helped.
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 11:36 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3