Jump to content

[L2Jmods] Event: Protect Your King!


Recommended Posts

Hello guys, this is a code that i'm selling. It's a new Event coded from zero, nothing too hard.

 

The code is in ALPHA and i need some idea to how can i improve the system. (Also idea about the gameplay)

 

This is how it works:

 


 

This is how the event works:

- Annouce appear and Guards and king spawn on centre of Giran town.

- Level 1 - First Raid spawn and he will fight the king.

- Then level 2 - Second Raid spawn and he will fight the king.

- Then level 3 - Third Raid spawn and he will fight the king.

- After xx time the event unspawn all npcs.

 

The players will recive different reward in base at:

*1 Raid killed

*2 Raid Killed

*3 Raid killed

*King alive

 

This is the general idea of the event.

 

I think i will sell the event for 50 Euro. The mode is customizable, so if you need something more i can do it but this can change the price of the mod!

 

+10 Euro if you need support to install the mod.

 

IMPORTANT: Payment only with PAYPAL!

 

You can contact me at l2jmods@gmail.com if you need infos or you need other Custom code.

 

Cheers

Hei oh!   :good sir:

Link to comment
Share on other sites

Good luck with selling it. I like it as an idea and as you said it can improved.

But, your prices are huge and 10€ for it's implementation !?

