Jump to content

Mob Counting System


Recommended Posts

1. Presentation.

2. Description.

3. Fixes.

4. Todo list.

5. Downloading.

 

1. Hello, so I created Monster Counting System.

This system is working like PvP kills but 1 different it's counting points from monsters not from players. With command you can see how many points you have :).

 

2. This system is counting killed monsters count.

 

3. Beta v2:

1. Added anti feed, if player Level is bigger than 3 he doesn't get Mob Count (There are config to change limit from 3 to 15 or how many you want).

2. Created Npc instance (L2MobCount).

2.1. In that Npc there are 4 buttons:

Top, Aden Convert, Item Convert and Special Buffer.

2.2. For tops there are couple configs:

First config are turn on/off tops. (Dissapear/reapear button) and there are second config to configure top limit.

2.3. For Aden Convert there are couple config too:

First config are turn on/off Aden Convert. (Dissapear/reapear button) and there are second config to configure how many aden do you can get from 1 Mob Count.

2.4. For Item Convert there are couple config too:

First config are turn on/off Item Convert. (Dissapear/reapear button) and there are second config to configure that and how much you will get from 1 Mob Count, example:

If you write config like this:

MobCountItemId = 57,9;6636,3;60,20

It will work like this:

Take 1 Mob Count and give 9 Aden, 3 itemId(6636) and 20 itemId(60)

2.5. For buffer there are only 1 config: turn on/off Special Buffer. (Dissapear/reapear button). But he have hes own Html file and Database table, I will show you something:

Html code, COV +15 Decrease Penalty buff:

<table bgcolor=131210>
<tr>
<td width=40><button action="bypass -h npc_%objectId%_Buff 1363" width=32 height=32 back="icon.skill1363" fore="icon.skill1363"></td>
<td width=240>
<table width=240>
<tr><td>Victory Chant <font color=a1a1a1>Lv</font> <font color=ae9977>1</font> <font color="FFD700">+15 Decrease P.</font></td></tr>
<tr><td><font color=b0bccc>A powerful spirit acts</font></td></tr>
</table>
</td>
</tr>
</table>

In this place:

bypass -h npc_%objectId%_Buff 1363

1363 will be in mc_npc_buffer table, BuffGroup column, in that column write what ever you want number, but it can't duplicate!

NpcId we write correct Npc Id from where you wan't to buff your self.

SkillId we write correct skill (buff) id.

SkillLevel we write correct skill (buff) level.

skill_fee_amount we write how many player must give MobCount what he can buy buff.

Here:

 

<tr><td>Victory Chant <font color=a1a1a1>Lv</font> <font color=ae9977>1</font> <font color="FFD700">+15 Decrease P.</font></td></tr>
<tr><td><font color=b0bccc>A powerful spirit acts</font></td></tr>

 

Skill name and description

 

Here:

 

back="icon.skill1363" fore="icon.skill1363"

 

Skill image change only ID.

3. When you add that all script into your server in all town next to GateKeeper will be Npc with id - 37546. If you don't need him you can delete him. If you have already added all that script and you wan't to delete all npcs just change:

AllowMobCount = True

From true we change to false, when false after restart all npc will be despawned (but all Mob Counting system don't work) and if you change from false to true all Npc what had L2MobCountInstance will respawn.

 

Beta v1:

3.1. Created system.

3.2. Added .mobcount command. With this command you can see how many points you have.

3.3. Added //setmobcount<value> admin command. With this command you can edit players points.

 

4. Beta v3 will be:

4.1. Command Buying.

4.2. Couple new commands.

4.2. Premium (with premium your drop will be x2. Time limit will be in Beta v3 or Beta v4).

 

5. Beta v2

Core - Download

DataPack - Download

Beta v1

Core - Download

DataPack - Download

 

Credits: Erlandys

 

Btw, sorry for bad english I'am from lithuania :/

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Thank you all for all those good words!! :)

In couple days I think I gonna release new Event. (Running Event) :)

