Jump to content
  • 0

Sub Bug [Help][gr]


Question

Posted

Paidia mipos kserei kanis pos mporoume na vgaloume to Bug gia HP Atk speed ktl. p ta kaneis m ta Swords kai subs?

p.x. sto l2mafia exoun valei freeztime mipos ginete na kanw kati alo? i ama oxi pos mporo na valw freeztime?

1 answer to this question

Recommended Posts

  • 0
Posted

t eixe kanei o Forgoten post! to ekana cp epeidi den briskw post kai to eixa se txt file!

 

Loipon.. gia na apofigete na stucaroun ta skills, i diafora ala Exploit! tha valoume xrono! dld kathe pote na alazoume sub.

 

Afto to Guide einai gia L2J Free CT2 Pack.....

 

==================== Βημα 1 ==================== 

 

Pigente com.l2jfree.gameserver.util kai anikste to FloodProtector.java kai vrite afto to komati tou kodika

 

						
// protected actions
public static final int				PROTECTED_USEITEM		= 0;
public static final int				PROTECTED_ROLLDICE		= 1;
public static final int				PROTECTED_FIREWORK		= 2;
public static final int				PROTECTED_GLOBAL_CHAT	= 3;
public static final int				PROTECTED_TRADE_CHAT	= 4;
public static final int				PROTECTED_ITEMPETSUMMON	= 5;
public static final int				PROTECTED_HEROVOICE		= 6;
public static final int				PROTECTED_SOCIAL		= 7;
public static final int				PROTECTED_MULTISELL		= 8;
// =========================================================

 

Kai valte afto edw kato apo to PROTECTED_MULTISELL

 public static final int PROTECTED_SUBCLASS = 9;

 

Meta pigede se afto to komati tou kodika

{ 4, 42, 42, Config.GLOBAL_CHAT_TIME, Config.TRADE_CHAT_TIME, 16, 100, Config.SOCIAL_TIME, 2 };

 

Kai meta to 2 valte 100 (an thelete 10 second) meta to 2 tha proigite , diladi kapos etsi 2, 100 sas exo kai paradigma kato!

{ 4, 42, 42, Config.GLOBAL_CHAT_TIME, Config.TRADE_CHAT_TIME, 16, 100, Config.SOCIAL_TIME, 2, 100 };

 

==================== Βημα 2 ==================== 

 

Pigente com.l2jfree.gameserver.model.actor.instance kai anikste to L2VillageMasterInstance.java  kai sta IMPORTS valte to parakato

import com.l2jfree.gameserver.util.FloodProtector;

 

Meta Pigente stin sira 413 kai akrivos pano apo afton ton kodika,ama exete alo pack i paliotero den einai stin grami 413, einai +10-10 psakste eki!

player.setActiveClass(paramOne); 
   
content.append("Change Subclass:<br>Your active sub class is now a <font color=\"LEVEL\">"

Balte  afton (Change Sub Action Flood Protection)

 
                                     /* 
                                      * DrHouse: Despite this is not 100% retail like, it is here to avoid some exploits during subclass changes, specially 
                                      * on small servers. TODO: On retail, each village master doesn't offer any subclass that is not given by itself so player 
                                      * always has to move to other location to change subclass after changing previously. Thanks Aikimaniac for this info. 
                                     */ 
                                   if (!FloodProtector.getInstance().tryPerformAction(player.getObjectId(), FloodProtector.PROTECTED_SUBCLASS)) 
                                     { 
                                            player.sendMessage("You can change Subclass only every 10 Second(s)"); 
                                             return; 
                                     } 

 

OK AFTO HTAN ME TO CHANGE AS PAME STO CANCEL!

 

gia na valete protection sto Cancel :) pate stin grami 488 (case7) pano apo afton ton kodika

player.setActiveClass(paramOne);

kade add afton ton kodika!

 
                                     /* 
                                      * DrHouse: Despite this is not 100% retail like, it is here to avoid some exploits during subclass changes, specially 
                                      * on small servers. TODO: On retail, each village master doesn't offer any subclass that is not given by itself so player 
                                      * always has to move to other location to change subclass after changing previously. Thanks Aikimaniac for this info. 
                                     */ 
                                   if (!FloodProtector.getInstance().tryPerformAction(player.getObjectId(), FloodProtector.PROTECTED_SUBCLASS)) 
                                     { 
                                            player.sendMessage("You can cancel Subclass only every 10 Second(s)"); 
                                             return; 
                                     } 

 

OK AFTO HTAN ME TO CANCEL AS PAME STO ADD

 

gia na valete Subclass Flood Protection sto Add pigede stin grami 393 (case4) kai pano apo afton ton kodika

player.setActiveClass(player.getTotalSubClasses());

valte afton

 
                                     /* 
                                      * DrHouse: Despite this is not 100% retail like, it is here to avoid some exploits during subclass changes, specially 
                                      * on small servers. TODO: On retail, each village master doesn't offer any subclass that is not given by itself so player 
                                      * always has to move to other location to change subclass after changing previously. Thanks Aikimaniac for this info. 
                                     */ 
                                   if (!FloodProtector.getInstance().tryPerformAction(player.getObjectId(), FloodProtector.PROTECTED_SUBCLASS)) 
                                     { 
                                            player.sendMessage("You can Add new Subclass only every 10 Second(s)"); 
                                             return; 
                                     } 

 

---------------------------------------END----------------------------------------

 

[ Alages pou eginan ]

1. vgike to palio minima opou emfanizotan otan alazes sub, kai egine add kenurgio se alo komati tou koika, me apotelesma to minima na to vlepi o xristis mono an dokimasi na alaksi/cancel/add sub prin apo 10 second(to adistixo mhnhma gia to kathe 1)

 

2.bike timing penalty sto cancel kai add

-----------------------------------------------------------------------------------

[ Pliroforisi ]

 

an prospathiste na kanete add,kai amesos cancel i change.....den pezi ergo .....opoiadipote energia kai na exete kani prepi na perimenete 10 sec na ektelesete ksana tin idia i kapia ali sxetika pada me to subclass (change-add-cancel)

 

 

AFTA :)

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