Jump to content

[1.8] send package to the Local world error <SOLVED>


perromercenary00

Recommended Posts

goodays

 

i could fix mi class to send packages to the server side from client now i making the other one the one to send packages from the server to the client  but has an error and the package dont'n reach the target entity

 

and i think is here in the line 260

 

the class whith the trouble is here

https://gist.github.com/anonymous/026260692f53be92f3be

 

and the working counter part for the server messages

https://gist.github.com/anonymous/f677411edf035ee650e2

 

 

 

	//IThreadListener mainThread = (WorldServer) ctx.getServerHandler().playerEntity.worldObj; // or Minecraft.getMinecraft().thePlayer.worldObj on the client			
	IThreadListener mainThread = (WorldServer) Minecraft.getMinecraft().thePlayer.worldObj; // or ctx.getServerHandler().playerEntity.worldObj on server 

 

how must be declare this line to get a IThreadListener in the local client  side

 

Full error out put

[Console output redirected to file:/home/usuario/eclipseOutput.txt]
Picked up _JAVA_OPTIONS: -Xmx2g
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[14:01:19] [main/INFO] [GradleStart]: Extra: []
[14:01:19] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/usuario/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[14:01:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[14:01:19] [main/INFO] [FML]: Forge Mod Loader version 11.14.3.1520 for Minecraft 1.8 loading
[14:01:19] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_65, running on Linux:amd64:3.16.0-4-amd64, installed at /opt/jdk1.8.0_65/jre
[14:01:19] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[14:01:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:01:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[14:01:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[14:01:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:01:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:01:20] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[14:01:21] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[14:01:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:01:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:01:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:01:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:01:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:01:21] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:01:22] [Client thread/INFO]: Setting user: Player639
[14:01:28] [Client thread/INFO]: LWJGL Version: 2.9.1
[14:01:29] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 7/03/16 02:01 PM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Linux (amd64) version 3.16.0-4-amd64
Java Version: 1.8.0_65, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 886997208 bytes (845 MB) / 1056309248 bytes (1007 MB) up to 2130051072 bytes (2031 MB)
JVM Flags: 4 total; -Xincgc -Xmx1024M -Xms1024M -Xmx2g
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
Loaded coremods (and transformers): 
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.4.0 NVIDIA 340.93' Renderer: 'GeForce GT 520/PCIe/SSE2'
[14:01:29] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[14:01:29] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1520 Initialized
[14:01:29] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[14:01:29] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[14:01:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[14:01:30] [Client thread/INFO] [FML]: Searching /home/usuario/Modding/forge-1.8-1520-modmercenario/run/mods for mods
[14:01:30] [Client thread/INFO] [modmercenario]: Mod modmercenario is missing the required element 'name'. Substituting modmercenario
[14:01:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[14:01:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modmercenario] at CLIENT
[14:01:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modmercenario] at SERVER
[14:01:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:modmercenario
[14:01:37] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[14:01:37] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[14:01:37] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[14:01:37] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:01:37] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:01:40] [Client thread/INFO] [FML]: Applying holder lookups
[14:01:40] [Client thread/INFO] [FML]: Holder lookups applied
[14:01:40] [Client thread/INFO] [FML]: Injecting itemstacks
[14:01:40] [Client thread/INFO] [FML]: Itemstack injection complete
[14:01:40] [Client thread/INFO] [sTDOUT]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
[14:01:40] [Client thread/ERROR]: Couldn't initialize twitch stream
[14:01:40] [sound Library Loader/INFO]: Starting up SoundSystem...
[14:01:41] [Thread-8/INFO]: Initializing LWJGL OpenAL
[14:01:41] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:01:41] [Thread-8/INFO]: OpenAL initialized.
[14:01:41] [sound Library Loader/INFO]: Sound engine started
[14:01:45] [Client thread/INFO] [FML]: Max texture size: 16384
[14:01:45] [Client thread/INFO]: Created: 16x16 textures-atlas
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistola1911colt_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:lanzagranadas79M_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:verticalTrapdoorM00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:subfusilMP5T5_9mm#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t01#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=true,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:lectorDeTarjetas#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=west not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:arcoMercenarioDeMadera_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limpiarCirculo#normal not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=down not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=true,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:arcoMercenario_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=false,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=true,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t02#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin00_blocke#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t03#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:revolverMagnum_45acp#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limpiarCirculo#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=true,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoBackpack00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=east not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=false,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=north not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaMauserC92#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=false,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaDesertEagle_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t04#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=true,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaMauserC92_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoCarcaj#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaRedClub_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=false,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:taladroPerforador#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:esmeraldaGrandeBlocke#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=true,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=false,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin01_blocke#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t05#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:c4#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=false,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=south not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocomS_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaFM92_9mm#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:copiarExtructura#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:revolverMagnum_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin01#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:aireSolido01#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t06#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistola1911colt_45acp#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=false,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:radioMercenario00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=false,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=true,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:esmeraldaMediana#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:vallestaMercenaria_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:aireNoSolido00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:esmeraldaGrande#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:escopetaSPAS12_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabRobleOscuro00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=false,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=false,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:relogDelaPuerta#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=true,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaDesertEagle_45acp#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=true,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=true,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pantalonDeMercader00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:vallestaMercenariaDeMadera_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=true,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t07#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabAbedul00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:copiarExtructura#normal not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocom_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabAcacia00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:subfusil57ar_5728#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabRoble00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabPicea00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocomS#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabJungla00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaMercenaria00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaFM93R_9mm#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=false,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:subfusilAresFMG_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=false,powered=true not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:subfusil90PNF_5728#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t08#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:levelCard#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoBackpack01#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:aireSolido00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:bandanaRoja#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocom#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t00#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:baseDelAsensor#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=up not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puertaMercenaria3x3#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t09#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:escopetaWinchester1200_Dummy#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=true,powered=false not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:idDeBlockes#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoBackpack02#inventory not found
[14:01:46] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistola57NF_5728#inventory not found
[14:01:48] [Client thread/INFO] [FML]: Injecting itemstacks
[14:01:48] [Client thread/INFO] [FML]: Itemstack injection complete
[14:01:48] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[14:01:48] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:modmercenario
[14:01:48] [Client thread/INFO]: SoundSystem shutting down...
[14:01:48] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[14:01:48] [sound Library Loader/INFO]: Starting up SoundSystem...
[14:01:49] [Thread-10/INFO]: Initializing LWJGL OpenAL
[14:01:49] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:01:49] [Thread-10/INFO]: OpenAL initialized.
[14:01:49] [sound Library Loader/INFO]: Sound engine started
[14:01:51] [Client thread/INFO] [FML]: Max texture size: 16384
[14:01:53] [Client thread/WARN]: Texture modmercenario:textures/blocks/ascensor/ascensorbase.png with size 24x24 limits mip level from 4 to 3
[14:01:56] [Client thread/INFO]: Created: 4096x4096 textures-atlas
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistola1911colt_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:fusil200akg/fusilM4A1G_CC_LA01#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:lanzagranadas79M_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:verticalTrapdoorM00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t01#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:fusil200akg/fusilM4A1G_CL_LA00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=true,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:lectorDeTarjetas#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=west not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:arcoMercenarioDeMadera_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limpiarCirculo#normal not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=down not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=true,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:fusil200akg/fusilM4A1G_CC_LA00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:arcoMercenario_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=false,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=true,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:extructuras/pegarExtructura#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t02#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin00_blocke#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t03#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:fusil200akg/fusilM4A1G_CL_LA01#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limpiarCirculo#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=true,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoBackpack00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=east not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=false,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=north not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=false,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaDesertEagle_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t04#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=true,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaMauserC92_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoCarcaj#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaRedClub_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:extructuras/copiarExtructura#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=false,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:esmeraldaGrandeBlocke#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=true,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:fusil200akg/fusilM4A1G_CC_LA02#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=false,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin01_blocke#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t05#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:c4#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=false,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=south not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocomS_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:copiarExtructura#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:revolverMagnum_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:maletin01#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:aireSolido01#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t06#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=north,open=false,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:radioMercenario00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=false,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=true,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:esmeraldaMediana#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:vallestaMercenaria_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:aireNoSolido00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:esmeraldaGrande#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:escopetaSPAS12_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabRobleOscuro00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=false,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=false,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:relogDelaPuerta#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=true,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=true,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:armaduras/pantalonDeMercader00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=down,open=true,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pantalonDeMercader00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:vallestaMercenariaDeMadera_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=east,open=true,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t07#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabAbedul00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:copiarExtructura#normal not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocom_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabAcacia00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabRoble00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabPicea00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaSocomS#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:slabJungla00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:pistolaMercenaria00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=west,open=false,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:subfusilAresFMG_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=south,open=false,powered=true not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t08#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:fusil200akg/fusilM4A1G_CL_LA02#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:itemblockes/girable#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoBackpack01#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:aireSolido00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:bandanaRoja#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t00#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:baseDelAsensor#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:limiteDelAsensor#facing=up not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:puerta3x3t09#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:escopetaWinchester1200_Dummy#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:motorDelAscensor#facing=up,open=true,powered=false not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:idDeBlockes#inventory not found
[14:02:02] [Client thread/ERROR] [FML]: Model definition for location modmercenario:chalecoBackpack02#inventory not found
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN modmercenario
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:   domain modmercenario is missing 6 textures
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:     domain modmercenario has 1 location:
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       mod modmercenario resources at /home/usuario/Modding/forge-1.8-1520-modmercenario/bin
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain modmercenario are:
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/puertas/spruce_Borde00.png
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/puertas/spruce_Doble00.png
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/explosivos/perforacionConExplosivo.png
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/charcoal.png
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/armasdefuego/COLT1911/fire_layer_1.png
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/armasdefuego/cargador76239/cargador76239_CG.png
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain modmercenario
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[14:02:02] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[14:02:12] [server thread/INFO]: Starting integrated minecraft server version 1.8
[14:02:12] [server thread/INFO]: Generating keypair
[14:02:12] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[14:02:12] [server thread/INFO] [FML]: Applying holder lookups
[14:02:12] [server thread/INFO] [FML]: Holder lookups applied
[14:02:13] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@45c8cfde)
[14:02:13] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@45c8cfde)
[14:02:13] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@45c8cfde)
[14:02:13] [server thread/INFO]: Preparing start region for level 0
[14:02:14] [server thread/INFO]: Preparing spawn area: 9%
[14:02:15] [server thread/INFO]: Preparing spawn area: 59%
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:333]: Enviando mensaje desde el mundo=false
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:333]: Enviando mensaje desde el mundo=false
[14:02:17] [server thread/INFO]: Changing view distance to 4, from 10
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=false
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=0
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=0
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=false
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=0
[14:02:17] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=0
[14:02:18] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=false
[14:02:18] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=0
[14:02:18] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=0
[14:02:18] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=false
[14:02:18] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=0
[14:02:18] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=0
[14:02:19] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[14:02:19] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[14:02:19] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[14:02:19] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[14:02:19] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[14:02:19] [server thread/INFO]: Player639[local:E:19193a5b] logged in with entity id 309 at (68.30000001192093, 18.0, -196.00709476346518)
[14:02:19] [server thread/INFO]: Player639 joined the game
[14:02:19] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.tickHandlerArmas:onEntityJoinToWorld:281]: 









