borealis
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by borealis
-
-
Im trying to make this work on latest rathena pull. but im having error of
"Item sub type is not supported for this item type. on my mapserv".
-
its working problem is. it doesnt show the slot no, on the chat box
-
On 1/24/2019 at 8:13 PM, n0tttt said:
Didn't you you wanted that.
prontera,150,150,4 script Stylist 4_F_NYDHOG,{ if(!(eaclass() & EAJ_SUMMONER)) { setarray .@max[1], getbattleflag("max_hair_style"), getbattleflag("max_hair_color"), ((!getlook(LOOK_BODY2))? getbattleflag("max_cloth_color") : .max[4]); } else { copyarray .@max[1],.max[1],3; } setarray .@min[1], 1, // Hair style 0 crashed my client last time I tested. 0, 0; setarray .@s[1], LOOK_HAIR, LOOK_HAIR_COLOR, LOOK_CLOTHES_COLOR; .@size = getarraysize(.blacklist$); .@n$ = "^3227cd[Stylist]^000000"; mes .@n$; mes "Hello "+strcharinfo(0)+"."; mes "Current hairstyle: ^00457f"+getlook(LOOK_HAIR)+"^000000."; mes "Current haircolor: ^215d90"+getlook(LOOK_HAIR_COLOR)+"^000000."; mes "Current clothcolor: ^4c9fe5"+getlook(LOOK_CLOTHES_COLOR)+"^000000."; mes "Do you want to change something?"; while(playerattached()) { next; .@sty = select("^911b1bExit.^000000","Hairstyle.","Haircolor.","Clothes color.") - 1; mes .@n$; if(!.@sty) { mes "Have a nice day."; close; } .@o = getlook(.@s[.@sty]); mes "Where do you want to start from?"; next; .@s = select("From the beggining.","From my current style.","Specific style.","Random style."); mes .@n$; if(.@s == 3) { mes "Input the number you'd like to start from."; mes "("+.@min[.@sty]+" - "+.@max[.@sty]+")"; mes "Your current style is: ^e83333"+.@o+"^000000."; input .@num; if(.@num > .@max[.@sty] || .@num < .@min[.@sty]) .@num = rand(.@min[.@sty],.@max[.@sty]); } else { .@num = ((.@s == 1)? .@min[.@sty] : ((.@s == 2)? .@o : ((.@s == 4)? rand(.@min[.@sty],.@max[.@sty]) : .@min[.@sty]))); } if(!.@opt) { stand; getmapxy .@m$,.@x,.@y,UNITTYPE_PC; unitwalk getcharid(3),.@x,.@y - 1; } mes "Great, we can start now."; next; do { mes .@n$; if(.@s[.@sty] == LOOK_CLOTHES_COLOR) { for(.@i = 0;.@i < .@size && !.@blacklist;.@i++) { if(compare(.blacklist$[.@i],"-")) { explode .@bl$,.blacklist$[.@i],"-"; .@min = atoi(.@bl$[0]); .@max = atoi(.@bl$[1]); if(.@num >= .@min && .@num <= .@max) { if(!.@revert) .@num = .@max + 1; else .@num = .@min - 1; } } else { if(.@num == atoi(.blacklist$[.@i])) .@num+= pow(-1,.@revert); } } } mes "Style n°^e83333"+.@num+"^000000."; setlook .@s[.@sty],.@num; if(!.@random) { .@sty_1$ = ((.@revert)? "Previous [^e83c00"+((.@num - 1 < .@min[.@sty])? .@max[.@sty] : .@num - 1)+"^000000]" : "Next [^e83c00"+((.@num + 1 > .@max[.@sty])? .@min[.@sty] : .@num + 1) +"^000000]"); .@sty_2$ = ((.@revert)? "Next [^e83c00"+((.@num + 1 > .@max[.@sty])?.@min[.@sty] : .@num + 1)+"^000000]" : "Previous [^e83c00"+((.@num - 1 < .@min[.@sty])? .@max[.@sty] : .@num - 1) +"^000000]"); .@opt = select(.@sty_1$,.@sty_2$,"^911b1bI want this one.^000000","Jump to a number ("+.@min[.@sty]+"-"+.@max[.@sty]+").","Jump to a random number.","Revert changes.","^614c9cRandom mode^000000 [^e81600off^000000]"); if(.@opt + .@revert == 2) .@num--; else if(.@opt + .@revert == 1) .@num++; if(.@num < .@min[.@sty]) .@num = .@max[.@sty]; else if(.@num > .@max[.@sty]) .@num = .@min[.@sty]; if(.@opt == 2) .@revert = !.@revert; } else { .@opt = select("Next.","^911b1bI want this one.^000000","Jump to a number ("+.@min[.@sty]+"-"+.@max[.@sty]+").","Revert changes.","^614c9cRandom mode^000000 [^50bf19on^000000]"); if(.@opt > 2) .@opt++; if(.@opt > 4) .@opt++; } if(.@opt == 4) { input .@num; if(.@num > .@max[.@sty] || .@num < .@min[.@sty]) .@num = rand(.@min[.@sty],.@max[.@sty]); } else if(.@opt == 5 || (.@random && .@opt == 1)) { .@num = rand(.@min[.@sty],.@max[.@sty]); } else if(.@opt == 6) { .@num = .@o; } else if(.@opt == 7) { .@random = !.@random; } clear; } while(.@opt != (3 - .@random)); next; mes .@n$; mes "Do you want to change something else?"; .@num = 0; .@revert = false; .@random = false; } OnInit: //==============Settings:=============================================== setarray .max[1], 6, // Max summoner hairstyle. 10, // Max summoner hair color. 10, // Max summoner clothes color. 553; // Alternative outfist clothes color. setarray .blacklist$[0],"30-200","999"; // Blacklist for cloth color. //====================================================================== }
i have more body color and hair color on my .grf. how can i adjust the limit?
-
17 hours ago, WhiteEagle said:
It's in refine_db.yml.
Path: db/pre-re/ or db/re/
And its used like this here:- Level: 13 Bonus: 2800 BlacksmithBlessingAmount: 16 BroadcastSuccess: true BroadcastFailure: true Chances: - Type: Normal Rate: 800 Price: 100000 Material: Carnium BreakingRate: 2000 DowngradeAmount: 3 - Type: HD Rate: 800 Price: 100000 Material: HD_Carnium DowngradeAmount: 1
tnks sir. its working now. ur a great help
-
On 12/10/2022 at 9:41 AM, WhiteEagle said:
rAthena has this feature included. This here is no longer needed.
# - Group Refine item type. # Levels: Refinement settings per item level. (Default: null) # - Level Item level. # RefineLevels: Refinement settings per refine level. (Default: null) # - Level Refine level. # Bonus Refinement bonus. (Default: 0) # RandomBonus Extra refinement bonus of 0~RandomBonus stacked on Bonus. (Default: 0) # BlacksmithBlessingAmount Amount of Blacksmith Blessing required. (Default: 0) # BroadcastSuccess Broadcast to the whole server when a refine attempt at this level succeeds. (Default: false) # BroadcastFailure Broadcast to the whole server when a refine attempt at this level fails. (Default: false)
hi sir. when can adjust the broadcastsuccess? what file i will edit?
Deposit System
in Script Showcase
Posted
pm you