Jump to content

celeron0134

Members
  • Posts

    194
  • Joined

  • Last visited

Everything posted by celeron0134

  1. Thanks annie.. tested and here's the error Walls don't disappear, no Emp/crystal // ** New ** Now players can join an ongoing battleground ~ maybe it can be like this? .minplayer2start = 5 // for 5v5 .maxplayer2join = 10 // max players that can join bg_emp .. so if full it will be 10vs10,needs a feature that will make the late commers to alternately join red and blue side everything else look so fantastic ..
  2. this is what i did didnt test it yet @AnnieRuru //===== rAthena Script ======================================= //= Battleground: PVP //===== By: ================================================== //= AnnieRuru //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= A simple battleground script: //= Kill players from the other team. //===== Additional Comments: ================================= //= 1.0 First version, edited. [Euphy] //============================================================ - script bg_pvp#control -1,{ OnInit: .minplayer2start = 1; // minimum players to start (ex. if 3vs3, set to 3) .eventlasting = 20*60; // event duration before auto-reset (20 minutes * seconds) setarray .rewarditem[0], // rewards for the winning team: <item>,<amount>,... 7828, 10; setarray .rewarditemloss[0], // rewards for the lossing team: <item>,<amount>,... 7828, 5; end; OnStart: if ( getwaitingroomstate( 0, .rednpcname$ ) < .minplayer2start || getwaitingroomstate( 0, .bluenpcname$ ) < .minplayer2start ) end; // create Battleground and teams .red = waitingroom2bg( "guild_vs3", 13,50, strnpcinfo(0)+"::OnRedQuit", strnpcinfo(0)+"::OnRedDead", .rednpcname$ ); copyarray .team1aid, $@arenamembers, $@arenamembersnum; .team1count = .minplayer2start; .blue = waitingroom2bg( "guild_vs3", 86,50, strnpcinfo(0)+"::OnBlueQuit", strnpcinfo(0)+"::OnBlueDead", .bluenpcname$ ); copyarray .team2aid, $@arenamembers, $@arenamembersnum; .team2count = .minplayer2start; delwaitingroom .rednpcname$; delwaitingroom .bluenpcname$; setwall "guild_vs3", 19,55,12, 4, 0, "bg_pvp_town_blue"; setwall "guild_vs3", 80,55, 12, 4, 0, "bg_pvp_town_red"; bg_warp .red, "guild_vs3", 13,50; bg_warp .blue, "guild_vs3", 86,50; .score[1] = .score[2] = .minplayer2start; bg_updatescore "guild_vs3", .score[1], .score[2]; sleep 6000; mapannounce "guild_vs3", "Rules are simple. The first one to break the opponent's emperium will get a score.", 0; sleep 3000; mapannounce "guild_vs3", "Score "+ .winningscore +" rounds to win ! ... GET READY", 0; sleep 2000; mapannounce "guild_vs3", "start!", 0; delwall "bg_pvp_town_red"; delwall "bg_pvp_town_blue"; // match duration sleep .eventlasting * 1000; // end match, destroy Battleground, reset NPCs if ( .score[1] > .score[2] ) { mapannounce "guild_vs3", "- Red Team is victorious! -", bc_map; callsub L_Reward, 1, 2; } else if ( .score[1] < .score[2] ) { mapannounce "guild_vs3", "- Blue Team is victorious! -", bc_map; callsub L_Reward, 2, 1; } else mapannounce "guild_vs3", "- The match has ended in a draw! -", bc_map; bg_warp .red, "prontera",152,178; bg_warp .blue, "prontera",154,178; bg_destroy .red; bg_destroy .blue; donpcevent .rednpcname$ +"::OnStart"; donpcevent .bluenpcname$ +"::OnStart"; end; L_Reward: for ( .@i = 0; .@i < getd(".team"+ getarg(0) +"count"); .@i++ ) getitem .rewarditem[0], .rewarditem[1], getd(".team"+ getarg(0) +"aid["+ .@i +"]" ); for ( .@i = 0; .@i < getd(".team"+ getarg(1) +"count"); .@i++ ) getitem .rewarditemloss[0], .rewarditemloss[1], getd(".team"+ getarg(1) +"aid["+ .@i +"]" ); return; // "OnDeath" event OnRedDead: callsub L_Dead, 1; OnBlueDead: callsub L_Dead, 2; L_Dead: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; bg_leave; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); sleep2 1250; percentheal 100,100; end; // "OnQuit" event OnRedQuit: callsub L_Quit, 1; OnBlueQuit: callsub L_Quit, 2; L_Quit: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; percentheal 100, 100; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); end; } quiz_02,247,383,5 script Red Team#bg_pvp 733,{ end; OnInit: sleep 1; set getvariableofnpc( .rednpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Red Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } quiz_02,252,383,5 script Blue Team#bg_pvp 734,{ end; OnInit: sleep 1; set getvariableofnpc( .bluenpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Blue Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } guild_vs3 mapflag battleground 2 guild_vs3 mapflag nosave SavePoint guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag noteleport guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall guild_vs3 mapflag hidemobhpbar - script BattleBadge#2 -1,{ OnPCKillEvent: if (strcharinfo(3)=="guild_vs3" && killedrid != getcharid(3)) getitem 7828,1; end; }
  3. ok got it now thanks.. at first. i was "why base and job exp rates" and i remembered a script that i haven't fixed yet .. worldboss.txt which makes the servers base and job exp rate to 0x0x0x .. i disabled it and tried the hunting mission and it worked.. thankyou so much pajodex.. im still new and still learning how to script.. thankyou again here's the SS
  4. nope.. i did not changed anything on the script..
  5. tried importing mob_db.sql and mob_db_re.sql [Error]: script:op_2num: division by zero detected op=C_DIV i1=148700 i2=0 [Debug]: Source (NPC): Hunting Missions at prontera (145,187)
  6. thanks pajodex but i can't understand the meaning of this //= NOTE: Requires SQL mob database. i tried Downloading mob_db.sql/mob_db_pre.sql and enabled use sql_db to yes on inter_athena.conf then when i run the server.. it spams me with error messages.. i tried and search on the forums.. maybe my keywords are not correct - on hunting mission npc - when i select new mission.. i got an error script: op2num division by zero detected
  7. // GM Announcer // By pajodex - script GMAnnouncer -1,{ OnResetAnnounce: OnAtCmd: if(select("Announce:Nothing") == 2 ) close; mes "What messaage to announce?"; input .@announce$; next; mes "Announce: "+.@announce$+" ?"; if(select("Yes:No") == 2) callsub OnResetAnnounce; .announce$ = .@announce$; mes "Announce Interval? (in minutes)"; mes "- How many times will the broadcast be repeated?"; input .@interval; next; mes "Are you sure broadcast interval will be every "+.@interval+" mins?"; if(select("Yes:No") == 2) callsub OnResetAnnounce; .interval = .@interval; donpcevent strnpcinfo(3)+"::OnAnnounce"; mes "Done!"; close; OnAnnounce: announce .announce$, 0; initnpctimer; end; OnTimer60000: .timer++; if(.interval == .timer) { announce .announce$, 0; .timer = 0; end; } setnpctimer 0; end; OnInit: .interval = 0; .announce$ = ""; .timer = 0; bindatcmd "gmbroadcast",strnpcinfo(3)+"::OnAtCmd",0,60; end; } i think its working.. i fixed some typos tho.. "+.@interval+" and the OnTimer60000: thank you again pajodex for the fast replies and for helping us newbies thanks alot more power
  8. Unfortunately i can't make other hunting mission to work.. So maybe you guys can help me out.. i need a hunting mission script that 1. you can only do the quest once a day for example on Easy Menu - poring,poporing,drops,marin(you can do all those quest once a day per account) - (and you must finish first the quest before taking another quest) so the players wont get all the quest at once(one at a time) 2.if you already finished killing poring.. it will say you already did this quest at "--:--" this time come back at 24hours 3.There would be 3 menus for this "Easy","Normal","Hard" easy = 100kills / normal = 250kills / Hard = 1000kills 5. players can party for faster kills 6 Rewards for easy = TCG x 1 normal TCG x 2 Hard TCG x 3 7 "Top 10 Hunters" - Rankings for the Top Quest Hunters ( Name With a total of (the number of how many quest the player has finished) points 8. players can party for faster kills 9. Daily Rewards for the top 10 hunters - Top 1 = 10 TCG top 2 9tcg --- top 10 = 1tcg 10. Announcer if a player took a spot from the top 10.. ( Name has been promoted to top 2 Hunter) thankyou so much rathena community
  9. i need a NPC script that *Only GMs can access the NPC* *Menu (Announce,Nothing) *onAnnounce = Broadcast the typed Message every 30 mins*(configurable) *onAnnounce(Again) = removed previous Annouce and Broadcast the new announced message thanks thats it for now..
  10. Thanks it worked.. more power
  11. Fix the Reset function.. (i killed 1 MVP then it shows on the rankings "[1] GM - blabla ~ 1 kills") then i used reset function.. it turned to "~ 0 kills" and after i killed an MVP again.. instead of showing "~ 1 kills" it showed " ~ 2 kills " it continued the MVP kills after the reset
  12. The NPC reads all mobs poring - MVP as MVP.. and announces all mobs you kill kindly help me
  13. //===== rAthena Script ======================================= //= Battleground: PVP //===== By: ================================================== //= AnnieRuru //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= A simple battleground script: //= Kill players from the other team. //===== Additional Comments: ================================= //= 1.0 First version, edited. [Euphy] //============================================================ - script bg_pvp#control -1,{ OnInit: .minplayer2start = 5; // minimum players to start (ex. if 3vs3, set to 3) .eventlasting = 20*60; // event duration before auto-reset (20 minutes * seconds) setarray .rewarditem[0], // rewards for the winning team: <item>,<amount>,... 7828, 10; setarray .rewarditemloss[0], // rewards for the lossing team: <item>,<amount>,... 7828, 5; end; OnStart: if ( getwaitingroomstate( 0, .rednpcname$ ) < .minplayer2start || getwaitingroomstate( 0, .bluenpcname$ ) < .minplayer2start ) end; // create Battleground and teams .red = waitingroom2bg( "guild_vs3", 13,50, strnpcinfo(0)+"::OnRedQuit", strnpcinfo(0)+"::OnRedDead", .rednpcname$ ); copyarray .team1aid, $@arenamembers, $@arenamembersnum; .team1count = .minplayer2start; .blue = waitingroom2bg( "guild_vs3", 86,50, strnpcinfo(0)+"::OnBlueQuit", strnpcinfo(0)+"::OnBlueDead", .bluenpcname$ ); copyarray .team2aid, $@arenamembers, $@arenamembersnum; .team2count = .minplayer2start; delwaitingroom .rednpcname$; delwaitingroom .bluenpcname$; bg_warp .red, "guild_vs3", 13,50; bg_warp .blue, "guild_vs3", 86,50; .score[1] = .score[2] = .minplayer2start; bg_updatescore "guild_vs3", .score[1], .score[2]; // match duration sleep .eventlasting * 1000; // end match, destroy Battleground, reset NPCs if ( .score[1] > .score[2] ) { mapannounce "guild_vs3", "- Red Team is victorious! -", bc_map; callsub L_Reward, 1, 2; } else if ( .score[1] < .score[2] ) { mapannounce "guild_vs3", "- Blue Team is victorious! -", bc_map; callsub L_Reward, 2, 1; } else mapannounce "guild_vs3", "- The match has ended in a draw! -", bc_map; bg_warp .red, "prontera",152,178; bg_warp .blue, "prontera",154,178; bg_destroy .red; bg_destroy .blue; donpcevent .rednpcname$ +"::OnStart"; donpcevent .bluenpcname$ +"::OnStart"; end; L_Reward: for ( .@i = 0; .@i < getd(".team"+ getarg(0) +"count"); .@i++ ) getitem .rewarditem[0], .rewarditem[1], getd(".team"+ getarg(0) +"aid["+ .@i +"]" ); for ( .@i = 0; .@i < getd(".team"+ getarg(1) +"count"); .@i++ ) getitem .rewarditemloss[0], .rewarditemloss[1], getd(".team"+ getarg(1) +"aid["+ .@i +"]" ); return; // "OnDeath" event OnRedDead: callsub L_Dead, 1; OnBlueDead: callsub L_Dead, 2; L_Dead: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; bg_leave; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); sleep2 1250; percentheal 100,100; end; // "OnQuit" event OnRedQuit: callsub L_Quit, 1; OnBlueQuit: callsub L_Quit, 2; L_Quit: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; percentheal 100, 100; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); end; } quiz_02,247,383,5 script Red Team#bg_pvp 733,{ end; OnInit: sleep 1; set getvariableofnpc( .rednpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Red Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } quiz_02,252,383,5 script Blue Team#bg_pvp 734,{ end; OnInit: sleep 1; set getvariableofnpc( .bluenpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Blue Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } guild_vs3 mapflag battleground 2 guild_vs3 mapflag nosave SavePoint guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag noteleport guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall guild_vs3 mapflag hidemobhpbar Can you add Countdown timer before it begin.. 5 4 3 2 1 Start!! like that and a setwall so it blocks players before the countdown after the count down disable walls Thankyou verry much if i posted it on the wrong section letme know thanks
  14. i don't know if this is possible .. i dont even know how to do it.. but maybe you guys can.. Rebirth System: upon reaching level 99 job 70.. you will have an option to rebirth again to Novice High lvl 1 and you will gain 10 hmm lets say Item ID# 7729 (Rok_Star_Badge) Rebirth has no limit you can rebirth as long as you can.. but on the 5th rebirth.. you're sprite will change to 3rd job sprite with transcended only features thanks
  15. Can you give me a ranking script for bg_emp.txt and bg_pvp.txt found at npc/custom/battleground bg_emp rankings Top 10 Rankings on BG emp is based on kills and Empbreaks Killing enemy player = 1 point while breaking emperium will be 10 points also add when killing the enemy you will gain Valor Badge Item ID# 7829 x1 Breaking emperium you will receive Valor Badge Item ID# 7829 x10pcs bg.pvp rankings on bg_pvp is based on Team kills The team that will win will gain 15 points and Bravery Badge Item ID# 7828 x15 The loosing Team will gain 5points and Bravery Badge Item ID# 7828 x5 bg_emp_rankings BGEpoints,BGEshop bg_pvp_rankings BGE
  16. - script bg_emp#control -1,{ OnInit: .minplayer2start = 1; // minimum player to start .winningscore = 2; // final score to win .eventlasting = 20 * 60; // abort the system if there's no progress, 20 mins * seconds setarray .rewarditem, 673, 5; // reward to the winning team end; OnStart: if ( getwaitingroomstate( 0, .rednpcname$ ) < .minplayer2start || getwaitingroomstate( 0, .bluenpcname$ ) < .minplayer2start ) end; .red = waitingroom2bg( "bat_a01", 171,346, strnpcinfo(0)+"::OnRedQuit", strnpcinfo(0)+"::OnRedDead", .rednpcname$ ); copyarray .team1aid, $@arenamembers, $@arenamembersnum; .team1count = .minplayer2start; .blue = waitingroom2bg( "bat_a01", 162,50, strnpcinfo(0)+"::OnBlueQuit", strnpcinfo(0)+"::OnBlueDead", .bluenpcname$ ); copyarray .team2aid, $@arenamembers, $@arenamembersnum; .team2count = .minplayer2start; delwaitingroom .rednpcname$; delwaitingroom .bluenpcname$; disablenpc .rednpcname$; disablenpc .bluenpcname$; bg_warp .red, "bat_a01", 171,346; bg_warp .blue, "bat_a01", 162,50; setwall "bat_a01", 154,51, 6, 4, 0, "bg_emp_town_blue"; setwall "bat_a01", 164,347, 6, 4, 0, "bg_emp_town_red"; bg_updatescore "bat_a01", 0, 0; sleep 6000 * !.skip; mapannounce "bat_a01", "Rules are simple. The first one to break the opponent's emperium will get a score.", 0; sleep 3000 * !.skip; mapannounce "bat_a01", "Score "+ .winningscore +" rounds to win ! ... GET READY", 0; sleep 2000 * !.skip; while (1) { for ( .@i = 5; .@i > 0; .@i-- ) { mapannounce "bat_a01", "["+ .@i +"]", 0; sleep 1000 * !.skip; } if ( .score[1] == .winningscore -1 && .score[2] == .winningscore -1 ) mapannounce "bat_a01", "Final Round start!", 0; else mapannounce "bat_a01", "Round "+ .round++ +" start!", 0; bg_monster .red,"bat_a01",171,346, "--ja--",1915, strnpcinfo(3)+"::OnRedDown"; bg_monster .blue,"bat_a01",162,50, "--ja--",1914, strnpcinfo(3)+"::OnBlueDown"; delwall "bg_emp_town_red"; delwall "bg_emp_town_blue"; sleep .eventlasting * 1000 * !.skip; bg_updatescore "bat_a01", .score[1], .score[2]; killmonster "bat_a01", strnpcinfo(3)+"::OnRedDown"; killmonster "bat_a01", strnpcinfo(3)+"::OnBlueDown"; if ( getstrlen( .empkiller$ ) ) mapannounce "bat_a01", .empkiller$ +" has Destroy "+( ( .winside == 1 )? "Blue" : "Red" )+"'s side Emperium. "+( ( .winside == 1 )? "Red" : "Blue" )+" team score a point !", 0; if ( .score[1] == .winningscore || .score[2] == .winningscore || !.winside ) break; sleep 5000 * !.skip; bg_warp .red, "bat_a01", 171,346; bg_warp .blue, "bat_a01", 162,50; setwall "bat_a01", 154,51, 6, 4, 0, "bg_emp_town_blue"; setwall "bat_a01", 164,347, 6, 4, 0, "bg_emp_town_red"; sleep 1000 * !.skip; .winside = 0; } if ( .winside ) { mapannounce "bat_a01", " "+ ( ( .winside == 1 )? "Red" : "Blue" ) +" side wins !", 0; for ( .@i = 0; .@i < getd(".team"+ .winside +"count"); .@i++ ) getitem .rewarditem[0], .rewarditem[1], getd(".team"+ .winside +"aid["+ .@i +"]" ); } else mapannounce "bat_a01", "Time Out. Aborting the match.", 0; sleep 5000; bg_warp .red, "prontera", 155,182; bg_warp .blue, "prontera", 158,182; bg_destroy .red; bg_destroy .blue; delwall "bg_emp_town_red"; delwall "bg_emp_town_blue"; deletearray .team1aid; deletearray .team2aid; .round = .winside = .skip = .score[1] = .score[2] = .team1count = .team2count = 0; enablenpc .rednpcname$; enablenpc .bluenpcname$; donpcevent .rednpcname$ +"::OnStart"; donpcevent .bluenpcname$ +"::OnStart"; end; OnRedDown: callsub L_EmpDown, 2; OnBlueDown: callsub L_EmpDown, 1; L_EmpDown: .empkiller$ = strcharinfo(0); .winside = getarg(0); .score[ .winside ]++; awake strnpcinfo(0); end; OnRedDead: callsub L_dead, 2; OnBlueDead: callsub L_dead, 1; L_dead: for ( .@i = 0; .@i < getd(".team"+ getarg(0) +"count"); .@i++ ) getitem 608, 1, getd(".team"+ getarg(0) +"aid["+ .@i +"]" ); // give a ygg leaf here sleep2 1250; percentheal 100,100; end; OnRedQuit: callsub L_quit, 1, "Red", 2; OnBlueQuit: callsub L_quit, 2, "Blue", 1; L_quit: percentheal 100, 100; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; if ( getd(".team"+ getarg(0) +"count") ) end; mapannounce "bat_a01", "All "+ getarg(1) +" team members has Quit !", 0, 0xff3333; // purposely use different color .score[ getarg(2) ] = .winningscore; .winside = getarg(2); .skip = 1; awake strnpcinfo(0); end; } prontera,155,182,5 script Red side#bg_emp 100,{ end; OnInit: sleep 1; set getvariableofnpc( .rednpcname$, "bg_emp#control" ), strnpcinfo(0); OnStart: waitingroom "Red side", getvariableofnpc( .minplayer2start, "bg_emp#control" ) +1, strnpcinfo(0)+"::OnJoin", 1; end; OnJoin: announce "The Red side has ["+ getwaitingroomstate(0) +"/"+ getvariableofnpc( .minplayer2start, "bg_emp#control" ) +"] User", 0; donpcevent "bg_emp#control::OnStart"; end; } prontera,158,182,5 script Blue side#bg_emp 100,{ end; OnInit: sleep 1; set getvariableofnpc( .bluenpcname$, "bg_emp#control" ), strnpcinfo(0); OnStart: waitingroom "Blue side", getvariableofnpc( .minplayer2start, "bg_emp#control" ) +1, strnpcinfo(0)+"::OnJoin", 1; end; OnJoin: announce "The Blue side has ["+ getwaitingroomstate(0) +"/"+ getvariableofnpc( .minplayer2start, "bg_emp#control" ) +"] User", 0; donpcevent "bg_emp#control::OnStart"; end; } bat_a01 mapflag battleground 2 bat_a01 mapflag nosave SavePoint bat_a01 mapflag nowarp bat_a01 mapflag nowarpto bat_a01 mapflag noteleport bat_a01 mapflag nomemo bat_a01 mapflag nopenalty bat_a01 mapflag nobranch bat_a01 mapflag noicewall hi annie.. can you please help me about this script.. i just want the rednpc and blue npc waiting rooms not to disappear after warping the player on ba_a01.. the purpose is when the BG emp has started.. other players can still join the event until the BG has fisnished .. or is there any other way of doing it? so players can still join the BG emp and also a for the players inside the BG emp that logout should have like a 5min delay to enter again thankyou so much if you have time to spare thanks @edit. also the script is working fine at 1st.. but when i reloadnpc again and i entered the waiting rooms.. at rednpc2/2 and blueNPC 2/2 the npc disappeared but not warping the players on bat_a01
  17. id like to request a script that summons 20 treasure chests that will scatter around the map for the players to find after killing a custom MVP.. thanks like onMVPkilled summon 1324 summon 1356 summon 1361 etc.. on random coordinates where the MVP was killed example if the MVP killed in prontera 20 chests will scatter around prontera for the people to find thanks
  18. ok thankyou so much it worked.. you have so many npcs .. do you own a private server or something?
  19. it shows -1 and doesnt count players on the map.. i used moc_pryd06 tho.. changed it to switch(select("moc_pryd06["+getmapusers("moc_pryd06")+"]
  20. Hi good day rathena community .. can you kindly help me with my script? i want to have a player count on Menu selection.. prontera,164,173,3 script Map Warper 512,{ mes "Hello, ^0000FF"+strcharinfo(0)+"^000000,"; mes "Where do you want to go?"; next; switch(select("prontera( getmapusers) :izlude( getmapusers):aldebaran( getmapusers)")){ Case 1: mes "Are you sure?"; next; switch(select("Yes:No")){ Case 1: warp "prontera", 0, 0; close; Case 2: mes "ok bye"; close; } Case 2: goto Atroce;
  21. up for this.. Zeny Tracker
  22. is there a way to reduce exploding time of venom splasher? .. like a item script..bonus tick,AS_SPLASHER,-5; something like that? venom splasher have soo much time to explode.. help me thanks
  23. @Stolao hi sir i used your script.. and it is so awesome.. but there's one problem tho.. whenever i use blessing scroll or food buffs or awakening potions the bonus from the weapon mastery will be disabled and i have to re-equip again my weapon in order to activate it again... can you kindly fix it?? thanks
×
×
  • Create New...