Jump to content

Evo

Member
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Evo

  1. def check_file(): file_path = filedialog.askopenfilename(filetypes=[('Text files', '*.txt')]) if file_path: count_respect_format = 0 count_do_not_respect_format = 0 invalid_strings = [] with open(file_path, 'r') as file: content = file.read() pairs = content.split('\n\n') for pair in pairs: strings = pair.strip().split('\n') if len(strings) == 2: string1, string2 = strings if check_format(string1.strip()) and check_format(string2.strip()): count_respect_format += 1 else: count_do_not_respect_format += 1 invalid_strings.append((string1.strip(), string2.strip())) else: print(f"Skipping pair: {pair}") result_text.delete('1.0', 'end') result_text.insert('end', f"Number of pairs that respect the format: {count_respect_format}\n" f"Number of pairs that do not respect the format: {count_do_not_respect_format}\n\n") if count_do_not_respect_format > 0: result_text.insert('end', "Invalid strings:\n\n") for invalid_string in invalid_strings: result_text.insert('end', f"{invalid_string[0]}\n{invalid_string[1]}\n\n") else: result_text.delete('1.0', 'end') result_text.insert('end', "No file selected.")
  2. For dumb people: import os executable_path = os.path.dirname(os.path.abspath(__file__)) script_path = os.path.join(executable_path, "pisellino.py")
  3. Uhm.. in my opinion it would be better if we could modify the value of the minutes of the autosave from the config and the ability to hide the autosave alert from config aswell
  4. Support about possible bugs is free, Ikarus can fix whatever you want or modify the gui if needed, why spitting on this instead of reporting bugs to him that fix in 5 minutes? Anyway the piece of code that you posted doesn't mean that you bought the system, I can post more lines of that part and I have not purchased this system. So why talking shit? ?
  5. I've noticed Rakancito about knockback with stones weeks ago... but he """fixed""" this with a wrong work around and I have not noticed that to him. IsStone() version is correct. if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_KNOCKBACK)) { float fknockbackLength = 300; //Distance for KnockBack, defult 300 if (pkChrVictim->IsStone()) fknockbackLength = 0;
  6. This """things""" have nothing to do with original beta skill window gui. Why you don't learn/inform about that before posting horrible turky selfmade shit and 99,9999% coded like shit aswell? My eyes are burning becouse of that video. OT: Is 240p a standard in turkylandia?
  7. I'm guessing a solution for you index file -> change if you have all "d:/ymir work" to -> "pack/"
  8. Evo

    Aeldra - Closed?

    Remember @teatone one day the bad things you have done to others will go against you. Trust me.
×
×
  • 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.