Jump to content

Skill/Item Map Restriction (Now Supports Multiple Maps!)


clydelion

Recommended Posts


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thanks for this! :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

wohoooo ty :)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

@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. /swt

Updated first post! Now supports multiple maps per line! /gg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

awesome man

ill use this :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

v2 is Not Working. :(

@EDIT:

sorry, now working.

Edited by Rage
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  09/13/12
  • Last Seen:  

good work, thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

nice done, pretty easy to use hehe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

can you make 1 for eathena and Add GM lvl that can bypass.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

Is this comaptible with Alexandria's basic data folder with 2011 03 15 and 2011 06 09 exes???

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

ahhh ok...thx for the info Emistry!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

awesome release !

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

very usefull /ok

/thx thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  01/18/13
  • Last Seen:  

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...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  01/18/13
  • Last Seen:  

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 by Kilamonjaro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

You're welcome. I'll appreciate it if everyone who uses this mod click the rep_up.png button of the first post. /gawi

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   15
  • Joined:  12/06/11
  • Last Seen:  

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}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

That's weird, that happens when? How do I reproduce that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   15
  • Joined:  12/06/11
  • Last Seen:  

Really don't know, it just crashes the map server for no reason.... None map is currently setted in the skill_mapdeny.txt file

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

not work since

r17119

Plis update, this source is very usefull

/thx

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

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

/thx

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.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

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..

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 by Kichi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...