Jump to content

santa12

Member
  • Posts

    71
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by santa12

  1. Hi i am looking function in python to find X and Y position from gui, does anyone have something like this? i don't want to restart client 9999 times. i hover over and it shows gui coordinates
  2. Hi when i try add -static to my makefile in gcc10 on freebsd 12.3 i have this errors: /usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_init': /usr/src/contrib/xz/src/liblzma/check/check.h:143: undefined reference to `_libm d_SHA256_Init' /usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_update' : /usr/src/contrib/xz/src/liblzma/check/check.h:160: undefined reference to `_libm d_SHA256_Update' /usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_finish' : /usr/src/contrib/xz/src/liblzma/check/check.h:167: undefined reference to `_libm d_SHA256_Final' collect2: error: ld returned 1 exit status gmake: *** [Makefile:196: ../game_r] Error 1 Any idea? My makefile: [Hidden Content]
  3. Hi, I remember that once this window was on the internet but I can't find it now, does anyone have a download?
  4. hello is it safe to do cooldown for 1 second using questflag? or maybe there are better solutions for such short cooldowns than questflag what do you think, how would you do a cooldown for 1 second or less questflag or no? give some examples and explain why
  5. Hi my client source use python 2.7.6 but I can't find a build anywhere for visual studio 2019 so i use 2.7.10 the situation is that I can't replace files in client source because there are errors, but I did so using 2.7.6 include in the client source + replaced lib and .dll with 2.7.10. the situation looks like it works fine now but i'm afraid of these include e.g. in old files I have disabled #define BYTE char but in new lib, dll are enabled. There are more of these changes, but the size of the dll and lib is similar to the old files. what can such action result in? I am a bit afraid but it seems that everything works. Or rather, I should replace everything [IN SHORT] I have replaced Extern/lib/python.lib and Client/python.dll but not Extern/include/Python (but I don't see any bugs when I join game myself) can anyone tell what this can cause? Or if someone has a compiler ready he can send it
  6. hello i'm trying to block the shop owner to buy his own items, i try many phrases but each time a different player can't buy either... Currently, I am testing, although there were many more attempts, I started with the standard function if (m_pkPC->GetPrivShopOwner() > m_pkPC->GetPlayerID()) { ch->ChatPacket(CHAT_TYPE_INFO, "You cant but."); return SHOP_SUBHEADER_GC_SOLD_OUT; } no matter what I do, once it is running, no other player can buy either. Any ideas?
  7. I have wasted so many hours and I still don't know why I can't connect to class in python .... i want to create new class and button eg. self.GameWindow.siralamaopen() or self.interface.siralamaopen() but always ERROR FUC*ING ERROR will someone help me explain how to connect these functions from scratch? I have no idea anymore, I never want to work. I have now reverted everything I edited to its original state, can anyone help me with this and explain why he never wants to act? My code now [Hidden Content]
  8. I've done that before - no change This is what the original files look like without editing. There has always been a problem with shared_ptr PythonRaking.cpp [Hidden Content] PyhonRanking.h [Hidden Content]
  9. Hi, could you please help me upgrade to Visual Studio 2013? Currently I have yes, but I always have a bug. I've changed most, made a million tries but still don't understand why I can't compile i try this with unique_ptr / auto_ptr / shared_ptr / but nothing Error 27 error C2664: 'bool (__vectorcall *)(std::auto_ptr<CPythonRanking::SRankingData> &)' : cannot convert argument 1 from 'const std::auto_ptr<CPythonRanking::SRankingData>' to 'std::auto_ptr<CPythonRanking::SRankingData> &' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm 44 1 UserInterface my current files: PythonRaking.cpp [Hidden Content] PyhonRanking.h [Hidden Content]
  10. Hello, I am looking for a person who will help me call a button on the keyboard, e.g. F5, F6, A, B, C by clicking a button in the game, e.g. some gui. Hope you know what I mean. Can anybody help me? wants to trigger in-game keyboard clicking in the button
  11. Hi, I have a problem with cython, namely with cython turned off = then python works fine but on cython I have a problem with the cPickle function. when booting cython source client, cPickle import exits the game completely without any errors. Does anyone know why this is happening? Does cython have a problem using this function? Apparently it's some python function in short, a client built in the new language cython does not detect this function at all and is nowhere in the client sample code that uses this def LoadConfigurations(self): try: f = open('settings/switchbot.pkl', 'rb') self.dict = cPickle.load(f) f.close() except IOError: self.dict = {} self.listBox.RemoveAllItems() lineWidth = self.listBox.GetWidth() if len(self.dict) > self.__GetViewItemCount(): lineWidth -= 20 self.__AdjustScrollbar() for key in self.dict.iterkeys(): config = self.dict.get(key, None) if not config: continue line = self.ConfigurationLine(lineWidth) line.Load(key, config["name"]) line.SetLoadEvent(ui.__mem_func__(self.__OnApplyConfiguration)) line.SetDeleteEvent(ui.__mem_func__(self.__OnDeleteConfiguration)) self.listBox.AppendItem(line) self.listItems[key] = line def SaveConfigurations(self): with open('settings/switchbot.pkl', 'wb') as f: cPickle.dump(self.dict, f)
  12. Hello, how to write a function that, after doing something, the server will type the command like a game master? i tried to do via chatpacket: CHAT_TYPE_COMMAND - but on the server the command does not enter / syslog / syser works fine I want the server to just type any administrator command when a player does something forbidden. But I don't know how to get started and all chatpacket won't work Examples: if (!pkSafebox || !pkItem) { ch->ChatPacket(CHAT_TYPE_INFO, "Test the message"); ch->ChatPacket(CHAT_TYPE_COMMAND, "hbann_hwid %s", GetName()); sys_err("TEST %s", ch->GetName()); return; }
  13. Hello anyone know why is this happening? db.core spits errors like this [Hidden Content]
  14. hello, from time to time I have such errors when I enter the game. Db and game don't close, the whole server is working normally. But it spits such mistakes at me Anybody knows what's going on? SYSERR: Oct 26 09:35:43 :: ChildLoop: MySQL connection was reconnected. querying locale set Oct 26 09:35:43 :: --mysql_set_character_set(latin2)
  15. Hi anyone know how to trigger this fix? I have a feeling it doesn't work. Possibly anyone knows how to convert it to work? file exchange.cpp - in the bool CExchange::Accept(bool bAccept) if (quest::CQuestManager::instance().GetPCForce(GetOwner()->GetPlayerID())->IsRunning() == true) { GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade if you're using quests")); victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade if the other part using quests")); goto EXCHANGE_END; } else if (quest::CQuestManager::instance().GetPCForce(victim->GetPlayerID())->IsRunning() == true) { victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade if you're using quests")); GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade if the other part using quests")); goto EXCHANGE_END; }
  16. have you fixed it already? I have a solution, write to PW
  17. Hello, I can't see the guild site build settings anywhere, I searched all files with a notepad and I can't find anything about editing building settings. Namely, now I have to be level 10 guild and have 700,000 yang but I don't see any function where I can set it the quest features are literally spirit, that is nowhere to be found in WTF Quest: [Hidden Content]
  18. if bad department then sorry. I am looking for a cheap programmer on commission, these will be minor corrections to the already existing code. Write priv on forum right away with your name discord
  19. Hello, someone knows how to fix it when I'm on ch1 and another person on ch2, I can't write to her. I can't write in general chat, just everyone is offline
  20. Hello, I do not understand this error, in addition I have gcc49 and here I am showing some funny gcc48. Anyone know what's going on? /usr/local/bin/ld: .obj/ClientManagerPlayer.o: undefined reference to symbol '_Znaj@@GLIBCXX_3.4' //usr/local/lib/gcc48/libstdc++.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake: *** [Makefile:51: ../db] Error 1 My makefile: [Hidden Content]
×
×
  • 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.