All pastes #38955 Raw Edit

Someone

public text v1 · immutable
#38955 ·published 2006-01-28 23:47 UTC
rendered paste body
                   ==============================================
                  .: Custom build L2J server pack version 1218b :.
                  ================================================

   -------------------------------------
  .: What's bundle in this server pack :.
  ---------------------------------------

- Lastest revision of L2J Server and L2J Datapack.
- Tiny WAMP pack based on Uniform server (http://miniserver.sourceforge.net)
- Update software to Apache 2.0.55, PHP 5.0.6, MySQL 5.0.16, PhpMyAdmin 2.7.0,
  Zend Optimizer 2.6.0 and remove unnecessary parts.
- Frontpage use L2J Statistik Script + ACM build 9/6 + Seven Signs/Castle
  Control Script.
- Forum based on PunBB 1.2.0 (http://www.punbb.org)
- Bla program from DaDummy, this tool will help you auto sync dynamic IP, auto
  backup databse and auto restart server.


  -----------------------------------------
 .: What's differents with orginal build  :.
 -------------------------------------------

+ Core server (compare with rev.1975):
- Added: More functions in admin menu
- Added: Enable/Disable JBForth engine
- Added: Enable/Disable Auto Learn Skills
- Added: Enable/Disable L2J Copyright text when player enter world
- Added: Multiplier for Pet's EXP/SP
- Added: Support sending Vietnamese messages in server -> client
- Added: Maximum when buy/sell items is 25.000 for disable some exploit
- Added: Snoop command for GM spy when player chat
- Added: Maximum level now is 80
- Added: You can use create item in admin menu to give item to player
- Added: Support call wyvern by item (ID 4425)
- Added: Enchant menu for easy enchant every items in equip
- Added: GM can remove clan wait period in player in admin menu
- Added: Support GM account login in telnet when server full
- Added: Support for Transfer Pain skill and Energy Stones
- Added: Support for TARGET_AREA_CORPSE_MOB type skills
- Added: Support for Signboard in town/arena
- Added: Support for UNHOLY element
- Fixed: Seed skills now work like retail server
- Fixed: DoT skills will kill you
- Fixed: Fear skills now work
- Fixed: HP/MP regen multiplier now work
- Fixed: Skills use charge don't count critical damage now
- Fixed: Dagger skills will count critical damage now
- Fixed: Surrender when clan wars
- Fixed: You can't ally with clan currently clan wars with your clan.
- Fixed: You don't get flag when give damage to yourself
- Fixed: Char rename so no exploit when rename char
- Fixed: You can sit on throne if you are castle lord
- Fixed: Skills for Wind/Star hatching
- Fixed: No animation when use MDAM skills and player don't equip weapon
- Fixed: /gmlist command
- Fixed: Resurrect skill don't need party like C4
- Fixed: System will show damage of your summon/pet
- Fixed: when Fake Death you can't attack/run or regen HP/MP...
- Fixed: when you get stun/sleep/root/mute... will stop your current attack/cast
- Fixed: rewrite resist skills system so you get bonus between elements of skill
- Fixed: magic reuse delay now depend your cast speed
- Fixed: remove karma when you kill mobs
- Fixed: you don't drop items when PvP in arena
- Fixed: you can't place siege flag in siege
- Fixed: skill TARGET_UNDEAD will check target type is Undead and don't Dead
- Fixed: skill TARGET_AREA will work like retail

+ Datapack (compare with rev.992):
- Added: Support for C4 weapons and S grade armor sets
- Added: data_fix is collection of fixes from a lots contrib
- Added: GMShop in Giran and custom B grade luxury shop in Aden
- Added: Exchange high grade weapon in Mammon
- Added: Exchange newbie stuff in Event Manager
- Added: Tattoo shop in GMShop and all tattoo work.
- Fixed: Support for unlock skill
- Fixed: missing minions
- Fixed: A lots NPC Stats now more like retail
- Fixed: Spawnlist base on C3 and added missing spawn in Catacomb/Necropolis
- Fixed: A lots skills now more like retail


   -------------------------
  .: How to install server :.
  ---------------------------

+ Prepare software:
- Download this server pack and unpack to C:\Server
- NOTICE: Server have been pre-configured for that path, don't unpack to
  D:\Server or other path if you don't know how to change config path
- Download Sun Java VM 5.0 from this link and install it:
  http://jdl.sun.com/webapps/download/AutoDL?BundleId=9992

+ Setup server:
- If your connection behind router/firewall, you must open both TCP and UDP
  ports: 80,2106,7777 for external players connect to your server.
- Now open C:\server\l2j\login\config\loginserver.properties and edit:
  ExternalHostname=(blank) => Your Internet/WAN IP (www.whatismyip.com)
                              or leave blank if your server is LAN server
  InternalHostname=127.0.0.1 => Your LAN IP
                                 or don't change it if you play offline
- Start Apache/mysql server by run C:\server\start.bat
- Check Apache/MySQL server running by check disk w: exist or not,
  and open Task Manager (Ctrl+Alt+Del), see in tab Process and
  check two process name apache.exe and mysqld-nt.exe exist or not.
- Insert database from datapack to MySQL server
  (this is optional step if you run server for first time)
  by run C:\server\l2j\tools\database_installer.bat,
  press (f) to choose Full Install.

+ Start server:
- Start Login server by run C:\server\l2j\startLoginServer.bat
- Start Game server by run C:\server\l2j\startGameServer.bat

+ Configure client:
- Download C3 client:
  ftp://l2clientdownload.lineage2.com/Chronicle03/L2_C3_Installer.zip
- Update to lastest revision protocol by run lineageii.exe (in root folder)
  and click full check files.
- Go to "C:\windows\system32\drivers\etc\" and edit the "hosts" file,
  add this line in the end of file:
  127.0.0.1 (or your server IP) L2authd.lineage2.com


   -------------------------
  .: How to upgrade server :.
  ---------------------------

- Stop MySQL by run c:\server\stop.bat
- Extract & overwrite new files to c:\server
- Run again c:\server\start.bat
- Run c:\server\l2j\tools\database_installer.bat and choose (u) for Upgrade.
- Optional: Run c:\server\l2j\tools\update.bat and ingorne all errors code 1060
(only run this step if your server pack not work properly without run this step)
- Start Login server by run C:\server\l2j\startLoginServer.bat
- Start Game server by run C:\server\l2j\startGameServer.bat


   -------------------------------
  .: Frequently Answer Questions :.
  ---------------------------------

Q001 - How to add a item to a vendor/shop ?
A - Guide from http://l2j.jot.com/How+to+add+an+item+to+a+vendor.
    Using navicat.

    Open merchant_buylists table

    In the first field you put the items ID number.
    In the second field you put the price you want the vendor to sell it for.
    In the third field you put the shop ID number. This is found by looking in
		the merchant_shopids.
    In the fourth field you put the position of the item. If the shop has 54
		items already and you want it at the end of the list, you give it item 55.
    This field is unique to just that vendors list. So you can not have 2 of the
    same item positions for one list.

    Ok, to put it all togather.

    I want to sell dual SLS at Trader Jackson fighter shop in TI for 150a and
    I want it listed last.

    I need to look up Trader Jackson shop Id number in the merchant_shopids
    table. Her npc ID is 7002, so I look that up and she has 2 shop IDs. 11
    and 12
    Which one is which? Look in her html file. (7002.htm in
    the data/html/merchants folder)
    11 is for fighter and 12 is for mystic.
    Dual SLS are item ID 2626 (find in weapons table)
    Trader Jackson has 54 items currently in the merchant_buylist.
    So my data to input into the merchant_buylists is
    2626 150 11 55

    Click the check mark at the bottom and exit navicat.
    Restart server to reload the list.


Q002 - Hi man, i have a problem, after the new server pack people lose their
       equipment even thu they are not pk when they die ?
A - In official server, players will drop items when they die even don't get any
    karma. You can set that option in server.properties:

    # Player Drop Rate control, values are the percent values
    PlayerRateDrop = 20
    PlayerRateDropItem = 70
    PlayerRateDropEquip = 25
    PlayerRateDropEquipWeapon = 5

    Explain: 20% chance drop items when player die. When they drop items, 70%
    will drop items in Inventory (not equip), 25% items is equip (armor/ring)
    and 5% is weapon.


Q003 - Why the mobs is so strong, when shift+click them, I see they have HP
       stats is HP *2 / *3... ???
A - Default datapack already edited for Dungeon mobs, special mobs... which have
    HP x2/ x3 like official, If you don't like that setting, just open
    altsettings.properties and change:

    EnableRateHp = False


Q004 - How to make a subclass ?
A - When your player get to level 75, they can be choose subclass by go to
    Grand Master in Aden and switch to subclass (in 1208, NPC ID
    are 7847/7849/7854/7857/7862/7865), because atm l2j don't have quest for
    subclass, you must set AltSubClassWithoutQuests = True in
    altsettings.properties. There are some restrictions between switching
    subclass, see more here:
    http://www.lineage2.com/Knowledge/subclasses_1.html

Q005 - How to enable JBForth engine ?
A - You must set EnableJBForth=True in other.properties

Q006 - How to enable Auto learn skills ?
A - You must set AutoLearnSkills=True in other.properties. When player level
    up to certain level, they will automatic learn all skills at that level.

Q007 - How to increase Buff time ?
A - You must edit AltBuffTime = 1 in other.properties, change 1 to multiple
    number, i.e default dance/sing is 2mins, if you want it 20mins, set it to
    10 (beware normal buff have 20mins will increase to 200mins too !!!).

Q008 - Why everyone have admin acess ?
A - You must set EverybodyHasAdminRights=False in server.properties

Q009 - How to add a skill to a class as a starter skill ? Like I want to give
       Weight Limit level 2 to all Human Fighter
A - Open Navicat or PhpMyAdmin and run this code

    INSERT INTO skill_trees VALUES (0,150,2,'Weight Limit',0,1);

    Explain:
    0 - Class ID (Human Fighter have class ID = 0)
    150 - Skill ID (Weight Limit have skill ID = 150)
    2 - level of skill
    'Weight Limit' - name of skill
    0 - number of SP need to learn skill
    1 - level of player need to learn skill
     
Q010 - I don't like your GMShop, how to delete it ?
A - Just select that NPC, and Shift+Click then choose Delete this NPC.

Q011 - Why I can play in local server but other player (in 
       LAN/WAN/Internet) can't connect to my server ? 
A - Because you not open port 2106/7777 (both TCP/UDP protocol) in your server 
    or your modem/firewall/router for external connections.

Q012 - How to add a second game server to this login server ?
A - Follow exactly this steps:

    Copy folder C:\server to second computer which host second game server
    In first server computer, run C:\server\l2j\login\RegisterGameServer.bat
    Enter 1 and press Enter, program will create a file name hexid(server 1).txt
    (don't enter 0 because first game server already take that ID)
    Copy this file to folder C:\server\l2j\gameserver\config\ of second     
    computer

    In Second server:
    Delete old hexid.txt and rename hexid(server 1).txt to hexid.txt
    Open server.properties set:

    ExternalHostname=(blank) -> set to *
    InternalHostname=127.0.0.1 -> set to *

    LoginPort=9014 -> set to 9015
    LoginHost=127.0.0.1 -> set to IP of Login server in LAN/WAN

    Now in first game server run startLoginServer.bat and startGameServer.bat
    In second game server only need to run startGameServer.bat (because two game
    server will use same Login server)

Qxxx - Why boat/manor system/(your features here)... not work ?
A - Because it's not implemented :)


   -----------
  .: Contact :.
  -------------
- Get lastest version and report bug/errors in channel #l2j-vn, IRC server
  FreeNode (irc://irc.freenode.net/l2j-vn)
- Official support forum in Ragezone:
  http://forum.ragezone.com/lineage2-emu


   ---------
  .: Rules :.
  -----------
- There is no source code include/release with this server pack, if you love GPL
  License => DO NOT DOWNLOAD/USE THIS PACK
- Support by yourself
- Don't report noobie errors like "why I can't run server pack ?", "how I can
  get client connect..."
- Use English in IRC Channel (only alternative language accept is Vietnamese !)


   ----------
  .: Thanks :.
  ------------
- L2J Devs team (http://l2j.sf.net), especially to kadar, who accused this
  server have virus without any proof (maybe he don't like this server pack,
  it's too easy for noobie and will make his wiki site is useless rofl...)
- L2J Fotress Team (http://trac.balancer.ru/l2j), some fixes have been taken
  from them :)
- L2J Custom build by Violator (http://l2jc.boardsxp.com), got some ideal from
  this build too
- Mental (www.ragezone.com) for excellent MMORPG forum and give me mod for
  Lineage 2 EMU section :)
- All testers (also victims?) of this server pack ^^