Résolu Décompiler un mod
-
Oui, il faut bien faire aussi le gradlew eclipse.
-
Okay je ferais le refresh dependencies 1.6.4 demain…Merci robin
EDIT: pour les versions 1.7.x c’est ok mais pour la 1.6.4; j’ai fais le setup mais il m’affiche ce message dans la console:
C:\Users\Brice\Desktop>java -jar BON2.jar ASM isn't already in classpath. Adding it… ASM 5 could not be found. Trying ASM 4... Guava isn't already in classpath. Adding it... Exception in thread "BON2 Remapping Thread" java.lang.RuntimeException: There wa s an error. at com.github.parker8283.bon2.listener.StartListener$1.run(StartListener .java:106) Caused by: java.io.FileNotFoundException: C:\Users\Brice\.gradle\caches\minecraf t\net\minecraftforge\forge\1.6.4-9.11.1.964\srgs\mcp-srg.srg (Le chemin dÆaccÞs spÚcifiÚ est introuvable) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at com.github.parker8283.bon2.srg.Repo.loadMappings(Repo.java:15) at com.github.parker8283.bon2.listener.StartListener$1.run(StartListener .java:100) ```</init>
-
Je up ai cas ou
-
Ah oui en effet, en 1.6.4 forge gradle ne travaille pas de la même façon, et visiblement ça cause problème. Il faudrait que tu copie le contenu forge-1.6.4\build\unpacked\conf\ dans le dossier C:\Users\Brice.gradle\caches\minecraft\net\minecraftforge\forge\1.6.4-9.11.1.964\srgs
(il est possible que le dossier srgs n’existe pas, si c’est le cas créé-le). -
Bon…Il a du mal…
C:\Users\Brice\Desktop>java -jar BON2.jar ASM isn't already in classpath. Adding it... ASM 5 could not be found. Trying ASM 4... Guava isn't already in classpath. Adding it... Exception in thread "BON2 Remapping Thread" java.lang.RuntimeException: There wa s an error. at com.github.parker8283.bon2.listener.StartListener$1.run(StartListener .java:106) Caused by: java.lang.NullPointerException at com.github.parker8283.bon2.util.JarUtils.writeToJar(JarUtils.java:64) at com.github.parker8283.bon2.listener.StartListener$1.run(StartListener .java:103)
-
Il y a un NPE, je ne sais pas pourquoi désolé
Visiblement BON2 n’est pas prévu pour la 1.6.4 même pour les versions Forge Gradle. -
Erfeuh….Bon bah…Impossible de décompiler zombie revival
-
Sinon, j’ai un moyen de le décompiler ?
-
Bon…y’a t’il un moyen autre que de recopier TOUTEs les classes via jd-gui ? Parce là…ça fais beaucoup
-
Dans le menu édition il y a une option exporter il me semble
-
Oui sauf que quand je le met dans src j’ai droit a des packages vides dans eclipse
-
Un petit UP
-
re-up ?
-
Il faut mettre dans src/main/java, si tu mets directement dans src c’est pas bon.
-
Merci Robin !, maintenant il ne reste plus qu’une chose à régler avant de fermer ce topic^^
Qu’est ce que cet erreur en rouge ? (au risque de de passer pour un abruti)
/* 1: */ package com.flansmod.client; /* 2: */ /* 3: */ import com.flansmod.client.gui.GuiTeamScores; /* 4: */ import com.flansmod.client.model.RenderFlag; /* 5: */ import com.flansmod.common.driveables.EntityDriveable; /* 6: */ import com.flansmod.common.guns.GunType; /* 7: */ import com.flansmod.common.guns.IScope; /* 8: */ import com.flansmod.common.guns.ItemGun; /* 9: */ import com.flansmod.common.network.PacketTeamInfo; /* 10: */ import com.flansmod.common.network.PacketTeamInfo.PlayerScoreData; /* 11: */ import com.flansmod.common.network.PacketTeamInfo.TeamData; /* 12: */ import com.flansmod.common.teams.Team; /* 13: */ import com.flansmod.common.types.InfoType; /* 14: */ import cpw.mods.fml.client.FMLClientHandler; /* 15: */ import cpw.mods.fml.common.FMLCommonHandler; /* 16: */ import cpw.mods.fml.common.eventhandler.EventBus; /* 17: */ import cpw.mods.fml.common.eventhandler.SubscribeEvent; /* 18: */ import cpw.mods.fml.common.gameevent.TickEvent.ClientTickEvent; /* 19: */ import cpw.mods.fml.common.gameevent.TickEvent.RenderTickEvent; /* 20: */ import java.util.ArrayList; /* 21: */ import java.util.List; /* 22: */ import net.minecraft.client.Minecraft; /* 23: */ import net.minecraft.client.entity.EntityClientPlayerMP; /* 24: */ import net.minecraft.client.gui.FontRenderer; /* 25: */ import net.minecraft.client.gui.GuiIngame; /* 26: */ import net.minecraft.client.gui.ScaledResolution; /* 27: */ import net.minecraft.client.renderer.EntityRenderer; /* 28: */ import net.minecraft.client.renderer.OpenGlHelper; /* 29: */ import net.minecraft.client.renderer.RenderHelper; /* 30: */ import net.minecraft.client.renderer.Tessellator; /* 31: */ import net.minecraft.client.renderer.entity.RenderItem; /* 32: */ import net.minecraft.client.renderer.texture.TextureManager; /* 33: */ import net.minecraft.entity.Entity; /* 34: */ import net.minecraft.entity.player.InventoryPlayer; /* 35: */ import net.minecraft.item.ItemStack; /* 36: */ import net.minecraft.util.MouseHelper; /* 37: */ import net.minecraft.util.ResourceLocation; /* 38: */ import net.minecraftforge.client.event.RenderGameOverlayEvent; /* 39: */ import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType; /* 40: */ import net.minecraftforge.common.MinecraftForge; /* 41: */ import org.lwjgl.opengl.GL11; /* 42: */ /* 43: */ public class TickHandlerClient /* 44: */ { /* 45: 41 */ public static final ResourceLocation gui = new ResourceLocation("FlansMod", "textures/gui/gui.png"); /* 46: 42 */ public static final ResourceLocation teamScores = new ResourceLocation("FlansMod", "textures/gui/teamScores.png"); /* 47: */ /* 48: */ public TickHandlerClient() /* 49: */ { /* 50: 47 */ FMLCommonHandler.instance().bus().register(this); /* 51: 48 */ MinecraftForge.EVENT_BUS.register(this); /* 52: */ } /* 53: */ /* 54: */ @SubscribeEvent /* 55: */ public void eventHandler(RenderGameOverlayEvent event) /* 56: */ { /* 57: 54 */ Minecraft mc = Minecraft.getMinecraft(); /* 58: 57 */ if ((event.type == RenderGameOverlayEvent.ElementType.CROSSHAIRS) && (FlansModClient.currentScope != null)) /* 59: */ { /* 60: 59 */ event.setCanceled(true); /* 61: 60 */ return; /* 62: */ } /* 63: 63 */ if ((event.isCancelable()) || (event.type != RenderGameOverlayEvent.ElementType.HOTBAR)) { /* 64: 65 */ return; /* 65: */ } /* 66: 68 */ ScaledResolution scaledresolution = new ScaledResolution(FlansModClient.minecraft, FlansModClient.minecraft.displayWidth, FlansModClient.minecraft.displayHeight); /* 67: 69 */ int i = scaledresolution.getScaledWidth(); /* 68: 70 */ int j = scaledresolution.getScaledHeight(); /* 69: 73 */ if (mc.thePlayer != null) /* 70: */ { /* 71: 75 */ ItemStack stack = mc.thePlayer.inventory.getCurrentItem(); /* 72: 76 */ if ((stack != null) && ((stack.getItem() instanceof ItemGun))) /* 73: */ { /* 74: 78 */ ItemGun gunItem = (ItemGun)stack.getItem(); /* 75: 79 */ GunType gunType = gunItem.type; /* 76: 80 */ int x = 0; /* 77: 81 */ for (int n = 0; n < gunType.numAmmoItemsInGun; n++) /* 78: */ { /* 79: 83 */ ItemStack bulletStack = ((ItemGun)stack.getItem()).getBulletItemStack(stack, n); /* 80: 84 */ if ((bulletStack != null) && (bulletStack.getItem() != null)) /* 81: */ { /* 82: 86 */ RenderHelper.enableGUIStandardItemLighting(); /* 83: 87 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* 84: 88 */ GL11.glEnable(32826); /* 85: 89 */ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240.0F, 240.0F); /* 86: 90 */ drawSlotInventory(mc.fontRenderer, bulletStack, i / 2 - 89 + x, j - 65); /* 87: 91 */ GL11.glDisable(32826); /* 88: 92 */ RenderHelper.disableStandardItemLighting(); /* 89: 93 */ String s = bulletStack.getMaxDamage() - bulletStack.getItemDamage() + "/" + bulletStack.getMaxDamage(); /* 90: 94 */ if (bulletStack.getMaxDamage() == 1) { /* 91: 95 */ s = ""; /* 92: */ } /* 93: 96 */ mc.fontRenderer.drawString(s, i / 2 - 71 + x, j - 59, 0); /* 94: 97 */ mc.fontRenderer.drawString(s, i / 2 - 72 + x, j - 60, 16777215); /* 95: 98 */ x += 16 + mc.fontRenderer.getStringWidth(s); /* 96: */ } /* 97: */ } /* 98: */ } /* 99: */ } /* 100:104 */ PacketTeamInfo teamInfo = FlansModClient.teamInfo; /* 101:106 */ if ((teamInfo != null) && (FlansModClient.minecraft.thePlayer != null) && ((PacketTeamInfo.numTeams > 0) || (!PacketTeamInfo.sortedByTeam)) && (PacketTeamInfo.getPlayerScoreData(FlansModClient.minecraft.thePlayer.getCommandSenderName()) != null)) /* 102: */ { /* 103:108 */ GL11.glEnable(3042); /* 104:109 */ GL11.glDisable(2929); /* 105:110 */ GL11.glDepthMask(false); /* 106:111 */ GL11.glBlendFunc(770, 771); /* 107:112 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* 108:113 */ GL11.glDisable(3008); /* 109: */ /* 110:115 */ mc.renderEngine.bindTexture(GuiTeamScores.texture); /* 111: */ /* 112:117 */ Tessellator tessellator = Tessellator.instance; /* 113:118 */ tessellator.startDrawingQuads(); /* 114:119 */ tessellator.addVertexWithUV(i / 2 - 43, 27.0D, -90.0D, 0.33203125D, 0.10546875D); /* 115:120 */ tessellator.addVertexWithUV(i / 2 + 43, 27.0D, -90.0D, 0.66796875D, 0.10546875D); /* 116:121 */ tessellator.addVertexWithUV(i / 2 + 43, 0.0D, -90.0D, 0.66796875D, 0.0D); /* 117:122 */ tessellator.addVertexWithUV(i / 2 - 43, 0.0D, -90.0D, 0.33203125D, 0.0D); /* 118:123 */ tessellator.draw(); /* 119:126 */ if ((PacketTeamInfo.numTeams == 2) && (PacketTeamInfo.sortedByTeam)) /* 120: */ { /* 121:129 */ int colour = PacketTeamInfo.teamData[0].team.teamColour; /* 122:130 */ GL11.glColor4f((colour >> 16 & 0xFF) / 256.0F, (colour >> 8 & 0xFF) / 256.0F, (colour & 0xFF) / 256.0F, 1.0F); /* 123:131 */ tessellator.startDrawingQuads(); /* 124:132 */ tessellator.addVertexWithUV(i / 2 - 43, 27.0D, -90.0D, 0.0D, 0.48828125D); /* 125:133 */ tessellator.addVertexWithUV(i / 2 - 19, 27.0D, -90.0D, 0.09375D, 0.48828125D); /* 126:134 */ tessellator.addVertexWithUV(i / 2 - 19, 0.0D, -90.0D, 0.09375D, 0.3828125D); /* 127:135 */ tessellator.addVertexWithUV(i / 2 - 43, 0.0D, -90.0D, 0.0D, 0.3828125D); /* 128:136 */ tessellator.draw(); /* 129: */ /* 130:138 */ colour = PacketTeamInfo.teamData[1].team.teamColour; /* 131:139 */ GL11.glColor4f((colour >> 16 & 0xFF) / 256.0F, (colour >> 8 & 0xFF) / 256.0F, (colour & 0xFF) / 256.0F, 1.0F); /* 132:140 */ tessellator.startDrawingQuads(); /* 133:141 */ tessellator.addVertexWithUV(i / 2 + 19, 27.0D, -90.0D, 0.2421875D, 0.48828125D); /* 134:142 */ tessellator.addVertexWithUV(i / 2 + 43, 27.0D, -90.0D, 0.3359375D, 0.48828125D); /* 135:143 */ tessellator.addVertexWithUV(i / 2 + 43, 0.0D, -90.0D, 0.3359375D, 0.3828125D); /* 136:144 */ tessellator.addVertexWithUV(i / 2 + 19, 0.0D, -90.0D, 0.2421875D, 0.3828125D); /* 137:145 */ tessellator.draw(); /* 138: */ /* 139:147 */ GL11.glDepthMask(true); /* 140:148 */ GL11.glEnable(2929); /* 141:149 */ GL11.glEnable(3008); /* 142:150 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* 143: */ /* 144: */ /* 145:153 */ mc.fontRenderer.drawString(PacketTeamInfo.teamData[0].score + "", i / 2 - 35, 9, 0); /* 146:154 */ mc.fontRenderer.drawString(PacketTeamInfo.teamData[0].score + "", i / 2 - 36, 8, 16777215); /* 147:155 */ mc.fontRenderer.drawString(PacketTeamInfo.teamData[1].score + "", i / 2 + 35 - mc.fontRenderer.getStringWidth(PacketTeamInfo.teamData[1].score + ""), 9, 0); /* 148:156 */ mc.fontRenderer.drawString(PacketTeamInfo.teamData[1].score + "", i / 2 + 34 - mc.fontRenderer.getStringWidth(PacketTeamInfo.teamData[1].score + ""), 8, 16777215); /* 149: */ } /* 150:159 */ mc.fontRenderer.drawString(PacketTeamInfo.gametype + "", i / 2 + 48, 9, 0); /* 151:160 */ mc.fontRenderer.drawString(PacketTeamInfo.gametype + "", i / 2 + 47, 8, 16777215); /* 152:161 */ mc.fontRenderer.drawString(PacketTeamInfo.map + "", i / 2 - 47 - mc.fontRenderer.getStringWidth(PacketTeamInfo.map + ""), 9, 0); /* 153:162 */ mc.fontRenderer.drawString(PacketTeamInfo.map + "", i / 2 - 48 - mc.fontRenderer.getStringWidth(PacketTeamInfo.map + ""), 8, 16777215); /* 154: */ /* 155:164 */ int secondsLeft = PacketTeamInfo.timeLeft / 20; /* 156:165 */ int minutesLeft = secondsLeft / 60; /* 157:166 */ secondsLeft %= 60; /* 158:167 */ String timeLeft = minutesLeft + ":" + (secondsLeft < 10 ? "0" + secondsLeft : Integer.valueOf(secondsLeft)); /* 159:168 */ mc.fontRenderer.drawString(timeLeft, i / 2 - mc.fontRenderer.getStringWidth(timeLeft) / 2 - 1, 29, 0); /* 160:169 */ mc.fontRenderer.drawString(timeLeft, i / 2 - mc.fontRenderer.getStringWidth(timeLeft) / 2, 30, 16777215); /* 161: */ /* 162: */ /* 163:172 */ GL11.glDepthMask(true); /* 164:173 */ GL11.glEnable(2929); /* 165:174 */ GL11.glEnable(3008); /* 166:175 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* 167:176 */ String playerUsername = FlansModClient.minecraft.thePlayer.getCommandSenderName(); /* 168: */ /* 169:178 */ mc.fontRenderer.drawString(PacketTeamInfo.getPlayerScoreData(playerUsername).score + "", i / 2 - 7, 1, 0); /* 170:179 */ mc.fontRenderer.drawString(PacketTeamInfo.getPlayerScoreData(playerUsername).kills + "", i / 2 - 7, 9, 0); /* 171:180 */ mc.fontRenderer.drawString(PacketTeamInfo.getPlayerScoreData(playerUsername).deaths + "", i / 2 - 7, 17, 0); /* 172: */ } /* 173:182 */ for (int n = 0; n < killMessages.size(); n++) /* 174: */ { /* 175:184 */ KillMessage killMessage = (KillMessage)killMessages.get(n); /* 176:185 */ mc.fontRenderer.drawString("§" + killMessage.killerName + " " + "§" + killMessage.killedName, i - mc.fontRenderer.getStringWidth(killMessage.killerName + " " + killMessage.killedName) - 6, j - 32 - killMessage.line * 16, 16777215); /* 177: */ } /* 178:187 */ RenderHelper.enableGUIStandardItemLighting(); /* 179:188 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* 180:189 */ GL11.glEnable(32826); /* 181:190 */ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240.0F, 240.0F); /* 182:192 */ for (int n = 0; n < killMessages.size(); n++) /* 183: */ { /* 184:194 */ KillMessage killMessage = (KillMessage)killMessages.get(n); /* 185:195 */ drawSlotInventory(mc.fontRenderer, new ItemStack(killMessage.weapon.item), i - mc.fontRenderer.getStringWidth(" " + killMessage.killedName) - 12, j - 36 - killMessage.line * 16); /* 186: */ } /* 187:197 */ GL11.glDisable(3042); /* 188:198 */ RenderHelper.disableStandardItemLighting(); /* 189: */ } /* 190: */ /* 191: */ @SubscribeEvent /* 192: */ public void renderTick(TickEvent.RenderTickEvent event) /* 193: */ { /* 194:204 */ switch (1.$SwitchMap$cpw$mods$fml$common$gameevent$TickEvent$Phase[event.phase.ordinal())] /* 195: */ { /* 196: */ case 1: /* 197:207 */ com.flansmod.client.model.RenderGun.smoothing = event.renderTickTime; /* 198:208 */ renderTickStart(Minecraft.getMinecraft(), event.renderTickTime); /* 199:209 */ break; /* 200: */ case 2: /* 201:211 */ renderTickEnd(Minecraft.getMinecraft()); /* 202: */ } /* 203: */ } /* 204: */ /* 205: */ @SubscribeEvent /* 206: */ public void clientTick(TickEvent.ClientTickEvent event) /* 207: */ { /* 208:219 */ switch (1.$SwitchMap$cpw$mods$fml$common$gameevent$TickEvent$Phase[event.phase.ordinal()]) // erreur ici ! /* 209: */ { /* 210: */ case 1: /* 211:222 */ clientTickStart(Minecraft.getMinecraft()); /* 212:223 */ break; /* 213: */ case 2: /* 214:225 */ clientTickEnd(Minecraft.getMinecraft()); /* 215: */ } /* 216: */ } /* 217: */ /* 218: */ public void clientTickStart(Minecraft minecraft) {} /* 219: */ /* 220: */ public void clientTickEnd(Minecraft minecraft) /* 221: */ { /* 222:237 */ for (int i = 0; i < killMessages.size(); i++) /* 223: */ { /* 224:239 */ ((KillMessage)killMessages.get(i)).timer -= 1; /* 225:240 */ if (((KillMessage)killMessages.get(i)).timer == 0) { /* 226:242 */ killMessages.remove(i); /* 227: */ } /* 228: */ } /* 229:245 */ RenderFlag.angle += 2.0F; /* 230:246 */ FlansModClient.tick(); /* 231: */ } /* 232: */ /* 233: */ public void renderTickStart(Minecraft mc, float smoothing) /* 234: */ { /* 235:253 */ if ((mc.currentScreen == null) && (FlansModClient.controlModeMouse)) /* 236: */ { /* 237:255 */ MouseHelper mouse = mc.mouseHelper; /* 238:256 */ Entity ridden = mc.thePlayer.ridingEntity; /* 239:258 */ if ((ridden instanceof EntityDriveable)) /* 240: */ { /* 241:260 */ EntityDriveable entity = (EntityDriveable)ridden; /* 242:261 */ entity.onMouseMoved(mouse.deltaX, mouse.deltaY); /* 243: */ } /* 244: */ } /* 245:265 */ FlansModClient.renderTick(smoothing); /* 246: */ } /* 247: */ /* 248: */ public void renderTickEnd(Minecraft mc) /* 249: */ { /* 250:270 */ ScaledResolution scaledresolution = new ScaledResolution(FlansModClient.minecraft, FlansModClient.minecraft.displayWidth, FlansModClient.minecraft.displayHeight); /* 251:271 */ int i = scaledresolution.getScaledWidth(); /* 252:272 */ int j = scaledresolution.getScaledHeight(); /* 253:274 */ if ((FlansModClient.currentScope != null) && (FlansModClient.currentScope.hasZoomOverlay()) && (FMLClientHandler.instance().getClient().currentScreen == null) && (FlansModClient.zoomProgress > 0.8F)) /* 254: */ { /* 255:276 */ FlansModClient.minecraft.entityRenderer.setupOverlayRendering(); /* 256:277 */ GL11.glEnable(3042); /* 257:278 */ GL11.glDisable(2929); /* 258:279 */ GL11.glDepthMask(false); /* 259:280 */ GL11.glBlendFunc(770, 771); /* 260:281 */ GL11.glColor4f(mc.ingameGUI.prevVignetteBrightness, mc.ingameGUI.prevVignetteBrightness, mc.ingameGUI.prevVignetteBrightness, 1.0F); /* 261:282 */ GL11.glDisable(3008); /* 262: */ /* 263:284 */ mc.renderEngine.bindTexture(FlansModResourceHandler.getScope(FlansModClient.currentScope.getZoomOverlay())); /* 264: */ /* 265:286 */ Tessellator tessellator = Tessellator.instance; /* 266:287 */ tessellator.startDrawingQuads(); /* 267:288 */ tessellator.addVertexWithUV(i / 2 - 2 * j, j, -90.0D, 0.0D, 1.0D); /* 268:289 */ tessellator.addVertexWithUV(i / 2 + 2 * j, j, -90.0D, 1.0D, 1.0D); /* 269:290 */ tessellator.addVertexWithUV(i / 2 + 2 * j, 0.0D, -90.0D, 1.0D, 0.0D); /* 270:291 */ tessellator.addVertexWithUV(i / 2 - 2 * j, 0.0D, -90.0D, 0.0D, 0.0D); /* 271:292 */ tessellator.draw(); /* 272:293 */ GL11.glDepthMask(true); /* 273:294 */ GL11.glEnable(2929); /* 274:295 */ GL11.glEnable(3008); /* 275:296 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* 276: */ } /* 277: */ } /* 278: */ /* 279: */ private void drawSlotInventory(FontRenderer fontRenderer, ItemStack itemstack, int i, int j) /* 280: */ { /* 281:302 */ if ((itemstack == null) || (itemstack.getItem() == null)) { /* 282:303 */ return; /* 283: */ } /* 284:304 */ itemRenderer.renderItemIntoGUI(fontRenderer, FlansModClient.minecraft.renderEngine, itemstack, i, j); /* 285:305 */ itemRenderer.renderItemOverlayIntoGUI(fontRenderer, FlansModClient.minecraft.renderEngine, itemstack, i, j); /* 286: */ } /* 287: */ /* 288: */ public static void addKillMessage(InfoType infoType, String killer, String killed) /* 289: */ { /* 290:310 */ for (KillMessage killMessage : killMessages) /* 291: */ { /* 292:312 */ killMessage.line += 1; /* 293:313 */ if (killMessage.line > 10) { /* 294:314 */ killMessage.timer = 0; /* 295: */ } /* 296: */ } /* 297:316 */ killMessages.add(new KillMessage(infoType, killer, killed)); /* 298: */ } /* 299: */ /* 300:319 */ private static RenderItem itemRenderer = new RenderItem(); /* 301:320 */ private static List <killmessage>killMessages = new ArrayList(); /* 302: */ /* 303: */ private static class KillMessage /* 304: */ { /* 305: */ public String killerName; /* 306: */ public String killedName; /* 307: */ public InfoType weapon; /* 308: */ public int timer; /* 309: */ public int line; /* 310: */ /* 311: */ public KillMessage(InfoType infoType, String killer, String killed) /* 312: */ { /* 313:326 */ this.killerName = killer; /* 314:327 */ this.killedName = killed; /* 315:328 */ this.weapon = infoType; /* 316:329 */ this.line = 0; /* 317:330 */ this.timer = 200; /* 318: */ } /* 319: */ } /* 320: */ }
P-S: si j’efface l’enregistrement du message de mort, il n’apparaîtra pas non ?</killmessage>
-
C’est une erreur de décompilation.
Et tu es sérieux la ?
Tu as décompilé flan’s mod alors qu’il est open source ?
https://github.com/FlansMods/FlansMod -
Wait……ça sort ou ça !!! Je savais pas qu’il n’était open source…Enfin bref le backpack mod ne l’étant pas, ce sujet auras servis a quelque chose…Merci robin