Hey everybody! I've started l2j development again (nice to see maybe the 2 people who will remember me).
Either way one of the next things I'm planning on implementing is permanent death (much like roguelikes).
Something I made a while ago was player graves. When players died all of their SP and Adena was removed from the player and attached to the grave. I was going to try to implement something like dark souls where if you die, your death site will have your remains and you have once chance to get back to it. If you died again with an active grave, the grave disappeared:
I've come back with this idea except I'm reworking it to add permanent death to players. So I've thought about:
1) Reporting the name of the player that deceased along with his/her level.
2) Reporting a list of items the player had on their possession when they died
Something like, this!
FYI the count for stackable items is corrected, little logic bug when working with the counts
You'll notice theres a 3 next to the Drac bow. I have a custom implemention of a grave item which'll store an item definition along with a quantity so I can neatly stack non-stackable items in a list. When they are returned from the grave it'll be converted into an L2ItemInstance:
public class _L2GraveItem
{
private int _count;
private L2Item _item;
public _L2GraveItem(int count, L2Item item)
{
_count = count;
_item = item;
}
public int getCount() { return _count; }
public L2Item getItem() { return _item; }
public void setCount(int count) { this._count = count; }
public L2ItemInstance removeStackableItem(int count)
{
if(count < 1 || count > this._count)
return null;
count -= this._count;
return _createNewItemInstance();
}
public L2ItemInstance removeItem()
{
_count--;
return _createNewItemInstance();
}
private L2ItemInstance _createNewItemInstance()
{
L2ItemInstance item = new L2ItemInstance( IdFactory.getInstance().getNextId(), this._item );
return item;
}
}
I'll share because I love you guys, even though I don't know you. Theres obviously way more to it but it's too much to share.
Either way what I'm asking is ideas for creating an interface with the limited options of chat windows or multisells.
As of now I have a list I manually programmed in with a link between an item ID and it's icon on the client. I'm wondering what you guys might find better:
1) A chat window with a button allowing you to take the weapon (with condition checks of course such as if the item is still there and if you can hold it)
or
2) The grave will have a link to a generated unique multisell which will contain definitions of the items that exist on the grave when the player selects it. The grave will then instead just have a bunch of information about the player.
Whatca guys think? If you have other ideas say it :)
Also I'm using L2acis freemium build 270, thanks Tryskell and the l2acis team :P
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Xmas Wolf Chariot Mount | Lineage 2 Mod
Celebrate the holiday spirit in Lineage 2 with this festive Xmas Wolf Chariot Mount! Created for protocol 166, this unique modification features majestic wolf mounts with holiday-themed harnesses pulling a decorative chariot.
If you have questions or want to add this updated skill to your game, feel free to contact me via Skype or Discord.
Download or in Discord Client Dev channel https://discord.gg/XdCb9dmTtf
06/12/2024 21:00 GMT +2
High Five - PvP server x45 - Aria Victoria Style 2004
NPC Buffer & Enchanted NPC Buffer.
Global Gatekeeper.
Clan Hall Teleports & Clan GM Shop (-20%).
Offline Shop.
GM shop up to B Grade.
Auto Farm system.
TvT - CTF - DM - Party Farm - Event Boss
Craftable Hero Weapon.
Instances Solo and Party, weekly and daily.
No kamael.
More informations can be found on our website including a "how to connect" greek guide
Valkyria is based on aCis
https://l2valkyria.com
Question
dpbBryan
Hey everybody! I've started l2j development again (nice to see maybe the 2 people who will remember me).
Either way one of the next things I'm planning on implementing is permanent death (much like roguelikes).
Something I made a while ago was player graves. When players died all of their SP and Adena was removed from the player and attached to the grave. I was going to try to implement something like dark souls where if you die, your death site will have your remains and you have once chance to get back to it. If you died again with an active grave, the grave disappeared:
I've come back with this idea except I'm reworking it to add permanent death to players. So I've thought about:
1) Reporting the name of the player that deceased along with his/her level.
2) Reporting a list of items the player had on their possession when they died
Something like, this!
FYI the count for stackable items is corrected, little logic bug when working with the counts
You'll notice theres a 3 next to the Drac bow. I have a custom implemention of a grave item which'll store an item definition along with a quantity so I can neatly stack non-stackable items in a list. When they are returned from the grave it'll be converted into an L2ItemInstance:
I'll share because I love you guys, even though I don't know you. Theres obviously way more to it but it's too much to share.
Either way what I'm asking is ideas for creating an interface with the limited options of chat windows or multisells.
As of now I have a list I manually programmed in with a link between an item ID and it's icon on the client. I'm wondering what you guys might find better:
1) A chat window with a button allowing you to take the weapon (with condition checks of course such as if the item is still there and if you can hold it)
or
2) The grave will have a link to a generated unique multisell which will contain definitions of the items that exist on the grave when the player selects it. The grave will then instead just have a bunch of information about the player.
Whatca guys think? If you have other ideas say it :)
Also I'm using L2acis freemium build 270, thanks Tryskell and the l2acis team :P
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.