Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2004, 02:58 PM
Malignus Wingnut
Hill Giant
 
Join Date: Sep 2004
Posts: 233
Default New perl function.

Well i read over Cofruben's post about adding perl functions and my brain is giving off sparks ^^. I want to add a new function similar to quest::flagpc, only instead of it setting a flag variable, it would actually flag the user's account, but only for that one character.

I had the idea for this when looking over the zones table and noticed the column called minimum_status, which im sure relates to the user's account status. I want to be able to use a quest script to flag a user's account, however only for that character, to prohibit/allow the user from entering certain zones. This ties in with my planar progression based server, as I cannot think of a better way to prohibit/allow access to the raid zones. I had first tried moving the zone safe coords and putting an npc to port you to the real safe coords of the zone depending on a global variable, but that was too much work.

If anyone can please write a new function...it would be greatly appreciated.
Reply With Quote
  #2  
Old 09-14-2004, 03:16 PM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default

this already exists
quest::delglobal
quest::setglobal
quest::targlobal

refer to this for more info:
http://www.eqemulator.net/forums/viewtopic.php?t=12773
Reply With Quote
  #3  
Old 09-14-2004, 03:36 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by x-scythe
this already exists
quest::delglobal
quest::setglobal
quest::targlobal

refer to this for more info:
http://www.eqemulator.net/forums/viewtopic.php?t=12773
I think you misunderstood x-scythe. Yeah that writes a variable but you cannot too easily work that variable into restricting zone access without cutting off zonelines and having an NPC control your access (which is too sony'ish-wayfarers-brotherhood'ish for me).

I began working on quest::qflag(); which would do that but I got lost in client_processes and was never able to finish it.

I believe killspree said he was going to release a command like this if he needs it for his server, but until then, probably a no-go youll just have to wait =D
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #4  
Old 09-14-2004, 03:37 PM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default

oh my bad....re-read it and yes...i did misread :P thanks cis
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 02:48 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