澤懌天使的天空-擦掉眼鏡的霧看天空

關於部落格
  • 10127

    累積人氣

  • 0

    今日人氣

    0

    訂閱人氣

提供架站天堂二心得

5.天二登陆档:L2.exe还有l2.ini 6.UltraEdit-32 备齐这6个程式之后就可以开始架设天二模拟伺服器 二、 1..安装天二第三章主程式 注意..天二第三章安装完之后请上线让他更新一次.这动作会把游戏引擎更新到最新的553(这个553版本会让使用旧版模拟资料的朋友无法登入伺服器,所以等一下需要UltraEdit-32来编辑C:Program FilesNCTaiwan天堂II参章systemengine.dll,这支程式关系着版本问题) 2.JAVA程式,这些都确定键一路到底即可.. 2..安装APPSEVER程式..教学请看此档 http://home.kimo.com.tw/tel0935134165/c/c02.html(此档借用hieix大大分享的文章中的说明档) 请注意!! ->1.语言设定那边台湾选bug5.大陆选GB2312 ->2.邮件设定部份随便 ->3.资料库使用者名称(建议新手使用者名称:root,密码空白,方便以后startserver以及更改资料库时使用) 接下来到(ygq-1大大提供的)http://bbs.t2bbs.com/read.php?tid=11178&fpage=3下载 (l2j-server6.22改)的压缩档,解压缩后将资料夹名称改为L2J,在将L2J资料夹内L2jdb免导入数据库这个资料夹更名为L2JDB,为了让MYSQL能连接L2JDB资料,L2J内的L2jdb复制到C:AppServmysqldata 到这步骤做完请重新启动电脑 PS:接下来的说明参考hieix大大提供的资料修改 接下来我门来看一些参数设定..让程式能认得资料库的位置: 1..第一个要改的是L2J资料夹下的server.cfg 这小小的档案里面有所有重要参数..用笔记本打开他 ExternalHostname=123.123.123.123(这里ip请改为你的外网IP..别人才能连进来) InternalHostname=192.168.1.2(这里IP请改为你的区域网路IP..或是设定127.0.0.1) PS.若改127.0.0.1的朋友请注意..需要做个动作 修改c:windowssystem32driversetchosts 文件的  127.0.0.1 localhost  下面增加一行,如下:  127.0.0.1 auth.lineage2.com.cn URL=jdbc:mysql://localhost/l2jdb..这里的l2jdb请对应到免导入数据库的名字 好比说你的免导入数据库在C:AppServmysqldatal2jdb 上面就维持URL=jdbc:mysql://localhost/l2jdb 若是你的数据库为C:AppServmysqldatal2jdbC3 那行就改成URL=jdbc:mysql://localhost/l2jdbC3 Login=root<---------------------(这里请输入你刚刚安装APPServ的帐号) Password=<---------------------(这里请输入你刚刚安装APPServ的密码) 改完就可以存档了..关掉他..到此L2J跟SQL资料库的连结已经完成设定.. 提供我自己的设定如下 # This is the server configuration file. Here you can set up the connection for your server. # Usually you have to change the ExternalHostname option to # - 127.0.0.1 (if you want to play alone / testing purpose) # - LAN IP* (if you want to play from another computer in the network) # - WAN IP** (if you want to play with friends over internet) # - Questions? => http://l2j.sourceforge.net # # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig" # **= If you want to get you WAN IP, visit http://www.whatismyip.com # =================================================================================================== # Bind ip of the gameserver, use * to bind on all available IPs GameserverHostname=* GameserverPort=7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname=xxx.xxx.xxx.xxx <------此处请输入让外面朋友连线近来的IP(如果只要自己玩也可以输入127.0.0.1 # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname=127.0.0.1 # Bind ip of the loginserver, use * to bind on all available IPs LoginserverHostname=* # Database info Driver=com.mysql.jdbc.Driver #Driver=org.hsqldb.jdbcDriver URL=jdbc:mysql://localhost/l2jdb #URL=jdbc:hsqldb:hsql://localhost/l2jdb Login=root Password= MaximumDbConnections=5 #Datapack root directory, defaults to current directory from which the server is started #DatapackRoot = C:/Work/tmp/DataPackC3 # Useable values: "true" - "false", use this option to choose whether accounts will be created # automatically or not. If not, you have to put it in the logins.txt in the data folder AutoCreateAccounts=true # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers=30 #Global/Trade Chat usablitly - ON, OFF, GM GlobalChat=ON #AutoLoot enable... True to enable, False to disable AutoLoot = true Debug = false Assert = true Developer = false EverybodyHasAdminRights = false # If XP loss (and deleveling) is enabled, default is 'true' Delevel = true # Alternative crafting rules: # - crafting takes time # - players get EXP/SP for crafting AltGameCreation = true # Alternative skill learn rules: # - all classes can learn all skills # - skills of another class costs x2 SP # - skills of another race costs x2 SP # - skills of fighters/mages costs x3 SP AltGameSkillLearn = true # Alternative cancel of attack (bow, cast, all) AltGameCancelByHit = cast,bow # Alternative rules for shields - if they block, the damage is powerAtk-shieldDef, # otherwice it's powerAttak / (shieldDef + powerDef) AltShieldBlocks = true # Spell Book needed to learn skills SpBookNeeded = false #Logging ChatWindow LogChat = true #Configure GM AccessLevels GMAccessLevel = 100 GMMinLevel = 100 GMCanAnnounce = 100 GMCanBan = 100 GMCanShop = 100 GMCanDelete = 100 GMCanKick = 100 GMMenu = 100 GMGodMode = 200 GMCanEditChar = 100 GMCanEditNPC = 100 GMCanTeleport = 100 GMCanRestart = 100 GMMonsterRace = 100 GMRider = 100 GMFastUnstuck = 100 GMResurectFixed = 100 # Rate control, float values RateXp = 150. RateSp = 500. RateDropAdena = 1000. RateDropItems = 1. RateDropSpoil = 1. # Maximum range mobs can randomly go from spawn point MaxDriftRange = 300 # Alternative Xp/Sp rewards, if not 0, then calculated as 2^((mob.level-player.level) / coef), # A few examples for "AltGameExponentXp = 5." and "AltGameExponentSp = 3." # diff = 0 (player and mob has the same level), XP bonus rate = 1, SP bonus rate = 1 # diff = 3 (mob is 3 levels above), XP bonus rate = 1.52, SP bonus rate = 2 # diff = 5 (mob is 5 levels above), XP bonus rate = 2, SP bonus rate = 3.17 # diff = -8 (mob is 8 levels below), XP bonus rate = 0.4, SP bonus rate = 0.16 #AltGameExponentXp = 0 #AltGameExponentSp = 0 AltGameExponentXp = 5 AltGameExponentSp = 3 # Use tiredness (instead of combat points) AltGameTiredness = true # Allow L2Walker client (Deafult False) # Can be True, False, GM # Note: L2Walker AllowL2Walker = False L2WalkerRevision = 551 # Warehouse is disabled until dupe bugs are fixed. # If you wish to still use them then set this to True AllowWarehouse = False 接下来打开天二第三章资料夹... 你会看到一个system资料夹..开启他..里面会有天二一堆东西.. 把刚刚放着等了很久的L2.ini还有L2.exe复制到这个system资料夹..取代原有的ini跟exe -->我解释一下为何要这样做..事实上下载的L2ini还有L2exe是把system里面原始L2.ini跟L2.exe解密后所得到的档案...你可以看看原始的L2.ini..用笔记本开是一堆乱码..我门无法编辑..故用解密后的版本覆盖..让我门可以编辑L2.ini L2.ini是对应L2.exe的.. L2.exe是执行天二游戏的程式..ini则是他的设定档 PS :hieix大大有提供L2.exe 以及L2.ini http://bbs.t2bbs.com/read.php?tid=11303&fpage=&toread=&page=1 覆盖完毕这两个档案之后..我门打开L2.ini.. 修改ServerAddr=123.123.123.123 这边请改为你的IP设定..若是想让外面朋友来玩..要改为你的外网IP 若是单机自己玩..请改为你的区网IP或是127.0.0.1 接下来使用UltraEdit-32 开启C:Program FilesNCTaiwan天堂II参章systemengine.dll search $Revision:这个字串(把find ASSCII打勾)将字串收寻到的553改成551这就是更改版本的方法 OK接下来到开始--->程式集--->APPSERV--->执行WinMysqiAdmin.exe 检查荧幕右下较是否有出现一个类示红绿灯的图示,在图示上按滑鼠右键选择show me 画面开启后检查Database里面是否有L2JDB这个资料库,有的话请将其最小化 点选L2J资料夹下的startServer.bat..这是启动伺服器的主程式 跑一堆数字之后..最下面会停在2 banned IPs defined..出现这行字表示你已经架设成功!恭喜! 若是跑数字当中出现:""请按任意键继续..""抱歉.你的L2J跟数据库连结有问题..请把步骤好好看一次..不要心急慢慢重来一遍找出错误在哪里... 接下来执行天二资料夹中的system资料夹下的L2.exe.. 这里很重要..不要执行其他的官方的LineageII.exe 一定要执行system底下的L2.exe才能顺利连上私服..拉个连结到桌面会更方便 接下来帐密随便打..可以畅游天二了.. 若是想把人物设定为GM等级..请参照 http://bbs.t2bbs.com/read.php?tid=533&fpage=1 这篇..最下面有写 接下来谈一些L2J资料夹内sever.cfg的参数 刚刚只改了必要的部分..现在教你一些比较不必要的部分 AutoCreateAccounts=false(这行可以设定是否让玩家自由开创帐号密码false=不可.true=可以..若选false则玩家必须跟你说帐密..由你来设定..帐密设定程式为L2J底下的startAccountManager.bat) MaximumOnlineUsers=40(设定同时上线最大人数..) SpBookNeeded = false(这行可以设定学技能要不要用书本) # Rate control, float values(伺服器倍率设定.1=官服设定) RateXp = 10.(EXP经验值取得倍率) RateSp = 10.(SP技能值取得倍率) RateDropAdena = 10.(掉钱率) RateDropItems = 13.(掉宝率) RateDropSpoil = 10. 若是更改了sever.cfg内的设定..请关闭伺服器重新启动..才能让设定生效喔
相簿設定
標籤設定
相簿狀態