Jump to content
  • 0

requesting World boss.


Question

Posted

requesting for world boss script that is compatible with latest rA?

i tried 1 script of world boss in 2 different ways 1 is with patched but it has an error. 2 with no patch working but no rankings recorded.

are the paid world boss script and patch can run in latest rA? if yes can you suggest 1 

7 answers to this question

Recommended Posts

  • 0
Posted
2 hours ago, Frost Diver said:

Like this?

 

yes i already message the owner of that script but no reply. i was just thinking if that script can run on latest rA and also the patch file.
i guess that the script i used is same.. but not 100% sure. 

  • 0
Posted (edited)

i want to share my custom world boss, please try it

Welgaia,128,96,4	script	World Boss	123,{
@_count = (.monster_kill_requirement - $world_boss_counter);
mes "[ World Boss ]";
mes "Status :" +($world_boss_active == 1?"^00FF00Active^000000":"^FF0000Inactive^000000");
mes "Kill Remaining - [ ^0000FF"+$count+"^000000 ]";
mes "=============================";
mes "Reward:";
mes "<ITEM>World Boss Reward<INFO>7539</INFO></ITEM>";
end;

OnNPCKillEvent:
	if($world_boss_active == 1) end;
		$world_boss_counter += 1;
		if($world_boss_counter == .monster_kill_requirement){ 
			donpcevent "World Boss::OnSummon";
			}
		end;

OnSummon:
	setarray .bc_city$[0],"alberta","aldebaran","geffen","izlude","morocc","payon","prontera","new_zone03";
	setarray .bc_monster[0],"1917","1885","1874","1871","1832","1802","1785","1779","1768","1751","1734","1719","1708","1688","1685","1658","1651","1650","1649","1648","1647","1646","1630","1623","1583","1511","1502","1492","1418","1399","1389","1373","1312","1272","1252","1251","1190","1159","1157","1150","1147","1115","1112","1087","1086","1059","1046","1038","2202";
	set .@city,rand(0,getarraysize(.bc_city$)-1);
	set .@mvp,rand(0,getarraysize(.bc_monster)-1);
	$world_boss_active = 1;
	announce "Danger! "+.bc_city$[.@city]+" under attack by MvP!!",bc_all; //announce and end
	monster .bc_city$[.@city],0,0,"City Attacker",.bc_monster[.@mvp],1,"World Boss::OnBossKill";
	end;
	
OnBossKill:
	announce "Congratulation to "+strcharinfo(0)+", for save the city "+.bc_city$[.@city]+" !",bc_all;
	$world_boss_active = 0;
	$world_boss_counter = 0;
	getitem 7539,10;
	end;
		
OnInit:
	.monster_kill_requirement = 1000000;
	freeloop(1);
	while(1){
		$count = (.monster_kill_requirement - $world_boss_counter);
		waitingroom "Kill Left : ["+$count+"]",0;
		sleep 1000; //= 1 Second Refresh
		delwaitingroom;
	}
	freeloop(0);
	end;
}

 

Edited by hendra814
  • 0
Posted
On 9/9/2024 at 3:59 PM, hendra814 said:

i want to share my custom world boss, please try it

Welgaia,128,96,4	script	World Boss	123,{
@_count = (.monster_kill_requirement - $world_boss_counter);
mes "[ World Boss ]";
mes "Status :" +($world_boss_active == 1?"^00FF00Active^000000":"^FF0000Inactive^000000");
mes "Kill Remaining - [ ^0000FF"+$count+"^000000 ]";
mes "=============================";
mes "Reward:";
mes "<ITEM>World Boss Reward<INFO>7539</INFO></ITEM>";
end;

OnNPCKillEvent:
	if($world_boss_active == 1) end;
		$world_boss_counter += 1;
		if($world_boss_counter == .monster_kill_requirement){ 
			donpcevent "World Boss::OnSummon";
			}
		end;

OnSummon:
	setarray .bc_city$[0],"alberta","aldebaran","geffen","izlude","morocc","payon","prontera","new_zone03";
	setarray .bc_monster[0],"1917","1885","1874","1871","1832","1802","1785","1779","1768","1751","1734","1719","1708","1688","1685","1658","1651","1650","1649","1648","1647","1646","1630","1623","1583","1511","1502","1492","1418","1399","1389","1373","1312","1272","1252","1251","1190","1159","1157","1150","1147","1115","1112","1087","1086","1059","1046","1038","2202";
	set .@city,rand(0,getarraysize(.bc_city$)-1);
	set .@mvp,rand(0,getarraysize(.bc_monster)-1);
	$world_boss_active = 1;
	announce "Danger! "+.bc_city$[.@city]+" under attack by MvP!!",bc_all; //announce and end
	monster .bc_city$[.@city],0,0,"City Attacker",.bc_monster[.@mvp],1,"World Boss::OnBossKill";
	end;
	
OnBossKill:
	announce "Congratulation to "+strcharinfo(0)+", for save the city "+.bc_city$[.@city]+" !",bc_all;
	$world_boss_active = 0;
	$world_boss_counter = 0;
	getitem 7539,10;
	end;
		
OnInit:
	.monster_kill_requirement = 1000000;
	freeloop(1);
	while(1){
		$count = (.monster_kill_requirement - $world_boss_counter);
		waitingroom "Kill Left : ["+$count+"]",0;
		sleep 1000; //= 1 Second Refresh
		delwaitingroom;
	}
	freeloop(0);
	end;
}

 

Why is the counter on negative and would not revert back to 0?

  • 0
Posted
8 hours ago, Ruhn said:

Why is the counter on negative and would not revert back to 0?

try change oninit script into this


OnInit:
	if ($count < 0){
 	set $count, 0;
	}
	.monster_kill_requirement = 1000000;
	freeloop(1);
	while(1){
		$count = (.monster_kill_requirement - $world_boss_counter);
		waitingroom "Kill Left : ["+$count+"]",0;
		sleep 1000; //= 1 Second Refresh
		delwaitingroom;
	}
	freeloop(0);
	end;
}

 

  • Love 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...