As of 1.8, is PITCH on LOOK working correctly, or what am I doing wrong?
#yaw1 = %YAW% + 180;
#pitch1 = %PITCH%;
Then I move my mouse and I do:
LOOK(%#yaw1%, %#pitch1%);
LOG("Current PITCH: %PITCH%, Set PITCH: %#pitch1%");
It looks on the right place but the PITCH isn't setting correctly.
The Log says: Current PITCH: 14, Set PITCH: 17, So it set PITCH to 17
So when I first saved the PITCH it was 17 I moved my mouse ran the LOOK command it didn't set PITCH back to 17, it stayed in the same PITCH my mouse had it at, or.. ?
Is there a way to prevent "fake" color codes with chat filter? Like if a player that can't do color does like &4Text, it still comes out red on my screen but not to the ones that don't have the chat filter on.
If that doesn't work, then do LOGTO(debug.txt,%CHAT%) in chatfilter and post the results in a spoiler so we can see how the text is formatted by the server and build a correct regex.
Didn't work.
Here's one of the logs: §r[§r§dW§r§f]§r<§r§bTrex9_§r> woah someone tp to me§r
last time I used chat filter was a little over a year ago, the chat format in my server hasn't changed yet the old code isn't working anymore.
What I'm having issues with is getting the user's rank color.
Plain text: [W]<named> text
The name has a color depending on the rank, I used to have a single ifmatches for any color, which is im trying to re-achieve again, I don't want to copy the same code over and over just to get the color, I know I can do chatclean but I'm trying to retrieve the color to modify the looks of the chat and keep the username color as I had it before
Is there a way to combine bows together? Like after coming out of a skeleton spawn I have a bag full of bows, and I'd like to put them together so they are all repaired
Since most mods are still 1.7.2 Im still using optifine 1.7.2 with the latest version and I don't know why I'm crashing, I disabled all my mods and left optifine by itself and seems like its optifine because without it I don't crash.
Since most mods are still 1.7.2 Im still using optifine 1.7.2 with the latest version and I don't know why I'm crashing, I disabled all my mods and left optifine by itself and seems like its optifine because without it I don't crash.
0
As of 1.8, is PITCH on LOOK working correctly, or what am I doing wrong?
#yaw1 = %YAW% + 180;
#pitch1 = %PITCH%;
Then I move my mouse and I do:
LOOK(%#yaw1%, %#pitch1%);
LOG("Current PITCH: %PITCH%, Set PITCH: %#pitch1%");
It looks on the right place but the PITCH isn't setting correctly.
The Log says: Current PITCH: 14, Set PITCH: 17, So it set PITCH to 17
So when I first saved the PITCH it was 17 I moved my mouse ran the LOOK command it didn't set PITCH back to 17, it stayed in the same PITCH my mouse had it at, or.. ?
0
0
looks like:
ifmatches(%chat%,"some text here",@chat[]
match(%chat%,"some text here",@chat[])
modify(Modified: %@chat[1]%)
endif
could be wrong but it looks about like that
extra info: I modified every chat to make it appealing for myself, and I believe those are where I get fake color codes
0
What do you mean?
Normal: §r§a(§r§5+iPollox§r§5+§r§a) test§r
Fake Color: §r§a(§r§5+iPollox§r§5+§r§a) &3test§r
The output ingame the second one with the &3 says test in the cyan color, instead of actually displaying the &3 along with the text.
I mean Log() could work.. but is there another way to prevent such colors?
0
0
Didn't work.
Here's one of the logs: §r[§r§dW§r§f]§r<§r§bTrex9_§r> woah someone tp to me§r
Edit:
Got it to work
0
Didn't work :/
Edit:
Was doing some test with Log() and the /xa7f didn't change the log to white.
LOG(§f TEST) works
LOG(\xa7f TEST) didnt work
0
0
last time I used chat filter was a little over a year ago, the chat format in my server hasn't changed yet the old code isn't working anymore.
What I'm having issues with is getting the user's rank color.
Plain text: [W]<named> text
The name has a color depending on the rank, I used to have a single ifmatches for any color, which is im trying to re-achieve again, I don't want to copy the same code over and over just to get the color, I know I can do chatclean but I'm trying to retrieve the color to modify the looks of the chat and keep the username color as I had it before
any help would be appreciated
0
same exact problem here :/
0
0
0
Just bumping this
0
This works:
But if I want to use colors it wont work:
How could I detect something like:
I tried something like:
0
Only seems to be happening in 1 area so far, haven't crashed in other parts of the map
Crash: http://pastebin.com/raw.php?i=YnBGFD0b