Jump to content

Set Hero With PvP (Το πρωτο μου Code)


Recommended Posts

Γεια σας παιδια εφτιαχα ενα Mod ειναι παρα μα παρα πολυ απλο απλα το ανεβαζω για να μου πειτε την γνωμη σας αν ειναι συντακτηκα γραμμενο καλα...

 

Υποψη πρωτο Code!

 

UPDATE λΙΝΚ  TA EBALA ΜΕ +

http://pastebin.com/TkmfBVe0

 

http://pastebin.com/FmyQYX4b

Link to comment
Share on other sites

file den tha doulepsei auto. katarxas ekanes mia kenourgia Class mono gi auto? 2on ekanes tin class esto....kai pali kanontas mia class kai grafontas ti euxomaste na ginei den tha doulepsei :D .

 

Gia na doulepsei tha prepei na pas sto L2PcInstance.java

na vreis tin methodo increasePvpKills()  kai na addareis:

  if (activeChar.getPvpKills() >= arithmos)

     

                activeChar.sendMessage("You are now a server hero for beign so great fighter!");

                activeChar.setHero(true);

        }

Link to comment
Share on other sites

eyxaristw file mou gia tin boitheia pou prosfereis ! diladi sto L2PcInstance paizoun rolo sto oti exei kanei ston char ?

oxi...

apla i methodos pou anevenoun ta pvp ine ekei.

legete increasePvpKills kapos etc.

Ekei aneveoun ta pvp kills.

katw apo to pvp kills...tha checkareis an exoun apnw apo x(arithmos) .tote na ginete hero.

Episis auto anti me if ginete kai me to switch (ine idios tropos, esi kane to if ine kalitero gia newbies apla to anafero).

me to switch tha itan etc:

switch(getPvpKills)
{
case arithmos:
  setHero(true);
  break;
default:
  ;
}

 

Link to comment
Share on other sites

oxi...

apla i methodos pou anevenoun ta pvp ine ekei.

legete increasePvpKills kapos etc.

Ekei aneveoun ta pvp kills.

katw apo to pvp kills...tha checkareis an exoun apnw apo x(arithmos) .tote na ginete hero.

Episis auto anti me if ginete kai me to switch (ine idios tropos, esi kane to if ine kalitero gia newbies apla to anafero).

me to switch tha itan etc:

switch(getPvpKills)
{
case arithmos:
  setHero(true);
  break;
default:
  ;
}

 

 

 

file tha ithela na se rotiso kai kati allo . px thelw na to balw sta confing auto pws mporw na to kateferw?

Link to comment
Share on other sites

 

file tha ithela na se rotiso kai kati allo . px thelw na to balw sta confing auto pws mporw na to kateferw?

gia arxi codare xoris configs...afou mathis ta vasika meta arxina na kaneis kai configs.

Polu kalos , gia proto mia xara ;)

ok kali prospathia gia prwti tou fora, ala den mporeis na to peis kai mia xara re c efoson den douleuei....(totaly spamm giati oute pou ides to code)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...