Вопрос Крашит майнкрафт

Начинающий
Статус
Оффлайн
Регистрация
22 Авг 2022
Сообщения
332
Реакции[?]
3
Поинты[?]
3K

Перед прочтением основного контента ниже, пожалуйста, обратите внимание на обновление внутри секции Майна на нашем форуме. У нас появились:

  • бесплатные читы для Майнкрафт — любое использование на свой страх и риск;
  • маркетплейс Майнкрафт — абсолютно любая коммерция, связанная с игрой, за исключением продажи читов (аккаунты, предоставления услуг, поиск кодеров читов и так далее);
  • приватные читы для Minecraft — в этом разделе только платные хаки для игры, покупайте группу "Продавец" и выставляйте на продажу свой софт;
  • обсуждения и гайды — всё тот же раздел с вопросами, но теперь модернизированный: поиск нужных хаков, пати с игроками-читерами и другая полезная информация.

Спасибо!

Всем привет делал гуишку и начал крашить майнкрафт после открытия ClickGUI

---- Minecraft Crash Report ----
// There are four lights!

Time: 9/28/23 8:59 PM
Description: Rendering screen

java.lang.NullPointerException: Rendering screen
at me.wavesense.ui.newui.SmartScissor.push(SmartScissor.java:20)
at me.wavesense.ui.newui.UIPanel.draw(UIPanel.java:123)
at me.wavesense.ui.newui.ClickScreen.drawScreen(ClickScreen.java:46)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1265)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1084)
at net.minecraft.client.Minecraft.run(Minecraft.java:449)
at net.minecraft.client.main.Main.main(Main.java:113)
at Start.main(Start.java:14)


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

-- Head --
Thread: Client thread
Stacktrace:
at me.wavesense.ui.newui.SmartScissor.push(SmartScissor.java:20)
at me.wavesense.ui.newui.UIPanel.draw(UIPanel.java:123)
at me.wavesense.ui.newui.ClickScreen.drawScreen(ClickScreen.java:46)

