`Rοmeο Posted February 4, 2013 Posted February 4, 2013 Hello, I found this code in my pc and I decided to share it with you. Informations : - It's easy & fully configurable. - Very easy way to change messages, rewards. - At X pvp in a row without to die, a window pops up. Then an announce appears with your name. After this you have to choose one reward of your choise. Images : http://i.imgur.com/EUqrJ.jpg[/img] http://i.imgur.com/1z5MX.jpg[/img] http://i.imgur.com/LsqPE.jpg[/img] http://i.imgur.com/chINP.jpg[/img] Have fun! PS; Thanks Elfocrash for his html code. Core : http://pastebin.com/4JuYUSzV Datapack : http://pastebin.com/vEZRGgCm (HTM must be there (data/html/reward.htm) to work).
IKnowWtf Posted February 5, 2013 Posted February 5, 2013 Nicelly done i like it !!! It's made by Elfocrash I believe. Same html style :good sir:
SweeTs Posted February 5, 2013 Posted February 5, 2013 It's made by Elfocrash I believe. Same html style :good sir: PS; Thanks Elfocrash for his html code. :troll:
Guest Elfocrash Posted February 5, 2013 Posted February 5, 2013 It's made by Elfocrash I believe. Same html style :good sir: The idea is originaly mine but Debian aka Crystallia did it himself
IKnowWtf Posted February 5, 2013 Posted February 5, 2013 :troll: Last Edit: Yesterday at 17:51:25 by `Romeo » :troll:
SweeTs Posted February 5, 2013 Posted February 5, 2013 Last Edit: Yesterday at 17:51:25 by `Romeo » :troll: Reply #2 on: Today at 11:34:54 » :troll: He was faster, so 2x :troll: Anyway, nC one :P
maximilion2 Posted February 7, 2013 Posted February 7, 2013 omg is -beep-ing amazing i will add it :D eeeeeh can i change the pvp/pk reward? for example give adena instead of pvp/pk reward....
SweeTs Posted February 7, 2013 Posted February 7, 2013 eeeeeh can i change the pvp/pk reward? for example give adena instead of pvp/pk reward.... Well, as you stated, aren't you a 'one of the top ten best developers of whole planet'..? :troll: Anyway, small tip (should be enough) for great developer :happyforever: + else if (_command.startsWith("reward2")) + { + activeChar.setPkKills(activeChar.getPkKills() + Config.PK_FOR_REWARD); + activeChar.sendPacket(new UserInfo(activeChar)); + activeChar.sendMessage("Congratulations, wise choise! Enjoy your reward."); + } + + else if (_command.startsWith("reward3")) + { + activeChar.setPvpKills(activeChar.getPvpKills() + Config.PVP_FOR_REWARD); + activeChar.sendPacket(new UserInfo(activeChar)); + activeChar.sendMessage("Congratulations, wise choise! Enjoy your reward."); + }
IKnowWtf Posted February 7, 2013 Posted February 7, 2013 He should teach us, not the opposite. :rage:
maximilion2 Posted February 7, 2013 Posted February 7, 2013 hehe relax guys i was just testing you to see who is after me :P SweeTs i will try to check if has no errors but with a fast view i can clearly see it's ok :P
Dεbian Posted February 7, 2013 Posted February 7, 2013 I did that code when I was in the start of l2jdeveloping. You can't even add few lines like activeChar.blabla ?
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