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).

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...