Jump to content

ѕeмa™

Member
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Everything posted by ѕeмa™

  1. Hi, i have a problem when i compile the db: compile ClientManagerHorseName.cpp gmake: *** [.obj/DBManager.o] Error 1 gmake: *** Waiting for unfinished jobs.... ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)': ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned BUILD FAILED (exit value 2, total time: 4m 20s) a friend say me the problem is in makefile, and here my makefile (/usr/src/novaline/Srcs/Server/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 = 40146 $(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../../boost 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 If you can say me where is the problem I will be very grateful. Thanks and sorry my bad english.
  2. I have this error :/ root@host:/usr/src/mainline/Srcs/Server/db/src # gmake p4: not found p4: not found gmake: Warning: File `Makefile' has modification time 353477 s in the future p4: not found linking ... /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../db_r] Error 1 root@host:/usr/src/mainline/Srcs/Server/db/src #
  3. i cant start a server in this freebsd :/ And this error while compile the db. nst': CsvReader.cpp:72: warning: left-hand operand of comma has no effect CsvReader.cpp:72: warning: right-hand operand of comma has no effect CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const': CsvReader.cpp:90: warning: left-hand operand of comma has no effect CsvReader.cpp:90: warning: right-hand operand of comma has no effect p4: not found linking ... /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../db_r] Error 1 root@host:/usr/src/mainline/Srcs/Server/db/src #
  4. I download it 2 times and 2 times the same fuck error
  5. search locale/xx/it/ui/ selectcharacterwindow.py 'LoginExitButton'
  6. las monturas del ssistema de supermonturas no se ponen en ningún slot, llevan type 18. The mount of the super-mount's system not put anything slot , use type 18 Srry my bad english.
  7. but when start the client, have a check md5 in python and i can't play xD
  8. How can bypass hshield if i cant see the hshield loading?? Thanks.
  9. M2 Download Center Download Here ( Internal ) Hi, I was bored, and I started thinking how to do so they could not use the cheat-engine on a client, well, here I come to bring you the code in python. import os import thread import time def procesoss(): try: while 1 == 1: Black_List = ["inyector.exe","cheatengine-x86_64.exe","ollydbg.exe","skype.exe"] # here the programs to block, you can see the full name in cmd and put "tasklist" for p in os.popen("tasklist"): procesos = p.lower() for sema in Black_List: if procesos.find(sema) != -1: p = procesos.split() os.popen("taskkill /im %s /f" % p[0]) time.sleep(3) # wait 3 second to check again except: time.sleep(3) # wait 3 second to check again thread.start_new_thread(procesoss, ()) I try it, and work. Sorry for my bad english Update*: I change os.system to os.popen and now you can't see the console from windows. regards SeMa
  10. And if i need put a syschat to show the dates? sychat("itemsalchemie[0][ran][1].." "..itemsalchemie[0][ran][2].." "..itemsalchemie[0][ran][3].." "..itemsalcheme[0][ran][4]) <--- this is ok? sorry my bad english.
  11. Hi, i have 1 problem with one array, i'm creating one system but i need make a number in the array. Example: itemsalchemie = { --- round 1 [0] = { -- number of round [0] = {1130, 1}, -- [0] = number of item, vnum and ammount [1] = {1131, 1}, [2] = {1132, 1}, [3] = {1133, 1}, [4] = {1134, 1}, [5] = {1135, 1}, [6] = {1136, 1}, [7] = {1137, 1} }, --- round 2 [1] = { [0] = {1130, 1}, [1] = {1131, 1}, [2] = {1132, 1}, [3] = {1133, 1}, [4] = {1134, 1}, [5] = {1135, 1}, [6] = {1136, 1}, [7] = {1137, 1} } } local ran = number(1, table.getn(itemsalchemie[0])) --- this use a number in the round 1? local ran = number(1, table.getn(itemsalchemie[1])) --- this use a number in the round 2? I need put a number or math.ramdom in the locan ran but, in the round selected Thanks.
  12. Hi all, today I will show you how to disable the log.txt in the binary r28k Hexa C++ I not know how create a dif, so i modified in HxD or C++ Hope this helps, greetings
  13. Thanx but i'm not searching a python script, only shell script. Thanks pepineitor i go to try it. Function Pepineitor.
  14. no, no is a client-side script, i need create a script "shell" in freebsd example start.sh performing the same function written in python
  15. Hi all persons, i need one script in freebsd to read al quest in the folder quest and put in quest_list automatic Here one example with python import app self.__AppendFileList("quest") def __AppendFileList(self, extension): carpeta=app.GetFileList("/usr/home/game/share/locale/germany/quest/*."+extension) for archivo in carpeta: self.sema = open("quest_list2", "w") self.sema.write(archivo + "n") self.sema.close() Any person know how put this in freebsd? Thanks.
  16. O.o i not see this Thanks you :$ but where is this? xD
×
×
  • 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.