Server Idea
I have some Ideas for a new server, is there anyway to make it so when a toon dies they loss all items equiped/inventory that are not no-drop and keep all the no-drop items?
|
Anything is possible. It just depends on how much code you're willing to write.
|
I'm really new at this but I'm a fast learner just need to be pointed in the right direction.
"anything is possible" is a bit lacking for my question... |
There is nothing built-in to do what you are asking. You would need to write your own custom code. You should probably start by familiarizing yourself with what happens when players die and go from there. Try the Corpse::Corpse(Client* client, sint32 in_rezexp) function.
|
Are you trying to say that all no-drop items are permanently lost? If so, it would be easier to write code to just run through the inventory and lose all items. To me, that would be more in line with such a hardcore penalty anyway. Would definately make dying an ouch. But you're going to seriously piss off anybody that tries to raid.
The games that have penalties such as that make it where no one wants to fight anything that isn't easy because the penalty is just too high. |
Quote:
ps. to clear up, after you make it to the next check point you can still loss the NOT no-drop items on your next death, just you start from the last check point and not from the beginning. |
Well, it all depends on the details of how you want to set your server. If you plan to make it so they keep their gear on (as apposed to leaving all items on their corpse), you could just write a script that deletes all tradeable items when they return to their bind point. You would just need to make a script that iterates through all possible inventory slots (like the has_item plugin) and then have it check the no drop stat on each item it finds, then delete the item in that slot if it is tradeable.
|
Quote:
|
Now is it possible to make multiple versions of the same zone, but with different loot table and mobs?
Like TOFS tier 1, TOFS tier 2 ect |
Quote:
Quote:
|
^^
Guess I did. just not sure how yet, still learning... |
All times are GMT -4. The time now is 04:24 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.