Comments (4)
嗯~
好像有弄出來了
- build spigot
[ java -jar BuildTools.jar ] - setting mvn
[ /path to apache-maven-3.2.5/bin/mvn -version ]
要把 mvn 給予執行權限 然後把 java home 設定好 - download patch and goto Spigot/Spigot-Server/src upate patch
[ patch -p1 < ../src.patch ] - build spigot.jar
[ /path to apache-maven-3.2.5/bin/mvn clean install ]
不知道是否正確
請問現在有支援 1.9.2 嗎?
因為 會跳一堆錯誤 然後無法編譯
我得到以下訊息
/Users/ausir/mcbuilder/Spigot/Spigot-Server/src $
patch -p1 < ../HOSE/src.patch
patching file main/java/net/minecraft/server/AttributeMapServer.java
patching file main/java/net/minecraft/server/AttributeModifiable.java
patching file main/java/net/minecraft/server/BiomeBase.java
patching file main/java/net/minecraft/server/BlockMinecartTrackAbstract.java
Hunk #1 succeeded at 238 (offset -9 lines).
patching file main/java/net/minecraft/server/BlockPiston.java
Hunk #1 succeeded at 6 (offset 2 lines).
Hunk #2 succeeded at 113 (offset 42 lines).
Hunk #3 succeeded at 313 (offset -1 lines).
patching file main/java/net/minecraft/server/BlockPressurePlateAbstract.java
Hunk #2 FAILED at 77.
1 out of 2 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/BlockPressurePlateAbstract.java.rej
patching file main/java/net/minecraft/server/BlockRedstoneTorch.java
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file main/java/net/minecraft/server/BlockRedstoneTorch.java.rej
patching file main/java/net/minecraft/server/BlockRedstoneWire.java
Hunk #2 FAILED at 19.
Hunk #3 FAILED at 66.
Hunk #4 succeeded at 300 (offset 42 lines).
2 out of 4 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/BlockRedstoneWire.java.rej
patching file main/java/net/minecraft/server/BlockRepeater.java
patching file main/java/net/minecraft/server/BlockSapling.java
Hunk #2 succeeded at 42 (offset 2 lines).
patching file main/java/net/minecraft/server/BlockTripwire.java
Hunk #2 FAILED at 134.
1 out of 2 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/BlockTripwire.java.rej
patching file main/java/net/minecraft/server/ChatBaseComponent.java
patching file main/java/net/minecraft/server/Chunk.java
Hunk #3 FAILED at 32.
Hunk #4 FAILED at 82.
Hunk #5 succeeded at 787 (offset -67 lines).
Hunk #6 FAILED at 818.
Hunk #7 succeeded at 865 (offset -67 lines).
Hunk #8 FAILED at 906.
Hunk #9 succeeded at 1277 (offset -49 lines).
4 out of 9 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/Chunk.java.rej
patching file main/java/net/minecraft/server/ChunkProviderGenerate.java
patching file main/java/net/minecraft/server/ChunkProviderServer.java
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 32 (offset -7 lines).
Hunk #3 FAILED at 46.
Hunk #4 succeeded at 51 with fuzz 2 (offset -18 lines).
Hunk #5 succeeded at 72 (offset -18 lines).
Hunk #6 succeeded at 122 (offset 21 lines).
Hunk #7 FAILED at 155.
Hunk #8 FAILED at 186.
Hunk #9 succeeded at 197 (offset 19 lines).
Hunk #10 FAILED at 225.
Hunk #11 FAILED at 322.
Hunk #12 succeeded at 301 (offset -63 lines).
Hunk #13 succeeded at 318 (offset -63 lines).
6 out of 13 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/ChunkProviderServer.java.rej
patching file main/java/net/minecraft/server/ChunkRegionLoader.java
Hunk #2 succeeded at 18 with fuzz 2.
patching file main/java/net/minecraft/server/Container.java
Hunk #4 succeeded at 155 with fuzz 1.
Hunk #5 FAILED at 183.
1 out of 5 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/Container.java.rej
patching file main/java/net/minecraft/server/CraftingManager.java
Hunk #2 succeeded at 224 (offset 9 lines).
patching file main/java/net/minecraft/server/CrashReport.java
patching file main/java/net/minecraft/server/DedicatedServer.java
Hunk #1 FAILED at 29.
1 out of 1 hunk FAILED -- saving rejects to file main/java/net/minecraft/server/DedicatedServer.java.rej
patching file main/java/net/minecraft/server/EntityFallingBlock.java
Hunk #2 FAILED at 16.
Hunk #3 succeeded at 131 (offset 14 lines).
Hunk #4 succeeded at 161 (offset 14 lines).
1 out of 4 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/EntityFallingBlock.java.rej
patching file main/java/net/minecraft/server/EntityHuman.java
Hunk #1 FAILED at 430.
1 out of 1 hunk FAILED -- saving rejects to file main/java/net/minecraft/server/EntityHuman.java.rej
patching file main/java/net/minecraft/server/EntityItem.java
Hunk #1 succeeded at 5 (offset 1 line).
Hunk #2 succeeded at 84 with fuzz 2 (offset 2 lines).
Hunk #3 FAILED at 145.
Hunk #4 succeeded at 167 (offset 1 line).
1 out of 4 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/EntityItem.java.rej
patching file main/java/net/minecraft/server/Entity.java
Hunk #1 succeeded at 146 with fuzz 2 (offset 24 lines).
Hunk #2 FAILED at 288.
Hunk #3 FAILED at 316.
Hunk #4 FAILED at 786.
Hunk #5 FAILED at 1113.
Hunk #6 FAILED at 1584.
Hunk #7 FAILED at 1605.
Hunk #8 FAILED at 1615.
Hunk #9 FAILED at 1635.
Hunk #10 FAILED at 1943.
Hunk #11 FAILED at 1977.
10 out of 11 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/Entity.java.rej
patching file main/java/net/minecraft/server/EntityLiving.java
Hunk #1 FAILED at 14.
Hunk #2 succeeded at 28 (offset 1 line).
Hunk #3 FAILED at 38.
Hunk #4 FAILED at 95.
Hunk #5 succeeded at 124 with fuzz 1 (offset 16 lines).
Hunk #6 succeeded at 512 with fuzz 1 (offset 43 lines).
Hunk #7 FAILED at 1537.
Hunk #8 FAILED at 1781.
Hunk #9 FAILED at 1837.
6 out of 9 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/EntityLiving.java.rej
patching file main/java/net/minecraft/server/EntityMinecartAbstract.java
Hunk #2 succeeded at 245 (offset 6 lines).
Hunk #3 succeeded at 895 (offset -49 lines).
patching file main/java/net/minecraft/server/EntityPlayer.java
Hunk #1 succeeded at 8 (offset -2 lines).
Hunk #2 FAILED at 32.
Hunk #3 FAILED at 219.
Hunk #4 FAILED at 898.
3 out of 4 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/EntityPlayer.java.rej
patching file main/java/net/minecraft/server/EntitySlice.java
patching file main/java/net/minecraft/server/EntityTrackerEntry.java
Hunk #1 FAILED at 39.
Hunk #2 succeeded at 438 (offset 13 lines).
1 out of 2 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/EntityTrackerEntry.java.rej
patching file main/java/net/minecraft/server/EntityTracker.java
Hunk #3 FAILED at 109.
Hunk #4 succeeded at 169 (offset 2 lines).
Hunk #5 succeeded at 186 (offset 2 lines).
Hunk #6 succeeded at 199 (offset 2 lines).
Hunk #7 FAILED at 245.
Hunk #8 FAILED at 255.
3 out of 8 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/EntityTracker.java.rej
patching file main/java/net/minecraft/server/Explosion.java
patching file main/java/net/minecraft/server/HandshakeListener.java
patching file main/java/net/minecraft/server/IntCache.java
patching file main/java/net/minecraft/server/ItemRecord.java
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file main/java/net/minecraft/server/ItemRecord.java.rej
patching file main/java/net/minecraft/server/ItemStack.java
Hunk #2 FAILED at 121.
Hunk #3 FAILED at 154.
2 out of 3 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/ItemStack.java.rej
patching file main/java/net/minecraft/server/JsonList.java
patching file main/java/net/minecraft/server/MinecraftServer.java
Hunk #2 succeeded at 24 with fuzz 1 (offset 8 lines).
Hunk #3 FAILED at 46.
Hunk #4 FAILED at 67.
Hunk #5 FAILED at 113.
Hunk #6 succeeded at 117 (offset -2 lines).
Hunk #7 FAILED at 370.
Hunk #8 succeeded at 533 (offset 2 lines).
Hunk #9 succeeded at 660 with fuzz 2 (offset 6 lines).
Hunk #10 succeeded at 728 (offset 6 lines).
Hunk #11 FAILED at 843.
Hunk #12 succeeded at 1044 (offset -1 lines).
Hunk #13 succeeded at 1127 (offset -1 lines).
5 out of 13 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/MinecraftServer.java.rej
patching file main/java/net/minecraft/server/PacketPlayOutMapChunk.java
Hunk #1 FAILED at 4.
Hunk #2 FAILED at 58.
2 out of 2 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/PacketPlayOutMapChunk.java.rej
patching file main/java/net/minecraft/server/PacketStatusListener.java
Hunk #2 FAILED at 100.
1 out of 2 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/PacketStatusListener.java.rej
patching file main/java/net/minecraft/server/PathfinderGoalBreed.java
patching file main/java/net/minecraft/server/PersistentCollection.java
patching file main/java/net/minecraft/server/PersistentVillage.java
patching file main/java/net/minecraft/server/PistonExtendsChecker.java
patching file main/java/net/minecraft/server/PlayerChunkMap.java
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 12.
Hunk #3 succeeded at 54 with fuzz 1 (offset 21 lines).
Hunk #4 FAILED at 98.
Hunk #5 FAILED at 111.
Hunk #6 FAILED at 180.
Hunk #7 FAILED at 213.
Hunk #8 FAILED at 291.
Hunk #9 FAILED at 311.
Hunk #10 FAILED at 351.
Hunk #11 FAILED at 415.
Hunk #12 FAILED at 435.
11 out of 12 hunks FAILED -- saving rejects to file main/java/net/minecraft/server/PlayerChunkMap.java.rej
patching file main/java/net/minecraft/server/PlayerConnection.java
Reversed (or previously applied) patch detected! Assume -R? [n]
`
from hose.
應該是有辦法簡化成單純將patch檔放到patch資料夾,直接執行buildtools的辦法。另外1.9已經開始在開發了,使用了jdk1.7的新語法,能解決jdk1.6的諸多問題,之後會順便把1.8.8的bug用相同方式修正。
from hose.
瞭解
因為看更新,以為是已經支援 1.9 了...
謝謝
from hose.
剛剛用 1.8.8 測試可以 patch 了
但是我再 mvn clean install 的時候還是 BUILD FAILURE
不過沒關系
因為我們現在也已經用 1.9.2 了 >"< 玩家回不去了
所以只好乖乖支持 1.9 ....
是我自己誤會以為支援 1.9 了
希望 1.9 可以直接加進去 BuildTools ,不然編譯要下載回來有點麻煩 XD
抱歉,可以幫我 CLOSE 了!
謝謝
from hose.
Related Issues (20)
- 生成世界錯誤
- Issue starting server HOT 2
- An error has been occurred when starting HOT 1
- 作者請問能不能做 spigot 1.9.4
- 1.11 1.11.2无法正常工作 HOT 1
- where is the download link? HOT 2
- Hose 1.8.8 have error with citzens (NPC) and Holographics Displays (Holograms) and LibDisguises HOT 1
- error HOT 12
- 1.11.2 server crash HOT 1
- 1.11.2 插件不相容... 麻煩作者! 感謝 HOT 3
- 1.11.2 crash problem HOT 1
- [Question] Is this support 1.12 yet? HOT 5
- [Question] Can patch file be splited?
- Cannot start hose HOT 2
- [Question] Can you update project? HOT 2
- I do not have the technical skills needed someone could do it for spigot version 1.7.10 / .1.8? HOT 1
- [Spigot 1.8.8] Failed to handle packet (NPE)
- Crash
- Newer Minecraft versions HOT 2
- updating to newer versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hose.