Send the client a hd texture pack

Discussion in 'Plugin Development' started by jtjj222, Aug 27, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    jtjj222

    I was working with Packet250CustomPayload lateley, specificly changing clients texture packs, but I have no idea how to send the client hd textures. I tried changing the size sent to the client, but it doesnt work because of this line of code:
    Code:
    if ("MC|TPack".equals(par1Packet250CustomPayload.channel))
            {
                String[] var2 = (new String(par1Packet250CustomPayload.data)).split("\u0000");
                String var3 = var2[0];
     
                if (var2[1].equals("16")) // <---- This One
                {
                    if (this.mc.texturePackList.getAcceptsTextures())
                    {
                        this.mc.texturePackList.requestDownloadOfTexture(var3);
                    }
                    else if (this.mc.texturePackList.func_77300_f())
                    {
                        this.mc.displayGuiScreen(new GuiYesNo(new NetClientWebTextures(this, var3), StringTranslate.getInstance().translateKey("multiplayer.texturePrompt.line1"), StringTranslate.getInstance().translateKey("multiplayer.texturePrompt.line2"), 0));
                    }
                }
            }
    
    I tried, and mc patcher doesn't fix this. Is there any way to do this without spout?
     
  2. Offline

    ZeusAllMighty11

    I haven't worked with Texture Packs server-wise, but the only way to change the size of a texture and have it be used the correct way is with a patched client. So even if you send them an HD texture, they obviously need to be patched with MCPatcher... isn't that just as tedious as getting the texture pack?
     
  3. Offline

    sternmin8or

    If not even more so.
     
  4. Offline

    Loogeh

    Or he could tell everyone to use Optifine.
     
  5. Offline

    ZeusAllMighty11

    Again, a bit too much effort
     
  6. Offline

    WarmakerT

    Then he could also tell them to use a modified client. Same thing, more options.
    People hate it ^
     
Thread Status:
Not open for further replies.

Share This Page