Jump to content

Recommended Posts

Posted (edited)

that was my guess, but my max lvl isnt 20 :P its 15 so i guess just change it to 15 xD

hmm that almost did it i'll post a release on all the changes i did so it could be an actual release, i'll include u guys in it as well ;) thanx for the help tho, sorry for turning the topic into a support topic xD

i actually got it working tho no worries ;)

Edited by lilcooldude69
Posted (edited)

haha alrighty,

if( item->refine >= menuskill_val
           ||  item->refine >= 20        // if it's no longer refineable
            ||  ditem->flag.no_refine     // if the item isn't refinable
            ||  (i = pc_search_inventory(sd, material [ditem->wlv])) < 0 )

needs to be

     if( item->refine >= 20
           ||  item->refine >= 20        // if it's no longer refineable
            ||  ditem->flag.no_refine     // if the item isn't refinable
            ||  (i = pc_search_inventory(sd, material [ditem->wlv])) < 0 )

for instance mine was 15 so i put a 15 there.

Edited by lilcooldude69
Posted (edited)

as i've told you guys earlier in this topic, latest clients doesn't support adding custom icons. well anyway, i was searching it all over my D:\ and it seems like i've overwritten it with new shit when i made another one before, so i only have the psd template. not the actual SPRO Icon. anyway, its quite easy to come up with it so i know you can do it yourself.

ICONTEMPLATE.psd

Edited by Jhedzkie
Posted

the last client it worked is 2011-03-25? the one provided in the basic rAthena. or not? im not using my own upgrade protection src anymore myself because w/o the icon its somewhat lame. the last time i used it is last november 2011. and no, i suck at drawing myself. i just resized the image and traced the outline it using the pencil tool in photoshop. added some glow to make it look like a buff. and i just extracted the blue background from adrenaline rush icon. :P

Posted

what if i want to use the Blessing Skill icon or any other default status icon whenever SProtection is Activated, how do i do that?

i believe there has to be some hexing to achieve what you want to do.

  • 2 weeks later...
Posted

@Jhedzkie: can you post a tutorial on how to put custom icons in client?

Woah that's cool. I'm not into client-side modifications though. Yes that can easily be done but what's 'downrefitem' for anyway?

I really wanted this mod to work exactly like that of Flyff's mechanics.

try to check your script.c again, (if you have an updated src that is) it is just the next function to failedrefitem..

that's for failed upgrades not to break item (vanish item) but just to downgrade it. like from +17 down to +16.

as for the client-side modification, as ive said, you need to incorporate a new status icon to the client, the icon is a 16x16 targa, that needs to be put on the effects folder, after that, you need to add some entries to the lua files as well. ( data\lua files\stateicon\efstids.lua;stateiconinfo.lua) but, then again, its not working anymore for clients 2011-11+

  • 2 months later...
Posted

There's nothing wrong with your script.. I'm guessing it is status.c.

If this is present in your status.c, it will display the message upon usage of the item.

+  case SC_SPROTECT:
+   if (type == SC_SPROTECT)
+    clif_displaymessage(sd->fd,"[ SProtect is now active ]");

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.

  • Recently Browsing   0 members

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