Jump to content

Recommended Posts

Posted

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 :

 

uOBKx.jpg

width=1024 height=662http://i.imgur.com/EUqrJ.jpg[/img]

width=1024 height=662http://i.imgur.com/1z5MX.jpg[/img]

width=1024 height=662http://i.imgur.com/LsqPE.jpg[/img]

width=1024 height=662http://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).

Posted

It's made by Elfocrash I believe. Same html style  :good sir:

 

PS; Thanks Elfocrash for his html code.

 

:troll:

Guest Elfocrash
Posted

It's made by Elfocrash I believe. Same html style  :good sir:

The idea is originaly mine but Debian aka  Crystallia did it himself

Posted

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

Posted

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.");
+                                                       }

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock