-
Posts
569 -
Joined
-
Last visited
About Petey Pablo
- Birthday 01/18/1990
Profile Information
-
Gender
Male
-
Location
PPC, Philippines
-
Server
Dangerous RO
Contact Methods
- Yahoo
Petey Pablo's Achievements
-
@up
-
-Yes accumulative it will continue time played if they online -Auto pause the total time played if they go offline and please add the announce message saying Congratulations this player is eligible for beta rewards on official server launch. Thank you Dont forget the Beta Rewards NPC that have function to check if this player have playing 5 hours during beta. Thank you very much @Patskie I need must be ingame for 5 hours or more during beta to this script. Thank you prontera,150,150,3 script Beta Reward 100,{ if(BaseLevel < 255) goto OnDeny; if(getcharid(3) <= 2000100){ if(#cbtreward == 1) { mes "[ Beta Reward ]"; mes "You already got your reward!"; close; } getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused. mes "[ Beta Reward ]"; mes "Here's your reward!"; set #cbtreward,1; close; } mes "[ Beta Reward ]"; mes "You're not a beta player, sorry!"; close; OnDeny: mes "[ Beta Reward ]"; mes "You don't have the required level for Beta Reward."; mes "Come back when you reached it - Base Level 255!"; close; }
-
I need beta script npc like the function below Need to play atleast 5 hours minimum during beta Claim beta reward on official server launch who played more than 5 hours on beta Thank you and more power to rA community
-
Thank you Hokage you save my life.
-
Need help to add mini boss cards and mvp boss cards btw its card seller from latest rA. Thank you and more power rA community //===== rAthena Script ======================================= //= Card Seller A-Z //===== Description: ========================================= //= Sells all cards dropped by mobs, grouped alphabetically. //= MVP cards are excluded from the list. //= //= NOTE: Requires SQL item and mob databases. //===== Changelogs: ========================================== //= 1.0 First version [AnnieRuru] //= 1.1 Minor edits [Euphy] //= 1.2 Update for monster mode and enchants [Lemongrass] //============================================================ prontera,147,157,5 script Beta Card Seller 124,{ .@menu$ = getvariableofnpc( .alphabet_menu$, "card_seller_creation" ); if (.@menu$ == "") { mes "[Card Seller]"; mes "I am sorry, it seems like something went wrong."; mes "I cannot find any cards in our database at the moment."; mes "Please contact a game master."; close; } mes "[Card Seller]"; mes "Welcome!"; mes "I can sell you any normal monster card in the game. Would you like to have a look?"; next; .@s = select(.@menu$) -1; close2; callshop "card_mob#"+ getvariableofnpc( .alphabet$[.@s], "card_seller_creation" ), 1; end; } - script card_seller_creation -1,{ end; OnInit: if (checkre(0)) { .@mob_db$ = "mob_db_re"; .@item_db$ = "item_db_re"; } else { .@mob_db$ = "mob_db"; .@item_db$ = "item_db"; } freeloop 1; .@total = query_sql( "SELECT DISTINCT LEFT( `name_japanese`, 1 ) AS alphabets FROM `"+ .@item_db$ +"` WHERE `type` = " + IT_CARD + " AND `id` IN ( SELECT DISTINCT `dropcardid` FROM `"+ .@mob_db$ +"` WHERE ~(`MODE`) & " + MD_MVP + " ) ORDER BY alphabets;", .@alphabet$ ); for ( .@i = 0; .@i < .@total; .@i++ ) { .@nb = query_sql( "SELECT `"+ .@item_db$ +"`.`id` FROM `"+ .@item_db$ +"` WHERE `type` = " + IT_CARD + " AND LEFT( `name_japanese`, 1 ) = '"+ .@alphabet$[.@i] +"' AND `id` IN ( SELECT DISTINCT `dropcardid` FROM `"+ .@mob_db$ +"` WHERE ~(`MODE`) & " + MD_MVP + " ) ORDER BY `name_japanese` LIMIT 128;", .@id ); if (.@nb > 0) { .alphabet$[.@size_alphabet++] = .@alphabet$[.@i]; .alphabet_menu$ = .alphabet_menu$ + .@alphabet$[.@i] +" Cards:"; npcshopdelitem "card_mob#"+ .@alphabet$[.@i], 501; for ( .@j = 0; .@j < .@nb; .@j++ ) { if (callfunc( "F_IsCharm", .@id[.@j] ) == true)// Skip enchants in case someone added them as card drop continue; npcshopadditem "card_mob#"+ .@alphabet$[.@i], .@id[.@j], 1000000; } } } freeloop 0; end; } - shop card_mob#A -1,501:1000 - shop card_mob#B -1,501:1000 - shop card_mob#C -1,501:1000 - shop card_mob#D -1,501:1000 - shop card_mob#E -1,501:1000 - shop card_mob#F -1,501:1000 - shop card_mob#G -1,501:1000 - shop card_mob#H -1,501:1000 - shop card_mob#I -1,501:1000 - shop card_mob#J -1,501:1000 - shop card_mob#K -1,501:1000 - shop card_mob#L -1,501:1000 - shop card_mob#M -1,501:1000 - shop card_mob#N -1,501:1000 - shop card_mob#O -1,501:1000 - shop card_mob#P -1,501:1000 - shop card_mob#Q -1,501:1000 - shop card_mob#R -1,501:1000 - shop card_mob#S -1,501:1000 - shop card_mob#T -1,501:1000 - shop card_mob#U -1,501:1000 - shop card_mob#V -1,501:1000 - shop card_mob#W -1,501:1000 - shop card_mob#X -1,501:1000 - shop card_mob#Y -1,501:1000 - shop card_mob#Z -1,501:1000
-
Gold room error and adding limit for 300mins
Petey Pablo replied to Petey Pablo's question in Scripting Support
The 300mins and Auto kick is working but they still able to enter the goldroom after 300mins and I dont see the "You can only re-enter after bla bla after 12 hours" if (gettimetick(0) < #GOLDROOM_CD) { mes "You can only re-enter after "+(#GOLDROOM_CD - gettimetick(0))+" seconds."; It works! Thank you very much @Emistry. -
Gold room error and adding limit for 300mins
Petey Pablo replied to Petey Pablo's question in Scripting Support
Thank you very much @Emistry I just want to ask if this with auto kick after 300mins farm and wait for 12 hours cooldown to enter again and how to adjust the time sorry I dont understand the (12 * 60 * 60) -
Need help to this error [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/test/valkyriequest.txt', line '95'. Stopping... * w1=if(bry_bry >= 1) goto L_udone; * w2= * w3= * w4=
-
How to make this target new tab 'JoinUsInFacebookLabel' => array('exturl' => 'https://www.facebook.com/<facebook_link>'),
-
Good day rA community! I just want to ask how to create the login.sh, char.sh and map.sh to vnc server? Anyone can help me? im having a problem with this error on running start Start.Desktop on my vnc This is my Start.Desktop script [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Start rAthena Type=Application Terminal=false Exec=/usr/share/test/scripts/start_server.sh Icon=/usr/share/test/img/ragnarok.png This is the start.server.sh #!/bin/sh TEST_DIR=/usr/share/test xterm -title "Login Server" -bg black -fg white -hold -e $TEST_DIR/scripts/start_login_server.sh & sleep 1 xterm -title "Char Server" -bg black -fg white -hold -e $TEST_DIR/scripts/start_char_server.sh & sleep 1 xterm -title "Map Server" -bg black -fg white -hold -e $TEST_DIR/scripts/start_map_server.sh & This is the login, char and map #!/bin/sh cd /root/Desktop/rAthena ./login-server #!/bin/sh cd /root/Desktop/rAthena ./char-server #!/bin/sh cd /root/Desktop/rAthena ./map-server Thank you
-
Thank you!
-
I switched version of rA from Old (44b80448df07bec285b1a5056ceae519265bd19b) to latest (dd9b6d30e2785fd9d6f665e89af8c614a8364fe5) Same happen! I already reported it to github issue here https://github.com/rathena/rathena/issues/4816
-
Help me to find this error I already remove all my scripts but still error after killing Phen mobs in jawaii town btw this is my rA version '44b80448df07bec285b1a5056ceae519265bd19b' [Error]: npc_event: event not found [1234] [Error]: npc_event: event not found [1234] [Error]: npc_event: event not found [1234]
-
Gold room error and adding limit for 300mins
Petey Pablo replied to Petey Pablo's question in Scripting Support
Thank you, how about adding this Limit farm maximum of 300 minutes(Auto kick after 300mins) Once you reach your maximum time, you'll need to wait 12 hours before entering again. Help me to add this on my gold room -Limit 300mins (Auto kick after 5hrs) -Once you reach the maximum time, you'll need to wait 12 hours to enter again -The time is per account based This is my goldroom script. Thank you and more power rA community. // https://rathena.org/board/topic/108888-request-a-gold-room-drop-gold-point/ prontera,155,181,5 script Sample#goldroom 4_F_KAFRA1,{ doevent "gold_room_main::OnTalk"; } // warp portal back prontera ordeal_3-2,123,123,0 warp gold_room_back_prt 1,1,prontera,155,181 // peco peco summon ordeal_3-2,0,0,0,0 monster Peco Peco 1019,200,60000,0,"gold_room_main::OnKill" - script gold_room_main -1,{ OnInit: // gold room map .map$ = "ordeal_3-2"; // entrance fee .zeny_cost = 200000; // rate to get gold .rate = 50; // gold random amount setarray .gold_amount,1,5; setmapflag .map$,mf_noteleport; setmapflag .map$,mf_pvp; setmapflag .map$,mf_pvp_noguild; setmapflag .map$,mf_pvp_noparty; setmapflag .map$,mf_nobranch; setmapflag .map$,mf_nosave; setmapflag .map$,mf_nomemo; setmapflag .map$,mf_noreturn; setmapflag .map$,mf_nowarp; setmapflag .map$,mf_nowarpto; end; OnTalk: mes "Enter Gold Room ?"; if ( .zeny_cost ) mes F_InsertComma( .zeny_cost ) + " Zeny"; switch ( select( "Enter Gold Room", "Exchange Gold Point", "Cancel" )) { case 1: if ( Zeny < .zeny_cost ) { mes "Not enough Zeny."; } else { Zeny -= .zeny_cost; warp .map$,0,0; } break; case 2: mes "You got "+F_InsertComma( #GOLDPOINTS )+" Points"; input .@value,0,#GOLDPOINTS; if ( checkweight( 969, .@value ) ) { #GOLDPOINTS -= .@value; getitem 969,.@value; mes "Gained "+.@value+" Gold."; } else { mes "You overweight."; } default: break; } close; OnKill: if ( .rate < rand( 100 ) ) { .@point = rand( .gold_amount[0],.gold_amount[1] ); #GOLDPOINTS += .@point; dispbottom "Gained "+.@point+" Point. You got "+F_InsertComma( #GOLDPOINTS )+" Points now."; } end; OnPCDieEvent: .@killerrid = killerrid; if ( strcharinfo(3) == .map$ && .@killerrid != getcharid(3) && getmonsterinfo( .@killerrid,MOB_NAME ) != "null" ) { #GOLDPOINTS = 0; dispbottom "You died, you lost all the point."; } end; } -
Have you tested it for latest rA?