Jump to content
  • 0

[Looking For] 2 Java Codes.


Visius

Question

First one.

 

On X pvp's you gain a color like

 

500 PvP ---> Name

 

1000PvP ---> Name

 

1500PvP ---> Name

 

2000PvP ---> Name

 

etc etc...

 

And

 

Second..

 

When you reach 1,000pvp you will gain PvP Blessed The Body.

 

When you reach 2,000pvp you will gain PvP Might.

 

etc etc

 

For Interlude,im using L2JFrozen Pack. If anyone can help me i would be really glad.

Link to comment
Share on other sites

Recommended Posts

  • 0

lets start:

 

L2PcInstance.java

@IncreasePvPKills()

if (this.getpvpkills())

this.getAppearence().set...

 

same on enterworld.java but on any line (not in methods ^^)

 

for skills just understand how the above works and you will find out

the code I made isn't correct I made it to guide you on how to make one, GL

Link to comment
Share on other sites

  • 0

lets start:

 

L2PcInstance.java

@IncreasePvPKills()

if (this.getpvpkills())

this.getAppearence().set...

 

same on enterworld.java but on any line (not in methods ^^)

 

for skills just understand how the above works and you will find out

the code I made isn't correct I made it to guide you on how to make one, GL

Well i suck in java so i can't make any code, could you made those for me?
Link to comment
Share on other sites

  • 0

Well i suck in java so i can't make any code, could you made those for me?

Don't open a server then, ty in advance for the players victims you won't do.

Link to comment
Share on other sites

  • 0

Well,Java isn't something easy to learn :P im trying but my skills are... better don't talk about them xD

My dear, these codes are ready. Shared in l2j section, just search & modify. I don't know java too, but with searching and practicing on l2j sources I learn many things.
Link to comment
Share on other sites

  • 0

My dear, these codes are ready. Shared in l2j section, just search & modify. I don't know java too, but with searching and practicing on l2j sources I learn many things.

 

Java programming language is not like that... just search some stuff and see oh, here it is activeChar.getPvP()... hmm I think this function must be related to the a-beep-t of pvps of the players... No, it requieres knowledge of OOP ( Object-oriented programming ) which is gained generally from c++ so that when you pass to java language, you already have already learned the principles of Encapsulation,Subtype polymorphism,Object inheritance so that you know what is going on that classes with the private/public/protected objects and functions and so on... but the man just want that stuff and he doesn't have time  to learn how things work or even search for them :D 

 

The above thing was just an example... btw I will do it tomorrow what you requested, now I'm busy, learning for college :P

Link to comment
Share on other sites

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
Answer this question...

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