SimCraft for Minecraft

!!

Welcome Guest

Dear visitor, welcome to MC Port Central. If this is your first visit here,  you should consider registering to show your support.   By registering you will give us an idea and clear indication of how in demand our work really are and will motivate our porting team to continue there work. We port vanilla mods to Bukkit and you will also find a lot of other related Minecraft material on our Forum.

Author Topic: [1.2.5][MCPC169] Modern Warfare v1.0.3  (Read 7676 times)

gjz010

  • Newbie
  • *
  • Posts: 6
[1.2.5][MCPC169] Modern Warfare v1.0.3
« on: July 10, 2012, 02:53:18 AM »
Warning:This port is too buggy.Only for debugging.
Now Working on 1.0.4

Source Available on GitHub!https://github.com/gjz010/Modern-Warfare-Port
Permission:
THANKS TO dretax!He asked the permission for me.

Original thread:http://www.minecraftforum.net/topic/1324691-125-smp-forge-modern-warfare-an-unofficial-continuation-of-sdks-mods-forge-no-longer-required/

Port:
http://dl.dropbox.com/u/49217173/Other%20Ports/Modern%20Warfare%20v1.0.3-mcpc-port-169.zipFixing.You can have it to debug.
R2:https://dl.dropbox.com/u/49217173/Other%20Ports/Modern%20Warfare%20v1.0.3-mcpc-port-169-r2.zipBUGGY!ONLY FOR DEBUG!
Additional information:
ONLY Modern Warfare v1.0.3(Without Obsidian and Coffee)
NOT TESTED because of the time.Please report the bugs!
UNZIP IT IN mods/ModernWarfare FOLDER!
R2:Bugfix(net.minecraft.src.*->net.minecraft.server.*)
« Last Edit: July 23, 2012, 11:40:32 AM by gjz010 »

MC Port Central

  • Global Moderator
  • Newbie
  • *****
  • Posts: 0
[1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #1 on: July 10, 2012, 02:53:18 AM »
Auto Respond

Please remember to follow the rules:
Bugs are reported here
Mod requests belong in this section

PicSoul

  • Newbie
  • *
  • Posts: 19
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #2 on: July 10, 2012, 04:56:07 AM »
Shooting at animals gives me this error.

Spoiler
22:22:34 [SEVERE] Unexpected exception
java.lang.RuntimeException: java.lang.RuntimeException: Aidan, you forgot to upd
ate your obfuscated reflection!
        at cpw.mods.fml.server.FMLBukkitHandler.raiseException(FMLBukkitHandler.
java:270)
        at net.minecraft.server.ModLoader.throwException(ModLoader.java:765)
        at uberkat.war.WarTools.ThrowException(WarTools.java:426)
        at uberkat.war.WarTools.attackEntityIgnoreDelay(WarTools.java:413)
        at uberkat.war.EntityBullet.F_(EntityBullet.java:324)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1286)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:1
11)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1268)
        at net.minecraft.server.World.tickEntities(World.java:1164)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.RuntimeException: Aidan, you forgot to update your obfuscat
ed reflection!
        at cpw.mods.fml.common.ReflectionHelper.getPrivateValue(ReflectionHelper
.java:59)
        at net.minecraft.server.ModLoader.getPrivateValue(ModLoader.java:383)
        at uberkat.war.WarTools.attackEntityIgnoreDelay(WarTools.java:396)
        ... 8 more
Caused by: java.lang.NoSuchFieldException: naturalArmorRating
        at java.lang.Class.getDeclaredField(Unknown Source)
        at cpw.mods.fml.common.ReflectionHelper.getPrivateValue(ReflectionHelper
.java:49)
        ... 10 more
>





Pressing the I key causes this error

Spoiler
00:07:01 [SEVERE] ALERT: SERIOUS BUKKIT PORTING ERROR. net.minecraft.server.Cont
ainerPlayer (true) or uberkat.war.ContainerAtv (false) is a container that does
not provide a valid player and inventory to bukkit.
The mod porter needs to provide a player through getPlayer() and an IInventory t
hrough getInventory().
You may encounter issues. File a bug with this message at mcportcentral.co.za, p
lease.
java.lang.Throwable
        at net.minecraft.server.Container.transferTo(Container.java:40)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEvent
