Jump to content

Recommended Posts

Posted

New Share !

 

Screen

Version : High Five

 

9.jpg2.jpg1.jpg

 

 

xml skills

		<skill id="500246" levels="1" name="Monture Cheval Blanc">
	<set name="aggroPoints" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<set name="transformId" val="500052" />
	<cond msgId="1509">
		<player olympiad="false" />
	</cond>
	<for>
		<effect name="Monture" abnormalTime="180000" val="0" abnormalLvl="1" abnormalType="transform" />
	</for>
</skill>
	<skill id="500247" levels="1" name="Monture Cheval Noir">
	<set name="aggroPoints" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<set name="transformId" val="500053" />
	<cond msgId="1509">
		<player olympiad="false" />
	</cond>
	<for>
		<effect name="Monture" abnormalTime="180000" val="0" abnormalLvl="1" abnormalType="transform" />
	</for>
</skill>
	<skill id="500248" levels="1" name="Monture Cheval Brun">
	<set name="aggroPoints" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<set name="transformId" val="500054" />
	<cond msgId="1509">
		<player olympiad="false" />
	</cond>
	<for>
		<effect name="Monture" abnormalTime="180000" val="0" abnormalLvl="1" abnormalType="transform" />
	</for>
</skill>	

 

scripts.cfg

 

transformations/ChevalBrun.java
transformations/ChevalNoir.java
transformations/ChevalBlanc.java

 

Transformation java

 

ChevalBlanc

package transformations;

import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.instancemanager.TransformationManager;
import com.l2jserver.gameserver.model.L2Transformation;

public class ChevalBlanc extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public ChevalBlanc()
{
	// id, colRadius, colHeight
	super(500052, 31, 32.5);
}

@Override
public void onTransform()
{
	if (getPlayer().getTransformationId() != 500052 || getPlayer().isCursedWeaponEquipped())
		return;

	transformedSkills();
}

public void transformedSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(SKILLS);
}

@Override
public void onUntransform()
{
	removeSkills();
}

public void removeSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}

public static void main(String[] args)
{
	TransformationManager.getInstance().registerTransformation(new ChevalBlanc());
}
}

 

ChevalNoir

 

package transformations;

import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.instancemanager.TransformationManager;
import com.l2jserver.gameserver.model.L2Transformation;

public class ChevalNoir extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public ChevalNoir()
{
	// id, colRadius, colHeight
	super(500053, 31, 32.5);
}

@Override
public void onTransform()
{
	if (getPlayer().getTransformationId() != 500053 || getPlayer().isCursedWeaponEquipped())
		return;

	transformedSkills();
}

public void transformedSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(SKILLS);
}

@Override
public void onUntransform()
{
	removeSkills();
}

public void removeSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}

public static void main(String[] args)
{
	TransformationManager.getInstance().registerTransformation(new ChevalNoir());
}
}

 

ChevalBrun

 

package transformations;

import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.instancemanager.TransformationManager;
import com.l2jserver.gameserver.model.L2Transformation;

public class ChevalBrun extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public ChevalBrun()
{
	// id, colRadius, colHeight
	super(500054, 31, 32.5);
}

@Override
public void onTransform()
{
	if (getPlayer().getTransformationId() != 500054 || getPlayer().isCursedWeaponEquipped())
		return;

	transformedSkills();
}

public void transformedSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(SKILLS);
}

@Override
public void onUntransform()
{
	removeSkills();
}

public void removeSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}

public static void main(String[] args)
{
	TransformationManager.getInstance().registerTransformation(new ChevalBrun());
}
}

 

.dat

utx

ridedata.dat

 

BarraCouda  :-*

Posted

nice work, look very nice, maybe we can do new monture, adapting new horse or some mob for make -beep-table ^^

 

I work at present on the new. I would show him to you as soon as it will be ended. The horse being there only for a trial phase. ;)

 

(Sorry for my english, I use the translator)

Posted

I work at present on the new. I would show him to you as soon as it will be ended. The horse being there only for a trial phase. ;)

 

(Sorry for my english, I use the translator)

ok I'll be looking forward :)
  • 2 weeks later...
Guest
This topic is now closed to further replies.


  • Posts

    • And Discord: https://discord.gg/3aYqWNqb
    • Ofc: https://discord.gg/3aYqWNqb
    • You can find some H5 skins shared in old L2 modding Discords, but most of the higher‑quality ones are either paid or come bundled with full client edits. I usually mix in commissioned work and whatever I can patch myself. On a side note, I fund a lot of these commissions by selling off game items through instant sell cs2 skins, which has been a quick way for me to get some cash for projects.
    • There is no need for gRPC in this case, even tho originally it was gRPC based but since we don't need it to be bi-directional, we switched to simple http requests for the web calls and SSEs for the data streamed from the server. There are distributed locks in place to precent race conditions between actions that can happen between multiple web instances and the server.   Local models can also be slow depending on the model, and most external models can actually be faster than local ones if you use Flash 2.5 or something along those lines. I am running on 512GB of Unified Memory on my Mac Studio M3 Ultra so the speed of the local model for a small model is pretty good but I tested it with Gemini too and it works equally as fast and in some cases faster. The way it works is that I'm using pgvector (one of the benefits of moving to Postgres) to search the data and see what the player can see etc and there is some batching of the next few actions for 2-4 seconds for the user until the next LLM request fires. The batching also includes branching on logic so if they for example fall under some HP they will move to kiting instead of attacking or maybe they heal etc.   Everything is authed and permission-based. The server and the backend of the frontend have secure communication between them, either with a symmetric key (not recommended for production) or a certificate (the recommended way), so there is no worry. It's all tied to the account's access level, etc., so nobody can make an action that they normally wouldn't be allowed to do. Even the MCP is token-based, and there are prompt injection protections in place. The MCP is audited, and every mutation needs confirmation. The admin area is only accessible to the admin account anyway so normal users can't access it.  
  • 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..