Yasunari Ishibashi
Members-
Posts
157 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Yasunari Ishibashi
-
if anyone can help me?
-
bump
-
parse_line: expect command, missing function name or calling undeclared function 28 : { * 29 : '.'@i = rand(100); 30 : please justify the script and adding the amount of the item obtained with annoucher,thanks function script sample { set .@rand, rand( 20+50+60 ); if ( .@rand < 20 ) { getitem "goldcoin", 2; announce strcharinfo(0) +" has earn gold coin x2", bc_all; } else if ( .@rand < 20+50 ) getitem "poringcoin", 5; announce strcharinfo(0) +" has earn poring coin x5", bc_all; } else if ( .@rand < 20+50+60 ) set zeny, zeny + 50000000; announce strcharinfo(0) +" has earn zeny 50.000.000", bc_all; } } please justify the script
-
set .@rand, rand( 20+50+60 ); if ( .@rand < 20 ) getitem "goldcoin", 2; else if ( .@rand < 20+50 ) getitem "poringcoin", 5; else if ( .@rand < 20+50+60 ) set zeny, zeny + 50000000; I think you should see the trick sort the conditions from lowest chance to higher chance thanks
-
how to add annoucher when getting items from the box?
-
Break Emperium WoE Give Prize
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Script Requests
// The Emperium has been broken. OnAgitBreak: getitem 7227,1; set .@GID,getcharid(2); // Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen) if (.@GID <= 0) { set .@notice$,"Character "+strcharinfo(0)+" ("+getcharid(0)+") broke the Emperium in Castle: "+strnpcinfo(2)+" while guildless. No data will be saved and Emperium respawned."; logmes .@notice$; debugmes .@notice$; donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena"; end; } OnStartArena: getitem 7227,1; // OnAgitStart will fall through and spawn the Emperium. if (strnpcinfo(2) == "aldeg_cas01") { setarray .@emproom[0],216,23; } else if (strnpcinfo(2) == "aldeg_cas02") { setarray .@emproom[0],213,23; } else if (strnpcinfo(2) == "aldeg_cas03") { setarray .@emproom[0],205,31; } else if (strnpcinfo(2) == "aldeg_cas04") { setarray .@emproom[0],36,217; } else if (strnpcinfo(2) == "aldeg_cas05") { setarray .@emproom[0],27,101; } else if (strnpcinfo(2) == "gefg_cas01") { setarray .@emproom[0],197,181; } else if (strnpcinfo(2) == "gefg_cas02") { setarray .@emproom[0],176,178; } else if (strnpcinfo(2) == "gefg_cas03") { setarray .@emproom[0],244,166; } else if (strnpcinfo(2) == "gefg_cas04") { setarray .@emproom[0],174,177; } else if (strnpcinfo(2) == "gefg_cas05") { setarray .@emproom[0],194,184; } else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; } else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; } else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],268,264; } else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; } else if (strnpcinfo(2) == "payg_cas05") { setarray .@emproom[0],30,30; } else if (strnpcinfo(2) == "prtg_cas01") { setarray .@emproom[0],197,197; } else if (strnpcinfo(2) == "prtg_cas02") { setarray .@emproom[0],157,174; } else if (strnpcinfo(2) == "prtg_cas03") { setarray .@emproom[0],16,220; } else if (strnpcinfo(2) == "prtg_cas04") { setarray .@emproom[0],291,14; } else if (strnpcinfo(2) == "prtg_cas05") { setarray .@emproom[0],266,266; } like this? -
Break Emperium WoE Give Prize
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Script Requests
- script Sample -1,{ OnNPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="aldeg_cas01" && killedrid == 1288 && (gettime(4) == 3) && gettime(3) == 19 ) { getitem 7227,1; end; } } please fix the script above -
what if adding zeny 50 million 60% poringcoin x 5 50% goldcoin x 2 20% please help
-
whether it can make a sample script? similar function as an additional type obb, annoucher if it get the items from the box sorry bad english
-
how to add annoucher items obtained from the box?
-
How to make a Custom OBB, or OCA
Yasunari Ishibashi replied to budabeads's question in Database Support
how to add annoucher items obtained from the box? -
how to add a script to the group annoucher random item? eg I opened the box and I get automatic Jellopy annoucher that namaplayer get Jellopy. whether it can be made like that? please help make the script thanks.
-
example script : function script CustomBoxUpper { setarray .BoxItems[0],25194,25195,25197,25199,25202,25203,25205; set .Random, rand( getarraysize( .BoxItems ) ); getitem .BoxItems[ .Random ], 1; announce "["+strcharinfo(0)+"] baru saja memperoleh ["+getitemname(.BoxItems[ .Random ])+"] dari Custom Box.",0; end; } Please help me edit the script, I want to add percent chance each get an item. eg: 25194 -> 40% 25195 -> 25% 25196 -> 10% 25199 -> 1% if anyone can help edit my scripts? sorry my bad english
-
mirror please
-
Request sprite Jounin Suit & scr_logo
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Graphics Requests
bump... -
Request sprite Jounin Suit & scr_logo
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Graphics Requests
bump -
Request sprite Jounin Suit & scr_logo
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Graphics Requests
bump -
why every time I buy items with cashpoint / kafrapoint goods can not be after that I could not move at all like the freeze. this script: prontera,151,142,4 cashshop Cash Shop 116,501:10,502:10 I use the latest version rathena. please help, thank you. (sorry my bad english)
-
Request NPC Security Account
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Script Requests
I wait when release script -
sorry troublesome,apparently I have not chance map rwc 03 problem solved
-
Request NPC Security Account
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Script Requests
what if using SVN 3CeAM? -
I have the same problem, please help
-
npclocationradius_f ERROR
Yasunari Ishibashi replied to Yasunari Ishibashi's question in Client-side Support
because I use RagEXE 2011-06-22, please prompts to correct the error. -
why get an error as shown below when I've compile lua to lub. The error appears on, if anyone can help? this contents npclocationradius_f : --Function #0 GetNpcLocationRadius = function(jobID) if NpcLocationRadius[jobID] ~= nil then return NpcLocationRadius[jobID] end return 0 end