(CraftEventFactory.java:486)
        at net.minecraft.server.EntityHuman.openGui(EntityHuman.java:1339)
        at net.minecraft.server.mod_ModernWarfare.onPacketData(mod_ModernWarfare
.java:1334)
        at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:431)

        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1361)
        at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:8
3)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

00:07:01 [WARNING] Failed to handle packet: java.lang.NullPointerException
java.lang.NullPointerException
        at net.minecraft.server.Slot.getItem(Slot.java:43)
        at net.minecraft.server.Container.b(Container.java:88)
        at net.minecraft.server.Container.addSlotListener(Container.java:79)
        at net.minecraft.server.EntityHuman.openGui(EntityHuman.java:1348)
        at net.minecraft.server.mod_ModernWarfare.onPacketData(mod_ModernWarfare
.java:1334)
        at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:431)

        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1361)
        at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:8
3)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
>
« Last Edit: July 10, 2012, 06:13:18 AM by PicSoul »

Ghaz_ranka

  • Server Owners/Moderators
  • Full Member
  • *
  • Posts: 239
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #3 on: July 10, 2012, 05:26:19 AM »
Cant see:
rockets in mid air
grenades
smoke from smoke grenade
Fire from flame thrower
ATV when placed on ground
GUI for craftingpack
Grable hook as it flys

Flame thrower doesn't light stuff on fire

This error:
Spoiler
20:31:01 [SEVERE] There was a problem getting field naturalArmorRating from net.minecraft.src.EntityLiving
20:31:02 [SEVERE] java.lang.RuntimeException: java.lang.RuntimeException: Aidan, you forgot to update your obfuscated reflection!
20:31:02 [SEVERE]    at cpw.mods.fml.server.FMLBukkitHandler.raiseException(FMLBukkitHandler.java:270)
20:31:02 [SEVERE]    at net.minecraft.server.ModLoader.throwException(ModLoader.java:765)
20:31:02 [SEVERE]    at uberkat.war.WarTools.ThrowException(WarTools.java:426)
20:31:02 [SEVERE]    at uberkat.war.WarTools.attackEntityIgnoreDelay(WarTools.java:413)
20:31:02 [SEVERE]    at uberkat.war.EntityBullet.F_(EntityBullet.java:324)
20:31:02 [SEVERE]    at net.minecraft.server.World.entityJoinedWorld(World.java:1286)
20:31:02 [SEVERE]    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:111)
20:31:02 [SEVERE]    at net.minecraft.server.World.playerJoinedWorld(World.java:1268)
20:31:02 [SEVERE]    at net.minecraft.server.World.tickEntities(World.java:1164)
20:31:02 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569)
20:31:02 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
20:31:02 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
20:31:02 [SEVERE] Caused by: java.lang.RuntimeException: Aidan, you forgot to update your obfuscated reflection!
20:31:02 [SEVERE]    at cpw.mods.fml.common.ReflectionHelper.getPrivateValue(ReflectionHelper.java:59)
20:31:02 [SEVERE]    at net.minecraft.server.ModLoader.getPrivateValue(ModLoader.java:383)
20:31:02 [SEVERE]    at uberkat.war.WarTools.attackEntityIgnoreDelay(WarTools.java:396)
20:31:02 [SEVERE]    ... 8 more
20:31:02 [SEVERE] Caused by: java.lang.NoSuchFieldException: naturalArmorRating
20:31:02 [SEVERE]    at java.lang.Class.getDeclaredField(Class.java:1882)
20:31:02 [SEVERE]    at cpw.mods.fml.common.ReflectionHelper.getPrivateValue(ReflectionHelper.java:49)
20:31:02 [SEVERE]    ... 10 more
20:31:02 [SEVERE] Unexpected exception
java.lang.RuntimeException: java.lang.RuntimeException: Aidan, you forgot to update your obfuscated reflection!
   at cpw.mods.fml.server.FMLBukkitHandler.raiseException(FMLBukkitHandler.java:270)
   at net.minecraft.server.ModLoader.throwException(ModLoader.java:765)
   at uberkat.war.WarTools.ThrowException(WarTools.java:426)
   at uberkat.war.WarTools.attackEntityIgnoreDelay(WarTools.java:413)
   at uberkat.war.EntityBullet.F_(EntityBullet.java:324)
   at net.minecraft.server.World.entityJoinedWorld(World.java:1286)
   at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:111)
   at net.minecraft.server.World.playerJoinedWorld(World.java:1268)
   at net.minecraft.server.World.tickEntities(World.java:1164)
   at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.RuntimeException: Aidan, you forgot to update your obfuscated reflection!
   at cpw.mods.fml.common.ReflectionHelper.getPrivateValue(ReflectionHelper.java:59)
   at net.minecraft.server.ModLoader.getPrivateValue(ModLoader.java:383)
   at uberkat.war.WarTools.attackEntityIgnoreDelay(WarTools.java:396)
   ... 8 more
