Jump to content

[Share]Αποφύγετε το farming-adena με dual box.(ή και χωρίς)


Recommended Posts

Καλησπέρα , όλοι ξέρετε πως οι παίκτες ανοίγουν διπλό παράθυρο και παίρνουν adena.Ειδικά στους pvp servers που ξεκινάνε συνήθως με 100kk και πάνω είναι γελοίο κάποιος να μαζέψει adena, και συνήθως αχρηστεύονται τα adena zones.Ε λοιπόν τί είναι αυτό;Για να βάλει καποιος adena (μονο adena , αν θέλετε το αλλάζετε) στο trade θα πρέπει να έχει κλείσει συνολικά 1 ώρα online .

Η ιδέα από έναν server που δε θυμάμαι το name του... Εύκολο code , αλλά και χρήσιμο.

Θα ήθελα να κάνετε comments για το αν το βρίσκετε χρήσιμο ή αν θα μπορούσα να το βελτιώσω κιάλο.

### Eclipse Workspace Patch 1.0
#P INTERLUDE_GAMESERVER_TEST
Index: java/net/sf/l2j/gameserver/clientpackets/AddTradeItem.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/AddTradeItem.java	(revision 5048)
+++ java/net/sf/l2j/gameserver/clientpackets/AddTradeItem.java	(working copy)
@@ -95,6 +95,14 @@
		}

         TradeList.TradeItem item = trade.addItem(_objectId, _count);
+        if(item.getItem().getItemId() == 57)
+        {
+        	if(player.getOnlineTime() < 3600000)
+        	{
+        		player.sendMessage("You can't add adenas, you must have completed 1 hour online for anti-farm reasons");
+        		return;
+        	}
+        }
         if (item != null)
         {
         player.sendPacket(new TradeOwnAdd(item));
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 5048)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -2283,6 +2283,11 @@
		_onlineTime = time;
		_onlineBeginTime = System.currentTimeMillis();
	}
+	
+	public long getOnlineTime()
+	{
+		return _onlineTime;
+	}

	/**
	 * Return the PcInventory Inventory of the L2PcInstance contained in _inventory.<BR><BR>

Link to comment
Share on other sites

fovero fovero alla kaneis dn diavazei t code

 

 

dn exei check gia onlinetime mias foras dld mpeneis perimeneis mia ora k meta kaneis trade an fas dc k ksanapeis pali 1 ora perimeneis k genika kathe fora p logaris perimeneis mia ora dn ine gia mia fora

 

 

xrisimopoioise t newbie method file m :)

Link to comment
Share on other sites

fovero fovero alla kaneis dn diavazei t code

 

 

dn exei check gia onlinetime mias foras dld mpeneis perimeneis mia ora k meta kaneis trade an fas dc k ksanapeis pali 1 ora perimeneis k genika kathe fora p logaris perimeneis mia ora dn ine gia mia fora

 

 

xrisimopoioise t newbie method file m :)

κανεις λαθος.. ειναι το συνολικο time που ειναι ο παικτης ονλινε.
Link to comment
Share on other sites

κανεις λαθος.. ειναι το συνολικο time που ειναι ο παικτης ονλινε.

 

are kathe fora p kanei log epd otan vgi midenizete tha prepei n perimenei mia ora gia n kanei trade swsta gt otan t evala ayto ekane s emena k t eftiaksa

Link to comment
Share on other sites

se lei akribos pou to bazis pio analitika den ginete

 

swpa re file esh exeis 1.238 ta 1200 einai nea topic opou zitas voithia...

 

oso gia to code einai polh kalo...

 

Link to comment
Share on other sites

swpa re file esh exeis 1.238 ta 1200 einai nea topic opou zitas voithia...

 

oso gia to code einai polh kalo...

 

exis dikio file den mporo na po den exis dikio alla ama theli to pedi help kai mporo na tou to peraso to code efxarsitos."oso gia to code einai polh kalo.."iparxoune eksipni pou mpori meta 2 weres na kani trade ta adena kalo share alla panta iparxoune kolopeda pou xalane ta pramata

Sorakis ama thelis kiolas sto alazo gia meres na perimeni na kani trade ta adena alla den ksero ama xalsi to kanoniko trade

Link to comment
Share on other sites

Καλησπέρα , όλοι ξέρετε πως οι παίκτες ανοίγουν διπλό παράθυρο και παίρνουν adena.Ειδικά στους pvp servers που ξεκινάνε συνήθως με 100kk και πάνω είναι γελοίο κάποιος να μαζέψει adena, και συνήθως αχρηστεύονται τα adena zones.Ε λοιπόν τί είναι αυτό;Για να βάλει καποιος adena (μονο adena , αν θέλετε το αλλάζετε) στο trade θα πρέπει να έχει κλείσει συνολικά 1 ώρα online .

Η ιδέα από έναν server που δε θυμάμαι το name του... Εύκολο code , αλλά και χρήσιμο.

Θα ήθελα να κάνετε comments για το αν το βρίσκετε χρήσιμο ή αν θα μπορούσα να το βελτιώσω κιάλο.

### Eclipse Workspace Patch 1.0
#P INTERLUDE_GAMESERVER_TEST
Index: java/net/sf/l2j/gameserver/clientpackets/AddTradeItem.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/AddTradeItem.java	(revision 5048)
+++ java/net/sf/l2j/gameserver/clientpackets/AddTradeItem.java	(working copy)
@@ -95,6 +95,14 @@
		}

         TradeList.TradeItem item = trade.addItem(_objectId, _count);
+        if(item.getItem().getItemId() == 57)
+        {
+        	if(player.getOnlineTime() < 3600000)
+        	{
+        		player.sendMessage("You can't add adenas, you must have completed 1 hour online for anti-farm reasons");
+        		return;
+        	}
+        }
         if (item != null)
         {
         player.sendPacket(new TradeOwnAdd(item));
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 5048)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -2283,6 +2283,11 @@
		_onlineTime = time;
		_onlineBeginTime = System.currentTimeMillis();
	}
+	
+	public long getOnlineTime()
+	{
+		return _onlineTime;
+	}

	/**
	 * Return the PcInventory Inventory of the L2PcInstance contained in _inventory.<BR><BR>

xaxaxaxaxaxxaxaxaxaxaxaxaxaxaxaxax..........

 

[Eng]nice share but in some servers they got gbs-etc...

i think it would be much better if you cancel the trade from traderequest.java :P and add it in dropItem to,maybe they have it True :P anyway its just a opinion GG again  :)

 

Edit:ebala tag sorry mperdeutika sini8isa ta agglika se auto to forum... :P

 

 

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.

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.



×
×
  • Create New...