Jump to content

Petey Pablo

Members
  • Posts

    569
  • Joined

  • Last visited

6 Followers

About Petey Pablo

  • Birthday 01/18/1990

Profile Information

  • Gender
    Male
  • Location
    PPC, Philippines
  • Server
    Dangerous RO

Contact Methods

Recent Profile Visitors

6,356 profile views

Petey Pablo's Achievements

Newbie

Newbie (1/14)

11

Reputation

  1. -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; }
  2. 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
  3. 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,{ [email protected]$ = getvariableofnpc( .alphabet_menu$, "card_seller_creation" ); if ([email protected]$ == "") { 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; [email protected] = select([email protected]$) -1; close2; callshop "card_mob#"+ getvariableofnpc( .alphabet$[[email protected]], "card_seller_creation" ), 1; end; } - script card_seller_creation -1,{ end; OnInit: if (checkre(0)) { [email protected]_db$ = "mob_db_re"; [email protected]_db$ = "item_db_re"; } else { [email protected]_db$ = "mob_db"; [email protected]_db$ = "item_db"; } freeloop 1; [email protected] = query_sql( "SELECT DISTINCT LEFT( `name_japanese`, 1 ) AS alphabets FROM `"+ [email protected]_db$ +"` WHERE `type` = " + IT_CARD + " AND `id` IN ( SELECT DISTINCT `dropcardid` FROM `"+ [email protected]_db$ +"` WHERE ~(`MODE`) & " + MD_MVP + " ) ORDER BY alphabets;", [email protected]$ ); for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { [email protected] = query_sql( "SELECT `"+ [email protected]_db$ +"`.`id` FROM `"+ [email protected]_db$ +"` WHERE `type` = " + IT_CARD + " AND LEFT( `name_japanese`, 1 ) = '"+ [email protected]$[[email protected]] +"' AND `id` IN ( SELECT DISTINCT `dropcardid` FROM `"+ [email protected]_db$ +"` WHERE ~(`MODE`) & " + MD_MVP + " ) ORDER BY `name_japanese` LIMIT 128;", [email protected] ); if ([email protected] > 0) { .alphabet$[[email protected]_alphabet++] = [email protected]$[[email protected]]; .alphabet_menu$ = .alphabet_menu$ + [email protected]$[[email protected]] +" Cards:"; npcshopdelitem "card_mob#"+ [email protected]$[[email protected]], 501; for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { if (callfunc( "F_IsCharm", [email protected][[email protected]] ) == true)// Skip enchants in case someone added them as card drop continue; npcshopadditem "card_mob#"+ [email protected]$[[email protected]], [email protected][[email protected]], 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
  4. 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.
  5. 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)
  6. 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=
  7. How to make this target new tab 'JoinUsInFacebookLabel' => array('exturl' => 'https://www.facebook.com/<facebook_link>'),
  8. 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
  9. 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
  10. 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]
  11. 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 [email protected],0,#GOLDPOINTS; if ( checkweight( 969, [email protected] ) ) { #GOLDPOINTS -= [email protected]; getitem 969,[email protected]; mes "Gained "[email protected]+" Gold."; } else { mes "You overweight."; } default: break; } close; OnKill: if ( .rate < rand( 100 ) ) { [email protected] = rand( .gold_amount[0],.gold_amount[1] ); #GOLDPOINTS += [email protected]; dispbottom "Gained "[email protected]+" Point. You got "+F_InsertComma( #GOLDPOINTS )+" Points now."; } end; OnPCDieEvent: [email protected] = killerrid; if ( strcharinfo(3) == .map$ && [email protected] != getcharid(3) && getmonsterinfo( [email protected],MOB_NAME ) != "null" ) { #GOLDPOINTS = 0; dispbottom "You died, you lost all the point."; } end; }
  12. Have you tested it for latest rA?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.