Jump to content

Recommended Posts

Posted

Well, hello everybody.

Here I am with a new share, which is a kind of "adaption".

 

Let me remind what Intrepid once said:

The only way to give sense to Interlude, is to apply Gracia Features in it.

 

So, I thought to take the punishment system from Gracia Epilogue, and change it to support Interlude.

 

If you are interested in adding it, follow the patch step by step.

It has NO compile errors, since I tested it on a clear Interlude pack, taken from L2j Server's branches.

 

So, here you are:

Link

 

 

Don't forget to add the server (sql) part!

Go at characters.sql, and:

 

Delete these:

in_jail decimal(1,0) DEFAULT 0,
 jail_timer decimal(20,0) DEFAULT 0,

 

And instead of them, add these:

punish_level TINYINT UNSIGNED NOT NULL DEFAULT 0,
 punish_timer INT UNSIGNED NOT NULL DEFAULT 0,

 

It has been tested and it works.

Have Fun using it!

 

Best Regards,

Coyote™.

Posted

nice :). So bad donator members cannot karma people

 

Actually it is good.

You know, most users aren't like you.

What I mean is that, since most of the members don't know how to use the priv properly, there is chaos in mxc because of the abuses =P

 

Thank you very much, by the way! :)

Posted

Can you explain what it does?I am out of date really.

Gracia final has that as a default feature?

 

It's epilogue, but final has the same feature too.

Remember the old boring chatban and jail system?

 

Where the durations and actions were standard and boring.

Now it is advanced:

 

There are a few types of punishments, such as jail, chat, acc, etc.

 

You can easily set your own duration and kind of punishment in an easier and better way than before.

 

 

Add it and you'll find out more by yourself.

Posted

It's epilogue, but final has the same feature too.

Remember the old boring chatban and jail system?

 

Where the durations and actions were standard and boring.

Now it is advanced:

 

There are a few types of punishments, such as jail, chat, acc, etc.

 

You can easily set your own duration and kind of punishment in an easier and better way than before.

 

 

Add it and you'll find out more by yourself.

I get it now.

Damn me,I have to read about the new features.

Thanks for sharing that with us.Will help shitlude lovers :P

Posted

Coyote™, I found a mistake ..

I did a littel patch

 

Index: gameserver.handler.admincommandhandlers.AdminBan

private void jailOfflinePlayer(L2PcInstance activeChar, String name, int delay)
{
	Connection con = null;
	try
	{
		con = L2DatabaseFactory.getInstance().getConnection();

-			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, in_jail=?, jail_timer=? WHERE char_name=?");
+			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, punish_level=?, punish_timer=? WHERE char_name=?");
@@
private void unjailOfflinePlayer(L2PcInstance activeChar, String name)
{
	Connection con = null;
	try
	{
		con = L2DatabaseFactory.getInstance().getConnection();
-			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, in_jail=?, jail_timer=? WHERE char_name=?");
+			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, punish_level=?, punish_timer=? WHERE char_name=?");
		statement.setInt(1, 17836);

Posted

Coyote™, I found a mistake ..

I did a littel patch

 

Index: gameserver.handler.admincommandhandlers.AdminBan

private void jailOfflinePlayer(L2PcInstance activeChar, String name, int delay)
{
	Connection con = null;
	try
	{
		con = L2DatabaseFactory.getInstance().getConnection();

-			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, in_jail=?, jail_timer=? WHERE char_name=?");
+			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, punish_level=?, punish_timer=? WHERE char_name=?");
@@
private void unjailOfflinePlayer(L2PcInstance activeChar, String name)
{
	Connection con = null;
	try
	{
		con = L2DatabaseFactory.getInstance().getConnection();
-			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, in_jail=?, jail_timer=? WHERE char_name=?");
+			PreparedStatement statement = con.prepareStatement("UPDATE characters SET x=?, y=?, z=?, punish_level=?, punish_timer=? WHERE char_name=?");
		statement.setInt(1, 17836);

 

so, where's the mistake? =P

Posted

You forgot to change  punish_level=?, punish_timer=?

 

Why to change it? o.O

This is what I added..

I still can't get you..

 

EDIT: I just saw the "Index" at your post..

The patch was not normal, so I didn't see it xD

Gonna fix it, sec.

Posted

You`ve got it at last

 

yea, I didn't notice the class you were mentioning, since the patch was handmade ;p

 

> Tested and Working <

 

Thanks for providing feedback.

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



  • Posts

    • Lol good joke.   If I'd be the one contacting yo then I'd say at least 50% in advance because you can basically just fuck off when things doesn't go your way, and then you as a developer just wasted days or even weeks of time with development.
    • "Just make your own game!" sounds simple until you’ve tried it. I did, with Epic Dragon World and learned the hard way that "open source" often means "free labor for resellers." The MIT license became a buffet for people to grab code, rebrand it and ghost the project. Even basic collaboration collapsed because everyone wanted their vision, not *a* vision. NCSoft’s lawyers aren’t theoretical. They’re a sword of Damocles. Even if you rebuild a client from scratch, if it feels like Lineage 2, they’ll come knocking. Ask the Chrono Trigger fangame corpses how that goes. MMOs are hospice care. The genre’s on life support, kept alive by whales and nostalgia. Look at Throne and Liberty, NCSoft’s own "successor" to L2, flopping harder than a 2004 PKer in ToI. Classic reboots (WoW, L2) are bandaids, not resurrections. This is the hobby. Optimizing old systems, reverse-engineering spaghetti code and preserving janky mechanics is the fun part. Monetizing it turns it into customer service hell. No thanks. Community? What community? The L2 scene is 90% resellers, 10% players who’ll quit the second they don’t get +16 on day one. Both asking how to install Java and why running the uncompiled server does not work.
    • Dear players, Open beta test for C3 begins today at 19:00 server time (GMT +2). 💰 All participants who find bugs during OBT will be rewarded with Coin of Luck (CoL): - 1 CoL for each staticmesh issue found — e.g., walking through textures, etc., - 2 CoL or more for server-side issues, depending on their severity., We strongly recommend reviewing the quest list - when switching to Chronicle 3, the total number of quests should match the number shown in the upper right corner of the window and correspond to the quest count from Chronicle 2. To log into the game, use the same data you use to access the Airin server. 📌 Download client: Google Drive
  • 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