Jump to content

Do you want a free retail like only version?  

119 members have voted

  1. 1. Do you want a free retail like only version?

    • Yes!
      95
    • No!
      9
    • Mmm i want customs.. so i don't agree with anything.
      15


Recommended Posts

Posted

ok i chek them 1 time and i see 1 thing reworked from copy paste l2j server

 

first of all open l2character..

 

	/**
 * Exits all buffs effects of the skills with "removedOnAnyAction" set.
 * Called on any action except movement (attack, cast).
 */
public final void stopEffectsOnAction()
{
	_effects.stopEffectsOnAction();
}

 

that code is for Hide skill on action remove effect.. you dont need them for interlude server

 

 

when i will find more i will report them

Posted

well if it was already made, and in sync with the rest of the pack why should i rework all that effect list? doesn't seem logic?

And u do need effect list on interlude, since the other one stacks and also missloops! Dumb ass >.>

 

You can also check the L2Vehicle, thats also a sync from l2jserver, same thing why should anyone spend time recreating smth already made. And also you'll see that the packets used there are interlude ones, sniffed.

 

Also, reporting things like that have no sense, take l2jfree you'll see l2j code there too xD that makes them copy pasters too ? also take a look at the injector prototype system, dose that look like c/p  to you ?

 

Or the Olympiad for that matter, take a look there xD If you see smth ill delete it.Link

Posted

well if it was already made, and in sync with the rest of the pack why should i rework all that effect list? doesn't seem logic?

And u do need effect list on interlude, since the other one stacks and also missloops! Dumb ass >.>

 

Setekh .... this code is used only for Hide skill.. remove them from 1 epil pack and test them.. and check the skill Hide

 

 

	public void stopEffectsOnAction()
{
	if (_hasEffectsRemovedOnAnyAction)
	{
		if (_buffs != null)
		{
			synchronized (_buffs)
			{
				if (!_buffs.isEmpty())
				{
					for (L2Effect e : _buffs)
						if (e != null && e.getSkill().isRemovedOnAnyActionExceptMove())
							e.exit(true);
				}
			}
		}
	}
}

 

for (L2Effect e : _buffs)

if (e != null && e.getSkill().isRemovedOnAnyActionExceptMove()) // go on database hide skill and search that..

e.exit(true);

 

 

<set name="removedOnAnyActionExceptMove" val="true"/> this is on hide skill

 

 

 

 

Posted

well if it was already made, and in sync with the rest of the pack why should i rework all that effect list? doesn't seem logic?

And u do need effect list on interlude, since the other one stacks and also missloops! Dumb ass >.>

 

You can also check the L2Vehicle, thats also a sync from l2jserver, same thing why should anyone spend time recreating smth already made. And also you'll see that the packets used there are interlude ones, sniffed.

 

Also, reporting things like that have no sense, take l2jfree you'll see l2j code there too xD that makes them copy pasters too ? also take a look at the injector prototype system, dose that look like c/p  to you ?

 

Or the Olympiad for that matter, take a look there xD If you see smth ill delete it.

 

i think i have see 1 more time that olympiad i think on some packs la2base.. not the same but is easy to change them.

 

now i report some mistakes i dont start flames or somthing like that but this effect you dont need them is only for hide skill and is true

Posted

i think i have see 1 more time that olympiad i think on some packs la2base.. not the same but is easy to change them.

 

now i report some mistakes i dont start flames or somthing like that but this effect you dont need them is only for hide skill and is true

HAHAHAHAHAHHAHA

 

Dude, do u really listen to yourself? did u actually read what i stated?

Seems not so im gonna repeat myself once more.

 

The effect system got reworked cus it was dirty, thats one factor, a second one will be a thread lock so the thing they did was to create it in its own instance and use that instance to manage the listed effects.

 

Now to the Olympiad matter, thats not the only file, and thats a unique system i coded that myself alone in front of interpid, coyote and psychojr and they can back up my statement.

There is no Olympiad of that kind as you saw i used threads to switch matches states and also i have a dao mysql system, injector system and also an util static class to manage the data lists. Every match gets dummped from the JVM after its finished no waste no nothing! You ain't gonna see cleaner code than that anywhere else! Trust me on that.

 

 

Posted

Setekh .... this code is used only for Hide skill.. remove them from 1 epil pack and test them.. and check the skill Hide

 

 

	public void stopEffectsOnAction()
{
	if (_hasEffectsRemovedOnAnyAction)
	{
		if (_buffs != null)
		{
			synchronized (_buffs)
			{
				if (!_buffs.isEmpty())
				{
					for (L2Effect e : _buffs)
						if (e != null && e.getSkill().isRemovedOnAnyActionExceptMove())
							e.exit(true);
				}
			}
		}
	}
}

 

