Alright, so i've been reading stuff online and testing in general, i've been able to fix a great many deal of things that made it crash, i managed to sniff some packets and made it so that i can turn stuff on and off by pm and so on, but one problem i can't fix is when i put a character to kill random water dragons or so it works fine, but when i try to start a party in a room with alot of mobs it goes on for about one hour and then i have engine.exe, i turned beheading off, still getting it, i turned the targeting mobs off cause i thought the target list might be getting full or not being emptied and let only splashy with 2 seconds cooldown between each so basically all i was doing is sending a splashy packet every 2 secs but still got engined, i turned splashy off and used only IR+FB+CL and still engine.exe, when i leave a character only beheading and picking there are no problems, so it seems that it is related to sending attack/skill packets where there are many (10+) mobs or sending aoe skill packets.
Things i already tried is for my attack source i'm taking everything directly from the recv.cpp so i believe it's running on the same thread as kal is, i've added 2s cooldown between skills to be sure i wasn't sending too many packets at the same time.
Anyway, i wanted to know if someone could help with this issue as it is the last thing i need to figure out to have it fully functional, if you need to see my code let me know i'll send it in pm as i don't want people to just copy and paste it, i didn't know anything about programing when nokia made this source available, so if i could spend time to learn others can too.