Skip to content

Commit

Permalink
Fix and ADD Mods
Browse files Browse the repository at this point in the history
  • Loading branch information
nascimentolh committed Aug 30, 2018
1 parent 5b8eff5 commit 77a7906
Show file tree
Hide file tree
Showing 64 changed files with 3,801 additions and 10,747 deletions.
11 changes: 11 additions & 0 deletions game/config/extra/elemental/auction.ini
@@ -0,0 +1,11 @@
# ---------------------------------------------------------------------------
# Auction House Settings
# ---------------------------------------------------------------------------

# If its enabled, Auction House can only be used when inside Peace Zone
AuctionHouseOnlyPeaceZone = True

# Fee charged when creating a new auction in the Auction House
# This is charged when creating a new auction only, and the final value is calculated: Count x Sale Price * Days * AuctionHouseSaleFee
# Default 0.5%
AuctionHouseSaleFee = 0.5
11 changes: 11 additions & 0 deletions game/config/main/L2JMods.ini
Expand Up @@ -165,6 +165,17 @@ DisplayServerTime = True
# .dress-hatpage|.undressme-hat
DressMe = True

# ---------------------------------------------------------------------------
# Auto Potion System
# ---------------------------------------------------------------------------


# This option will enable Auto Potion System
# Caution: When deactivating change the handler in items 728 and 5592. Switch to ItemSkills

AutoPotionEnabled = True



# ---------------------------------------------------------------------------
# Welcome message
Expand Down
4 changes: 2 additions & 2 deletions game/config/main/PVP.ini
Expand Up @@ -37,8 +37,8 @@ AwardPKKillPVPPoint = True

# How much time one stays in PvP mode after hitting an innocent (in ms)
# Default: 120000
PvPVsNormalTime = 30000
PvPVsNormalTime = 120000

# Length one stays in PvP mode after hitting a purple player (in ms)
# Default: 60000
PvPVsPvPTime = 10000
PvPVsPvPTime = 60000
124 changes: 124 additions & 0 deletions game/config/network/Server - localhost.ini
@@ -0,0 +1,124 @@
# ---------------------------------------------------------------------------
# Game 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
# ---------------------------------------------------------------------------

# Enables automatic port mapping for game server.
# If you have a router game server will request for port forwarding.
# Default: True
EnableUPnP = True

# Where's the Login server this gameserver should connect to
# 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
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Bind address for gameserver. You should not need to change it in most cases.
# 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)
GameserverHostname = *