for (L2Effect e : _buffs)

if (e != null && e.getSkill().isRemovedOnAnyActionExceptMove()) // go on database hide skill and search that..

e.exit(true);

 

 

<set name="removedOnAnyActionExceptMove" val="true"/> this is on hide skill

 

 

 

 

Lets say i missed that, thanks.

(Crappy google shit ><!)

Posted

HAHAHAHAHAHHAHA

 

Dude, do u really listen to yourself? did u actually read what i stated?

Seems not so im gonna repeat myself once more.

 

The effect system got reworked cus it was dirty, thats one factor, a second one will be a thread lock so the thing they did was to create it in its own instance and use that instance to manage the listed effects.

 

Now to the Olympiad matter, thats not the only file, and thats a unique system i coded that myself alone in front of interpid, coyote and psychojr and they can back up my statement.

There is no Olympiad of that kind as you saw i used threads to switch matches states and also i have a dao mysql system, injector system and also an util static class to manage the data lists. Every match gets dummped from the JVM after its finished no waste no nothing! You ain't gonna see cleaner code than that anywhere else! Trust me on that.

 

 

ok so forget the olympiad i speak now for the effect you dont need them, is on Call skill

 

 

Hide skill :

Hides the user. Movement speed is decreased by 30%, and the effect is canceled if any action other than movement is initiated.

 

private void beginCast(L2Skill skill, boolean simultaneously)
{
	if (!checkDoCastConditions(skill))
	{
		if (simultaneously)
			setIsCastingSimultaneouslyNow(false);
		else
			setIsCastingNow(false);
		if (this instanceof L2Player)
		{
			getAI().setIntention(AI_INTENTION_ACTIVE);
		}
		return;
	}

	// Can't use Hero and resurrect skills during Olympiad
	if (this instanceof L2Player && ((L2Player) this).inOlyAndActive() && (skill.isHeroSkill() || skill.getSkillType() == L2SkillType.RESURRECT))
	{
		SystemMessage sm = new SystemMessage(SystemMessageId.THIS_SKILL_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT);
		sendPacket(sm);
		return;
	}

	stopEffectsOnAction();   // here on action ..

//bla bla bla

 

 

protected void doAttack(L2Character target)
{
	if (Config.DEBUG)
		_log.fine(getName() + " doAttack: target=" + target);

	if (isAlikeDead() || target == null || (this instanceof L2Npc && target.isAlikeDead()) || (this instanceof L2Player && target.isDead() && !target.isFakeDeath()) || !getKnownList().knowsObject(target) || (this instanceof L2Player && isDead()) || (target instanceof L2Player && ((L2Player) target).getDuelState() == Duel.DUELSTATE_DEAD))
	{
		// If L2Player is dead or the target is dead, the action is stoped
		getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);

		sendPacket(new ActionFailed());
		return;
	}

	if (isAttackingDisabled())
		return;

	if (this instanceof L2Player && target instanceof L2Player)
	{
		L2Player activeChar = getActingPlayer();
		L2Player targ = target.getActingPlayer();

		if (activeChar.inObserverMode())
		{
			sendPacket(new SystemMessage(SystemMessageId.OBSERVERS_CANNOT_PARTICIPATE));
			sendPacket(new ActionFailed());
			return;
		}

		if (activeChar.isCursedWeaponEquiped() && targ.getLevel() <= 20)
		{
			activeChar.sendMessage("Can't attack a newbie player using a cursed weapon.");
			sendPacket(new ActionFailed());
			return;
		}
	}

	stopEffectsOnAction();   // here on do Cast 1 skill ..
//bla bla bla

 

 

explain me now why is in there? that is from l2jarchid..

 

Posted

btw i have see them again that com.l2jarchid.gameserver.model.actor.L2Player; in another pack i will remember them

 

 

 

you have 1 more mistake on serverpackets of Vehicle if you need my infos pm and is 100% wrong :) because i have work on them

Posted

btw i have see them again that com.l2jarchid.gameserver.model.actor.L2Player; in another pack i will remember them

 

 

 

you have 1 more mistake on serverpackets of Vehicle if you need my infos pm and is 100% wrong :) because i have work on them

Dream

Posted

btw seth... dataholders are from Aion java emulator?:P

 

no from space ; D serk now pack is really shitty ;) 10 minuts of tests and find xxx errors and bugs ;P if you delete customs be shure you do it correct... And you know something about warrnings ;)? check out archid is alike 100+ ;O

Posted

btw i have see them again that com.l2jarchid.gameserver.model.actor.L2Player; in another pack i will remember them

 

 

 

