idea for flagging quests?
I got a general idea to make a "flagging" type quest to grant access to zones. Just wondering if you think this will work? My plan would be to spawn a npc that will flag a players account stats by X amount. For instance you would defeat boss_mob and spawn a planar projection. When you hail the planar projection it will give you a emote saying you got a flag, then it could do a quest script to flag your account from 0 to 5. Then make certain zones require your access to be 5 to enter them.
I noticed some quest commands that involved various types of flagging and it seems like one of them is supposed to change your account access isn't it? Of course to do this you will need to set all the commands you don't want users to have to a higher number, but otherwise wouldn't this work? |
you would have to have all zones require same access, which would be lame. a single flagging quest that opens access to every zone.
Because there would be no other way by just using 1 field. The proper solution would be to make a new table "Flags" and have the following fields. userid crypt of decay bertox lair etc etc the various zones would be a enum of 'true', 'false' The source code would have to be modified in a way that a quest function is added that updates the users record in this table when a flag quest is completed. and The zoning source will need to be modified to check against the flags table before allowing the players to zone into these zones. It seems pretty simplistic from my standpoint (dont know about the coding portion) I don't really get why nobody has added one yet. I'm sure there is a reason though. |
You'd have to do additional coding other than just adding a perl function. I had flagging coded for Evertorn before I lost the source when I had to reformat. I'll rewrite it eventually and share it with you if you're interested in it.
|
very interested.
yes i know you'd need additional coding. You'd need to modify the functions that occur when a player attempts to zone in to a zone. =) |
a slightly hackish way you might be able to do it is to remove the zone points into that zone..
and stick an NPC there... you have to hail them, and they teleport you across the zone line if you meet the criteria... I dont actually know if you can easily remove the zone point... but you can sure put a big wall in the way (: I think you could then accomplish the rest with the npc quest variables that are allready in there.. |
writing code to check if you have a flag when you zone into a certain zone wouldn't be to hard. If i decide to put them in for LOTR i'll post it for you guys
|
I'd love to see this merged into the cvs. )
|
Quote:
I hope this dosent affect any work being done on LDoN :) |
I have already partially implemented this on Prexus II Development.
Kill Boss1 -> Planar Projection Spawns (He has a despawn timer of 60 seconds OR max 6 hails) On Hail of Planar Projection-> setglobal & yellow emote "You have recieved a character flag!" On say "Zones" to seer -> say "zone1", "zone2" On say "Zone3" to seer -> say "You must prove your dedication before I can discuss such matters with you." On say "Unlock Memories" to seer -> yellow emote "You feel a bind with Zone3" On New say "Zones" to seer -> "Zone1","Zone2","Zone3" On New say "Zone3" to seer -> Zone into Zone3 Of course, zone points are removed but the system does work. If you made it so the server would have to check a quest global value before carring on, then that would eliminate the need for the teleporter and would be very cool. If anyone would like to see this on my locked server send me a pm. |
hmm... for an official live like system there'd have to be some changes.
Quote:
*edit: i remembered a bertox event having like a 30 hail limit... but i still say 6 hail limit = crazy Quote:
|
I know the gnome for the mb raid has a hail limit of like 72, I never did get my mb flag cause of idiots overhailing.
Id give more then 60 seconds on the spawn time though. Id give at least 5 minutes. Normally they would depop on live in about 10 minutes I think. I never did get my grummus flag cause the raid leaders refused to let people hail till all rezzes was done. Then we had 2 corpses that fell under the world and the pp depoped and nobody got a flag. |
Quote:
You are think of Carprin Dethorn Event which had a series of like 8 named mobs and at the end there was a 36 flag limit and it was from a named level 1 mob, not a planar projection (as if there was much difference =) ) Quote:
|
Is there no way to change the clients user status within a quest through a NPC then?
|
there could be if somebody creates it.... but there's no point in that
i know what you are thinking but it wont work. example. user status: 1=plane of disease 2=plane of fire 3=plane of torment etc. i know these arent real flag required zones, just wrote names for examples sake. you are thinking ok... ill flag that character as 1 and theyll be able to enter plane of disease. ok.. sure... that could work. but now. they do the plane of fire quest and they are now status 2. cool. that works too.. but wait.. what if they skip plane of disease, go straight to pofire quest. get that flag.... oops... guess what they can enter disease now too! so in essence all they gotta do is get the flag for the highest up zone in the list and opens access to all. thats why this system is flawed |
you can use the bits of an integer to represent the flags....
OR (| not ||) their status with 0x01, 0x02, 0x04, or 0x08 etc to set flags, AND (& not &&) their status with them to check them... thats how a lot of things work in the emu and everywhere else in programming, it works very well. |
All times are GMT -4. The time now is 04:03 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.