Jump to content

[SHARE]disallow potion in pvp


Intrepid

Recommended Posts

  • 1 month later...

I make what say here but now  get a error!!!!

 

please is someone can help me... here the screen and my txt

 

image1obb.jpg

 

image1ja.jpg

 

My txt: http://rapidshare.com/files/236750456/Potions.java

 

PLease i need help!

 

My Rev is the last of l2j compatible with G. Final:

 

version=${l2j.revision}

    builddate=20090522_0854

      detailed info:

            committed-rev="3027"

            name=""

            committed-date="2009-05-22T10:32:07.061060Z"

            url="http://www.l2jserver.com/svn/trunk/L2_GameServer"

            last-author="_DS_"

            kind="dir"

            uuid="d34dfa0f-f91c-0410-86dd-cf06f19dd0ad"

            repos="http://www.l2jserver.com/svn"

Link to comment
Share on other sites

OMG this work great i m so happy haha this can be a really easy for all us but is my first modificatin and work, i know i get all the code form here but anyway i m happy! xDDDD thx for help this noob ^^

Link to comment
Share on other sites

  • 3 weeks later...

I dont get it..ok..i am NOOB at compile pack :P..i have an l2j gracia final(i suppose)..and..I go to

 

C:\Users\---\workspace\L2_GameServer\java\net\sf\l2j\gameserver\handler but..i cant find the Potion.java..i only find like this

 

1-2.jpg

Link to comment
Share on other sites

I dont get it..ok..i am NOOB at compile pack :P..i have an l2j gracia final(i suppose)..and..I go to

 

C:\Users\---\workspace\L2_GameServer\java\net\sf\l2j\gameserver\handler but..i cant find the Potion.java..i only find like this

 

1-2.jpg

//fail br0 go in your eclipse .. u cant do it out of there and potion.java dont realy exist on l2j anymore
Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.




  • Posts

    • Hello everyone, I need help with a script I found on the internet for auto target. It's working fine, but it targets any player in PvP, and I want to block certain classes. I added the condition and not ((User.ClassID = 27) or (User.ClassID = 103)) to the script, but after that, it doesn't target any class at all. I want it to target only specific classes defined in the script.           if (user.DistTo(Char2) < radius_max)         and not (char2.ismember)         and not (char2.dead)         and not (user.clanid = char2.clanid)         and not ((User.ClassID = 27) or (User.ClassID = 103))         and (char2.pvp) then          begin
    • Remove the if part of the code:   if (template.isType("L2RaidBoss")) { spawn.setRespawnMinDelay(43200); spawn.setRespawnMaxDelay(129600); RaidBossSpawnManager.getInstance().addNewSpawn(spawn, 0, template.getBaseHpMax(), template.getBaseMpMax(), permanent); } else { SpawnTable.getInstance().addNewSpawn(spawn, permanent); spawn.init(); } if (!permanent) { spawn.stopRespawn(); } activeChar.sendMessage("Created " + template.getName() + " on " + target.getObjectId());  
    • Hello, i use L2jSunrise, and i want to know how i can edit these lines to have possibility to spawn more than 1 raid ( instance )?   if (RaidBossSpawnManager.getInstance().isDefined(spawn.getId())) { activeChar.sendMessage("You cannot spawn another instance of " + template.getName() + "."); } else { if (template.isType("L2RaidBoss")) { spawn.setRespawnMinDelay(43200); spawn.setRespawnMaxDelay(129600); RaidBossSpawnManager.getInstance().addNewSpawn(spawn, 0, template.getBaseHpMax(), template.getBaseMpMax(), permanent); } else { SpawnTable.getInstance().addNewSpawn(spawn, permanent); spawn.init(); } if (!permanent) { spawn.stopRespawn(); } activeChar.sendMessage("Created " + template.getName() + " on " + target.getObjectId()); }  
    • για σας εχεισ κανεις την database του l2 trinity  ?  ευχαριστω 
    • Sorry I can't reveal my server information to you. If you are really interested then pm me and come to my server to test it
  • Topics

×
×
  • Create New...