Server Variables
Are there any well explained lists of server variables? besides this one:
http://www.eqemulator.net/wiki/wikka...ariables#Rules I have setup alot of the stuff I want using #rule but there are a couple variables I was wondering about? LootCoin = if you kill soemoen pvp loot thier coin?? ServerType = set to pvp?? PvPReward = Item loot?? pvp points?? or are these obsolete and moved into #rules?? I am setting up a pvp server and I would like to set all new charachters to pvp. I would like anyone to be able to kill anyone, but be rewarded or lose points depending on who they kill. I would like to do something like this: //these are variables that would be stored in the database, not sure how but I will figure it out playeryoukilledsvitality = 0 if killed in the last 15 minutes //basically you can still lose points for killing anyone 5 or more levels below you but if he has died in the last 15 minutes you can't gain any points playeryoukilledsvitality = 1 if killed in the last 30 minutes //gain moderate points i.e if you kill someone the same level as you you would gain 4 points playeryoukilledsvitality = 1.5 if vitality timer is up (1 hour) i.e you would gain 6 points for killing someone the same level as you that hasn't been killed for the last hour. //so now that you know what vitality is I would like to run an if statement similar to this when a player kills something. If object killed = a player then temppointsearned = 4 + personyoukilledslevel -Yourcurrentlevel if temppointsearned > 0 then pointsearned = temppointsearned X playeryoukilledsvitality Else pointsearned = temppointsearned End If Add pointsearned to the players running total in the database End If For Example you kill someone 1 level below you who was killed 78 minutes ago you would earn (4 + -1) X 1.5 = 5 (rounded) or you kill someone 8 levels below you who was just killed 30 seconds ago would would earn 4 + -8 = -4 (no vitality check because these are negative points) Anyway, I dont even know where the event player killed something is, could someone point me in the correct direction?? I am hoping to use pvp points for quests, ie you must have more then 20 pvp points and all the quest items to be able to complete the quest. |
Hmm Just noticed a PkTime column in the charachter table I am assuming this could be used the same as the vitality variable I mentioned in my last post.
|
All times are GMT -4. The time now is 01:31 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.