Popular Post clydelion Posted January 16, 2013 Popular Post Posted January 16, 2013 Disable skill or item usage in certain maps. Add a new txt in your db folder.. item_mapdeny.txt //<nameid>:<map1>{,<map2>,<map3>,<map4>,...} //Disables Red Potion usage in Prontera and Payon 501:prontera,payon skill_mapdeny.txt //<skillid>:<map1>{,<map2>,<map3>,<map4>,...} //Disables skill TF_HIDING usage in Prontera and Lighthalzen 51:morocc,lighthalzen That's it, nothing much to say. skill_and_item_mapdeny(rAthena17100).diff skill_and_item_mapdeny(rAthena17100)_v2.diff - Supports multiple maps per line skill_and_item_mapdeny(rAthena171278).diff Please click the button if I have helped you. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 27 Quote
Emistry Posted January 16, 2013 Posted January 16, 2013 Suggestion.... <skill id / item id>,<mapname>,<mapname>,<mapname>.......... enable to provide multiple mapname...xD so that users wont need to re-write the same thing for others map.... imagine if you have 50 items to be disable in 50 maps....or 50 skills to be disable in 50 maps....xD it would be around 2500+ entries for these items / skills.... Quote
clydelion Posted January 16, 2013 Author Posted January 16, 2013 @E Yeah, it was the original plan. I can't think of the right code for that though. I will update this once I get it. Updated first post! Now supports multiple maps per line! Quote
Limestone Posted January 16, 2013 Posted January 16, 2013 (edited) v2 is Not Working. @EDIT: sorry, now working. Edited January 16, 2013 by Rage Quote
maynard Posted January 18, 2013 Posted January 18, 2013 can you make 1 for eathena and Add GM lvl that can bypass. Quote
miczster Posted January 18, 2013 Posted January 18, 2013 Is this comaptible with Alexandria's basic data folder with 2011 03 15 and 2011 06 09 exes??? Quote
Emistry Posted January 18, 2013 Posted January 18, 2013 Is this comaptible with Alexandria's basic data folder with 2011 03 15 and 2011 06 09 exes??? this is a source mod that modify your server file..not client side...so it should work and compatible in all client / client data Quote
Kilamonjaro Posted January 21, 2013 Posted January 21, 2013 Sorry to get so easily confused here guys, but i have r17103 currently. I just got started with this all 3 days ago, so let this be my first question. Do I need to diff my client with shinsdiffpatcher using this download? Because that makes no sense to me. If not, just how simple and what do I need to do? Thank you for reading this and I hope this isn't something thats just that simple to figure out... Quote
Feefty Posted January 21, 2013 Posted January 21, 2013 Sorry to get so easily confused here guys, but i have r17103 currently. I just got started with this all 3 days ago, so let this be my first question. Do I need to diff my client with shinsdiffpatcher using this download? Because that makes no sense to me. If not, just how simple and what do I need to do? Thank you for reading this and I hope this isn't something thats just that simple to figure out... you can use tortoise svn to patch your server http://rathena.org/wiki/Diff Quote
Kilamonjaro Posted January 21, 2013 Posted January 21, 2013 (edited) Sorry to get so easily confused here guys, but i have r17103 currently. I just got started with this all 3 days ago, so let this be my first question. Do I need to diff my client with shinsdiffpatcher using this download? Because that makes no sense to me. If not, just how simple and what do I need to do? Thank you for reading this and I hope this isn't something thats just that simple to figure out... you can use tortoise svn to patch your server http://rathena.org/wiki/Diff Thanks a ton Feefty, I can't believe I totally overlooked this in the wiki. ._. This is just awesome! Thank you clydelion! -Kilamonjaro Edited January 21, 2013 by Kilamonjaro Quote
clydelion Posted January 21, 2013 Author Posted January 21, 2013 You're welcome. I'll appreciate it if everyone who uses this mod click the button of the first post. Quote
Igniz Posted January 30, 2013 Posted January 30, 2013 It is not working, here the debug info: Program received signal SIGSEGV, Segmentation fault. 0x0813bacb in skillnotok (skill_id=8013, sd=0xe9d9ee8) at skill.c:551 551 if( skill_db[skill_id].mapdeny[m].deny_flag ){ bt full #0 0x0813bacb in skillnotok (skill_id=8013, sd=0xe9d9ee8) at skill.c:551 idx = <value optimized out> m = 60 __FUNCTION__ = "skillnotok" #1 0x08092ade in clif_parse_UseSkillToId_homun (fd=13, sd=0xe9d9ee8) at clif.c:10840 lv = <value optimized out> #2 clif_parse_UseSkillToId (fd=13, sd=0xe9d9ee8) at clif.c:10950 skill_id = <value optimized out> skill_lv = 5 tmp = <value optimized out> target_id = <value optimized out> tick = 952922933 #3 0x08093968 in clif_parse (fd=13) at clif.c:16629 cmd = 2407 packet_ver = <value optimized out> packet_len = 10 err = 8 sd = 0xe9d9ee8 pnum = 0 #4 0x081d4f3e in do_sockets (next=50) at socket.c:809 rfd = {__fds_bits = {8192, 0 <repeats 31 times>}} timeout = {tv_sec = 0, tv_usec = 20000} Quote
clydelion Posted January 30, 2013 Author Posted January 30, 2013 That's weird, that happens when? How do I reproduce that? Quote
Igniz Posted January 30, 2013 Posted January 30, 2013 Really don't know, it just crashes the map server for no reason.... None map is currently setted in the skill_mapdeny.txt file Quote
Kichi Posted February 12, 2013 Posted February 12, 2013 not work since r17119 Plis update, this source is very usefull Quote
clydelion Posted February 12, 2013 Author Posted February 12, 2013 Really don't know, it just crashes the map server for no reason.... None map is currently setted in the skill_mapdeny.txt file I can't reproduce this.. not work since r17119 Plis update, this source is very usefull You can use this in the latest rathena source, just apply the necessary patches manually. I cannot update my mods for every revision, unless people can't apply it manually anymore (because of too much difference with source codes). :/ EDIT: Oh well, the structure has been changed for most of the part during rev. 17119. Updated. Quote
Kichi Posted April 13, 2013 Posted April 13, 2013 (edited) Really don't know, it just crashes the map server for no reason.... None map is currently setted in the skill_mapdeny.txt fileI can't reproduce this..EDIT: Oh well, the structure has been changed for most of the part during rev. 17119. Updated. im using centos 64 BIT and the map server crash when i did Spirit Control to Ventus and map server crash EDIT: not only ventus, Spirit Control will crash with this function Edited April 13, 2013 by Kichi Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.