Jump to content

Question

Recommended Posts

  • 0
Posted

Java code.... oti cutom tetiou tipou me javaa code ginete.... Sto l2 ola ginonte alla prepei na 3ereis java....

 

Pantos kali idea auto san farm zone alla gia pvp :P

  • 0
Posted

Java code.... oti cutom tetiou tipou me javaa code ginete.... Sto l2 ola ginonte alla prepei na 3ereis java....

 

Pantos kali idea auto san farm zone alla gia pvp :P

ma to 3erw oti mono me java code... alla to 8ema einai oti eimai new se java.. kai dn 3erw mia :PP

siga siga to palevw exw diavasei kati topic alla...

mhpws mporei kapoios na me help me auto to code??

 

egw eipa thn idea as me help kapios me thn pra3h :PP

  • 0
Posted

ti idees exw re :PPP den eprepe na to pw :PP

LoL siga re.... Ipame idea einia... ti na tin kanies tin idea an den 3ereis na ti ftia3eis? :P

 

3ereis posoi skeftonte trela pragmata  alla ta paratane gt den 3eroun na to ftia3oun...

 

Px.. Server mono me nanakia DwarfWar kapws etc nomizw legete.... kai gia mob exei balei tous human/ork/elf/delfs....

 

dld gia na farmareis prepei na kilalreis mobs pou miazoun me pextes :P

  • 0
Posted

LoL siga re.... Ipame idea einia... ti na tin kanies tin idea an den 3ereis na ti ftia3eis? :P

 

3ereis posoi skeftonte trela pragmata  alla ta paratane gt den 3eroun na to ftia3oun...

 

Px.. Server mono me nanakia DwarfWar kapws etc nomizw legete.... kai gia mob exei balei tous human/ork/elf/delfs....

 

dld gia na farmareis prepei na kilalreis mobs pou miazoun me pextes :P

 

hahahah gia plaka to eipa re c xaax :P

sketh idea ti na thn kanw apo thn stigmh pou dn mporw na thn pragmatopihsw... giauto to eipa edw wste na me help kapios kai opios alos to 8elei as to kanei siga ti einai... e3alou den metrane mono auta se enan server :P

  • 0
Posted

L2PcInstance.java

 

Πήγαινε στο "// Add karma to attacker and increase its PK counter" και κάτω απο το "setPvpKills(getPvpKills() + 1);"

βάλε αυτο

        if (isInsideZone(11020))
       {
       	addItem("loot", 57, 200, this, true);
       	sendMessage("You won a cookie");
       }

 

Δεν το έχω τεστάρει. Δεν ξέρω αν δουλεύει, δοκιμασε το και πες μου.

Χ : ItemId

Y : Amount

 

 

Υ.Γ : Το 11020 είναι το ID της Giran. Μπορείς να βάλεις οποιαδήποτε πόλης θες.

  • 0
Posted

L2PcInstance.java

 

Πήγαινε στο "// Add karma to attacker and increase its PK counter" και κάτω απο το "setPvpKills(getPvpKills() + 1);"

βάλε αυτο

        if (player.isInsideZone(11020))
        {
        	if (player.getPvpKills() > (getPvpKills() +1))
        	{
        		player.addItem("w/e", x, y, this, true);
        		player.sendMessage("You just won a cookie.");
        	}
        }

 

Δεν το έχω τεστάρει. Δεν ξέρω αν δουλεύει, δοκιμασε το και πες μου.

Χ : ItemId

Y : Amount

 

 

Υ.Γ : Το 11020 είναι το ID της Giran. Μπορείς να βάλεις οποιαδήποτε πόλης θες.

 

aa diladh na valw town gia pvp ?..  ama 8elisw na to valw px... garden of eva.. exei id h dn mporw prepei na setaristei alios?

 

BTW: Thanks Pantws

  • 0
Posted

aa diladh na valw town gia pvp ?..  ama 8elisw na to valw px... garden of eva.. exei id h dn mporw prepei na setaristei alios?

 

BTW: Thanks Pantws

 

Gameserver/data/zones/zones.xml

 

Εκεί μπορείς να βρεις τα ID των πόλεων, των κάστρων κλπ.. :)

  • 0
Posted

Gameserver/data/zones/zones.xml

 

Εκεί μπορείς να βρεις τα ID των πόλεων, των κάστρων κλπ.. :)

ok ty 8a to dokimasw kai 8a s pw giati den to exw dokimasei akoma kanw compile ena pack kai 8a to valw kai 8a to dokimasw :)

  • 0
Posted

Το τέσταρα και δουλεύει μια χαρά.

 

        if (isInsideZone(11020))
       {
       	addItem("loot", 57, 200, this, true);
       	sendMessage("you won a cookie");
       }

  • 0
Posted

Το τέσταρα και δουλεύει μια χαρά.

 

        if (isInsideZone(11020))
        {
        	addItem("loot", 57, 200, this, true);
        	sendMessage("you won a cookie");
        }

 

wraios :) kai egw twra 8a to valw.. giati ipir3e ena provlimataki me to pack mou evgale error :S tespa..

  • 0
Posted

mou vgazei auto to error otan paw na to kanw build...

 

 

compile:

    [javac] Compiling 1462 source files to C:\workspace\trunk\L2_GameServer\build\classes

    [javac] C:\workspace\trunk\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5794: isInsideZone(byte) in com.l2jserver.gameserver.model.actor.L2Character cannot be applied to (int)

    [javac]       if (isInsideZone(11039))

    [javac]           ^

    [javac] 1 error

 

BUILD FAILED

C:\workspace\trunk\L2_GameServer\build.xml:62: Compile failed; see the compiler error output for details.

 

Total time: 13 seconds

 

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