LCDTheOG Posted June 8, 2012 Posted June 8, 2012 (edited) that was my guess, but my max lvl isnt 20 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 June 8, 2012 by lilcooldude69 Quote
Jhedzkie Posted June 8, 2012 Posted June 8, 2012 care to share how you made it work? im pretty interested in it. Quote
LCDTheOG Posted June 8, 2012 Posted June 8, 2012 (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 June 8, 2012 by lilcooldude69 Quote
Limestone Posted June 9, 2012 Posted June 9, 2012 @Jhedzkie can you share to us your .tga file of SProtect? xD Quote
LCDTheOG Posted June 9, 2012 Posted June 9, 2012 I +1 this, kinda sux when the status doesnt appear, and it just says it :/ Quote
Jhedzkie Posted June 10, 2012 Posted June 10, 2012 (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 June 10, 2012 by Jhedzkie Quote
LCDTheOG Posted June 10, 2012 Posted June 10, 2012 well this would work in 2011-11-16? and not all of us are good at drawing D: Quote
Jhedzkie Posted June 10, 2012 Posted June 10, 2012 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. Quote
frotek Posted June 10, 2012 Posted June 10, 2012 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? Quote
Jhedzkie Posted June 10, 2012 Posted June 10, 2012 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. Quote
Meister Posted June 21, 2012 Posted June 21, 2012 @Jhedzkie: can you post a tutorial on how to put custom icons in client? Quote
Jhedzkie Posted June 21, 2012 Posted June 21, 2012 @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+ Quote
clydelion Posted September 3, 2012 Author Posted September 3, 2012 This should work in latest rathena revision. Patch it manually. Quote
Dissidia Posted September 10, 2012 Posted September 10, 2012 thanks, works fine in my server ^^ Quote
Limestone Posted September 12, 2012 Posted September 12, 2012 i applied the patch, no compile errors and warning, but when i try to used my sprotect item, its not working.. i used id "6153". im using r16775. Quote
clydelion Posted September 12, 2012 Author Posted September 12, 2012 How do you say it does not work? Does it display "[ SProtect is now active ]" when the item is used? Quote
Limestone Posted September 13, 2012 Posted September 13, 2012 no.. it doesn't display. bump! please help! Quote
clydelion Posted September 13, 2012 Author Posted September 13, 2012 Re-diff the patch, you probably missed something... Quote
clydelion Posted September 13, 2012 Author Posted September 13, 2012 and how about the item? show your item script. Quote
Limestone Posted September 13, 2012 Posted September 13, 2012 6153,Special_Exchange_Coupon,Special Exchange Ticket,2,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_SPROTECT,1,0; },{},{} Quote
clydelion Posted September 13, 2012 Author Posted September 13, 2012 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 ]"); 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.