Jump to content
  • 0

Request: Weekly Bossnia Event


zXoOm

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

i want a modified version of bossnia. i want it to open only on fridays,saturday and sunday . it opens friday at 8pm till sunday 10pm. Thanks!

this is the script:

//===== rAthena Script =======================================
//= Bossnia Warp NPCs
//===== By: ==================================================
//= Masao
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena
//===== Description: =========================================
//= Bossnia Warp NPC's.
//===== Additional Comments: =================================
//= 1.0 Converted from the official script.
//= 1.1 Optimized. [Euphy]
//============================================================
prontera,132,125,4 script Bossnia Staff::bsw 908,{

mes "[Riss]";
mes "Hello?";
mes "I found some beautiful places";
mes "while I travelled all over the world.";
mes "I am an adventurer.";
mes "Haha~";
next;
mes "[Riss]";
mes "What? My name is...";
mes "'Bossnia Staff'?? No no...";
mes "Well, my name is not so important.";
mes "Sometimes you should be generous.";
mes "No time for considering that kind of small stuff";
mes "when you have to concentrate on more important things.";
next;
mes "[Riss]";
mes "Hum... anyway I want to say... something..";
mes "While I was travelling through some places,";
mes "I found a really fearful place.";
next;
mes "[Riss]";
mes "Most of the time when you come to a place,";
mes "there is one strong and fearful monster.";
mes "Isn't it?";
next;
mes "[Riss]";
mes "But... but... in there...";
mes "There are lots of fearful and strong monsters in there...";
mes "That was really frightful.";
next;
mes "[Riss]";
mes "If I had reacted a bit later... a few seconds...";
mes "I might have been killed.";
next;
mes "[Riss]";
mes "What?";
mes "You want to go in there?";
mes "Oh~ Boy~ you didn't get me.";
mes "In there.......";
next;
mes "[Riss]";
mes "Uh... you already know?";
mes "Although you know the place, you want to go in...";
mes "Good, I will send you there.";
mes "But after you went there, don't hold";
mes "a grudge against me. Also it costs 5,000,000 zeny.";
next;
if (Zeny > 5000000) {
 mes "[Riss]";
 mes "Would you really like to take the challenge??";
 mes "Ok, just choose the course.";
 next;
 set .@i, select("First","Second","Third","Fourth");
 mes "[Riss]";
 mes "Take care, boy~";
 mes "Don't hold a grudge against me.";
 close2;
 set Zeny, Zeny - 5000000;
 warp "bossnia_0"+.@i,rand(200,202),rand(200,202);
 end;
}
mes "[Riss]";
mes "You don't have enough money...";
mes "Come back when you have at least 5,000,000 zeny.";
close;
}

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

OnInit:
hideonnpc "Bossnia Staff::bsw";
end;
OnFri2000:
hideoffnpc "Bossnia Staff::bsw";
end;
OnSun2200:
hideonnpc "Bossnia Staff::bsw";
end;

Add this before script ends.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

OnInit:
hideonnpc "Bossnia Staff::bsw";
end;
OnFri2000:
hideoffnpc "Bossnia Staff::bsw";
end;
OnSun2200:
hideonnpc "Bossnia Staff::bsw";
end;

Add this before script ends.

ok darristan i'll test it! can i put that at the top of the script? thanks in advance!

thanks darristan. i tested it and it works!

Edited by zXoOm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

OnInit:
hideonnpc "Bossnia Staff::bsw";
end;
OnFri2000:
hideoffnpc "Bossnia Staff::bsw";
end;
OnSun2200:
hideonnpc "Bossnia Staff::bsw";
end;

Add this before script ends.

darristan it doesn't work the npc doesnt hideoff . when it's friday at 8pm. help please. thanks!

bump!

bump!

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

hideonnpc "bsw";

hideoffnpc "bsw";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

hideonnpc "bsw";

hideoffnpc "bsw";

thanks emistry but i want it to open only on friday 8pm till sunday 10pm.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

refer post#2

hideonnpc "bsw";

hideoffnpc "bsw";

i am just giving you a solution to fix your problem

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

i did that format. but the problem is it doesnt show up when the right time comes. it doesnt hideoff. that's my problem. hope you can help me. thanks!

Edited by zXoOm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

its based on server time, make sure that is set correctly. here's the script with the modifcation mentioned Above + load on Init ***not tested

//===== rAthena Script =======================================
//= Bossnia Warp NPCs
//===== By: ==================================================
//= Masao
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena
//===== Description: =========================================
//= Bossnia Warp NPC's.
//===== Additional Comments: =================================
//= 1.0 Converted from the official script.
//= 1.1 Optimized. [Euphy]
//============================================================
prontera,132,125,4 script Bossnia Staff::bsw 908,{
mes "[Riss]";
mes "Hello?";
mes "I found some beautiful places";
mes "while I travelled all over the world.";
mes "I am an adventurer.";
mes "Haha~";
next;
mes "[Riss]";
mes "What? My name is...";
mes "'Bossnia Staff'?? No no...";
mes "Well, my name is not so important.";
mes "Sometimes you should be generous.";
mes "No time for considering that kind of small stuff";
mes "when you have to concentrate on more important things.";
next;
mes "[Riss]";
mes "Hum... anyway I want to say... something..";
mes "While I was travelling through some places,";
mes "I found a really fearful place.";
next;
mes "[Riss]";
mes "Most of the time when you come to a place,";
mes "there is one strong and fearful monster.";
mes "Isn't it?";
next;
mes "[Riss]";
mes "But... but... in there...";
mes "There are lots of fearful and strong monsters in there...";
mes "That was really frightful.";
next;
mes "[Riss]";
mes "If I had reacted a bit later... a few seconds...";
mes "I might have been killed.";
next;
mes "[Riss]";
mes "What?";
mes "You want to go in there?";
mes "Oh~ Boy~ you didn't get me.";
mes "In there.......";
next;
mes "[Riss]";
mes "Uh... you already know?";
mes "Although you know the place, you want to go in...";
mes "Good, I will send you there.";
mes "But after you went there, don't hold";
mes "a grudge against me. Also it costs 5,000,000 zeny.";
next;
if (Zeny > 5000000) {
	mes "[Riss]";
	mes "Would you really like to take the challenge??";
	mes "Ok, just choose the course.";
	next;
	set .@i, select("First","Second","Third","Fourth");
	mes "[Riss]";
	mes "Take care, boy~";
	mes "Don't hold a grudge against me.";
	close2;
	set Zeny, Zeny - 5000000;
	warp "bossnia_0"+.@i,rand(200,202),rand(200,202);
	end;
}
mes "[Riss]";
mes "You don't have enough money...";
mes "Come back when you have at least 5,000,000 zeny.";
close;
OnInit:
if (gettime(4) > 4 || gettime(4) == 0) {
	if(gettime(4) == 4 && gettime(3) > 20) end;
	else if (!gettime(4) && gettime(3) < 22) end;
	else if (gettime(4) == 6) end;		
}
hideonnpc "bsw";
end;
OnFri2000:
hideoffnpc "bsw";
end;
OnSun2200:
hideonnpc "bsw";
end;
}

Edited by garet999
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

Thanks Garet999, i'll test it!

Link to comment
Share on other sites

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.

×
×
  • Create New...