Skip to content

BDO Project

BDO 연구소

[BDOEmu - v491] Java Build Script (개별 빌드)

by CroitzK posted Sep 07, 2018 Views 4 Likes 0 Replies 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
아래의 커맨드라인을 BAT 파일로 저장후 사용.

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME="D:\SPP-BDO\Server\gameserver\bin"

set CLASSPATH=D:\SPP-BDO\Server\gameserver\lib\gameserver.jar;D:\SPP-BDO\Server\gameserver\lib\tools.jar;D:\SPP-BDO\Server\gameserver\lib\bcprov-ext-jdk16-1.46.jar;D:\SPP-BDO\Server\gameserver\lib\thymeleaf-3.0.0.RELEASE.jar;D:\SPP-BDO\Server\gameserver\lib\nekohtml-1.9.22.jar;D:\SPP-BDO\Server\gameserver\lib\spark-core-2.6.0.jar;D:\SPP-BDO\Server\gameserver\lib\commons-codec-1.10.jar;D:\SPP-BDO\Server\gameserver\lib\lzma-java-1.3.jar;D:\SPP-BDO\Server\gameserver\lib\JDA-3.0.0_194.jar;D:\SPP-BDO\Server\gameserver\lib\lombok-1.16.16.jar;D:\SPP-BDO\Server\gameserver\lib\commons.jar;D:\SPP-BDO\Server\gameserver\lib\ognl-3.1.3.jar;D:\SPP-BDO\Server\gameserver\lib\javassist-3.20.0-GA.jar;D:\SPP-BDO\Server\gameserver\lib\attoparser-2.0.0.RELEASE.jar;D:\SPP-BDO\Server\gameserver\lib\unbescape-1.1.3.RELEASE.jar;D:\SPP-BDO\Server\gameserver\lib\slf4j-api-1.7.21.jar;D:\SPP-BDO\Server\gameserver\lib\xercesImpl-2.11.0.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-server-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-webapp-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\websocket-server-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\websocket-servlet-9.4.4.v20170414.jar;D:\SPP-BDO\Server\gameserver\lib\commons-lang3-3.5.jar;D:\SPP-BDO\Server\gameserver\lib\commons-collections4-4.1.jar;D:\SPP-BDO\Server\gameserver\lib\json-20140107.jar;D:\SPP-BDO\Server\gameserver\lib\trove4j-3.0.3.jar;D:\SPP-BDO\Server\gameserver\lib\jna-4.2.2.jar;D:\SPP-BDO\Server\gameserver\lib\nv-websocket-client-2.0.jar;D:\SPP-BDO\Server\gameserver\lib\unirest-java-1.4.9.jar;D:\SPP-BDO\Server\gameserver\lib\sqlite-jdbc-3.16.1.jar;D:\SPP-BDO\Server\gameserver\lib\ws-commons-util-1.0.2.jar;D:\SPP-BDO\Server\gameserver\lib\commons-io-2.5.jar;D:\SPP-BDO\Server\gameserver\lib\commons-httpclient-3.1.jar;D:\SPP-BDO\Server\gameserver\lib\log4j-core-2.6.2.jar;D:\SPP-BDO\Server\gameserver\lib\log4j-slf4j-impl-2.6.2.jar;D:\SPP-BDO\Server\gameserver\lib\disruptor-3.3.6.jar;D:\SPP-BDO\Server\gameserver\lib\slf4j-ext-1.7.25.jar;D:\SPP-BDO\Server\gameserver\lib\gson-2.8.0.jar;D:\SPP-BDO\Server\gameserver\lib\mongo-java-driver-2.14.3.jar;D:\SPP-BDO\Server\gameserver\lib\ecj-4.6.1.jar;D:\SPP-BDO\Server\gameserver\lib\stringer-annotations-1.0.3.jar;D:\SPP-BDO\Server\gameserver\lib\jackson-core-2.9.0.pr3.jar;D:\SPP-BDO\Server\gameserver\lib\jackson-annotations-2.9.0.pr3.jar;D:\SPP-BDO\Server\gameserver\lib\jackson-databind-2.9.0.pr3.jar;D:\SPP-BDO\Server\gameserver\lib\classindex-3.4.jar;D:\SPP-BDO\Server\gameserver\lib\xml-apis-1.4.01.jar;D:\SPP-BDO\Server\gameserver\lib\javax.servlet-api-3.1.0.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-http-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-io-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-xml-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-servlet-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\websocket-common-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\websocket-client-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\httpclient-4.5.2.jar;D:\SPP-BDO\Server\gameserver\lib\httpasyncclient-4.1.2.jar;D:\SPP-BDO\Server\gameserver\lib\httpmime-4.5.2.jar;D:\SPP-BDO\Server\gameserver\lib\junit-4.12.jar;D:\SPP-BDO\Server\gameserver\lib\log4j-api-2.6.2.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-util-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\jetty-security-9.3.14.v20161028.jar;D:\SPP-BDO\Server\gameserver\lib\httpcore-4.4.5.jar;D:\SPP-BDO\Server\gameserver\lib\httpcore-nio-4.4.5.jar;D:\SPP-BDO\Server\gameserver\lib\hamcrest-core-1.3.jar;D:\SPP-BDO\Server\gameserver\lib\commons-logging-1.2.jar;D:\SPP-BDO\Server\gameserver\lib\websocket-api-9.4.4.v20170414.jar;D:\SPP-BDO\Server\gameserver\lib\netty-all-4.1.12.Final.jar;D:\SPP-BDO\Server\gameserver\lib\commons-math3-3.6.1.jar >> log.txt

