Jump to content

Monster Race - The retail event of Lineage II


Recommended Posts

Hello everyone!

Lineage II has some nice and entertaining events on its own, but they have been forgotten as no server has ever utilized them. I modified the retail Monster Race event so that it could be useful for servers.

 

Here's how it works now:

  • The time has been reduced and it starts every 15 minutes.
  • Instead of adena, you can choose to bet any item you want. The betting amounts are 10/20/30.
  • Monsters talk to each other to create some "competition" between them. There is a delay of several minutes between messages. The video has been cut.
  • Added reward for second winner. The first and second winners will give a random odds between 0.4 and 0.5 || calculateOddsForLanes() works with another new way.
  • The first winner gets 100% of the betting amount while the second winner gets only 60% of the betting amount.
  • Players can buy as many tickets as they want without any bugs occurring, as the amount returned is much less if they buy all 8 lanes.
  • The name of the winner has been added to the SQL & HTML to display the top runners in the latest games.
  • No matter what Item ID you will use, the HTML will automatically recognize the name of the item so that it appears on the ticket purchase.
  • A significant clean-up has been done on the code to avoid any errors and to make it written in a more modern style, in a way.

 

In short, it has been modified to function as an event that can entertain players and offer a very good reward, making the event necessary for players.

All the odds above are indicative and can be changed as you wish, just be careful of any bad amounts that may cause huge rewards for players.

 

code preview

download link

 

 

Edited by 'Baggos'
  • Like 4
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...