mytuo

Members
  • Content Count

    3
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

1 Neutral

About mytuo

  • Rank
    Vassal

Profile Information

  • Gender
    Not Telling
  • Country
    Afghanistan
  1. Hey Alisa, I got an error on this when I renamed the system to system-eu: Version: EP30_Global,NL_s,V2110409,235 BuildDate: Thu Jan 01 02:00:00 1970 Time: 2020.2.16 21:54:43 [GTick=1,LGTicks=1,Duration=4] PosCode: 0:0:0 ZoneName: OS: Windows 10(64) 10.0 (Build: 9200), Service Pack 0.0 CPU: GenuineIntel Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz @ 3206 MHz RAM: 16319MB RAM CPUInfo: 4,4,4,0 Memory: 38075KB PrivateMemory: 87628KB Video: NVIDIA GeForce GTX 970 (3200), DX v4.9r904 Option: 1024x768__W0_H0A0KPB Scene: 0_0_0 Stat: 0 Replay: 0_1 WorldRaid: 0_0/0 ClientSocketClosed: 0 NPAuthSocketClosed: 0 Sev: 0_ VideoResources: 0 MB MAC: BF-88 LANG: EUROPE IME: ??? Error: History: FL2TextInfomation::Serialize <- FL2GameData::LoadL2GameDataNameMapBin <- FL2GameData::LoadCommonScript <- UGameEngine::LoadCommonGameData <- UGameEngine::Init <- InitEngine Exception: Code [EXCEPTION_WRITE_VIOLATION DataAddress:0xFDB76000] Address [0x10916924] SegCs [0x0023] L2.exe [0x10900000] Offset [0x00016924] Can you maybe check it out, maybe the previous fix was unnecessary ?
  2. I appreciate all the attention guys :) Honestly I'm new to Java, that's true and I'm trying to debug the automatic donation system from l2 packs like ava mythras etc. The project is totally local, no publishing, no selling, just wanna get it done. I got to tweaking the source java to : public static void decode(Message msg) throws Exception { Object msgCont = msg.getContent(); String from = msg.getFrom()[0].toString(); String str = msgCont.toString(); String[] strs = str.split("\n"); if (strs[2].startsWith("This email confirms that you have received a donation of") && strs[2].contains("EUR")) { Main.handleDonation("Paypal", strs[2].split("\\)")[0].split("\\(")[1], str.split("Confirmation number: ")[1].substring(0, 17), (int)Double.parseDouble(strs[2].substring(57, strs[2].indexOf(" EUR")))); return; } System.out.println("[FATAL] Corrupted donation from:\n->" + from + " (Please check this eMail)"); } However I still get the exception about the corrupted donation. The system goes into my mailbox, reads the mail but it doesn't decode it correctly. The e-mails come in like this : and my understanding is that the 3rd line is exactly what it should be. The function does not even go to Main.handleDonation, it dies at if (strs[2].startsWith, so it must not recognize the text correctly I'm struggling alone on this for 2 days now. Thanks again to people wanting to help :) :D
  3. Hi guys, I have a code snippet here: String str = msgCont.toString(); String[] strs = str.split("\n"); if (strs[2].startsWith("partofthemessage") && strs[2].contains("x")) { Main.handleDonation("y", strs[2].split("\\)")[0].split("\\(")[1], str.split("xx: ")[1].substring(0, 17), (int)Double.parseDouble(strs[2].substring(57, strs[2].indexOf(" x")))); "); Will someone care to explain if : String[] strs = str.split("\n"); if (strs[2] means the second string of the msg content? Thanks!