-- Screen render details --
Details:
Screen name: me.wavesense.ui.newui.ClickScreen
Mouse location: Scaled: (480, 252). Absolute: (960, 504)
Screen size: Scaled: (960, 505). Absolute: (1920, 1009). Scale factor of 2

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['JohON0'/202, l='MpServer', x=-234.59, y=86.00, z=1095.90]]
Chunk stats: MultiplayerChunkCache: 525, 525
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (-181,64,251), Chunk: (at 11,4,11 in -12,15; contains blocks -192,0,240 to -177,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 32 game time, 19301 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 92 total; [EntityCow['Cow'/256, l='MpServer', x=-305.60, y=80.34, z=1046.50], EntityZombie['Zombie'/257, l='MpServer', x=-310.50, y=21.00, z=1125.50], EntityZombie['Zombie'/258, l='MpServer', x=-310.50, y=21.00, z=1125.50], EntityBat['Bat'/259, l='MpServer', x=-303.46, y=51.64, z=1126.60], EntityBat['Bat'/260, l='MpServer', x=-305.33, y=51.14, z=1127.50], EntitySkeleton['Skeleton'/261, l='MpServer', x=-307.50, y=44.00, z=1174.50], EntityBat['Bat'/262, l='MpServer', x=-311.25, y=39.10, z=1169.44], EntityBat['Bat'/263, l='MpServer', x=-308.35, y=38.76, z=1172.45], EntityCow['Cow'/269, l='MpServer', x=-301.52, y=84.00, z=1046.80], EntityZombie['Zombie'/270, l='MpServer', x=-297.82, y=21.00, z=1118.50], EntityBat['Bat'/271, l='MpServer', x=-302.75, y=23.10, z=1120.41], EntityCreeper['Creeper'/272, l='MpServer', x=-297.50, y=19.00, z=1127.50], EntityZombie['Zombie'/273, l='MpServer', x=-295.50, y=19.00, z=1126.50], EntitySkeleton['Skeleton'/274, l='MpServer', x=-298.99, y=19.00, z=1123.47], EntityCreeper['Creeper'/275, l='MpServer', x=-300.57, y=19.00, z=1124.22], EntitySkeleton['Skeleton'/276, l='MpServer', x=-301.50, y=41.00, z=1135.50], EntityZombie['Zombie'/277, l='MpServer', x=-300.50, y=40.00, z=1162.50], EntityBat['Bat'/278, l='MpServer', x=-298.72, y=40.25, z=1161.30], EntityCreeper['Creeper'/287, l='MpServer', x=-285.50, y=87.00, z=1037.50], EntityZombie['Zombie'/288, l='MpServer', x=-283.48, y=72.00, z=1133.71], EntityZombie['Zombie'/289, l='MpServer', x=-284.50, y=18.00, z=1150.42], EntityCreeper['Creeper'/290, l='MpServer', x=-277.50, y=73.00, z=1136.50], EntityZombie['Zombie'/291, l='MpServer', x=-272.50, y=18.00, z=1159.50], EntityCreeper['Creeper'/292, l='MpServer', x=-273.50, y=21.00, z=1162.50], EntityZombie['Zombie'/293, l='MpServer', x=-278.50, y=45.00, z=1164.22], EntityZombie['Zombie'/294, l='MpServer', x=-278.50, y=45.00, z=1163.41], EntityCreeper['Creeper'/301, l='MpServer', x=-267.50, y=25.00, z=1035.50], EntitySkeleton['Skeleton'/302, l='MpServer', x=-260.50, y=53.00, z=1037.70], EntityZombie['Zombie'/303, l='MpServer', x=-271.36, y=20.00, z=1086.77], EntityCreeper['Creeper'/304, l='MpServer', x=-268.50, y=42.00, z=1076.50], EntitySkeleton['Skeleton'/305, l='MpServer', x=-257.50, y=70.00, z=1170.50], EntityBat['Bat'/313, l='MpServer', x=-249.53, y=22.28, z=1038.50], EntitySkeleton['Skeleton'/314, l='MpServer', x=-249.31, y=86.00, z=1083.50], EntitySkeleton['Skeleton'/315, l='MpServer', x=-252.50, y=15.00, z=1140.50], EntityWitch['Witch'/316, l='MpServer', x=-248.50, y=15.00, z=1138.50], EntitySkeleton['Skeleton'/318, l='MpServer', x=-227.23, y=79.00, z=1061.71], EntitySpider['Spider'/319, l='MpServer', x=-218.99, y=86.00, z=1048.06], EntitySkeleton['Skeleton'/320, l='MpServer', x=-216.11, y=83.00, z=1051.50], EntityZombie['Zombie'/321, l='MpServer', x=-209.33, y=17.00, z=1157.67], EntityCow['Cow'/324, l='MpServer', x=-199.21, y=84.00, z=1036.13], EntityBat['Bat'/325, l='MpServer', x=-205.68, y=56.20, z=1068.11], EntitySpider['Spider'/326, l='MpServer', x=-202.20, y=31.00, z=1112.51], EntityCreeper['Creeper'/327, l='MpServer', x=-201.11, y=30.00, z=1113.72], EntityItem['item.tile.mushroom'/328, l='MpServer', x=-199.29, y=14.00, z=1130.79], EntityItem['item.tile.mushroom'/329, l='MpServer', x=-203.13, y=15.00, z=1138.88], EntityItem['item.tile.mushroom'/330, l='MpServer', x=-201.13, y=15.00, z=1137.88], EntityItem['item.tile.rail'/331, l='MpServer', x=-199.21, y=10.00, z=1150.13], EntityCreeper['Creeper'/332, l='MpServer', x=-202.50, y=17.00, z=1150.50], EntityCreeper['Creeper'/333, l='MpServer', x=-202.50, y=17.00, z=1147.50], EntityItem['item.tile.rail'/334, l='MpServer', x=-196.25, y=10.00, z=1152.88], EntityZombie['Zombie'/335, l='MpServer', x=-194.45, y=37.00, z=1158.64], EntityBat['Bat'/338, l='MpServer', x=-182.25, y=46.10, z=1031.49], EntityCow['Cow'/339, l='MpServer', x=-186.82, y=84.00, z=1038.49], EntityBat['Bat'/340, l='MpServer', x=-186.40, y=18.15, z=1053.57], EntityCow['Cow'/341, l='MpServer', x=-189.15, y=83.00, z=1047.39], EntityCow['Cow'/342, l='MpServer', x=-184.47, y=85.00, z=1041.85], EntityZombie['Zombie'/343, l='MpServer', x=-181.13, y=15.00, z=1057.50], EntityCreeper['Creeper'/344, l='MpServer', x=-179.11, y=15.00, z=1057.47], EntityCow['Cow'/345, l='MpServer', x=-184.21, y=82.00, z=1103.56], EntityItem['item.tile.torch'/346, l='MpServer', x=-176.84, y=11.00, z=1128.11], EntityPig['Pig'/347, l='MpServer', x=-179.37, y=79.00, z=1127.44], EntityPig['Pig'/348, l='MpServer', x=-185.56, y=81.00, z=1129.53], EntityMinecartChest['Minecart with Chest'/349, l='MpServer', x=-184.50, y=10.06, z=1137.50], EntityItem['item.tile.rail'/350, l='MpServer', x=-189.13, y=10.00, z=1150.13], EntityItem['item.tile.rail'/351, l='MpServer', x=-191.78, y=10.00, z=1152.88], EntityCow['Cow'/352, l='MpServer', x=-165.53, y=98.00, z=1051.77], EntityCow['Cow'/353, l='MpServer', x=-162.48, y=99.00, z=1053.32], EntitySkeleton['Skeleton'/354, l='MpServer', x=-175.50, y=17.00, z=1066.50], EntityCow['Cow'/355, l='MpServer', x=-168.25, y=99.00, z=1059.43], EntitySkeleton['Skeleton'/357, l='MpServer', x=-169.50, y=12.00, z=1075.50], EntitySkeleton['Skeleton'/358, l='MpServer', x=-171.50, y=12.00, z=1078.50], EntityCreeper['Creeper'/359, l='MpServer', x=-173.50, y=28.00, z=1078.50], EntityCreeper['Creeper'/360, l='MpServer', x=-174.50, y=28.00, z=1079.50], EntityBat['Bat'/361, l='MpServer', x=-173.45, y=28.48, z=1098.26], EntityBat['Bat'/362, l='MpServer', x=-165.81, y=26.94, z=1099.95], EntityCow['Cow'/363, l='MpServer', x=-163.79, y=79.00, z=1098.45], EntityCow['Cow'/364, l='MpServer', x=-174.55, y=80.00, z=1095.75], EntityCow['Cow'/365, l='MpServer', x=-167.77, y=80.00, z=1098.15], EntityCreeper['Creeper'/366, l='MpServer', x=-170.50, y=26.00, z=1116.50], EntityCreeper['Creeper'/367, l='MpServer', x=-166.43, y=24.00, z=1117.21], EntityCreeper['Creeper'/368, l='MpServer', x=-170.15, y=26.00, z=1118.61], EntitySkeleton['Skeleton'/369, l='MpServer', x=-163.50, y=27.00, z=1120.37], EntitySkeleton['Skeleton'/370, l='MpServer', x=-165.26, y=27.00, z=1131.50], EntityCreeper['Creeper'/371, l='MpServer', x=-165.80, y=25.00, z=1123.53], EntityPig['Pig'/372, l='MpServer', x=-170.78, y=78.00, z=1136.49], EntityChicken['Chicken'/373, l='MpServer', x=-171.50, y=87.00, z=1165.50], EntityChicken['Chicken'/374, l='MpServer', x=-162.51, y=87.00, z=1164.83], EntityChicken['Chicken'/375, l='MpServer', x=-174.50, y=88.00, z=1158.81], EntityChicken['Chicken'/376, l='MpServer', x=-172.13, y=94.00, z=1170.63], EntityPlayerSP['JohON0'/202, l='MpServer', x=-234.59, y=86.00, z=1095.90], EntityCow['Cow'/380, l='MpServer', x=-158.47, y=99.00, z=1052.22], EntityWitch['Witch'/383, l='MpServer', x=-159.50, y=26.00, z=1116.50]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:520)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2527)
at net.minecraft.client.Minecraft.run(Minecraft.java:462)
at net.minecraft.client.main.Main.main(Main.java:113)
at Start.main(Start.java:14)

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_231, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 497567152 bytes (474 MB) / 1388314624 bytes (1324 MB) up to 2839543808 bytes (2708 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Launched Version: wavesense
LWJGL: 2.9.4
OpenGL: AMD Radeon(TM) Graphics GL version 4.6.0 Compatibility Profile Context 22.20.27.09.230330, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

я понял что ошибка в классе UIPanel.java 123 строке, но нифига не понятно почему


UIPanel.java:
//
// Decompiled by Procyon v0.5.36
//

package me.wavesense.ui.newui;

import java.util.Iterator;
import me.wavesense.util.math.MathUtility;
import me.wavesense.util.font.Fonts;
import me.wavesense.util.render.RenderUtility;
import me.wavesense.util.render.GlowUtility;
import java.awt.Color;
import net.minecraft.util.math.MathHelper;
import org.lwjgl.input.Mouse;
import me.wavesense.util.math.HoveringUtil;
import me.wavesense.ui.newui.elements.Element;
import me.wavesense.util.animations.AnimationMath;
import net.minecraft.client.Minecraft;
import me.wavesense.modules.Module;
import me.wavesense.wavesense;
import java.util.ArrayList;
import me.wavesense.util.math.TimerUtility;
import me.wavesense.ui.newui.elements.ElementModule;
import java.util.List;
import me.wavesense.modules.Type;

public class UIPanel
{
    public Type type;
    public float x;
    public float y;
    public float width;
    public boolean open;
    public List<ElementModule> elements;
    public float prevX;
    public float prevY;
    public boolean dragging;
    public float scroll;
    public float aScroll;
    public float animatedOFFSET;
    public float animatedOFFSET2;
    public float alphaBar;
    public TimerUtility timer;
    public float piska;

    public UIPanel(final Type type, final float x, final float y, final float width) {
        this.open = true;
        this.elements = new ArrayList<ElementModule>();
        this.animatedOFFSET = 200.0f;
        this.animatedOFFSET2 = 200.0f;
        this.timer = new TimerUtility();
        this.type = type;
        this.x = x;
        this.y = y;
        this.width = width;
        for (final Module m : wavesense.getInstance().manager.getModulesFromCategory(type)) {
            if (m != null) {
                this.elements.add(new ElementModule(m, this));
            }
        }
    }

    public void draw(final int mouseX, final int mouseY) {
        final int panelHeight = (int)(Minecraft.getMinecraft().displayHeight * 0.2f);
        this.aScroll = AnimationMath.fast(this.aScroll, this.scroll, 15.0f);
        float offset = this.aScroll;
        if (this.open) {
            for (final ElementModule e : this.elements) {
                e.x = this.x;
                e.y = this.y + 18.0f + offset;
                e.width = this.width;
                if (e.extended) {
                    for (final Element element : e.elements) {
                        offset += (float)element.getHeight();
                    }
                }
                offset += (float)e.getHeight();
            }
        }
        float guiOffset = 0.0f;
        if (this.open) {
            for (final ElementModule e2 : this.elements) {
                if (e2.extended) {
                    for (final Element element2 : e2.elements) {
                        guiOffset += (float)element2.getHeight();
                    }
                }
                guiOffset += (float)e2.getHeight();
            }
        }
        this.animatedOFFSET2 = AnimationMath.fast(this.animatedOFFSET2, guiOffset, 15.0f);
        if (HoveringUtil.isHovering(this.x, this.y + 16.0f, this.width, 200.0f, mouseX, mouseY)) {
            final int scroolO = Mouse.getDWheel();
            if (scroolO != 0) {
                this.timer.reset();
            }
            if (scroolO < 0) {
                this.scroll -= 15.0f;
            }
            else if (scroolO > 0) {
                this.scroll += 15.0f;
            }
            if (guiOffset > panelHeight) {
                this.scroll = MathHelper.clamp(this.scroll, -guiOffset + panelHeight, 0.0f);
            }
            else {
                this.scroll = 0.0f;
            }
        }
        final float finalOffset = Math.min((float)panelHeight, guiOffset);
        this.animatedOFFSET = AnimationMath.fast(this.animatedOFFSET, finalOffset, 15.0f);
        GlowUtility.drawGlow(this.x, this.y, this.width, 16.0f + this.animatedOFFSET + 2.0f, 15, new Color(15, 15, 15, Math.round(255.0f * ClickScreen.scroll)));
        RenderUtility.drawRound(this.x, this.y, this.width, 18.0f + this.animatedOFFSET + 2.0f, 4.0f, new Color(20, 20, 20, Math.round(255.0f * ClickScreen.scroll)));
        RenderUtility.drawRound(this.x + 3.0f, this.y + 15.0f, this.width - 6.0f, this.animatedOFFSET + 2.0f, 4.0f, new Color(10, 10, 10, Math.round(255.0f * ClickScreen.scroll)));
        if (open) {
            RenderUtility.verticalGradient(x + 2, y + 16, width - 4, 1, new Color(164, 153, 174, 255).getRGB(), new Color(164, 153, 174, 255).getRGB());
        }
        Fonts.MONTSERRAT19.drawCenteredString(type.name(), x + width / 2, y + 4, new Color(255, 255, 255, Math.round(255)).getRGB());
//        draw scroll bar , bar height is 50
        alphaBar = AnimationMath.fast(alphaBar, timer.hasTimeElapsed(500) ? 0 : 50, 15f);
        if (this.open) {
            for (final ElementModule e4 : this.elements) {
                SmartScissor.push();
                SmartScissor.setFromComponentCoordinates(Math.round(this.x), Math.round(this.y + 18.0f), Math.round(this.width), Math.round(this.animatedOFFSET));
                e4.draw(mouseX, mouseY);
                SmartScissor.unset();
                SmartScissor.pop();
            }
        }
        if (guiOffset > panelHeight) {
            final float barHeight = 50.0f;
            final float barY = MathUtility.map(this.aScroll, -this.animatedOFFSET2 + panelHeight, 0.0f, 0.0f, panelHeight - barHeight);
            RenderUtility.drawRect(this.x + this.width - 1.0f, this.y + 17.0f + panelHeight - barHeight - barY, 1.0, barHeight, new Color(255, 255, 255, (int)this.alphaBar).getRGB());
        }
    }
  
    public void mouseClicked(final int mouseX, final int mouseY, final int mouseButton) {
        float offset = this.aScroll;
        if (this.open) {
            for (final ElementModule e : this.elements) {
                if (e.extended) {
                    for (final Element element : e.elements) {
                        offset += (float)element.getHeight();
                    }
                }
                offset += (float)e.getHeight();
            }
        }
        if (HoveringUtil.isHovering(this.x, this.y, this.width, 16.0f, mouseX, mouseY) && mouseButton == 1) {
            this.open = !this.open;
        }
        if (this.open) {
            for (final ElementModule e : this.elements) {
                if ((offset > Minecraft.getMinecraft().displayHeight * 0.2f && HoveringUtil.isHovering(this.x, this.y + 18.0f, this.width, Minecraft.getMinecraft().displayHeight * 0.2f, mouseX, mouseY)) || offset <= Minecraft.getMinecraft().displayHeight * 0.2f) {
                    e.mouseClicked(mouseX, mouseY, mouseButton);
                }
            }
        }
        if (HoveringUtil.isHovering(this.x, this.y, this.width, 16.0f, mouseX, mouseY) && mouseButton == 0) {
            this.dragging = true;
            this.prevX = mouseX - this.x;
            this.prevY = mouseY - this.y;
        }
    }
  
    public void mouseReleased(final int mouseX, final int mouseY, final int state) {
        if (this.open) {
            for (final ElementModule e : this.elements) {
                e.mouseReleased(mouseX, mouseY, state);
            }
        }
        this.dragging = false;
    }
  
    public void keyTyped(final char typedChar, final int keyCode) {
        if (this.open) {
            for (final ElementModule e : this.elements) {
                e.keypressed(typedChar, keyCode);
            }
        }
    }
}
база Expensive
 
Начинающий
Статус
Оффлайн
Регистрация
7 Янв 2023
Сообщения
131
Реакции[?]
1
Поинты[?]
0
Что же такое NullPointerException, ладно это, но как мы узнаем ошибку, если ты не прикрепил метод push у SmartScissor?
 
Начинающий
Статус
Оффлайн
Регистрация
7 Июл 2023
Сообщения
38
Реакции[?]
1
Поинты[?]
0
хех ))) пастер бляяяя ахахах даже селфкод базы у бедолаги нет )))) на экспе одни хуесосы сидят
минимум троксу юзать надо, тамре дко крашит
Что за термин 'селфкод'?
 
Забаненный
Статус
Оффлайн
Регистрация
21 Дек 2021
Сообщения
110
Реакции[?]
3
Поинты[?]
2K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Начинающий
Статус
Оффлайн
Регистрация
10 Июл 2022
Сообщения
145
Реакции[?]
4
Поинты[?]
0
Кароче у меня есть дс и там уже есть ответ на твой вопрос

Пожалуйста, авторизуйтесь для просмотра ссылки.
(НЕ РЕКЛАМА)
 
Начинающий
Статус
Оффлайн
Регистрация
22 Авг 2022
Сообщения
332
Реакции[?]
3
Поинты[?]
3K
Сверху Снизу