for /r %%a in (*.java) do ( "C:\Program Files (x86)\Java\jdk1.8.0_181\bin\javac" "%%a" )
TAG •
?

[BDOEmu - v491] 공헌도 상승량 바꾸기

by CroitzK posted Sep 07, 2018 Views 3 Likes 0 Replies 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

source: src\main\java\com\bdoemu\gameserver\model\creature\player\contribution\ExplorePoint.java


[원본 소스 내용 중]

    public synchronized void addExp(final Player player, final int exp) {
        if (exp < 0) {
            return;
        }
        final int ratedExp = (int) (exp * RateConfig.RATE_EXPLORE_EXP / 100.0f);
        this.exp += ratedExp;
        if (this.exp >= this.template.getRequireEXP()) {
            final ContributionEXPT newTemplate = ContributionEXPData.getInstance().getTemplate(this.territoryKey, this.maxExplorePoints + 1);
            if (newTemplate == null) {
                this.exp = this.template.getRequireEXP();
                return;
            }
            this.exp -= this.template.getRequireEXP();
            this.template = newTemplate;
            if (this.exp > newTemplate.getRequireEXP()) {
                this.exp = newTemplate.getRequireEXP();
            }
            ++this.currentExplorePoints;
            ++this.maxExplorePoints;

            player.getObserveController().notifyObserver(EObserveType.acquirePoint, EGamePointType.CONTRIBUTION.ordinal(), this.maxExplorePoints);
        }
        player.sendPacket(new SMUpdateExplorePoint(this));
    }


[수정할 내용]

    public synchronized void addExp(final Player player, final int exp) {
        if (exp < 0) {
            return;
        }
        final int ratedExp = (int) (exp * RateConfig.RATE_EXPLORE_EXP / 100.0f);
        this.exp += ratedExp;
        if (this.exp >= this.template.getRequireEXP()) {
            final ContributionEXPT newTemplate = ContributionEXPData.getInstance().getTemplate(this.territoryKey, this.maxExplorePoints + 1);
            if (newTemplate == null) {
                this.exp = this.template.getRequireEXP();
                return;
            }
            this.exp -= this.template.getRequireEXP();
            this.template = newTemplate;
            if (this.exp > newTemplate.getRequireEXP()) {
                this.exp = newTemplate.getRequireEXP();
            }
            this.currentExplorePoints += 50; //원하는 값 입력
            this.maxExplorePoints += 50; //원하는 값 입력
            player.getObserveController().notifyObserver(EObserveType.acquirePoint, EGamePointType.CONTRIBUTION.ordinal(), this.maxExplorePoints);
        }
        player.sendPacket(new SMUpdateExplorePoint(this));
    }



이제 공헌도 경험치가 가득 차면 공헌도의 상승량은 +1이 아닌 +50이 될 것이다.

TAG •
?

목록
Board Pagination Prev 1 Next
/ 1

Recent Comment

Counter Info

방문자수

전체 : 891
오늘 : 25
어제 : 21

페이지뷰

전체 : 32,633
오늘 : 838
어제 : 1,020

COPYRIGHT 2009 by AGMServer.com

Powered by Xpress Engine / Designed by Sketchbook

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소