# Default: 7777
GameserverPort = 7777


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/l2jsrgs (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jsrgs
# URL = jdbc:sqlserver://localhost/database = l2srgs/user = sa/password =
URL = jdbc:mysql://localhost/l2jsunrise
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password =

# Default: 100
MaximumDbConnections = 1000

# Default: 0
MaximumDbIdleTime = 0

# Check interval of inactive connections, default is 60 (1 minute)
# Assuming a stable connection to the database and the correct Preset MaxIdleConnectionTimeout, can be set -1 (not checked)
IdleConnectionTestPeriod = 60

# ---------------------------------------------------------------------------
# Misc Server Settings
# ---------------------------------------------------------------------------

# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 1

# True = The Login Server will give an other ID to the server if the requested ID is already reserved.
# Default: True
AcceptAlternateID = True

# Datapack root directory.
# Defaults to current directory from which the server is started unless the below line is uncommented.
# WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>
#Default: .
DatapackRoot = .

# Define how many players are allowed to play simultaneously on your server.
# Default: 100
MaximumOnlineUsers = 100

# Numbers of protocol revisions that server allows to connect.
# Delimiter is ;
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
# Default: 267;268;271;273
AllowedProtocolRevisions = 267;268;271;273;746


# ---------------------------------------------------------------------------
# Misc Player Settings
# ---------------------------------------------------------------------------

# Character name template.
# Examples:
# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
# The above setting will allow names with first capital letter, next three small letters,
# and any letter (case insensitive) or number, like OmfgWTF1
# CnameTemplate = [A-Z][a-z]*
# The above setting will allow names only of letters with first one capital, like Omfgwtf
# Default .* (allows any symbol)
CnameTemplate = [A-Za-z0-9]{2,16}

# This setting restricts names players can give to their pets.
# See CnameTemplate for details
PetNameTemplate = [A-Za-z0-9]{2,16}

# This setting restricts clan/subpledge names players can set.
# See CnameTemplate for details
ClanNameTemplate = [A-Za-z0-9]{2,16}

# Maximum number of characters per account.
# Default: 7 (client limit)
CharMaxNumber = 7
124 changes: 124 additions & 0 deletions game/config/network/Server - production.ini
@@ -0,0 +1,124 @@
# ---------------------------------------------------------------------------
# Game 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
# ---------------------------------------------------------------------------

# Enables automatic port mapping for game server.
# If you have a router game server will request for port forwarding.
# Default: True
EnableUPnP = True

# Where's the Login server this gameserver should connect to
# 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
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Bind address for gameserver. You should not need to change it in most cases.
# 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)
GameserverHostname = *

# Default: 7777
GameserverPort = 7777


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/l2jsrgs (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jsrgs
# URL = jdbc:sqlserver://localhost/database = l2srgs/user = sa/password =
URL = jdbc:mysql://159.203.103.203/l2jsunrise
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password =

# Default: 100
MaximumDbConnections = 1000

# Default: 0
MaximumDbIdleTime = 0

# Check interval of inactive connections, default is 60 (1 minute)
# Assuming a stable connection to the database and the correct Preset MaxIdleConnectionTimeout, can be set -1 (not checked)
IdleConnectionTestPeriod = 60

# ---------------------------------------------------------------------------
# Misc Server Settings
# ---------------------------------------------------------------------------

# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 1

# True = The Login Server will give an other ID to the server if the requested ID is already reserved.
# Default: True
AcceptAlternateID = True

# Datapack root directory.
# Defaults to current directory from which the server is started unless the below line is uncommented.
# WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>
#Default: .
DatapackRoot = .

# Define how many players are allowed to play simultaneously on your server.
# Default: 100
MaximumOnlineUsers = 100

# Numbers of protocol revisions that server allows to connect.
# Delimiter is ;
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
# Default: 267;268;271;273
AllowedProtocolRevisions = 267;268;271;273;746


# ---------------------------------------------------------------------------
# Misc Player Settings
# ---------------------------------------------------------------------------

# Character name template.
# Examples:
# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
# The above setting will allow names with first capital letter, next three small letters,
# and any letter (case insensitive) or number, like OmfgWTF1
# CnameTemplate = [A-Z][a-z]*
# The above setting will allow names only of letters with first one capital, like Omfgwtf
# Default .* (allows any symbol)
CnameTemplate = [A-Za-z0-9]{2,16}

# This setting restricts names players can give to their pets.
# See CnameTemplate for details
PetNameTemplate = [A-Za-z0-9]{2,16}

# This setting restricts clan/subpledge names players can set.
# See CnameTemplate for details
ClanNameTemplate = [A-Za-z0-9]{2,16}

# Maximum number of characters per account.
# Default: 7 (client limit)
CharMaxNumber = 7
Binary file modified game/core.jar
Binary file not shown.
68 changes: 68 additions & 0 deletions game/data/html/CommunityBoard/Elemental/player.htm
@@ -0,0 +1,68 @@
<html>
<head>
<body scroll="no"><br1>
<table><tr>
<td><button value="Auction List" width=160 height=24 action="bypass %bbsCommand%;server;-1" fore=L2UI_CT1.Tab_DF_Tab_Unselected back=L2UI_CT1.Tab_DF_Tab_Unselected_Over></td>
<td><button value="Your Auctions" width=160 height=24 action="" fore=L2UI_CT1.Tab_DF_Tab_Selected back=L2UI_CT1.Tab_DF_Tab_Unselected_Over></td>
</tr></table><br1>
<table> <tr>
<td width=2></td>
<td width=190 align=center>Place an item for Auction</td>
<td width=3></td>
<td width=550 align=center>Current Auctions</td></tr>
<tr><td height=4></td><td></td><td></td><td></td></tr>
<tr><td></td><td height=400>
<table width=190 height=145 valign=middle bgcolor=171612><tr>
<td width=3></td>
<td width=190>Auctionable Items</td>
<td width=16></td></tr>
<tr><td height=5></td><td></td><td></td></tr><tr><td></td>
<td height=115><table width=190 height=115 bgcolor=171516 cellspacing=-7>%inventario%</table></td>
<td height=115>%inventarioFlechas%</td></tr></table><br>
<table width=212 height=175 valign=middle bgcolor=171612><tr>
<td width=2></td>
<td width=208>Items to be Auctioned</td>
<td width=1></td></tr>
<tr><td height=3></td><td></td><td></td></tr><tr><td></td>
<td height=40><table width=208 height=45 bgcolor=171516>%itemSelected%</table></td>
<td></td></tr><tr><td></td><td height=15>
<table width=208 height=15<tr>
<td width=63 align="left">Quantity</td>
<td width=22 align="right"></td>
<td width=120 align="right">%quantity%</td></tr></table></td>
<td></td></tr><tr><td></td>
<td height=15><table width=208 height=15><tr>
<td width=63 align="left">Sale Price</td>
<td width=22 align="right"><img src="icon.Adena" width=16 height=16></td>
<td width=120 align="right">%salePrice%</td></tr></table></td><td></td></tr><tr>
<td></td><td height=15><table width=208 height=15><tr>
<td width=63 align="left">Duration</td>
<td width=22 align="right"></td>
<td width=120 align="right">%duration%</td></tr></table></td><td></td></tr><tr>
<td height=1></td><td></td><td></td></tr><tr><td></td>
<td height=15><table width=208 height=15><tr><td width=63 align="left">Total Price</td>
<td width=22 align="right"><img src="icon.Adena" width=16 height=16></td>
<td width=120 align="right"><button value="%totalPrice%" width=120 height=20 action="" fore=L2UI_CT1.Windows_DF_TooltipBG back=L2UI_CT1.Windows_DF_TooltipBG></td></tr></table></td>
<td></td></tr></table><br><table width=212 height=35 valign=middle bgcolor=171612><tr>
<td width=2></td><td width=208 height=15><table width=208 height=15><tr>
<td width=63 align="left">Sale Fee</td>
<td width=22 align="right"><img src="icon.Adena" width=16 height=16></td>
<td width=120 align="right"><button value="%saleFee%" width=120 height=20 action="" fore=L2UI_CT1.Windows_DF_TooltipBG back=L2UI_CT1.Windows_DF_TooltipBG></td></tr></table></td>
<td width=1></td></tr></table><br><table width=212 height=35 valign=middle bgcolor=171612><tr>
<td width=2></td><td width=208 height=15><table width=208 height=15><tr>
<td width=63 align="left">Adena</td>
<td width=22 align="right"><img src="icon.Adena" width=16 height=16></td>
<td width=120 align="right"><button value="%adenaCount%" width=120 height=20 action="" fore=L2UI_CT1.Windows_DF_TooltipBG back=L2UI_CT1.Windows_DF_TooltipBG></td></tr></table></td>
<td width=1></td></tr></table></td><td></td>
<td><table width=550 height=32 valign=middle bgcolor=171612><tr>
<td width=550>Item List %itemCount%</td></tr></table><table height=24 cellspacing=-5><tr>
<td width=230><button value="Item" width=230 height=24 action="" fore=L2UI_CT1.Button_DF_Calculator back=L2UI_CT1.Button_DF_Calculator></td>
<td width=60><button value="Rank" width=60 height=24 action="" fore=L2UI_CT1.Button_DF_Calculator back=L2UI_CT1.Button_DF_Calculator></td>
<td width=80><button value="Quantity" width=80 height=24 action="" fore=L2UI_CT1.Button_DF_Calculator back=L2UI_CT1.Button_DF_Calculator></td>
<td width=100><button value="Sale Price" width=100 height=24 action="" fore=L2UI_CT1.Button_DF_Calculator back=L2UI_CT1.Button_DF_Calculator></td>
<td width=80><button value="Time Rem." width=80 height=24 action="" fore=L2UI_CT1.Button_DF_Calculator back=L2UI_CT1.Button_DF_Calculator></td></tr></table>%tablas%</td></tr><tr>
<td height=10></td><td></td><td></td><td></td></tr><tr><td></td>
<td height=38 align=center><button value="%auctionButtonName%" width=100 height=30 action="%auctionButtonAction%" back=L2UI_ct1.button_df fore=L2UI_ct1.button_df></td><td></td>
<td align=center><button value="%cancelButtonName%" width=100 height=30 action="%cancelButtonAction%" back=L2UI_ct1.button_df fore=L2UI_ct1.button_df></td></tr></table>
</body></head>
</html>

0 comments on commit 77a7906

Please sign in to comment.