And after that I will share 3 revision of Mob Counting :))

Link to comment
Share on other sites

Thank you all for all those good words!! :)

In couple days I think I gonna release new Event. (Running Event) :)

And after that I will share 3 revision of Mob Counting :))

hehe glad to hear this ! ;)

 

Keep Working ...

 

BTW Nice Share ..!

Link to comment
Share on other sites

  • 2 weeks later...

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

    • Helly everyone . I use L2jmobius interlude , i did everything , installed the db compiled the Build in eclipse Gameserver seems to lead OK , but it fails to connect to loginserver When i click to start the loginserver it says  "Loginserver terminated abnormally" This is wheat gameserver shows me :    [05/10 17:25:12] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:12] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:17] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:17] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:22] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:22] LoginServerThread: LoginServer not available, trying to reconnect...   And This is my login config file:   # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 0.0.0.0 LoginserverHostname = 0.0.0.0 # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Database # --------------------------------------------------------------------------- # Specify the JDBC driver class for your database. # Default: org.mariadb.jdbc.Driver Driver = org.mariadb.jdbc.Driver # Database URL # Default: jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true URL = jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true # Database user info. Default is "root" but it's not recommended. Login = root # Database user password, leave empty for no password. Password = root # Maximum number of database connections to maintain in the pool. # Default: 5 MaximumDatabaseConnections = 5 # Determine whether database connections should be tested for availability. # Default: False TestDatabaseConnections = False # --------------------------------------------------------------------------- # Automatic Database Backup Settings # --------------------------------------------------------------------------- # Generate database backups when server restarts or shuts down.  BackupDatabase = False # Path to MySQL bin folder. Only necessary on Windows. MySqlBinLocation = C:/xampp/mysql/bin/ # Path where MySQL backups are stored. BackupPath = ../backup/ # Maximum number of days that backups will be kept. # Old files in backup folder will be deleted. # Set to 0 to disable. BackupDays = 30 # --------------------------------------------------------------------------- # Thread Configuration # --------------------------------------------------------------------------- # Defines the number of threads in the scheduled thread pool. # If set to -1, this will be determined by available processors divided by 2. ScheduledThreadPoolSize = 2 # Defines the number of threads in the instant thread pool. # If set to -1, this will be determined by available processors divided by 2. InstantThreadPoolSize = 2 # --------------------------------------------------------------------------- # Security # --------------------------------------------------------------------------- # How many times you can provide an invalid account/pass before the IP gets banned. # Default: 5 LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login. # Default: 900 (15 minutes) LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots # Default: True AcceptNewGameServer = True # Flood Protection. All values are in milliseconds. # Default: True EnableFloodProtection = True # Default: 15 FastConnectionLimit = 15 # Default: 700 NormalConnectionTime = 700 # Default: 350 FastConnectionTime = 350 # Default: 50 MaxConnectionPerIP = 50 # --------------------------------------------------------------------------- # Misc Login Settings # --------------------------------------------------------------------------- # If False, the license (after the login) will not be shown. # Default: True ShowLicence = True # Default: True AutoCreateAccounts = True # Datapack root directory. # Defaults to current directory from which the server is started. DatapackRoot = . # --------------------------------------------------------------------------- # Scheduled Login Restart # --------------------------------------------------------------------------- # Enable disable scheduled login restart. # Default: False LoginRestartSchedule = False # Time in hours. # Default: 24 LoginRestartTime = 24    
    • or at least to tell you an update that sorry but still not at home.. 10 days is suspisious.. but he is long time offline from discord indeed... maybe something happened?
    • I never had problems with him. Again, Im not sure if he scammed or not. But 10+ days without answering after we already paid, its a bit sus. If you know you wouldnt be able to answer for a few days, after receiving and confirming the amount, why dont keep in touch? or just say "hey, dont send now because I will only be available after day x.".  
    • i used to ask him for stuff etc, i dont think he scammed ... if he does i will be suprised...
  • Topics

×
×
  • Create New...