-
Featured Topics
-
Latest Commits
-
Topics
-
Posts
-
Are you under attack? Looking Proxy Server? for your Ran, Ragnarok, Flyff, MU, RF Game with Anti DDOS, Hide your main IP, SINGAPORE TEST PROXY IP : 204.10.192.67 Powered WWW.PATH.NET | Phil Hosting Networks Admin Panel contact us : https://bit.ly/3QX0vcV 20220809_213635.mp4
-
Thanks for the responses. I don't know why I use memcpy, not so advanced on coding. I just copied an existing structure I found in source code. I used safestrncpy in new version and no leaks. char item_name[ITEM_NAME_LENGTH], output[100]; safestrncpy(item_name, i_data->jname, ITEM_NAME_LENGTH); sprintf(output, "Retrieved %d '%s' from storage.", i, item_name);
-
By Catastrophe · Posted
Anyone here has a working show party buff plugin? All the plugins that I've search here are not working anymore. RONovelty aka Shakto sells it but only for rAthena. Anyone knows for Hercules? -
after sprintf, add aFree(item_name); and why memcpy? server may crash if name too short. probably better strncpy or safestrncpy
-
Either add a aFree(item_name); or better use a stack allocation instead of malloc char item_name[ITEM_NAME_LENGTH];
-
-
Download Statistics