Jump to content

Recommended Posts

Posted
  On 2/25/2015 at 7:56 PM, 'Baggos' said:

Of course. is the same thing..

It is somewhat "stupidity" in this case use "!"

I knew the meaning from that day.

In this case have to be like

if (isMageClass()) get this

else

get this.

 

But now... if a woman kiss the your upper lip, the same would you feel with a kiss on the bottom lip..

This guy rocks! :lol:

  • 2 months later...
Posted (edited)
  On 2/25/2015 at 7:33 PM, SweeTs said:

 

This logic is kinda meh, should be opposite (remove ! and switch mage <-> fighter code place) :D

+       if (!isMageClass())
+       {
+       addItem("Tattoo", Config.TATTOO_FIGHTER_ID, Config.FIGHTER_TATTOO_COUNT, this, true);
+       sendMessage("Congratulations! " + Config.PVP_COUNT + "  PvP Kills! You won Fighter Tattoo.");
+       }
+       else
+       {
+       addItem("Tattoo", Config.TATTOO_MAGE_ID, Config.MAGE_TATTOO_COUNT, this, true);
+       sendMessage("Congratulations! " + Config.PVP_COUNT + "  PvP Kills! You won Mage Tattoo.");
+       }

All this style coding seems suck and for me now.. haha  :happyforever:

Edited by 'Baggos'
Posted
  On 2/2/2015 at 12:48 AM, 'Baggos' said:

Hello members of maxcheaters!

 

I have make this idea for my test project. It's a small code.

Example: if a player is mage or fighter in x pvp count, will get Custom Tattoo. (Fighter or Mage depending in class)!

You can choose the count of pvp and Tattoo id you want on config.

 

It's for pvp server.. with this, the pvp has more interest.

I've seen in l2mora, giving an item pvp in every pvp, for to get these tattoos .. now instead be given an item pvp in each pvp, given once, with the count of pvp want.

 

I think it would be best if given like this way. To have importance the pvps and trade.

For example, players will trade, since it does not exist in the shop, and will go for pvp, instead of waiting for the vote reward!

 

Config.properties

# Custom Tattoo Fighter/Mage.
# Default: False & 100 Pvp kills.

RewardTattooEnable = false
# Fighter Tattoo
FighterTattooCount = 1
FighterTattooID = 492
# Mage Tattoo.
MageTattooCount = 1
MageTattooID = 493
# Pvp Kills Count.
PvpKillsCount = 100

An example for for stats on tattoos:

Data/stats/armor/0400-0499.xml

<item id='492' name="Tattoo of Soul">
  <for>
    <set val='500' order='0x010' stat='pAtk'/>
    <set val='300' order='0x010' stat='pAtkSpd'/>
    <set val='15' order='0x010' stat='rCrit'/>
    <add val='100' order='0x10' stat='pDef'/>
    <add val='50' order='0x010' stat='runSpd'/>
    <add val='100' order='0x10' stat='mDef'/>
    <enchant val='0' order='0x0C' stat='pDef'/>
  </for>
</item>
<item id='493' name="Tattoo of Avadon">
  <for>
    <set val='500' order='0x010' stat='mAtk'/>
    <set val='300' order='0x010' stat='mAtkSpd'/>
    <set val='15' order='0x010' stat='mCrit'/>
    <add val='50' order='0x010' stat='runSpd'/>
    <add val='100' order='0x10' stat='pDef'/>
    <add val='100' order='0x10' stat='mDef'/>
    <enchant val='0' order='0x0C' stat='pDef'/>
  </for>
</item>

NOTE: On your Lineage 2 system find armorgrp.dat and do there a edit. (With L2FileEdit). Find the tattoo's name and replace "Tattoo of soul with Fighter Tattoo" and "Tattoo of Avadon with Mage Tattoo".

 

http://pastebin.com/1e8SYXrL

Seriously we are in 2015 and you share a code that already being shared 50000 times and can be made by most most noobs ?... there should be rule about easy shared codes...

really...

Posted
  On 4/28/2015 at 6:45 PM, Πατουσιτσα said:

Seriously we are in 2015 and you share a code that already being shared 50000 times and can be made by most most noobs ?... there should be rule about easy shared codes...

really...

It is 50001 times shared...

Posted
  On 4/28/2015 at 8:54 PM, 'Baggos' said:

It is 50001 times shared...

Really i haven't seen more idiot person than you :3 

 

I wish Xdem was here to laugh on you...

you not only share bullshit but you are silly as well.. keep working :3 

Posted
  On 4/28/2015 at 11:24 PM, Πατουσιτσα said:

Really i haven't seen more idiot person than you :3 

 

I wish Xdem was here to laugh on you...

you not only share bullshit but you are silly as well.. keep working :3 

Yes it is..

Posted (edited)

adding in my code so that this

public void increasePvpKills(L2Character target)
    {
        if ((!RankPvpSystemConfig.LEGAL_COUNTER_ALTT_ENABLED && (target instanceof L2PcInstance) && AntiFeedManager.getInstance().check(this, target)) || (((target instanceof L2PcInstance)) && AntiFeedManager.getInstance().check(this, target)))
        {
            // Add karma to attacker and increase its PK counter
            setPvpKills(getPvpKills() + 1);
            L2MultiFunctionZone.givereward(this);
            // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
            sendPacket(new UserInfo(this));
            sendPacket(new ExBrExtraUserInfo(this));
        }
        else if ((isInTownWarEvent() && Config.TW_GIVE_PVP_AND_PK_POINTS))
        {
            // Add karma to attacker and increase its PK counter
            setPvpKills(getPvpKills() + 1);
            
            // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
            sendPacket(new UserInfo(this));
            sendPacket(new ExBrExtraUserInfo(this));
        }
    }
Edited by nery

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.




  • Posts

    • MoMoProxy Offers $850 for 1TB Plan. anyone interested in can view details as follow: https://momoproxy.com/residential-proxies
    • Yes there are many problems. Im trying to fix there slowly, cause i i put already a lot of work in this files. I think it will not be easy to move the project to other builds
    • You probably wanted to write l2jmobius. I would recommend that you change the build because it has a lot of problems with the movement of npcs and players. Even if you find bots you will have to correct the movement or the bots will get stuck, fly, teleport
    • Complete Server Pack + Source Files: C4 Scions Of Destiny: P656 Retail X1 L2OFF Server Pack + Source: Price: 100EUR --------------------------------------------------------------------------------------------------------------------------------------------- C4 Scions Of Destiny: P656 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 150EUR -------------------------------------------------------------------------------------------------------------------------------------------- C6 Interlude: P756 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 150EUR The same as C4 but in C6 Client  ----------------------------------------------------------------------------------------------------------------------------------------------   C6 Interlude: P746 L2Gold L2OFF Server Pack + Source: Price: 150EUR   https://imgur.com/a/pts-l2gold-interlude-p746-9kB3oA9#MbP2aJh -------------------------------------------------------------------------------------------------------------------------------------------------   C6 - Classic Interlude: P110 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 350EUR   https://imgur.com/a/pts-l2off-p110-classic-interlude-athena-x45-Z2kZxuv#YlZU9hF -------------------------------------------------------------------------------------------------------------------------------------------------   DISCORD - MMOPROMOOO TELEGRAM - MMOPROMO 
    • Wts adena scryde x50 Baium 12 Valakas 12 good price Top weapons +16
  • Topics

×
×
  • Create New...