-
Posts
465 -
Joined
-
Last visited
-
Days Won
10 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by North
-
-
I may find some time this weekend to do some local setup and work on a new version of this system as it's very basic, I cannot help right now as sadly I don't have metin2 stuff on my machine anymore
- 1
-
Consider that those satellites are visible only for a short period of time, when they reach orbit then you won't see them anymore. We will get better internet latencies as a result of this project (starlink) and that will allow faster communication between Europe and North America for example, in terms of everything (stocks, gaming etc).
What exactly do you mean with artificial sky? We are already filled with space garbage and satellites but they just disitegrate as they reach earth or they piss off in deep space- 1
-
On 7/15/2020 at 3:21 PM, Tiburon said:
Hi, can someone give me some help?
I want to add an extra to the account save.so that apart from ID and PWD, also save a pin or account security code, as you want.
The problem is that at the time of adding it. everything normal is saved with the ID and PWD but, when I want to call the account and it logs automatically.
It gives me problems, it says in sysser
0715 10: 19: 39539 :: File "introLogin.py", line 1719, in __OnClickLoginAutoButton0715 10: 19: 39539 :: IndexError
0715 10: 19: 39539 :::
0715 10: 19: 39539 :: list index out of rangedef __OnClickSaveLoginButton(self):
id = self.idEditLine.GetText()
pwd = self.pwdEditLine.GetText()
pin = self.pinEditLine.GetText()
keypw = self.__ReadSavedPassword()
pwd = self.encode(keypw, pwd)
if (len(id) == 0 or len(pwd) == 0 or len(pin) == 0):
self.PopupNotifyMessage("Por favor, escriba ID , contrasena y pin.",self.SetIDEditLineFocus)
return
try:
file_object = open("user//credentials", "a")
except:
file_object = open("user//credentials", "w")
file_object.write("{}:{};{}\n".format(id,pwd,pin))
file_object.close()
self.PopupNotifyMessage("Se guardo con exito",self.SetIDEditLineFocus)
def __OnClickLoadInfoButton(self):
self.accountList = uiSelectCredentials.FileListDialog()
self.accountList.Open()
def __OnClickLoginAutoButton(self):
file_object = open("user//preferred", "r")
credentials = file_object.readline()
credentials = credentials.split(";")
file_object.close()
self.Connect("{}".format(credentials[0]), "{}".format(self.decode(self.__ReadSavedPassword(),credentials[1]), "{}".format(credentials[2]) ))Most likely you're not implementing self.pinEditLine correctly
-
-
3 hours ago, Akronis said:
We want to make it run natively, not using any kind of emulation.
Regards
I've heard this many times. You are not really being realistic though, good luck in your project
SpoilerP.s. WINE = Wine is not an emulator
- 1
-
Great job, this is a very handy reference. Could you use github gists/repo instead of mega downloads? Thanks
- 1
-
Downloaded a random server with autopatcher, works perfectly on wine 5.0 and ubuntu 19.10 -
2 hours ago, Hik said:
Do you know if it is possible to compile the client on linux?
Possible it is but as @Gurgarath said, you'll need to drop the windows only libraries (dx8, which is not really easy to do) so you're better off running the game with Wine. There could be a way of implementing this with https://github.com/ValveSoftware/Proton with or without the steam runtime, but as I said, it's not really worth it
-
The game works just fine on wine there isn't any porting to do, if a linux user wants to run metin2 he can
- 1
-
Hey guys,
Just to let you know, there is a very cool 8 bit game engine made for python use, very easy to use and straightforward.
https://github.com/kitao/pyxelIt also has an MIT license which is super cool, here's a small demo that I made just for fun.
Repo: https://github.com/FilippoLeone/pypega
It also can work with cx_Freeze so you can make an executable to distribute. I just created the repo so you'll see improvements in the structure & I am going to continue this game until I will create something more serious from scratch again.
This is how probably I will start to develop games, and it might be your chance too -
Hey guys,
I made a small scraper that sends Kimsufi availability data through a Telegram channel, this might come handy if you plan to get an exact model from them or you just want to wait the 3.99 deal.
Public Telegram channel: https://t.me/kimsufi_alertScript behind the channel if you are interested in it: https://github.com/FilippoLeone/kimsufi_python_scraper
The script will run every hour at 00 minutes.
- 1
-
In my old server I made them available everywhere so that they could be used for guild scrims everywhere and I was removing them in case of 1on1 PVP. Using them for guild wars only imho it's a waste
- 1
-
Somebody correct me if I am wrong but what you are showing is a linear function and instead you want to solve an exponential one, before writing any code I would suggest to understand the math behind it otherwise you will be stuck again in no time
Here you go:I personally follow this guy, is pretty good at explaining things
After watching this video try to imagine the sound intensity plotted as this exponential function where y=1 is the idle of the car you should get why you need an exponential function to represent the sound (when you press w to accellerate the sound increases in an exponential way and not in a linear way) -
On 4/25/2019 at 1:01 PM, Aioria said:
that's interesting, thank you!
Anyway it did work for that issue, (thank you again), but now it gives me a new error and don't know where looking for cause it just print me this while in intrologin.py at 176 there is this:
and a line 24 there are imports:
I hate these errors, (I) never know where to look.
and at system.py 136:
--- edit 1
Ok the issue is with the importing file in intrologin.py, but i don't know why, and mostly why syntax error and another error?--- edit 2
I checked and probably there is another issue about python version in uiselectcredentials i think, am i wrong?--- edit 3
I think the issue is here:def __OnOK(self): selItem=self.fileListBox.GetSelectedItem() if selItem: if self.selectEvent: self.selectEvent(selItem.GetText()) with open('user//preferred','w') as mainpg: mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())) ) self.__PopupMessage("Account name {} selected.".format(selItem.GetText())) self.Hide() else: self.__PopupMessage("You did not select any account.")
but i don't know, i though it was the double slash / / in "with open" but stil gives me syntax error
ok I'm pretty sure (but i could be wrong) that it's this lines fault:
with open('user//preferred','w') as mainpg: mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())))
but how make them work in python 2.2?
ok probably i'm wrong but i'm trying in this way
mainpg = open("user//preferred", "w") mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())))
but now i have to fight against bad magic number, and can't fine base64 for python 2.2
--- edit idon'trememberthenumber
Ok base64 is the only .pyc for python 2.2 i found, missing random.pyc, struct.pyc, hashlib.pyc and _winreg.pyc
https://www.python.org/download/releases/2.2/
No idea if you still need help but to answer the last part:
Just download python from the official website and you can get the libs from there, most of them should be already inside the installation folder but if not, follow this:
If you have syntax errors try to not use with open instead use `mainpg = open('user//preferred', 'w')` instead, remember to `mainpg.close()` if you use this method, also .format() was not a thing yet if I recall correctly, you should use other kind of string formatting (https://docs.python.org/2.2/lib/typesseq-strings.html)
21 hours ago, Syriza said:How can i use the keys f1, f2, f3, f4 for choosing the saved account data? Would be amazing if someone help
You should bind them to the index of the list you get printed in the interface, probably usin try except since the list index might not exist (empty slots).
It's not much work but I haven't got any working environment at the moment where I could write this, I stopped doing stuff for metin2 at least for now- 16
- 2
- 1
- 5
- 6
-
Must have tool, thanks for the share bud
-
1 hour ago, Sneaky Sneaky said:
Hello,i have one issue
i installed mysql correctly port 3306 is open same as mysql service but homepage doesnt connect to mysql
i saw some topics in freebsd forum about allowing remote connections through my.cnf but still
probably will be a firewall issue??
i am using freebsd11.0
https://stackoverflow.com/questions/14779104/how-to-allow-remote-connection-to-mysql
And please, if you have to do it don't do it on root.
-
2 hours ago, Noel said:
Hello, i have a problem:
0208 16:59:00478 :: Traceback (most recent call last):
0208 16:59:00478 :: File "introLogo.py", line 60, in OnUpdate
0208 16:59:00478 :: File "networkModule.py", line 177, in SetLoginPhase
0208 16:59:00478 :: File "system.py", line 130, in __pack_import
0208 16:59:00478 :: File "system.py", line 110, in _process_result
0208 16:59:00478 :: File "introLogin.py", line 19, in <module>
0208 16:59:00478 :: File "system.py", line 130, in __pack_import
0208 16:59:00478 :: File "system.py", line 110, in _process_result
0208 16:59:00478 :: File "uiSelectCredentials.py", line 5, in <module>
0208 16:59:00478 :: File "system.py", line 130, in __pack_import
0208 16:59:00479 :: File "system.py", line 110, in _process_result
0208 16:59:00479 :: File "intrologin.py", line 20, in <module>
0208 16:59:00479 :: File "system.py", line 137, in __pack_import
0208 16:59:00479 :: File "base64.py", line 8, in <module>
0208 16:59:00479 :: File "system.py", line 137, in __pack_import
0208 16:59:00479 :: ImportError
0208 16:59:00479 :: :
0208 16:59:00479 :: Bad magic number in C:\Users\Noel\Desktop\Jelenlegi_HU_kliens\lib\re.pyc
0208 16:59:00479 ::you can help me?
Bad magic number seems to be because the pyc file mismatches with your python version.
Check your python version, I took these libraries from python27 . You can download the correct python version from the official website and you will have the libs by adding them if needed with pip. The version is listed in the properties of your python dll.
Re.pyc seems odd though, I did not use it my script but maybe it got upset because of the extra libs.
Good idea @VegaS™, with some goodwill on my side I will eventually update the package but any help beforehand by anybody who wants to rewrite that part is welcome- 1
-
-
Probably this is caused because you have an outdated version of git, could you run
git --version
and
uname -a
and post here the results?
-
Hello,
Today I wanted to share with you something that I made quite some time ago that might turn useful to somebody.
The package was made without putting too much effort into it so if you find anything that might be off please notify me and I will update it.The script does some basic encryption and saves the encryption key into your win registry so the decrypt works only on your machine, this doesn't mean that this is somehow secure, it's just the way I did it.
How it works
DL (Mega) :If you need the extra compiled libs, here you go:
...I will also relase my other stuff, when I will find it...- 167
- 2
- 5
- 3
- 1
- 3
- 1
- 2
- 1
- 50
- 6
- 96
-
On 1/4/2019 at 2:52 AM, Exygo said:
def stripcolor(self, text): if re.search(#regex with groups here, text): return text[1] # returning group cleaned from the color match else: return text # If it doesn't match.
This is how you should approach this problem, regex groups are made for this
-
2 hours ago, tierrilopes said:
I summon Jesus Christ to clean the sins.
Btw, if you're the owner and trust no one in your team, or don't give them high permissions or then hardcoded is indeed the better option. It's way harder for someone to steal your source and edit your game core (or hex ) then to enter database and change stuff, because sql injection is so 'hard' in crappy mt2 sites.
Personally I would just change permissions of gm ranks.
Now remember that easy to change in database also makes it easier to hack.
No sql user that will manage the website should have the permission to access anything in the common table tho
-
7 hours ago, Kori said:
@VegaS™ the other idea is really bad. For every item a new text then we have the Source?
He is showing you how you can map to a simple key / values in order to show the mobs that drop that item, how to scale that in a smart way is up to you
- 2
-
49 minutes ago, gweilo321 said:
Hi guys im looking for a function in c++ source to get players name.
I tried "
if((chrGetName)== "name")
" but its not working, anyone got an idea whats the function?
if (ch->GetName() == "something")
This is probably what it should look like
AutoGPT and metin2 sources
in Off Topic
Posted
I was trying to do some stuff with AutoGPT feeding m2 sources via auto_gpt_workspace folder to make it accessible to the LLM, unfortunately I am Italian and they even banned my Italian credit card when enabling the openAPI key...Has anybody tried to do some cool stuff yet?
More context on autogpt: https://github.com/Significant-Gravitas/Auto-GPT