santa12
Member-
Posts
71 -
Joined
-
Last visited
-
Feedback
0%
About santa12
Informations
-
Gender
Male
Recent Profile Visitors
1808 profile views
santa12's Achievements
-
santa12 started following Ranking System - code changed from 2019 to 2013 - Problem , Python gui coordinates , Discord Rich Presence and 6 others
-
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
-
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]
-
Link patch: Google drive - dont work
-
Hi, I remember that once this window was on the internet but I can't find it now, does anyone have a download?
-
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
-
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
-
block to buy from owner shop - problem
santa12 replied to santa12's topic in Community Support - Questions & Answers
Thanks Check private messages -
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?
-
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]
-
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]
-
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
-
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)
-
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; }
-
Metin2 crash db - occasionally
santa12 replied to santa12's topic in Community Support - Questions & Answers
I deleted the strip a long time ago