Done game crashes on login

Discussion in 'Galactic Science' started by simfrek, Jun 29, 2017.

  1. simfrek

    simfrek Well-Known Member

    Messages:
    5
    Likes Received:
    0
    Local Time:
    10:35 PM
    every time i log into galactic science i crash to desktop
     
  2. yurikha27

    yurikha27 Well-Known Member

    Messages:
    92
    Likes Received:
    33
    Local Time:
    5:35 PM
    This is in the wrong section; please post it in Galactic Science.
    What's going on is you have some kind of TheDalekMod item in your hand/armor that cannot be rendered. So a moderator will have to remove it or clear your inventory. You could also get a friend to kill you or somehow take the item from you while you crash. Lava does a nice job of this, but you'll lose everything and a life.
    Otherwise, I got nothing. The line numbers are not guaranteed to match up with the decompiled source (TheDalekMod is not open-source), so I don't know specifically what to fix this with. In any case, it'll probably be faster to wait for staff to fix it than to install a patch to the mod.

    Here's the source if you're interested:
    Code:
    private void renderText() {
    		List data = new ArrayList();
    
    		EntityPlayer pl = Minecraft.getMinecraft().thePlayer;
    		MovingObjectPosition mop = pl.rayTrace(3.0D, 1.0F);
    		Block b = pl.worldObj.getBlock(mop.blockX, mop.blockY, mop.blockZ);
    		int meta;
    		if (b != null) {
    			meta = pl.worldObj.getBlockMetadata(mop.blockX, mop.blockY, mop.blockZ);
    			AbstractWailaProvider provider = WailaCallback.getProvider(b, meta); // This is line 53, but an NPE doesn't seem possible here.
    			if (provider != null) {
    				acc.update(pl, mop, b, meta);
    				provider.getWailaBody(null, data, acc, null);
    			}
    		}
    
    		if (data.size() <= 0)
    			return;
    		double sx = 0.01D;
    		int maxSize = 0;
    		for (String s : data) {
    			maxSize = Math.max(maxSize, s.length());
    		}
    		FontRenderer fr = Minecraft.getMinecraft().fontRenderer;
    		GL11.glDepthMask(false);
    		GL11.glRotated(180.0D, 0.0D, 0.0D, 1.0D);
    		GL11.glRotated(90.0D, 0.0D, 1.0D, 0.0D);
    		GL11.glTranslated(-0.775D, -0.5D, -0.1407D);
    		GL11.glScaled(sx, sx, sx);
    		int y = 0;
    		for (String s : data) {
    			List inData = fr.listFormattedStringToWidth(s, 155);
    			for (String text : inData) {
    				fr.drawString(text, 0, y, 16579836);
    				y += fr.FONT_HEIGHT;
    			}
    		}
    		GL11.glDepthMask(true);
    	}
     
  3. wyndman

    wyndman Well-Known Member

    Messages:
    4,045
    Likes Received:
    2,014
    Local Time:
    5:35 PM
    Sim are you still having issues? I've seen you in game so I would assume not, but I don't assume.
     
  4. simfrek

    simfrek Well-Known Member

    Messages:
    5
    Likes Received:
    0
    Local Time:
    10:35 PM
    I fixed it, forgot this was still open, sorry, I had the portable manual to the Tardis and was looking at an item conduit with it, I mashed the "1" key to change item while crashing and I managed to log in properly
     

Share This Page