EdenEternal Posted April 10, 2010 Posted April 10, 2010 hello maxcheaters! i want to make some kind of items and i need your help! 1. Hero Custom Item i want to make item like this http://www.maxcheaters.com/forum/index.php?topic=34266.0 but hero must be only 24 hour! it's possible? 2.Quick Healing Potion how to change Quick Healing Potion HP Regeneration Power Like Mana Potion? for example: QuickHealingPotionPower = 500 sorry for my english
0 Tuga Posted April 10, 2010 Posted April 10, 2010 1. Hero custom item you will have to add it your core what pack you use? 2. Quick healing potion you got a skill for that item, look inside stats folder.
0 EdenEternal Posted April 10, 2010 Author Posted April 10, 2010 1. Hero custom item you will have to add it your core what pack you use? i use La2Base Interlude Pay Version
0 Tuga Posted April 10, 2010 Posted April 10, 2010 So if you got the source you will have to import it to eclipse and add it manually :) Thats why I always say if you do want to open your own server you must have basic knowledge or be able to pay to do the work you want.
0 EdenEternal Posted April 10, 2010 Author Posted April 10, 2010 i think i must take formula from admin command //heroget public void addHero(L2PcInstance client, int days) { Calendar t = Calendar.getInstance(); t.add(10, 24 * days); heroes.put(Integer.valueOf(client.getObjectId()), Long.valueOf(t.getTimeInMillis())); client.broadcastPacket(new SocialAction(client.getObjectId(), 16)); onEnterWorld(client); saveHeroes(); } public boolean timeIsExpired(int id) { if(!hasAccess(id)) return true; long target = ((Long)heroes.get(Integer.valueOf(id))).longValue(); Calendar now = Calendar.getInstance(); if(target - now.getTimeInMillis() > 0L) { return false; } else { removeHero(id); return true; } } if you can please help to adapt to hero custom item...
0 Tuga Posted April 10, 2010 Posted April 10, 2010 You must create item handler. I don`t have la2base interlude source. And I am sorry I busy with archid. We gonna launch premium this month.
Question
EdenEternal
hello maxcheaters! i want to make some kind of items and i need your help!
1. Hero Custom Item
i want to make item like this http://www.maxcheaters.com/forum/index.php?topic=34266.0
but hero must be only 24 hour! it's possible?
2.Quick Healing Potion
how to change Quick Healing Potion HP Regeneration Power Like Mana Potion?
for example:
QuickHealingPotionPower = 500
sorry for my english
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now