Jump to content

Scroll of SProtect ported to Ragnarok (from Flyff)


clydelion

Recommended Posts


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

yes it is present..

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:  

bump clydelion, it still doesn't work on my server :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

@rage

did you recompile?

:meow:

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:  

yes.. i recompile

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  12/18/11
  • Last Seen:  

i'm use item. it's "[Error]: status_change_start: invalid status change (517)!" on map screen. help me plz.

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:  

same problem as XeroBall.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  134
  • Reputation:   4
  • Joined:  09/28/12
  • Last Seen:  

Hi

Can u post the source at diff.patch it easy we try it.

thanks.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

ep variable error!.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

i got this error

status.c: In function ‘status_change_start’:

status.c:7294: error: ‘SC_SPROTECT’ undeclared (first use in this function)

status.c:7294: error: (Each undeclared identifier is reported only once

status.c:7294: error: for each function it appears in.)

status.c: In function ‘status_change_clear’:

status.c:8714: error: ‘SC_SPROTECT’ undeclared (first use in this function)

status.c: In function ‘status_change_clear_buffs’:

status.c:10397: error: ‘SC_SPROTECT’ undeclared (first use in this function)

make[1]: *** [obj_sql/status.o] Error 1

Link to comment
Share on other sites

  • 1 month later...

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

Re-check diffing.

If anyone's interested, here's a TGA for this mod.

Screenshot:

11goaqg.jpg

SPRO.zip

  • Upvote 1
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:  

Re-check diffing.

If anyone's interested, here's a TGA for this mod.

Screenshot:

11goaqg.jpg

Still not working on the latest rev Clydelion :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Re-check diffing.

If anyone's interested, here's a TGA for this mod.

Screenshot:

11goaqg.jpg

mind sharing what client you used here? and how you did it? :P

PS: that .tga is not ro-ish. this one would work.

spro.zip

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:  

Yeah. I just tried making one, plus I don't have a talent for this kind of work(design).

Anyway, I used 20120410. It should work on newer clients though. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

about adding the .tga to the client, how did you do it? did you replaced an existing status?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

oh. you just replaced an existing status. :P

Edited by Jhedzkie
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:  

i did not. o.o how do you say so?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

well, not working for me. my client not displaying the icon. using 2012-04-10. did what you indicated in your patch.

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:  

make sure the icon id match..

in my case, sprotect icon is 676..

status.h

   SI_FLOWER_LEAF = 675,
+    SI_SPRO = 676,
   SI_MAX,

status.c

   //Status that don't have a skill associated.
+    StatusIconChangeTable[sC_SPROTECT] = SI_SPRO;
   StatusIconChangeTable[sC_WEIGHT50] = SI_WEIGHT50;

efstids.lua

 EFST_HAT_EFFECT = 674,
 EFST_FLOWER_LEAF = 675,
+ EFST_SPRO = 676,
 __newindex = function()   error("unknown state") end
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

make sure the icon id match..

in my case, sprotect icon is 676..

status.h

SI_FLOWER_LEAF = 675,
+	SI_SPRO = 676,
SI_MAX,

status.c

//Status that don't have a skill associated.
+	StatusIconChangeTable[sC_SPROTECT] = SI_SPRO;
StatusIconChangeTable[sC_WEIGHT50] = SI_WEIGHT50;

efstids.lua

 EFST_HAT_EFFECT = 674,
 EFST_FLOWER_LEAF = 675,
+ EFST_SPRO = 676,
 __newindex = function()   error("unknown state") end
}

there it is. StatusIcon 676 in my svn is

SI_RAY_OF_PROTECTION = 676,

which is why i was thinking that you have only overridden an existing status icon, and yeah, you did.

Edit2: tried creating using ID 710 right after last entry in SI


  SI_QUEST_BUFF3 = 707,
  SI_REUSE_LIMIT_RECALL = 708,
  SI_SAVEPOSITION = 709,
+ SI_SPRO = 710,
  SI_MAX,
};

// JOINTBEAT stackable ailments
enum e_joint_break

and still, icon doesn't display.

Note: I just updated my svn to the latest before commenting this.

Edited by Jhedzkie
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:  

just a quick solution..

skill.c

   pc_addfame(sd,25); // Success to refine to +10 a lv2 weapon you forged = +25 fame point
   break;
  case 3:
   pc_addfame(sd,1000); // Success to refine to +10 a lv3 weapon you forged = +1000 fame point
   break;
 }
}
  } else {
+ if(sd->sc.data[sC_SPROTECT])
+ {
+  status_change_end(&sd->bl, SC_SPROTECT, INVALID_TIMER);
+  clif_refine(sd->fd,1,idx,item->refine);
+  clif_displaymessage(sd->fd,"[ SProtect is no longer in effect ]");
+
+ } else {
item->refine = 0;
if(item->equip)
 pc_unequipitem(sd,idx,3);
clif_refine(sd->fd,1,idx,item->refine);
pc_delitem(sd,idx,1,0,2, LOG_TYPE_OTHER);
clif_misceffect(&sd->bl,2);
clif_emotion(&sd->bl, E_OMG);
+	}
  }
 }
}

please tell if it works. :)

Hi Clydelion, i have problem in this src mod, when i use the sprotect scroll, then the item failed, the remaining items that you refine increased refining chance.

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