Jump to content
  • 0

[Help]Pws Vazw Codes Sto Java


Rio

Question

Hey Guys Ekana Copile Me Thn Voh8eia Tou ExrtemeDwarf http://www.maxcheaters.com/forum/index.php?topic=84234.0 kai tr dn 3erw ti na kanw?

pws vazw dika m codes pou vriskw sto mcx

p.x vrika auto to faction mod http://www.maxcheaters.com/forum/index.php?topic=102727.0 kai 8elw na to egkatastisw sto pack m alla dn 3erw akrivws pws :/

epsa3a arketa skalisa alla tp p.x vazw ena code ekei p m leei p.x Index: java/net/sf/l2j/gameserver/network/clientpackets/TradeRequest.java

 

Vazw auto to code Sto Katw KAtw Metos Twn Codes Pou Eiparxoun Hdh :  player.sendMessage("You or your target cant request trade in Olympiad mode");

            return;

        }

-

+

+ if (partner.getFactionId() != player.getFactionId())

+ {

+            player.sendMessage("Trading between factions is forbidden");

+            return;

+ }

+

        // Alt game - Karma punishment

        if (!Config.ALT_GAME_KARMA_PLAYER_CAN_TRADE && (player.getKarma() > 0 || partner.getKarma() > 0))

        {

Vgazw Ta ++ pou exei sthn akrh alla kai pali m vgazei errors kai upogramizei me kokkines grammes merikes le3eis :(

apo oti eida dn exei kanena guide sto forum gia to pws an vazoume codes sto compiled pack mas xwris an exoume error kai zitw thn voh8eia enws embirou na m ma8ei estw ligo ta vasika gt dn vgazw akrh thnx,,,

 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

otan blepeis ena code na exei + kai - simenei oti opou blepeis - kaneis delete to code kai opou blepeis + bazeis code opws blepw se auto to code esu apla kaneis delete mia seira kai pros8eths alla otan baleis ton kodika frontise na mhn uparxoun + kai - auta  sbhneis auta ta exei mono kai mono gia na ktlveis poios einai o kodikas

Link to comment
Share on other sites

  • 0

:/ re seis vazw auto to code

 

Index: java/net/sf/l2j/gameserver/network/clientpackets/TradeRequest.java

===================================================================

--- java/net/sf/l2j/gameserver/network/clientpackets/TradeRequest.java (revision 3695)

+++ java/net/sf/l2j/gameserver/network/clientpackets/TradeRequest.java (working copy)

@@ -80,7 +80,13 @@

            player.sendMessage("You or your target cant request trade in Olympiad mode");

            return;

        }

-

+

+ if (partner.getFactionId() != player.getFactionId())

+ {

+            player.sendMessage("Trading between factions is forbidden");

+            return;

+ }

+

        // Alt game - Karma punishment

        if (!Config.ALT_GAME_KARMA_PLAYER_CAN_TRADE && (player.getKarma() > 0 || partner.getKarma() > 0))

        {

 

antika8istw kai pros8etw ta e3hs + if (partner.getFactionId() != player.getFactionId())

+ {

+            player.sendMessage("Trading between factions is forbidden");

+            return;

+ }

+

        // Alt game - Karma punishment

        if (!Config.ALT_GAME_KARMA_PLAYER_CAN_TRADE && (player.getKarma() > 0 || partner.getKarma() > 0))

        {

 

kai m vgazei error se auta + if (partner.getFactionId() != player.getFactionId())

+ {   m leei (The method getFactionId() is undefined for the type

L2PcInstance) ti kanw la8ws :/ ?

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