Mineserver > Support

Tested 2-Mar-11 Release: One BIG Problem!

(1/2) > >>

thegk01:
Hey guys!

I have built the new release; I noticed the fact that, as I logged in, the console said "tek1 logged in!" instead of "thegk01 logged in!". It seems that Notch changed the chat engine.
As I wanted to give me a bit TNT (because I'm working on TNT currently...), the console only received:
ietek1ttlP
give thegk01 tnt

I don't know how to fix it because I don't know the code of Minecraft... And nothing big changed on the chat.cpp file, or?

I hope this gonna be fixed... Until then, I try to program TNT ;)

-- thegk01


EDIT: And I needed to change the config.cfg that users are not looked up in the Minecraft user database - Sure, there is no "tek1"...

Ligustah:
Strings are UTF16 now, which means that each character has a length of two bytes.
I suppose Mineserver has not yet been completely updated to match this new string format.

ellisgl:
DOH!

ellisgl:
I think this has been fixed in a couple of the branches with changing string stuff to us std::wstring in the chat.cpp file. I can't test it at the moment.. =(

thegk01:
In the "original" Mineserver chat.cpp, the strings are wstring! (afaik)...
Dunno how to fix this. :/

Navigation

[0] Message Index

[#] Next page

Go to full version