Jump to content

Traceur3RUN

Inactive Member
  • Posts

    408
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Traceur3RUN

  1. hi dev i try change unsigned32 to unsigned64 on client and binnary i change.i work it 2days but i don't know what i doing bad binnary: PyObject * playerGetEXP(PyObject* poSelf, PyObject* poArgs) { long long dwEXP = CPythonPlayer::Instance().GetStatus(POINT_EXP); return Py_BuildValue("K", dwEXP); } client: taskbar.py ## Gauge def RefreshStatus(self): curHP = player.GetStatus(player.HP) maxHP = player.GetStatus(player.MAX_HP) curSP = player.GetStatus(player.SP) maxSP = player.GetStatus(player.MAX_SP) curEXP = unsigned64(player.GetStatus(player.EXP)) nextEXP = unsigned64(player.GetStatus(player.NEXT_EXP)) recoveryHP = player.GetStatus(player.HP_RECOVERY) recoverySP = player.GetStatus(player.SP_RECOVERY) self.RefreshStamina() self.SetHP(curHP, recoveryHP, maxHP) self.SetSP(curSP, recoverySP, maxSP) self.SetExperience(curEXP, nextEXP) uicharacter.py try: self.GetChild("Level_Value").SetText(str(player.GetStatus(player.LEVEL))) self.GetChild("Exp_Value").SetText(str(unsigned64(player.GetEXP()))) self.GetChild("RestExp_Value").SetText(str(unsigned64(player.GetStatus(player.NEXT_EXP)) - unsigned64(player.GetStatus(player.EXP)))) 0209 19:07:22967 :: NameError 0209 19:07:22968 :: global name 'unsigned64' is not defined 0209 19:33:22827 :: global name 'unsigned64_t' is not defined 0209 19:35:23706 :: global name 'uint64' is not defined
  2. hi someone have unpacker/packer dat? i search on google but nothing find
  3. not every error with fdwatch can be fixed by adding/removing things from mob_proto table @Asta: post ch1 (core1) syserr + syslog & do a core debugg with gdb and post result here from db conf.txt TABLE_POSTFIX= "" change to TABLE_POSTFIX = " " SYSERR: Feb 8 01:42:49 :: Load: DirectQuery failed(SELECT login FROM block_exception) add id to mysql tables block_exception sometjing 1 or what you want
  4. PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
  5. you need to change on clientside int to unsigned long long' or maybe you have long long int on serverfiles try change gold 500.000.000.000 to 5.000.000.000
  6. [Hidden Content] Not Fix. try PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
  7. userinterface pythonplayermodule.cpp try change this PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } Not Work PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return PyLong_FromLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } try PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } here you have litle help [Hidden Content]
  8. userinterface pythonplayermodule.cpp try change this PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); }
  9. you need change int/long on binnary to long long / long long int
  10. okay thanks man : ) the database update these strange characters when loading a proto item I thought there is something wrong you give syslog from logs. why not sysser from auth db channel?
  11. what you have problem? maybe give syser from db/channel or auth on this ss all work use ps on console and see
  12. you have to use it and make your internal IP (192.168.1.35) as DMZ [Hidden Content] I have never tried that at all but at least that is what I know. hmm so why when i put to game 28k BIND_IP: (public ip) i dont have this message" socket_tcp_bind: tcp_socket: Can't assign requested address??? i dont have dmz on my internet
  13. 1. cd /usr/src/mainline/Srcs/Server/libsql gmake clean gmake -j20 2.go to /usr/src/mainline/Srcs/Server/db/src -open makefile search LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib change to LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib -L/usr/local/lib/mysql all do what you say but don`t compile, now so: root@BddAdsa:/usr/src/mainline/Srcs/Server/db/src # gmake clean p4: not found p4: not found root@BddAdsa:/usr/src/mainline/Srcs/Server/db/src # gmake -j20 p4: not found p4: not found compile Config.cpp compile NetBase.cpp compile Peer.cpp compile PeerBase.cpp compile Main.cpp compile Lock.cpp compile DBManager.cpp compile Cache.cpp compile LoginData.cpp compile ClientManager.cpp Cache.cpp:365:7: warning: no newline at end of file compile ClientManagerPlayer.cpp In file included from ClientManager.cpp:6: ../../common/VnumHelper.h:59:32: warning: no newline at end of file compile ClientManagerLogin.cpp compile ClientManagerBoot.cpp compile ClientManagerParty.cpp compile ClientManagerGuild.cpp compile GuildManager.cpp compile HB.cpp compile PrivManager.cpp In file included from ClientManagerBoot.cpp:8compile MoneyLog.cpp compile ItemAwardManager.cpp : ProtoReader.h:36:7: warning: no newline at end of file compile ClientManagerEventFlag.cpp compile Marriage.cpp compile Monarch.cpp compile BlockCountry.cpp ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)': ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned compile ItemIDRangeManager.cpp compile ClientManagerHorseName.cpp p4: not found ItemAwardManager.cpp:129:2: warning: no newline at end of file compile AuctionManager.cpp compile ProtoReader.cpp compile version.cpp AuctionManager.cpp:719:7:compile CsvReader.cpp warning: no newline at end of file In file included from ProtoReader.cpp:4: ProtoReader.h:36:7: warning: no newline at end of file ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()': ClientManagerBoot.cpp:402: warning: statement has no effect ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()': ClientManagerBoot.cpp:703: warning: unused variable 'testValue' ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()': ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int' ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int' ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int' CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const': 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 ProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)': ProtoReader.cpp:33: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)': ProtoReader.cpp:87: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)': ProtoReader.cpp:204: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp:207: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)': ProtoReader.cpp:250: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)': ProtoReader.cpp:279: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)': ProtoReader.cpp:307: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)': ProtoReader.cpp:333: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)': ProtoReader.cpp:361: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)': ProtoReader.cpp:400: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)': ProtoReader.cpp:426: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)': ProtoReader.cpp:448: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)': ProtoReader.cpp:469: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)': ProtoReader.cpp:490: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)': ProtoReader.cpp:512: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)': ProtoReader.cpp:537: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)': ProtoReader.cpp:561: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*, std::less<int>, std::allocator<std::pair<const int, const char*> > >&)': ProtoReader.cpp:696: warning: comparison between signed and unsigned integer expressions ProtoReader.cpp:757: warning: comparison between signed and unsigned integer expressions p4: not found linking ... where you have error? i don't see
  14. I have already connected with TV and fixed it but I'm sure that he changed it lol i say i need public ip no local computer.... no need any fix to 192.168.xxxx omg want to connect to the server from another computer? You open the PC server? To use the computer as a host? yes
  15. I have already connected with TV and fixed it but I'm sure that he changed it lol i say i need public ip no local computer.... no need any fix to 192.168.xxxx omg
  16. how to unpack .azoom here :[Hidden Content]
  17. if i have blocked game 28k dont run too BIND_IP: (public ip) but game 28k work fine i say up post First check you in start.sh not put another IP, ip The conflict that enter the home at the BIND_IP Secondly, once post a picture from FreeBSD network configuration. now look maybe you now understand.... game28k: BIND_IP(PUBLIC IP) work fine (sorry i dont look on first me post and i fixed game 28k work fine BIND_IP: (public ip) game 40k my own: BIND_IP (PUBLIC IP) socket_tcp_bind: tcp_socket: Can't assign requested address this problem is on source i know... sh start.sh here are you #!/bin/sh echo -e "033[31m Ile Channeli Uruchomic ? n 1 - (1) Channeln " read traceur case $traceur in 1*) echo -e "033[31m Start Baza Danych ..033[0m" cd logowanie/db && ./db & sleep 2 echo -e "033[31m Start Logowanie.033[0m" cd logowanie/auth && ./auth & sleep 2 echo -e "033[31m Start Channel 1.033[0m" cd ./channel/ch1 && ./game & cd .. esac
  18. if i have blocked game 28k dont run too BIND_IP: (public ip) but game 28k work fine i say up post
  19. yes but when i add BIND_IP: (public ip) i have this message socket_tcp_bind: tcp_socket: Can't assign requested address .....
  20. network configuration is okey i test on game 28k and work fine..... lol man all of the posters here asked you about the problem you just say "is okay i tested it" at least show us photos to help you otherwise try on your own i test it not work ....... i put BIND_IP: (public ip) and have socket_tcp_bind: tcp_socket: Can't assign requested address if you want i can give you tv and you see..... if you dont believe up i have modem not router... Man, sorry to say you're wrong? Not to offend you? I told you that BIND_IP correct solution. Add me on skype and I show you, it works. okey. with BIND_IP: 192.168.xxx work but not work 100% public ip
  21. 1. cd /usr/src/mainline/Srcs/Server/libsql gmake clean gmake -j20 2.go to /usr/src/mainline/Srcs/Server/db/src -open makefile search LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib change to LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib -L/usr/local/lib/mysql
×
×
  • 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.