-
Posts
1546 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Radian
-
Dec 23, 2013 If you are using 2013 Client. i think 2013+ clients use lub instead of lua.
-
What client date are you using by the way?
-
A shop that has global function that you can see who sells & buy items? for example when you open the shop it will show like this. Radian : S>Apple 10z ? I like the IDEA.
-
You put it on the mithril coin? And made it usable? because the refine doesn't take the mithril coins unless the player accepts. Yea. it works like this 1 Mithril Coin consumed > Selection of what item will be refined > Cancel > 1 Mithril Coin will be refunded. Update : Everytime i refined an item for example i stop at +20 the npc will look like this. 1. http://i.imgur.com/5Y8lu0e.jpg 2. http://i.imgur.com/D3SeiLr.jpg
-
Thanks for the response. will try it now.. Update : It is working perfectly.. however is it possible that when player cancel the refine. the Mithril coin will return?
-
You guys should put Trainee Support I am willing to apply xD
-
Hi is it possible to use a Consumable item than the NPC? or make it a function and insert on Mithril coin?
-
Anyone? @bump
-
Regarding on this problem maybe this might be the solution... Storage.rar
-
When the player doesn't have any items equipped, it won't be displayed on the menu. Thus, it's impossible for the refine ticket to be consumed. Also, the function you quoted only checks if the item is within the allowable refine range. If there's no item, then that argument won't be called. Here's an example of that usage: let's say your defined minimum refine rate is 5 and the max is 8. If you have a +3 item, then you cannot refine that item because it doesn't meet the minimum requirement. Same with a +9 item. The min/max refine range can be defined at arg2 and arg3, as explained in the script. callfunc( "RefineFunc",<arg1>,<arg2>,<arg3>,<arg4>,<arg5>,<arg6>,<arg7>,<arg8>{,<arg9>,<arg10>} ); I'm as lazy as I'm interested on doing this, so I'm sorry. It seems fun to code, though. I'll try to code this one if nobody provided you within a week or so. Yea when you are using the NPC. but i am using only the " callfunc " of the script so the item will be consumed and this " message strcharinfo(0),"Sorry, but you didnt have equipment that refined between "+.@arg[1]+" ~ "+.@arg[2]+" for refine."; will show up". instead of returning the ticket to the player. I don't know how to make this not to delete the item instead it will directly refine what item was equipped. delequip .@equip_part; // success and increase refine count if( rand( 100 ) < .@success_rate ){ getitem2 .@equip_id,1,1,.@target_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@equip_card[3]; message strcharinfo(0),"Succesfully refined to +"+.@target_refine+" "+getitemname( .@equip_id ); specialeffect2 EF_REFINEOK; close;
-
Can you explain? for example Refine level of the weapon is on +10 if you continue to refine the weapon up to +11 it will consume 2 Refinery Ticket instead of 1 Ticket from 0 ~ 10. the script has this function // check if any available equip to refine if( !.@equipment_count ){ message strcharinfo(0),"Sorry, but you didnt have equipment that refined between "+.@arg[1]+" ~ "+.@arg[2]+" for refine."; end; and I am using a consumable item for this Refine Function. what i want is not to delete the " Refine Ticket " when Player don't have any items equipped. What if the player got 2 same equips?
-
Hello, I hope someone can help me out with this support its all about the Refine Function of Emistry. My request is Add another Argument on the function on how many "Refine Ticket" will cost on the desired level of refine. Refine Ticket will not be consumed if player cancel to refine it. Remove the function that will unequip the item when refine is succes! here's the script : //--- Bitmasks ---- // 1 - Top Headgear // 2 - Armor // 4 - Left Hand // 8 - Right Hand // 16 - Garment // 32 - Shoes // 64 - Left Accessory // 128 - Right Accessory // 256 - Middle Headgear // 512 - Lower Headgear // 1024 - Costume : Head Low // 2048 - Costume : Head Mid // 4096 - Costume : Head Top // Notes : You can Customize it according to whatever way you want. // Different NPCs / Items with Different Settings. // It will consume the items that you defined to Refine the Equipments according to your Settings. // ........callfunc( "RefineFunc",<arg1>,<arg2>,<arg3>,<arg4>,<arg5>,<arg6>,<arg7>,<arg8>{,<arg9>,<arg10>} ); // - arg1 = bitmask ( refer table above ) // - arg2 = Minimum refine rate // - arg3 = Maximum refine rate // - arg4 = Refine Count ( negative = derefine / positive = refine ) // - arg5 = Check if Item can be refine ( 1 = true , 0 = false ) // - arg6 = Refine Success Rate ( 0 = default / 1~100% = succes rate ) // - arg7 = Amount of refine count dropped when failure ( must be negative ) // - arg8 = Drop refine count success rate ( 0 ~ 100% ) // - arg9 = Gained Bonus Refine Rate ( 0 ~ 100% ) // - arg10 = Required Item for Bonus Rate if Any ( leave 0 if dont need item ) // ** Arg9 ~ Arg10 is Optional. //----------- If used this as Item Script ----------- // Example : Red Potion as Refine Ticket // 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",63,0,20,2,1,80,-3,50,20,501 ); },{},{} // * set Arg.10 to the item id of Red Potion. ( *must* ) // Item will gone if they cancel the process halfway.. //----------- If used this as NPC Script ------------ // Example : // 80% success refine between 0 ~ 20 // 50% minus 3 refine when failed // each refine increase refine count by 2 // if provide 1 apple...gain 20% success refine rate // prontera,155,181,5 script Refiner 757,{ // callfunc( "RefineFunc",63,0,20,2,1,80,-3,50,20,512 ); // } prontera,155,181,5 script Refiner 757,{ callfunc( "RefineFunc",63,0,20,1,1,0,0,0,20,512 ); } function script RefineFunc { .@arg_count = getargcount(); // show information .@display_info = 1; // this this value to your custom max refine if your server have different default max refine .@server_max_refine = (( checkre(0) )? 20:10 ); // argument count checking if( .@arg_count < 8 ){ message strcharinfo(0),"Insufficient Arg. Min. required 8 Args but received only "+.@arg_count; return; } // save arg into a temp array. while( .@i < .@arg_count ){ .@arg[.@i] = getarg( .@i ); .@i++; } // check max refine count ( remove this part if you have custom max refine ) if( .@arg[2] > .@server_max_refine ){ message strcharinfo(0),"[Arg:3] RefineFunc Max Refine must not exceed "+.@server_max_refine +" but received "+.@arg[2]+"."; return; } // Refine Count must not 0. if( !.@arg[3] ){ message strcharinfo(0),"[Arg:4] RefineFunc Count must not 0."; return; } // Refine rate must not negative. if( .@arg[5] < 0 ){ message strcharinfo(0),"[Arg:6] RefineFunc Refine Rate must not Negative. Received "+.@arg[5]; return; } // Refine decrement must not positive. ( so they can differentiate it ) if( .@arg[6] > 0 ){ message strcharinfo(0),"[Arg:7] RefineFunc Failure Decrement must not Positive. Received "+.@arg[6]; return; } // Bonus Refine rate must not negative. if( .@arg[8] < 0 ){ message strcharinfo(0),"[Arg:9] RefineFunc Bonus Rate must not Negative. Received "+.@arg[8]; return; } // check for required item for gaining bonus rate if any if( .@arg[9] ) if( getitemname( .@arg[9] ) == "null" ){ message strcharinfo(0),"[Arg:10] RefineFunc Invalid Bonus Rate Item ID "+.@arg[9]; return; } // generate selection menu .@i = 1; while( .@i < 14 ){ .@equip_id = getequipid( .@i ); if( .@equip_id > 0 ){ .@equip_enableref = (( .@arg[4] )? getequipisenableref( .@i ):1 ); if( .@arg[0] & ( 1 << ( .@i-1 ) ) && .@equip_enableref ){ .@equip_refine = getequiprefinerycnt( .@i ); .@equip_slot = getitemslots( .@equip_id ); if( .@equip_refine >= .@arg[1] && .@equip_refine < .@arg[2] ){ set .@menu$,.@menu$ + ( ( .@equip_refine )?"+"+.@equip_refine+" ":"" ) + getitemname( .@equip_id ) + " ["+.@equip_slot+"]"; .@equipment_count++; } } } set .@menu$,.@menu$ + ":"; .@i++; } // check if any available equip to refine if( !.@equipment_count ){ message strcharinfo(0),"Sorry, but you didnt have equipment that refined between "+.@arg[1]+" ~ "+.@arg[2]+" for refine."; end; }else{ // get equipment data .@equip_part = select( .@menu$ ); .@equip_id = getequipid( .@equip_part ); .@equip_refine = getequiprefinerycnt( .@equip_part ); .@equip_slot = getitemslots( .@equip_id ); for( .@i = 0; .@i < 4; .@i++ ) .@equip_card[.@i] = getequipcardid( .@equip_part,.@i ); .@target_refine = .@equip_refine + .@arg[3]; // determine refine count if( .@target_refine > .@arg[2] ) .@target_refine = .@arg[2]; else if( .@target_refine < 0 ) .@target_refine = 0; if( .@equip_refine == .@target_refine ){ message strcharinfo(0),"That's your current refine rate."; close; } .@success_rate = (( .@arg[5] )? .@arg[5]:getequippercentrefinery( .@equip_part ) ); // display information if( .@display_info ){ mes "Target Refine : "; mes "^0055FF"+( ( .@target_refine )?"+"+.@target_refine:"" )+" "+getitemname( .@equip_id )+" ["+.@equip_slot+"]^000000"; mes "Success Rate : ^777777"+.@success_rate+" %^000000"; if( .@success_rate < 100 ){ if( .@arg[8] ) mes "Bonus Rate : ^777777"+.@arg[8]+" %^000000"; if( .@arg[9] ){ mes "Required Item : ^FF0000"+getitemname( .@arg[9] )+"^000000"; mes " "; mes "^777777**"+getitemname( .@arg[9] )+" is required for bonus rate^000000"; } } next; } if( select( "[^0055FF"+.@success_rate+"%^000000] "+( ( .@arg[3] < 0 )?"De-":"" )+"Refine to ^0055FF"+( ( .@target_refine )?"+"+.@target_refine:"" )+" "+getitemname( .@equip_id )+" ["+.@equip_slot+"]^000000","Cancel" ) == 1 ){ if( getequipisequiped( .@equip_part ) ){ // if it's not De-refine and below 100% success if( .@arg[3] > 0 && .@success_rate < 100 ){ // calculate refine rate + bonus rate if( .@arg[9] ){ if( countitem( .@arg[9] ) ) if( select( "Use ^0055FF"+getitemname( .@arg[9] )+"^000000 to increase Refine Rate","Continue" ) == 1 ){ .@success_rate += .@arg[8]; delitem .@arg[9],1; } }else{ .@success_rate += .@arg[8]; } } delequip .@equip_part; // success and increase refine count if( rand( 100 ) < .@success_rate ){ getitem2 .@equip_id,1,1,.@target_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@equip_card[3]; message strcharinfo(0),"Succesfully refined to +"+.@target_refine+" "+getitemname( .@equip_id ); specialeffect2 EF_REFINEOK; close; // failed and decrease refine count }else if( .@arg[6] && .@arg[3] && rand( 100 ) < .@arg[7] ){ .@target_refine = ( .@equip_refine + .@arg[6] ); if( .@target_refine < 0 ) .@target_refine = 0; getitem2 .@equip_id,1,1,.@target_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@equip_card[3]; message strcharinfo(0),"Failed and refine count dropped to +"+.@target_refine+" "+getitemname( .@equip_id ); // failed and destroy equip }else{ message strcharinfo(0),"Failed to refine and destroyed "+getitemname( .@equip_id ); } specialeffect2 EF_REFINEFAIL; } } } close; } Anyone?
-
What emulator are you using?
-
Here i changed some things.. http://pastebin.com/U4QtiUHu
-
I downloaded the modified client by Judas but got some error.
Radian replied to Nero's question in Client-side Support
yes i configured it correctly Try this http://rathena.org/board/topic/70962-recommended-client-setup/ the 2012-04-10 DIFFED Allow Chat Flood: 3 Always Call SelectKoreaClientInfo() Chat @-Bug Custom Window Title: Ragnarok Online Disable 1rag1 & 1sak1 Disable 4 Letter User Character Limit Disable 4 Letter User ID Limit Disable 4 Letter User Password Limit Disable Hallucination Wavy Screen Disable HShield Disable Nagle Algorithm Disable RagexeRE Filename Check Disable Swear Filter Enable 64K hairstyles Enable ASCII in Text Enable Aura Over Level 99 And Level 150 Enable DNS Support Enable Multiple GRFs Enable Official Custom Fonts Enable Title Bar Menu Enforce Official Login Background Extended Chat Box Extended Chat Room Box Extended PM Box Fix Camera Angles Medium Force Send Client Hash Packet Ignore Missing File Errors Ignore Missing Palette Errors Increase Headgear View ID: 30000 Increase Zoom Out 75% Only First Login Background Read msgstringtable.txt Read questid2display.txt Remove Gravity Ads Remove Gravity Logo Remove Hourly Game Grade Banner Remove Hourly Playtime-Minder Remove Quake Skill Effect Remove Serial Display Restore Login Window Skip License Screen Skip Packet Header Obsfucation Translate Client Into English Use Arial On All Langtypes Use Custom Aura Sprites Use Normal Guild Brackets Use Plain Text Descriptions Use Ragnarok Icon @by greenbox Read data folder first works fine for all luas and resolution w/o read lua before lub, but if used together, sometimes my resolutions settings get screwed Modifications: http://rathena.org/b...nt-translation/ (Credits to nanakiwurtz) If sprite is not showing there's something wrong with it. either its the sprite or how you put the custom item. -
I downloaded the modified client by Judas but got some error.
Radian replied to Nero's question in Client-side Support
Make sure that you got the correct View ID of the custom item you put. here's a full guide. http://rathena.org/wiki/Custom_Items -
here's the fixed script http://pastebin.com/rbi6T7MT
- 1 reply
-
- 1
-
-
I prefer Developers here at rAthena.
-
I am using 2012 04 10 Client. and I used the data folder from here http://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/ Try this data http://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/
-
Yea. i dont mind with the Emblem but i like the one you suggest.
-
The Updated rAthena will be the most compatible. https://github.com/rathena/rathena
- 1 reply
-
- 1
-
-
Can someone teach me how to make this effect? the reason with this is i got Sharingan item that when specific refine is applied it will upgrade to level 2 and level 2 to level 3. @bump
-
I think this can answer your question // When to re-display the guild notice // Upon teleporting (regardless of changing maps): 2 (official) // Upon changing maps: 1 // Do not re-display: 0 (disabled) guild_notice_changemap: 2 which you can see it here https://github.com/rathena/rathena/blob/master/conf/battle/guild.conf
-
#Main or #Trade can be abuse or spammed since this system is default feature. why not add a delay or like on channel.conf // Enable Main System // 1 = Yes Enable to all // 0 = No, Normal Accounts cant use this system main_system: 1 // Main System Delay // ex: 60 (1 minute) main_system_delay: 60