Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Web [Guid]Server support non-english character name.

Initiate Mage
Joined
Oct 20, 2007
Messages
64
Reaction score
3
Example for moopledev V83 server based

lookpic

oung - [Guid]Server support non-english character name. - RaGEZONE Forums



this guide can support Simplified Chinese

find : tools\data\output\
GenericLittleEndianWriter.java

public class GenericLittleEndianWriter implements LittleEndianWriter{}

instead of

Code:
public class GenericLittleEndianWriter implements LittleEndianWriter {

    private static Charset ASCII = Charset.forName("GBK");
    private ByteOutputStream bos;


    protected GenericLittleEndianWriter() {
    }

public void writeMapleAsciiString(String s) {}
instead of

Code:
public void writeMapleAsciiString(String s) {        writeShort((short) s.getBytes().length);
        writeAsciiString(s);
    }
    public void writeMapleNameString(String s) {
        if (s.getBytes().length > 12) {
            s = s.substring(0, 12);
        }
        writeAsciiString(s);
        for (int x = s.getBytes().length; x < 12; x++) {
            write(0);
        }
    }

find : tools\data\input\GenericLittleEndianWriter.java

public final String readAsciiString(int n) {}

instead of

Code:
 public final String readAsciiString(int n) {        byte ret[] = new byte[n];
        for (int x = 0; x < n; x++) {
            ret[x] = (byte) readByte();
        }
        try {
            String str = new String(ret, "gbk");
            return str;
        } catch (Exception e) {
            System.err.println(e);
        }
        return "";
    }

If you want to Change Chinese Traditional change gbk to big5
 
Initiate Mage
Joined
Oct 20, 2007
Messages
64
Reaction score
3
final use a mysql db tool open moopledev .double click character find name varchar.Design table change latin1 to gbk-gbk-chinese-ui.
and Chinese Traditional you can follow this too.
 
Back
Top