Jump to content

dofuzeiro123

Inactive Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by dofuzeiro123

  1. 10 minutes ago, Asha said:

    B) :ph34r:

    Just to make you to understand, you should learn not always come here and ask.

    
    10000 1252 de

    We have this :

    
    "de"

    is then name from locale_xx.epk->locale -> de

    
    "1252"

    is the encoding HAVE A look here https://en.wikipedia.org/wiki/Windows-1252 you can see all supported characters and also his name.  And here you have a complete list of encodings , choose the best one for you https://docs.python.org/2.4/lib/standard-encodings.html

    :ph34r:

    Yeah i assumed the "de" was from the locale, but I didn't know about the numbers thing, but now I do.

    Much appreciated now I'm a little more knowledgeable :D

  2. Hello everybody,

    I'm having the following problem , everytime i try to write "e" with "^"  like this "ê" in the client it appears like this "

    Maybe with this picture you can see better :

    erro.png

    As you can see i can write "â" but when i try it with "e" it doesn't work.

    I think the problem is in the source of the client which I have and i can compile, but i don't know which file i need to change so it can accept the "ê".

    If anyone can help me i would greatly appreciate :)

    Cheers 

  3. 2 hours ago, Thanatos said:

    source have errors but its important from where you take it.because original source work verry well.I recomand you to take it from official forum.If problem continue must be extern the problem.

    I will download everything again, i'm assuming you know what source i'm using, from the kori 1.3 serverfiles.

    If the error persists do you mind i PM you?

    Thanks again :)

    And also i will use freebsd 10+ for compile maybe that's the problem, idk.

  4. 9 hours ago, Thanatos said:

    what are the last part that you modify on db fille?

    If you modify something sould be that problem.leave an reply and i will try to help you.

    If you dont modify anything before compile put: gmake dep

    Thanks for answering, and no i didn't change any file whatsoever, already did gmake dep, and it's fine no errors i can use gmake dep flawlessly, i used gmake in /Server still the db error, in /Server/game/src i can compile and lastly on /Server/db/src i get the same error.

    Perhaps maybe it's the source code that is bad written?

    Thanks again :)

  5. Hello everybody, i'm having some trouble trying to compile the server source of Kori Files v1.3

    Here is my problem i can actually compile the game, but when it reaches the db part, it appears this error:

    160vr7n.png

     

    Here is the makefile of the db/src

    MAKE = gmake
    CC = g++

    INCDIR =
    LIBDIR =
    BINDIR = ..
    OBJDIR = .obj

    GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3  | cut -d'.' -f1)
    BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
    P4_VERSION = __Kori
    $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)

    TARGET = $(BINDIR)/db_r$(P4_VERSION)

    CFLAGS = -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE

    ifeq ($(GCC_VERSION), 4)
    CFLAGS += -mtune=i686
    else
    CFLAGS += -mcpu=i686
    endif

    # boost
    INCDIR += -I../../Extern/include

    LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib

    ifeq ($(BSD_VERSION), 7)
    INCDIR += -I../../libmysql/7.x-5.1.35
    LIBDIR += -L../../libmysql/7.x-5.1.35
    else
    INCDIR += -I../../libmysql/5.x-5.1.35
    LIBDIR += -L../../libmysql/5.x-5.1.35
    endif

    LIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz

    SRCS =    Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp \
            Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp \
            ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp \
            PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp \
            Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp \
            AuctionManager.cpp ProtoReader.cpp CsvReader.cpp 

    OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o)

    default: $(TARGET)

    $(TARGET): $(OBJS)
        @echo linking ...
        @$(CC) $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET)
        @touch version.cpp

    $(OBJDIR)/%.o: %.cpp
        @echo compile $<
        @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@

    $(OBJDIR)/version.o: version.cpp
        @$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o $@
        @echo compile $<

    $(OBJDIR):
        @mkdir $(OBJDIR)

    clean:
        @rm -f $(OBJS) $(BINDIR)/db_r*

    dep:
        @touch Depend
        makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null

    sinclude Depend

    Would be very grateful if anyone can help me.

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.