[14:02:19] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.tickHandlerArmas:onEntityJoinToWorld:282]: dif=NORMAL
[14:02:19] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.tickHandlerArmas:onEntityJoinToWorld:281]: 









[14:02:19] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.tickHandlerArmas:onEntityJoinToWorld:282]: dif=NORMAL
[14:02:20] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3255ms behind, skipping 65 tick(s)
[14:02:21] [server thread/INFO]: Saving and pausing game...
[14:02:21] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[14:02:21] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[14:02:21] [server thread/INFO]: Saving chunks for level 'New World'/The End
[14:02:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=true
[14:02:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=0
[14:02:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=0
[14:02:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=true
[14:02:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=0
[14:02:32] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=0
[14:02:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=true
[14:02:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=0
[14:02:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=0
[14:02:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=true
[14:02:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=0
[14:02:33] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=0
[14:02:35] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.armaMercenaria00:onItemRightClick:222]: 


onItemRightClick mundo=false
[14:02:35] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.armaMercenaria00:onItemRightClick:223]:  ser=0 eam ser=0 id=418
[14:02:35] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:333]: Enviando mensaje desde el mundo=false
[14:02:35] [Netty Local Client IO #0/INFO] [sTDOUT]: [mercenarymod.eventos.mensajeMercenarioalMundo:fromBytes:89]: capacidad =13
[14:02:35] [Netty Local Client IO #0/ERROR] [FML]: SimpleChannelHandlerWrapper exception
java.lang.ClassCastException: net.minecraft.client.multiplayer.WorldClient cannot be cast to net.minecraft.world.WorldServer
at mercenarymod.eventos.mensajeMercenarioalMundo$Handler0.onMessage(mensajeMercenarioalMundo.java:260) ~[mensajeMercenarioalMundo$Handler0.class:?]
at mercenarymod.eventos.mensajeMercenarioalMundo$Handler0.onMessage(mensajeMercenarioalMundo.java:1) ~[mensajeMercenarioalMundo$Handler0.class:?]
at net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37) ~[simpleChannelHandlerWrapper.class:?]
at net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17) ~[simpleChannelHandlerWrapper.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) ~[simpleChannelInboundHandler.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:4.0.15.Final]
at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:4.0.15.Final]
at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:4.0.15.Final]
at net.minecraftforge.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:88) [FMLProxyPacket.class:?]
at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:144) [NetworkManager.class:?]
at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:469) [NetworkManager.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) [simpleChannelInboundHandler.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [DefaultChannelHandlerContext.class:4.0.15.Final]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:382) [NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:249) [NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:50) [NetworkDispatcher.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) [simpleChannelInboundHandler.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:4.0.15.Final]
at io.netty.channel.local.LocalChannel.finishPeerRead(LocalChannel.java:312) [LocalChannel.class:4.0.15.Final]
at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:44) [LocalChannel.class:4.0.15.Final]
at io.netty.channel.local.LocalChannel$6.run(LocalChannel.java:298) [LocalChannel$6.class:4.0.15.Final]
at io.netty.channel.local.LocalEventLoop.run(LocalEventLoop.java:33) [LocalEventLoop.class:4.0.15.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [singleThreadEventExecutor$2.class:4.0.15.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
[14:02:35] [Netty Local Client IO #0/ERROR] [FML]: There was a critical exception handling a packet on channel canalM00
java.lang.ClassCastException: net.minecraft.client.multiplayer.WorldClient cannot be cast to net.minecraft.world.WorldServer
at mercenarymod.eventos.mensajeMercenarioalMundo$Handler0.onMessage(mensajeMercenarioalMundo.java:260) ~[mensajeMercenarioalMundo$Handler0.class:?]
at mercenarymod.eventos.mensajeMercenarioalMundo$Handler0.onMessage(mensajeMercenarioalMundo.java:1) ~[mensajeMercenarioalMundo$Handler0.class:?]
at net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37) ~[simpleChannelHandlerWrapper.class:?]
at net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17) ~[simpleChannelHandlerWrapper.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) ~[simpleChannelInboundHandler.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) ~[DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) ~[DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[MessageToMessageDecoder.class:4.0.15.Final]
at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) ~[DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) ~[DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:4.0.15.Final]
at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:4.0.15.Final]
at net.minecraftforge.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:88) [FMLProxyPacket.class:?]
at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:144) [NetworkManager.class:?]
at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:469) [NetworkManager.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) [simpleChannelInboundHandler.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [DefaultChannelHandlerContext.class:4.0.15.Final]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:382) [NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:249) [NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:50) [NetworkDispatcher.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) [simpleChannelInboundHandler.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [DefaultChannelHandlerContext.class:4.0.15.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:4.0.15.Final]
at io.netty.channel.local.LocalChannel.finishPeerRead(LocalChannel.java:312) [LocalChannel.class:4.0.15.Final]
at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:44) [LocalChannel.class:4.0.15.Final]
at io.netty.channel.local.LocalChannel$6.run(LocalChannel.java:298) [LocalChannel$6.class:4.0.15.Final]
at io.netty.channel.local.LocalEventLoop.run(LocalEventLoop.java:33) [LocalEventLoop.class:4.0.15.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [singleThreadEventExecutor$2.class:4.0.15.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
[14:02:35] [server thread/INFO]: Player639 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[14:02:35] [server thread/INFO]: Player639 left the game
[14:02:35] [server thread/INFO]: Stopping singleplayer server as player logged out
[14:02:35] [server thread/INFO]: Stopping server
[14:02:35] [server thread/INFO]: Saving players
[14:02:35] [server thread/INFO]: Saving worlds
[14:02:35] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[14:02:35] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[14:02:35] [server thread/INFO]: Saving chunks for level 'New World'/The End
[14:02:36] [server thread/INFO] [FML]: Unloading dimension 0
[14:02:36] [server thread/INFO] [FML]: Unloading dimension -1
[14:02:36] [server thread/INFO] [FML]: Unloading dimension 1
[14:02:36] [server thread/INFO] [FML]: Applying holder lookups
[14:02:36] [server thread/INFO] [FML]: Holder lookups applied

 

 

thanks for reading

Link to comment
Share on other sites

thanks for reply

 

i leave it like this

 

IThreadListener mainThread = Minecraft.getMinecraft();

 

and now get

 

net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer

 

[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.armaMercenaria00:onItemRightClick:222]: 


onItemRightClick mundo=false
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.armaMercenaria00:onItemRightClick:223]:  ser=0 eam ser=0 id=377
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:333]: Enviando mensaje desde el mundo=false
[15:04:07] [Netty Local Client IO #0/INFO] [sTDOUT]: [mercenarymod.eventos.mensajeMercenarioalMundo:fromBytes:89]: capacidad =13
[15:04:07] [Netty Local Client IO #0/INFO] [sTDOUT]: [mercenarymod.eventos.mensajeMercenarioalMundo:fromBytes:89]: capacidad =13
[15:04:07] [Client thread/FATAL] [FML]: Exception caught executing FutureTask: java.util.concurrent.ExecutionException: java.lang.ClassCastException: net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer
java.util.concurrent.ExecutionException: java.lang.ClassCastException: net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_65]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_65]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:715) [FMLCommonHandler.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1077) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: java.lang.ClassCastException: net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer
at net.minecraftforge.fml.common.network.simpleimpl.MessageContext.getServerHandler(MessageContext.java:36) ~[MessageContext.class:?]
at mercenarymod.eventos.mensajeMercenarioalMundo$Handler0$1.run(mensajeMercenarioalMundo.java:279) ~[mensajeMercenarioalMundo$Handler0$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_65]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]
... 15 more
[15:04:07] [Client thread/FATAL] [FML]: Exception caught executing FutureTask: java.util.concurrent.ExecutionException: java.lang.ClassCastException: net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer
java.util.concurrent.ExecutionException: java.lang.ClassCastException: net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_65]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_65]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:715) [FMLCommonHandler.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1077) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: java.lang.ClassCastException: net.minecraft.client.network.NetHandlerPlayClient cannot be cast to net.minecraft.network.NetHandlerPlayServer
at net.minecraftforge.fml.common.network.simpleimpl.MessageContext.getServerHandler(MessageContext.java:36) ~[MessageContext.class:?]
at mercenarymod.eventos.mensajeMercenarioalMundo$Handler0$1.run(mensajeMercenarioalMundo.java:279) ~[mensajeMercenarioalMundo$Handler0$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_65]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]
... 15 more
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=false
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=305
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=0
[15:04:07] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=true
[15:04:07] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=0
[15:04:07] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=0
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=false
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=305
[15:04:07] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=0
[15:04:07] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=true
[15:04:07] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=0
[15:04:07] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=0
[15:04:09] [server thread/INFO]: Saving and pausing game...
[15:04:09] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[15:04:09] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[15:04:09] [server thread/INFO]: Saving chunks for level 'New World'/The End

 