you have 1 more mistake on serverpackets of Vehicle if you need my infos pm and is 100% wrong :) because i have work on them

thats a refactor to l2player, cus its not instanceable via a spawn method also "player" syntax is easyer to use.

the dataholder folder means a marshaler that parse/stores the data from a xml file(See olympiad or events), much like datatables. The thing is i dont use google guice, i use my own injection and marshaler system.

 

About that effect code that shouldn't be there will be removed, i synced blindly.

And about the packets your wrong. ^^ And take a look see in my serverpacket folder, ull find it quite interesting.

 

Guest
This topic is now closed to further replies.



  • Posts

    • in conclusion when somebody who has a project for 10+ years still on development writes an e-say to try until you succeed and then advertises his project, one of the reasons is he needs money, so l2j has once more become pure expensive hobby, you wont make money out of it.   You can still use L2jFrozen and get better results for this, i know some people that done it    keep in mind that C in aCis stands for Crappy, and after all these years its not a cool wordplay anymore, its a fact, prove me wrong.
    • First, don't really follow the "main voice", moreover if you consider it an hobby. Simply do what you want, you got only one life so use it as you want. If you make it an hobby, it's exactly like piano, or velo - only practice makes you better.   Secondly, how do you learn things ? It's actually a really important question, since some can simply be scholar, read books (theory) then practice ; and some simply can't read books. I'm the second type, I hated school, I find it boring - my knowledge in Java comes from try-and-fail. You improve your coding style every year or so, I can myself rewrite my own code (which I already considered top-notched) after a while. You always learn something new - even if Java barely evolves. L2J is a fun way to learn programming, it's a giant sandbox where you can edit anything, and I believe it should be taken as it.   My own way of learning was as follow : Add existing customs, no matter what they are : the point is to know main classes used by L2J / customs. L2J is barely Java knowledge ; the true knowledge is to know WHAT to search in WHICH location (what I call, organization). You have to understand than EVERYTHING you think already exists, in a form on another, in the source code. A custom is only the association of the different mechanisms you found "here and there", glued together in a proper goal. Once you know main classes to edit, and the customs you added are compiling fine, the main point is to know WHAT exactly you DID. Try to understand WHY and WHERE you actually copied the code. Third point would be to MANIPULATE the customs you added in order to fit your wish. First edit little values, then logic conditions ; eventually add a new Config, or a new functionality to the custom. Fourth point would be to begin to craft your own ideas. Once again, EVERYTHING already exists, in a form or another. You want a cycled event ? You got Seven Signs main task as exemple. Npc ? Search any type of Npc and figure out what it does. Fifth point would be to understand Java - mostly containers (WHAT and WHERE to use them), variables types and main Java mechanisms (inheritance, static modifier, etc). You should also begin to cut your code into maintainable classes or methods. Java can actually run without optimization, but bigger your ideas, more optimized and well-thought it should be. It's direct saved time in the future, and you would thank yourself doing so. Main tips : ALWAYS use any type of versioning system - GIT or SVN. It allows to save your work, step by step and eventually revert back anytime you want if you terribly messed up. L2J is 80% organization knowledge, and 20% Java knowledge. Basically, if you know WHAT and WHERE to search, if you aren't dumb, it's easy to replicate and re-use things. Cherry on top is to use a already good coded pack to avoid copy-paste crap and get bad habits. Avoid any type of russian or brazilian packs, for exemple - their best ability is to leak someone's else code. Obviously you need some default sense of logic, but Java and programming in general help you to improve it.   Finally, most of your questions could be solved joining related Discord (at least for aCis, I can't speak for others) - from the moment your question was correctly asked (and you seemed to search for the answer). My community (and myself) welcomes newbies, but got some issues with noobies.   The simpliest is to try, fail and repeat until you succeed - it sounds stupid, but that's basically how life works.   PS : about Java ressources, before ChatGPT, it was mostly about stackoverflow website, and site like Baeldung's one. With ChatGPT and alike, you generally double-cross AI output to avoid fucked up answers. Also, care about AI, they are often hallucinating really hard, even today. They can give you complete wrong answer, you tell them they are wrong, and they say "indeed, I suck, sorry - here's a new fucked up answer". You shouldn't 100% rely over AI answer, even if that can give sometimes legit answers, full code or just skeletons of ideas.   PPS : I don't think there are reliable ressources regarding L2J itself, also most of the proposed code decays pretty fast if the source code is actually maintained (at least for aCis). Still, old coded customs for old aCis sources are actually a good beginner challenge to apply on latest source.
    • WTS: - AQ - Baium - Zaken  - Frintezza - Vesper Fighter Focus Fire Element   pm for detalis
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock