Jump to content

Recommended Posts

Posted

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 :)

 

 

Posted

otan Les 8a valoume xrono?

dld 8a exie mia sigekrimeni stigmi i opoia 8a alazeis sub?

 

 

stin sigekrimeni periptosi vazis xrono anamonis

diladi alazis 1 fora sub meta o alos exei penalty gia 10 second, den bori na alaksi sub prin apo 10 second

 

ps: tora prepi na tin kano...pao na kimitho :P den exo xrono....avrio tha to kano edit tha valo timing penalty kai otan thes na kanis add kai otan thes na kanis cancel kapio sub..

Posted

iparxei kai kati alo to opio dn 8elei na valeis scripts kai auta..

einai sto c:/server/gameserver/data/jscript/villagemaster/

ekei sta __init__ ka8e change exei kapou sub class change time..

einai kai ekeino xrisimo an auto douleuei mono s gracia...;)

Posted

to com.l2jfree.gameserver.util p einai dn mporo na ti vrw?? :/

 

 

ok to vrika alla m vgazei ti grammatoseira kapws etc

 

 

ΚώΊΎ kai dn katalavainw tpt :P kapoios voithia??

Posted

iparxei kai kati alo to opio dn 8elei na valeis scripts kai auta..

einai sto c:/server/gameserver/data/jscript/villagemaster/

ekei sta __init__ ka8e change exei kapou sub class change time..

einai kai ekeino xrisimo an auto douleuei mono s gracia...;)

den eiparxi :)....kai sou po gti!

to Subclass Flood Protection emfanistike poli prosfata meta apo apetisis xriston....lipon ftiaxtike aftos o tropos o opoios einai apotelesmatikos :), alios gti na grinizoun i players? gti i L2J Devs na lene oti tha to ftiaxoun....den tha tous legane afto p les esei? ara? ....to kitaksa afto pou les kai den exei gia time :) an kai tha itan poli voliko gia osous den kseroun apo compile!

pistevo na exeis katalavi ti kani to parapano? Timing Penalty einai....vazis xrono....kai den boris na ektelesis tin energia pio prin!

Posted

to com.l2jfree.gameserver.util p einai dn mporo na ti vrw?? :/

 

 

ok to vrika alla m vgazei ti grammatoseira kapws etc

 

 

ΚώΊΎ kai dn katalavainw tpt :P kapoios voithia??

 

:) kseris apo compile? gti me notepad afta den ftiaxnode :) sto notepad ta vgazi etc...

Posted

den eiparxi :)....kai sou po gti!

to Subclass Flood Protection emfanistike poli prosfata meta apo apetisis xriston....lipon ftiaxtike aftos o tropos o opoios einai apotelesmatikos :), alios gti na grinizoun i players? gti i L2J Devs na lene oti tha to ftiaxoun....den tha tous legane afto p les esei? ara? ....to kitaksa afto pou les kai den exei gia time :) an kai tha itan poli voliko gia osous den kseroun apo compile!

pistevo na exeis katalavi ti kani to parapano? Timing Penalty einai....vazis xrono....kai den boris na ektelesis tin energia pio prin!

 

egw afto pou leei o strike iksera alla epeidh dn to exw dokimasei to subclass delay isws exeis dikio forgotten!

Posted

egw afto pou leei o strike iksera alla epeidh dn to exw dokimasei to subclass delay isws exeis dikio forgotten!

 

1on. to epsaksa kai eida oti gia kathe class eiparxi kai ena Custom Script!

2on den exei tetia epilogia gia sub delay (l2jfree ct2) tora se older packs den ksero

3on eiparxoun poli fakeli, kathe class ksexoristos fakelos....ara ama ginotan afto p elege eprepe na boume ston kathe fakelo kai na to kanoume edit!

4on afta ta scripts einai gia ta subs,diladi an thes o elfas na kani sub dark elf kai tetia...ala gia time den vrika tpt :)

Posted

Nice Share!!!

To dokimasa se l2jfree ct2 k douleui kanonika!!!

Elpizo na min exi problima k se l2jfree CT1.5!!!

Thx pantos! Poli kali doulia!!

 

ofc no :) kai se l2jfree IL pack dulebi :) giati einai poli aplo :)

Posted

1on. to epsaksa kai eida oti gia kathe class eiparxi kai ena Custom Script!

2on den exei tetia epilogia gia sub delay (l2jfree ct2) tora se older packs den ksero

3on eiparxoun poli fakeli, kathe class ksexoristos fakelos....ara ama ginotan afto p elege eprepe na boume ston kathe fakelo kai na to kanoume edit!

4on afta ta scripts einai gia ta subs,diladi an thes o elfas na kani sub dark elf kai tetia...ala gia time den vrika tpt :)

nai re c dn eipa oti dn ginete etc p les kai einai kalytero.....

apla ston server p eixame palia anoixto IL mazi me tin omada developers to eixame ala3ei apo ekei..!

apla ekana report gia to pws aliws boreis alla 8elei trelo psa3imo!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
    • ✨ Exclusive Offer for Marketplace Growth 🔥 Elevate your performance with a premium bonus. 💲 Top up your balance with $100 or more and receive an additional $5 credit — seamlessly added to your account. ⭐️ Designed for those who value efficiency, scale, and results. ⚡️ Effortless. Refined. Effective. 💥 Enhance your strategy today 💥
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..