Jump to content
  • 0

[string "buf"]:262:attempt to index field 'AttackRange' (a nil value)


Question

Posted

Hello all

Was directed here from the RMS forums to ask this question.


does anyone have a fix for this error faced?

getting this whenever i try to cast homunculus skills like caprice

can't find a solution anywhere through searching ? and some responses in this forum had links to solutions but those links are pretty much dead

42920495_1490600397751541_6030335685053906944_n.jpg

note: have already patched kRO and that fixed the error for vanilmirth's bio explosion but still facing it for caprice!

5 answers to this question

Recommended Posts

  • 0
Posted
4 hours ago, Naruto said:

need to edit skillinfolist.lub and make sure the range is correct otherwise youll pop that error on some skills 

thanks for your reply! do you happen to have a fixed skillinfolist.lub file? how to find out what's the correct range? 

  • 0
Posted
5 hours ago, covid19gametime said:

thanks for your reply! do you happen to have a fixed skillinfolist.lub file? how to find out what's the correct range? 

fixed no but it should fix your problem if you change it to the official settings or just trying to match whatever the range in the DB is

 

that error is fairly common with the more compicated skills but thats how ive fix it 

  • 0
Posted

probably just need to add a if bl_hom tag and return 0 to this section near the top with the others

		case UNT_WHISTLE:
		case UNT_ASSASSINCROSS:
		case UNT_POEMBRAGI:
		case UNT_APPLEIDUN:
		case UNT_HUMMING:
		case UNT_DONTFORGETME:
		case UNT_FORTUNEKISS:
		case UNT_SERVICEFORYOU:
			if (sg->src_id==bl->id && !(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_BARDDANCER))
				return 0;

			if (!sc) return 0;
			if (!sce)
				sc_start4(ss, bl,type,100,sg->skill_lv,sg->val1,sg->val2,0,sg->limit);
			else if (sce->val4 == 1) { //Readjust timers since the effect will not last long.
				sce->val4 = 0; //remove the mark that we stepped out
				delete_timer(sce->timer, status_change_timer);
				sce->timer = add_timer(tick+sg->limit, status_change_timer, bl->id, type); //put duration back to 3min
			}
			break;

 

Join the conversation

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

Guest
Answer this question...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...