long ago in 1.7 have the same trouble but not remenber how i solve this

may it must add something else

Link to comment
Share on other sites

sip eso era

 

i pass over the  EntityPlayer playerIn = ctx.getServerHandler().playerEntity; like five times whithout notice

 

know i have another doub to test it im sending 2 packets from the server side of this entity to the local side

but only the second reach to System.out.println() i set in mensajeMercenarioalMundo.class

i could be posible than i only cand send a package per tick ,or is something wrong whith my code

 

in this test i'm seting the values of serial(numerodeserie) and shotinInId  the two are int values

and i'm sending one afther the other from server to client but only the second one reach the client side

 

// #################################################################################################################
@Override
/**
 * Called to update the entity's position/logic.
 */
public void onUpdate() {
	super.onUpdate();

	World mundo = this.worldObj;
	boolean mundoB = mundo.isRemote; 

	boolean habilitado = false;


	if ( ticksExisted == 0)
	{
	boolean matar = false;


	if (!mundoB)
	{
		System.out.println("Enviando mensaje desde el mundo="+mundoB);

		Mercenary.network.sendToAll(new mensajeMercenarioalMundo( this.getEntityId(), (byte)0 , this.shotinInID  ) );
		Mercenary.network.sendToAll(new mensajeMercenarioalMundo( this.getEntityId(), (byte)2 , this.numerodeserie  ) );
	}


	}


	if ( ticksExisted == 2)
	{
		System.out.println("onUpdate(2) mundo="+mundoB);
		System.out.println("shotinInID="+shotinInID);
		System.out.println("numerodeserie="+numerodeserie);
	}



	if ( ticksExisted == 10)
	{
		System.out.println("onUpdate(10) mundo="+mundoB);
		System.out.println("shotinInID="+shotinInID);
		System.out.println("numerodeserie="+numerodeserie);
	}


	if ( ticksExisted == 200)
	{
		this.setDead();
	}

 

in the console i get

 


//server side this are the values im sending shotinInID=306 and numerodeserie=66002548
[17:33:55] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=false
[17:33:56] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=306
[17:33:56] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=66002548

//but here only got numerodeserie=66002548 and shotinInID remain in zero
[17:33:56] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:344]: onUpdate(2) mundo=true
[17:33:56] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:345]: shotinInID=0
[17:33:56] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:346]: numerodeserie=66002548


