Jump to content

Rootware

Legendary Member
  • Posts

    1,370
  • Credits

  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    100%

Everything posted by Rootware

  1. I reccomend for you get Z coord from the geodata.
  2. Not JRE, only JDK. JRE enough for running server.
  3. Project is LOL.
  4. Add this code and don't worry. Only adena in the drop list. Less memory without magic. NpcTable.java if (dropDat.getItemId() != PcInventory.ADENA_ID) continue; If you need something more you need things: Be a Customer aCis and take this code; Buy this code from me (5 euro). Joke. :happyforever:
  5. Dude wants the ready code.
  6. Радужный сон наркомана.
  7. What stopped you take the Kamael client and upgrade the packets system from server?
  8. You can add GM Shop without NPC, by command /shop. Also not need add new multisells - only items list by categories. Price = Item Price * Rate Adena. Ofcourse, if you will be use adena as basic exchange item.
  9. Wow. :happyforever:
  10. Wrong collision radius?
  11. Why not 100500 item ID? Int32 vs Short.
  12. Add check if (activeChar.isInside(ZoneId.NO_STORE)) { activeChar.sendMessage("You can't store in this place."); return; } and create NO_STORE zone.
  13. Client HF5 can sending HWID (NC Soft implementation).
  14. https://sites.google.com/site/l2clientmod/xdat_editor
  15. aCis is the coder's band and still working on the bugs. :happyforever:
  16. If you think what is it bug, so post it on aCis forum.
  17. У вас порт открыт только для локальных подключений. Для внешних закрыт. Добавьте java.exe в исключения и всё будет работать.
  18. А что он вам должен написать? Брандмауэр не блокирует запуск приложений - он контролирует их сетевую активность.
  19. You need also add exception for Java applications to Brandmauer windows.
  20. <?xml version="1.0" encoding="UTF-8"?> <project name="L2JHellasC" default="Build" basedir="."> <description> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses. </description> <property name="src" location="java" /> <property name="libs" location="libs" /> <property name="build" location="../build/Core" /> <property name="build.classes" location="${build}/classes" /> <property name="build.dist" location="${build}/dist" /> <property name="build.dist.doc" location="${build.dist}/doc" /> <property name="build.dist.doc.3rdPartyLicenses" location="${build.dist}/doc/3rdPartyLicenses" /> <property name="build.dist.login" location="${build.dist}/login" /> <property name="build.dist.game" location="${build.dist}/gameserver" /> <property name="build.dist.libs" location="${build.dist}/libs" /> <path id="classpath"> <fileset dir="${libs}"> <include name="*.jar" /> </fileset> </path> <echo>Building L2j Hellas.</echo> <target name="Building Dirs" depends="Clean" description="Create the output directories."> <mkdir dir="${build}" /> <mkdir dir="${build.classes}" /> <mkdir dir="${build.dist}" /> <mkdir dir="${build.dist.doc}" /> <mkdir dir="${build.dist.doc.3rdPartyLicenses}" /> <mkdir dir="${build.dist.login}" /> <mkdir dir="${build.dist.game}" /> <mkdir dir="${build.dist.libs}" /> </target> <target name="Compile" depends="Requirements" description="Compile the source."> <echo>Compiling L2J Hellas.</echo> <javac compiler="javac1.8" destdir="${build.classes}" optimize="on" encoding="utf-8" debug="true" debuglevel="lines,vars,source" source="1.8" target="1.8" nowarn="off" includeantruntime="true"> <src path="${src}" /> <classpath refid="classpath" /> </javac> </target> <target name="Jar" depends="Compile" description="Create the jar file"> <jar destfile="${build}/l2jhellas.jar" level="9"> <fileset dir="${build.classes}" /> <manifest> <attribute name="Built-By" value="L2JHellas" /> <attribute name="Built-Date" value="${build.tstamp}" /> <attribute name="Implementation-URL" value="http://www.l2jhellas.info/" /> <attribute name="Implementation-Version" value="${revision}" /> <attribute name="Main-Class" value="com.l2jhellas.Server" /> <attribute name="Class-Path" value=". BoneCP-0.7.1.jar bsf-2.4.0.jar bsh-2.0b4.jar bsh-engine.jar ecj-4.4.jar google-collect-1.0.jar java-engine-1.8.jar javolution.jar jna-3.5.1.jar mail.jar mmocore.jar mysql-connector-java-5.1.33-bin.jar slf4j-api-1.7.5.jar slf4j-simple-1.7.5.jar Subnet-1.0.jar worldwind.jar " /> </manifest> </jar> <copy todir="${build.dist.libs}"> <fileset dir="${build}"> <include name="*.jar" /> </fileset> </copy> </target> <target name="dist" depends="Jar"> <concat destfile="${build.dist}/L2JHellas_CHANGELOG.txt">${l2jhellas.changelog}</concat> </target> <!-- Basic Build --> <target name="Build" depends="dist"> <echo>Creating L2J Hellas Server:</echo> <copy todir="${build.dist.login}"> <fileset dir="config"> <include name="log.cfg" /> <include name="BannedIPs.cfg" /> <include name="console.cfg" /> </fileset> </copy> <copy todir="${build.dist.game}"> <fileset dir="config"> <include name="log.cfg" /> <include name="console.cfg" /> </fileset> </copy> <copy todir="${build.dist.libs}"> <fileset dir="${src}/../libs"> <include name="*.jar" /> </fileset> </copy> <copy todir="${build.dist.login}"> <fileset dir="dist"> <include name="startAccountManager.bat" /> <include name="startSQLAccountManager.bat" /> <include name="LoginServer_loop.bat" /> <include name="startLoginServer.bat" /> <include name="RegisterGameServer.bat" /> </fileset> </copy> <copy todir="${build.dist.game}"> <fileset dir="dist"> <include name="startGameServer.bat" /> </fileset> </copy> <copy todir="${build.dist.doc}"> <fileset dir="doc"> <include name="*.txt" /> </fileset> </copy> <copy todir="${build.dist.doc.3rdPartyLicenses}"> <fileset dir="doc/3rdPartyLicenses"> <include name="*.txt" /> </fileset> </copy> <!-- Game Server --> <copy todir="${build.dist.game}/config"> <fileset dir="config"> <include name="Telnet.ini" /> </fileset> </copy> <copy todir="${build.dist.login}/config"> <fileset dir="config"> <include name="Telnet.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Admin"> <fileset dir="config/Admin"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Events"> <fileset dir="config/Events"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Main"> <fileset dir="config/Main"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Mods"> <fileset dir="config/Mods"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Network"> <fileset dir="config/Network"> <include name="*.ini" /> <include name="*.xml" /> <exclude name="LoginServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Network/IPConfig"> <fileset dir="config/Network/IPConfig"> <include name="IPGameServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Olympiad"> <fileset dir="config/Olympiad"> <include name="*.ini" /> </fileset> </copy> <!-- Login server --> <copy todir="${build.dist.login}/config/Network"> <fileset dir="config/Network"> <include name="*.ini" /> <include name="*.xml" /> <exclude name="GameServer.ini" /> </fileset> </copy> <copy todir="${build.dist.login}/config/Network/IPConfig"> <fileset dir="config/Network/IPConfig"> <include name="IPLoginServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Others"> <fileset dir="config/Others"> <include name="*.*" /> </fileset> </copy> <copy todir="${build.dist.login}/config/Others"> <fileset dir="config/Others"> <include name="*.cfg" /> <include name="*.ini" /> </fileset> </copy> <!-- Finalizing --> <zip destfile="${build}/L2J_Hellas_Core_${revision}.zip" basedir="${build.dist}" level="9" /> <mkdir dir="C:/L2JHellas" /> <mkdir dir="C:/L2JHellas/Backup" /> <echo>Store L2jhellas.</echo> <unzip src="${build}/L2J_Hellas_Core_${revision}.zip" dest="C:/L2JHellas" /> <echo>Backup L2jhellas.</echo> <copy file="${build}/L2J_Hellas_Core_${revision}.zip" todir="C:/L2JHellas/Backup"> </copy> <delete dir="${build}" /> <echo>L2J Hellas Server version:${revision} stored in C:/L2JHellas.</echo> <echo>Please visit our forum http://l2jhellas.info/</echo> <echo>Owner Boorinio.</echo> </target> <!-- Requirements --> <target name="Requirements" description="Check Requirements."> <fail message="Ant 1.9.1 is required But your version is ${ant.version} and if you are using Eclipse probably is outdated."> <condition> <not> <antversion atleast="1.9.1" /> </not> </condition> </fail> <available classname="java.util.stream.Stream" property="JDK8.present" /> <fail unless="JDK8.present" message="Java 1.8 is required. But your version is Java ${ant.java.version} and probably JDK is not installed." /> </target> <!-- Clean UP --> <target name="Clean" description="Remove the build directories before the compile."> <delete dir="${build}" /> </target> </project> Done. Pastebin link.
×
×
  • Create New...