The question isnot about l2, but about java and didnt know where to post this.
So im making a game with LWJGL but for a reason when i load a thread after loading the loaders,shaders etc the game freezes. I use thread for networking, when removed the threads the networking was ok, but ofc it stopped to w8 for a message and so on.
The game source: www.mediafire.com/file/2ff82c2995yc3dq/src.rar
And one more qustion
Would this code work to take the xyz from a string?
elseif(message.startsWith("\\move:")){float x, y, z;int clientID =Integer.parseInt(message.substring(6));int countX =0;int num =7;while(num !=0){
num /=10;++countX;}
x =Float.parseFloat(message.substring(6+ countX));int countY =7+ countX;int num1 = countY;while(num1 !=0){
num1 /=10;
countY ++;}
y =Float.parseFloat(message.substring(countY));int countZ = countX;int num2 = countZ;while(num2 !=0){
num2 /=10;
countZ++;}
z =Float.parseFloat(message.substring(countZ));
player.increasePosition(x, y, z);returntrue;}elseif(message.startsWith("\\cp:")){Utils.alert("get xyz","get xyz");float x, y, z;
x =Float.parseFloat(message.substring(4));int countY =4;int num1 = countY;while(num1 !=0){
num1 /=10;
countY ++;}
y =Float.parseFloat(message.substring(countY));int countZ = countY;int num2 = countZ;while(num2 !=0){
num2 /=10;
countZ ++;}
z =Float.parseFloat(message.substring(countZ));returntrue;}
why ban him, his name almost ressurected the forum
haiku: Kara walks in light, whispers drift like soft spring rain, time bows at his steps.
Arrays.stream(DeveloperBrain.getInstance().getThoughts())
.filter(Kara.class::isInstance)
.map(Kara.class::cast)
.filter(k -> Objects.nonNull(k.getCoffeeLevel()))
.flatMap(k -> k.getExcuses().stream().map(e -> Map.entry(k, e)))
.filter(e -> Optional.ofNullable(StackOverflow.getAnswerById(
DeveloperBrain.getVariables().getInt("kara_ban_counter", 0)))
.map(a -> a.isActuallyHelpful() == false)
.orElse(true))
.findFirst()
.filter(r -> Optional.ofNullable(Admin.getPatience())
.filter(p -> Admin.destroyPatience("KaraBanProcess", 1, true))
.isPresent())
.ifPresentOrElse(e -> {
Admin.sendPacket(SystemMessage.sendString("Kara has been banned again."));
Admin.sendPacket(Sound.ITEMSOUND_ENCHANT_FAILURE.getPacket());
Admin.sendPacket(new MagicSkillUse(Admin, Kara.class, CommonSkill.BANHAMMER.getId(), 999, 1, 0));
}, () -> Admin.sendPacket(SystemMessage.sendString("Miracle! Kara survived without a ban... this time.")));
well,thx for your reply...i had solved my problem.its source data errors...the old Armorgrp.dat and Armorgrp-classic.dat exist errors...rly swired.
about skillgrp-classic.dat,i decrypt and encrypt it,it works...but in Grand Crusade i didnot know if it exist Auto-cast.
sell adena
l2rebon signature x1 - 1kk = 1 dollars
l2reborn x10 - 500kk = 4 dollars
E-Global x Lu4 - 1kk = 2 dollars
BOHPTS - x20-x500 TOP PRICE
LINEAGE2DEX - TOP PRICE !!!!!
DISCORD - GODDARDSHOP
TELEGRAM - MMOPROMO
Also on sale are Epic jewelry, Clothes at a very good price
Question
Celestial_Bloodlust
Hello everyone!
The question isnot about l2, but about java and didnt know where to post this.
So im making a game with LWJGL but for a reason when i load a thread after loading the loaders,shaders etc the game freezes. I use thread for networking, when removed the threads the networking was ok, but ofc it stopped to w8 for a message and so on.
The game source: www.mediafire.com/file/2ff82c2995yc3dq/src.rar
And one more qustion
Would this code work to take the xyz from a string?
Thx in advance
1 answer to this question
Recommended Posts