[17:33:56] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=false
[17:33:56] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=306
[17:33:56] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=66002548


[17:33:56] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:353]: onUpdate(10) mundo=true
[17:33:56] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:354]: shotinInID=0
[17:33:56] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:355]: numerodeserie=66002548

 

thanks for reading

Link to comment
Share on other sites

i just realize the error

i wass tinking like

public static class Handler0 implements IMessageHandler<mensajeMercenarioalServidor, IMessage> {

and

mensajeMercenarioalServidor  where only  methods from the same class, but are two diferent classes in the same file soo i wass asking the variables from class when i must take them from the object message

 

 

iu do this and fix the trouble

 

 

package mercenarymod.eventos;

import io.netty.buffer.ByteBuf;
import mercenarymod.Mercenary;
import net.minecraft.client.Minecraft;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.BlockPos;
import net.minecraft.util.IThreadListener;
import net.minecraft.world.World;
import net.minecraft.world.WorldServer;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;

//############################################################################################3
public class mensajeMercenarioalMundo implements IMessage {

private String texto0 = "000000";

private byte MODO = 0;

private int x = 0;
private int y = 0;
private int z = 0;

private int ID = 0;
private int VALOR = 0;
private int ENTITYID = 0;

// ############################################################################################3
public mensajeMercenarioalMundo() {
}

// ############################################################################################3
// send plain string
public mensajeMercenarioalMundo(String text) {
	this.MODO = 0;
	texto0 = text;
}

// ############################################################################################3
// send blockpos + id + VALOR
public mensajeMercenarioalMundo(BlockPos pos, byte id, int type) {
	this.MODO = 1;

	this.x = pos.getX();
	this.y = pos.getY();
	this.z = pos.getZ();
	this.ID = id;
	this.VALOR = type;

}

// ############################################################################################3
// send xyz + id + VALOR
public mensajeMercenarioalMundo(int x, int y, int z, byte id, int type) {
	this.MODO = 2;

	this.x = x;
	this.y = y;
	this.z = z;
	this.ID = id;
	this.VALOR = type;
}

// ############################################################################################3
// send entityId + id + VALOR
public mensajeMercenarioalMundo(int entityId, byte id, int type) {
	this.MODO = 3;

	this.ENTITYID = entityId;
	this.ID = id;
	this.VALOR = type;
}

// ############################################################################################3
// recibe the mesage and convert it again as
@Override
public void fromBytes(ByteBuf buf) {

	buf.capacity();

	System.out.println("capacidad =" + buf.capacity());

	this.MODO = buf.readByte();

	switch (MODO) {

	case 0: {
		setText(ByteBufUtils.readUTF8String(buf));
	}
		;
		break;

	case 1:
	case 2: {

		this.x = buf.readInt();
		this.y = buf.readInt();
		this.z = buf.readInt();

		this.ID = buf.readInt();
		this.VALOR = buf.readInt();

	}
		;
		break;

	case 3: {

		this.ENTITYID = buf.readInt();
		this.ID = buf.readInt();
		this.VALOR = buf.readInt();

	}
		;
		break;

	}

	// // this class is very useful in general for writing more complex
	// objects
}

// ############################################################################################3
// Send text as byteBuf to the server side
@Override
public void toBytes(ByteBuf buf) {

	// ByteBufUtils.writeVarInt(buf, MODO, 4);

	// byte
	// 0 = modo

	// buf.clear();
	buf.writeByte(MODO);

	switch (MODO) {

	case 0: {
		ByteBufUtils.writeUTF8String(buf, getText());
	}
		;
		break;

	case 1:
	case 2: {
		buf.writeInt(x);
		buf.writeInt(y);
		buf.writeInt(z);

		buf.writeInt(ID);
		buf.writeInt(VALOR);
	}
		;
		break;

	case 3: {
		buf.writeInt(ENTITYID);
		buf.writeInt(ID);
		buf.writeInt(VALOR);
	}
		;
		break;

	}

	// ByteBufUtils.writeUTF8String(buf, getText());
}

// ############################################################################################3
public String getText() {
	return texto0;
}

public void setText(String text) {
	this.texto0 = text;
}

// #######
public byte getModo() {
	return MODO;
}

public void setModo(byte m) {
	this.MODO = m;
}

// #######
public int getX() {
	return x;
}

public void setX(int m) {
	this.x = m;
}

// #######
public int getY() {
	return y;
}

public void setY(int m) {
	this.y = m;
}

// #######
public int getZ() {
	return z;
}

public void setZ(int m) {
	this.z = m;
}

// #######
public int getENTITYID() {
	return ENTITYID;
}

public void setENTITYID(int m) {
	this.ENTITYID = m;
}

// #######
public int getID() {
	return ID;
}

public void setID(int m) {
	this.ID = m;
}

// #######
public int getVALOR() {
	return VALOR;
}

public void setVALOR(int m) {
	this.VALOR = m;
}

public static class Handler0 implements IMessageHandler<mensajeMercenarioalMundo, IMessage> {