Caused by: java.lang.NoSuchFieldException: naturalArmorRating
   at java.lang.Class.getDeclaredField(Class.java:1882)
   at cpw.mods.fml.common.ReflectionHelper.getPrivateValue(ReflectionHelper.java:49)
   ... 10 more
« Last Edit: July 10, 2012, 05:30:18 AM by Ghaz_ranka »

IUkorea

  • Full Member
  • ***
  • Posts: 124
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #4 on: July 10, 2012, 07:01:05 AM »
sounds like........
SDK gun mod in bukkit 1.1... = =

dretax

  • Jr. Member
  • **
  • Posts: 55
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #5 on: July 10, 2012, 07:33:01 AM »
Hey! You are awesome! Thank's for making my request :)

IUkorea

  • Full Member
  • ***
  • Posts: 124
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #6 on: July 10, 2012, 07:40:45 AM »
Hey! You are awesome! Thank's for making my request :)
but super bugged... Only can shoot sky or blocks, not mobs :(

dretax

  • Jr. Member
  • **
  • Posts: 55
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #7 on: July 10, 2012, 07:52:18 AM »
Yeah :D there is a problem when you shot you get this error: http://pastie.org/4229954

If you shot with rocket launcher you get bugged a little.
I dunno but i can see the flashbang and the smoke grenade effect too.

ATV is a lil buggie when you place it down and get off from it but i think thats the offical mod's bug.

Got this when i was using jetpack.(It worked) http://pastie.org/4229975
Craftingpack has a lil bug.Cant craft in it :D

Flamethrower will burn you, throwing system is a lil buggie.

Thats all i got :D
« Last Edit: July 10, 2012, 08:01:47 AM by dretax »

gjz010

  • Newbie
  • *
  • Posts: 6
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #8 on: July 10, 2012, 08:03:37 AM »
OK.I'm fixing it.

dretax

  • Jr. Member
  • **
  • Posts: 55
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #9 on: July 10, 2012, 08:05:59 AM »
Thank's :)

dretax

  • Jr. Member
  • **
  • Posts: 55
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #10 on: July 11, 2012, 11:42:16 AM »

dretax

  • Jr. Member
  • **
  • Posts: 55
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #11 on: July 11, 2012, 11:47:56 AM »

IUkorea

  • Full Member
  • ***
  • Posts: 124
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #12 on: July 11, 2012, 04:05:34 PM »
r2 is same....

press i is bugged (wtf?)

Ghaz_ranka

  • Server Owners/Moderators
  • Full Member
  • *
  • Posts: 239
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #13 on: July 12, 2012, 04:34:01 AM »
Bullets just don't work on R2 shooting at glass and mobs and it does nothing. Flame thrower still doesn't show flames. Can't see grenades etc..

dretax

  • Jr. Member
  • **
  • Posts: 55
Re: [1.2.5][MCPC169] Modern Warfare v1.0.3
« Reply #14 on: July 12, 2012, 05:38:51 PM »
Hopefully there will be a stable port version before july 14
Maybe with 1.0.4

1.0.4

*Fixed bug where pressing 'I' while not in ATV crashes game. [Forge]
*Fixed bug where packets stop working [Forge]
*Code cleanup [Forge]
« Last Edit: July 12, 2012, 05:42:22 PM by dretax »