You have to implement it for free since someone bought it from you !! (It's called support.)

Link to comment
Share on other sites

Good luck with selling it. I like it as an idea and as you said it can improved.

But, your prices are huge and 10€ for it's implementation !?

You have to implement it for free since someone bought it from you !! (It's called support.)

The implementation include obviously also the support! However thanks for the advice.

Link to comment
Share on other sites

Completed the reward function. This is all the case when the char didn't get the reward:
* Is not inside Giran Town.
* Is in private store or Offline mode.
* The status in not Online, or got Client offline.
* Is sitting.
* His level is less then 76.
* Ip check, only one char got the reward.
 
These are the cases of the rewards:

* Killing 1 boss
* Killing 1 boss + 1 boss
* Killing 1 boss + 1 boss + 1 boss
* Killing 1 boss + 1 boss + 1 boss and king stay alive
 
Atm this are the configs, but all can be configurable under request:
/* EVENT CONFIG */
public static int KINGID = 31340; // King npc, if stay alive players recive reward
public static int BOSS1ID = 25437; // First boss that spawn and try to kill the king
public static int BOSS2ID = 25437; // Second boss that spawn and try to kill the king
public static int BOSS3ID = 25437; // Third boss that spawn and try to kill the king
public static int GUARD1ID = 30478; // Giran guard defencer
public static int GUARD2ID = 30478; // Giran guard defencer
public static int GUARD3ID = 30478; // Giran guard defencer
public static int GUARD4ID = 30128; // Giran guard defencer
public static int GUARD5ID = 30128; // Giran guard defencer
public static int GUARD6ID = 30128; // Giran guard defencer
public static int GUARD7ID = 30128; // Giran guard defencer
 
// The bonus are:
// Killing 1 boss
// Killing 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss and king stay alive
public static int REWARDID1 = 57;
public static int REWARDAMOUNT1 = 1;
public static int REWARDID2 = 57;
public static int REWARDAMOUNT2 = 2;
public static int REWARDID3 = 57;
public static int REWARDAMOUNT3 = 3;
public static int REWARDID4 = 57;
public static int REWARDAMOUNT4 = 4;
/* END EVENT CONFIG */
Edited by L2jMods
Link to comment
Share on other sites

 

Completed the reward function. This is all the case when the char didn't get the reward:
* Is not inside Giran Town.
* Is in private store or Offline mode.
* The status in not Online, or got Client offline.
* Is sitting.
* His level is less then 76.
* Ip check, only one char got the reward.
 
These are the cases of the rewards:

* Killing 1 boss
* Killing 1 boss + 1 boss
* Killing 1 boss + 1 boss + 1 boss
* Killing 1 boss + 1 boss + 1 boss and king stay alive
 
Atm this are the configs, but all can be configurable under request:
/* EVENT CONFIG */
public static int KINGID = 31340; // King npc, if stay alive players recive reward
public static int BOSS1ID = 25437; // First boss that spawn and try to kill the king
public static int BOSS2ID = 25437; // Second boss that spawn and try to kill the king
public static int BOSS3ID = 25437; // Third boss that spawn and try to kill the king
public static int GUARD1ID = 30478; // Giran guard defencer
public static int GUARD2ID = 30478; // Giran guard defencer
public static int GUARD3ID = 30478; // Giran guard defencer
public static int GUARD4ID = 30128; // Giran guard defencer
public static int GUARD5ID = 30128; // Giran guard defencer
public static int GUARD6ID = 30128; // Giran guard defencer
public static int GUARD7ID = 30128; // Giran guard defencer
 
// The bonus are:
// Killing 1 boss
// Killing 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss and king stay alive
public static int REWARDID1 = 57;
public static int REWARDAMOUNT1 = 1;
public static int REWARDID2 = 57;
public static int REWARDAMOUNT2 = 2;
public static int REWARDID3 = 57;
public static int REWARDAMOUNT3 = 3;
public static int REWARDID4 = 57;
public static int REWARDAMOUNT4 = 4;
/* END EVENT CONFIG */

 

Poor codes, not even maps or arrays.

 

And 10 euro for installation? What are you installing, Windows? DAMNIT.

 

Also, 50 euro price? With 50 euro you are buying antibot for L2PHX and such.

Link to comment
Share on other sites

Changed it, thank u for the advice.

/* EVENT CONFIG */
public static int KINGID = 31340; // King npc, if stay alive players recive reward
public static int [] BOSSSID = {25437, 25437, 25437}; // First, Second and third boss
public static int [] GUARDSID = {30478, 30478, 30478, 30478, 30478, 30478, 30478}; // Giran guard defencer
// The bonus are:
// Killing 1 boss
// Killing 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss and king stay alive
public static int [] REWARDID = {57, 57, 57, 57};
public static int [] REWARDAMOUNT = {1, 2, 3, 4};
// Debug config put true to debug the code
static boolean DEBUG = true;
/* END EVENT CONFIG */
Link to comment
Share on other sites

Devlin stop playing the dev, u arent better than him, such codes can cost even more, installation cost is funny, better include it in the price

Edited by brut
Link to comment
Share on other sites

Devlin stop playing the dev, u arent better than him, such codes can cost even more, installation cost is funny, better include it in the price

You are pretending the developer. Why you are posting under my posts/topics all the time? DAMNIT.

Link to comment
Share on other sites

am i ?

"I am searching someone to do my aCis pack to run under C4 client."

and u call your self a dev? irony

Yeah I told, I CAN'T DO IT. But still, I am selling l2j services.

 

Selling l2j services, means that you are a developer? For real dude, go find someone else to spend your time.

Link to comment
Share on other sites

then u are selling things u don't even understand, copy-pastes

 

i guess u're trying to say that u can code, but u cant modify :D

Edited by brut
Link to comment
Share on other sites

then u are selling things u don't even understand, copy-pastes

 

i guess u're trying to say that u can code, but u cant modify :D

I can do what my clients are asking me. So, there is no problem.

Link to comment
Share on other sites

Some improvement about the script:

* Completed Reward system.

* Added camera effect on King spawn.

* Added "Invaders" spawn during event on Giran plaza on random location.

* Improved AI Attack for Giran defencor, the King always take the Boss aggro first. (to be more hard protect the king) 

* Giran defencor take the target of their King.

* Added Task from all Bosses that force them to attack the King.

 

If you got any advice please tell me.

 

Hei oh  :good sir:

Link to comment
Share on other sites

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.



×
×
  • Create New...