	@Override
	public IMessage onMessage(final mensajeMercenarioalMundo message, final MessageContext ctx) {


		//IThreadListener mainThread = (WorldServer) ctx.getServerHandler().playerEntity.worldObj;			
		IThreadListener mainThread = Minecraft.getMinecraft()  ; 
            
			mainThread.addScheduledTask(new Runnable() {
                @Override
                public void run() {
        			
        			String texto0 = message.getText();
        			
        			byte MODO = message.getModo();

        			int x = message.getX();
        			int y = message.getY();
        			int z = message.getZ();

        			int ID = message.getID();
        			int VALOR = message.getVALOR();
        			int ENTITYID = message.getENTITYID();

  
        			EntityPlayer playerIn = Minecraft.getMinecraft().thePlayer;

        			switch (message.getModo()) {

        			case 0:
        				CambiarParametrosEnArmas.armas(playerIn, texto0);
        				;
        				break;

        			case 1:
        			case 2:

        				CambiarParametrosEnTileEntityes.te(playerIn, x, y, z, ID, VALOR);
        				;
        				break;
        				
         			case 3:
        				CambiarParametrosEnEntidades.en(ENTITYID, playerIn, ID, VALOR);
        				break;

        			}
        			//System.out.println( "\nMODO ="+MODO+" \nx="+x+" \ny="+y+" \nz="+z+" \nID="+ID+" \nVALOR="+VALOR+" \nENTITYID="+ENTITYID+" \ntexto0="+texto0 );
                }
            });





		return null;
	}

}

}

 

[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.eventos.mensajeMercenarioalMundo$Handler0$1:run:306]: 
MODO =3 
x=0 
y=0 
z=0 
ID=0 
VALOR=300 
ENTITYID=1630 
texto0=000000
[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.eventos.CambiarParametrosEnEntidades:en:16]: !!!!!!!!!! CambiarParametrosEnEntidades(true en=entity.modmercenario.entidadArmaMercenaria00.name)
[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:receiveClientEvent:155]: 
  receiveClientEvent(2, 66002548)  
rc mundo =net.minecraft.client.multiplayer.WorldClient@6e576b5a
[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.eventos.mensajeMercenarioalMundo$Handler0$1:run:306]: 
MODO =3 
x=0 
y=0 
z=0 
ID=2 
VALOR=66002548 
ENTITYID=1630 
texto0=000000
[21:08:24] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:348]: onUpdate(2) mundo=false
[21:08:24] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:349]: shotinInID=300
[21:08:24] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:350]: numerodeserie=66002548
[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:348]: onUpdate(2) mundo=true
[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:349]: shotinInID=300
[21:08:24] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:350]: numerodeserie=66002548
[21:08:25] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:357]: onUpdate(10) mundo=false
[21:08:25] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:358]: shotinInID=300
[21:08:25] [server thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:359]: numerodeserie=66002548
[21:08:25] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:357]: onUpdate(10) mundo=true
[21:08:25] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:358]: shotinInID=300
[21:08:25] [Client thread/INFO] [sTDOUT]: [mercenarymod.items.armasdefuego.armaMercenaria.entidadArmaMercenaria00:onUpdate:359]: numerodeserie=66002548
[21:10:14] [server thread/INFO]: Saving and pausing game...

 

so thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • so my minecraft crashes when opening my world, i played without any troubles for about 5 days and today it started tweaking.. pls help me
    • Hi guys! I am having some issues with the server crashing over and over and I was hoping to get some guidance.  Thanks in advance! Crash 1: java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05)     at net.minecraft.server.dedicated.ServerWatchdog.run(ServerWatchdog.java:43) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:classloading}     at java.lang.Thread.run(Thread.java:840) ~[?:?] { Crash 2: java.lang.IllegalStateException: Capability missing for eeb7f026-34b4-42f5-9164-e7736461df83     at me.lucko.luckperms.forge.capabilities.UserCapabilityImpl.lambda$get$0(UserCapabilityImpl.java:66) ~[?:?] {re:classloading,re:classloading,re:classloading}     at net.minecraftforge.common.util.LazyOptional.orElseThrow(LazyOptional.java:261) ~[forge-1.20.1-47.3.10-universal.jar%23222!/:?] {re:mixin,re:classloading}     at me.lucko.luckperms.forge.capabilities.UserCapabilityImpl.get(UserCapabilityImpl.java:66) ~[?:?] {re:classloading,re:classloading,re:classloading}     at me.lucko.luckperms.forge.util.BrigadierInjector$InjectedPermissionRequirement.test(BrigadierInjector.java:143) ~[?:?] {}     at me.lucko.luckperms.forge.util.BrigadierInjector$InjectedPermissionRequirement.test(BrigadierInjector.java:129) ~[?:?] {}     at com.mojang.brigadier.tree.CommandNode.canUse(CommandNode.java:65) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:359) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:349) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:317) ~[brigadier-1.1.8.jar%2376!/:?] {}     at net.minecraft.commands.Commands.m_230957_(Commands.java:237) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:classloading}     at net.mcreator.boh.procedures.TeleportbenProcedure.lambda$execute$2(TeleportbenProcedure.java:65) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at net.mcreator.boh.BohMod.lambda$tick$2(BohMod.java:96) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] {re:mixin}     at net.mcreator.boh.BohMod.tick(BohMod.java:96) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at net.mcreator.boh.__BohMod_tick_ServerTickEvent.invoke(.dynamic) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.event.ForgeEventFactory.onPostServerTick(ForgeEventFactory.java:950) ~[forge-1.20.1-47.3.10-universal.jar%23222!/:?] {re:classloading}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:835) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at java.lang.Thread.run(Thread.java:840) ~[?:?] {}
    • Hello there! I am trying to make custom dimensions for a modpack I am making in an older minecraft version, 1.16.5. I like that version and it has a few other mods that have not been updated that I would still like to use. Anyway, I am having a terrible time with getting my dimension to work and have tried using code from other peoples projects to at least figure out what I'm supposed to be doing but it has not been as helpful as I would have liked. If anyone could help that would be greatly appreciated! Here is my github with all the code as I am using it: https://github.com/BladeColdsteel/InvigoratedDimensionsMod I have also included the last log, https://pastebin.com/zX9vsDSq, I had when I tried to load up a world, let me know if there is anything else I should send though, thank you!
    • Whether you are a fan of Hypixel Bedwars, SkyWars and PvP gamemodes like that, well you would enjoy this server! We have a very fun and unique style of PvP that a lot of our players really enjoy and we want to bring this server to more players like you! Yes you reading this post haha. Introducing, the Minezone Network, home of SUPER CRAFT BLOCKS. We've been working on this server for over 4 years now. Here is what we have to offer: SUPER CRAFT BLOCKS: This has 3 different gamemodes you can play, Classic, Duels and Frenzy. Each mode offers over 60 kits to choose from, along with a total of over 60 maps, allowing for various different playstyles on each map. There are also random powerups that spawn on the map which can include Health Pots, Bazookas, Nukes, Extra Lives and way way more! There is also double jump in this gamemode as well, which makes PvP a lot more fun & unique. You only need a minimum of 2 players to start any mode! Classic: Choose a kit, 5 lives for each player, fight it out and claim the #1 spot! Look out for lightning as they can spawn powerups to really give you an advantage in the game! Duels: Fight against another random player or one of your friends and see who is the best! Frenzy: Your kit is randomly selected for you, each life you will have a different kit. You can fight with up to 100 players in this mode and lets see who will be the best out of that 100! All the other stuff from Classic/Duels apply to this mode as well like powerups. We have 2 ranks on this server too, VIP and CAPTAIN which has a bunch of different perks for SCB and other things like Cosmetics and more.   SERVER IP: If this server has caught your interest in any way, please consider joining and you will NOT regret it! Bring some of your friends online for an even better experience and join in on the fun at: IP: minezone.club Hope to see you online!   SERVER TRAILER: https://www.youtube.com/watch?v=0phpMgu1mH0
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.