Jump to content
  • 0

Automated Bossnia Warper


duskdawn

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/21/12
  • Last Seen:  

//===== rAthena Script =======================================
//= Bossnia Warp NPC's.
//===== By: ==================================================
//= Masao
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena
//===== Description: =========================================
//= Bossnia Warp NPC's.
//===== Additional Comments: =================================
//= 1.0 Converted from the official script.
//============================================================

prontera,132,125,4	  script  Bossnia Staff::bsw	  908,{
if(TimeWarped > gettimetick(2)) {
	 mes "[Riss]";
	 mes "I am sorry, but you can only enter after an hour.";
	 close;
}
	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 zeny.";
	next;
	if (countitem(25346) > 99) {
			mes "[Riss]";
			mes "Would you really like to take the challenge??";
			mes "Ok, just choose the course.";
			next;
			switch(select("First","Second","Third","Fourth")) {
			case 1:
					mes "[Riss]";
					mes "Take care, boy~";
					mes "Don't hold a grudge against me.";
					close2;
					set .@boss_x, rand(202,204);
					set .@boss_y, rand(202,204);
					warp "bossnia_01",.@boss_x,.@boss_y;
  set TimeWarped, gettimetick(2) + 7200;
  delitem 25346, 100;
					end;
			case 2:
					mes "[Riss]";
					mes "Take care, boy~";
					mes "Don't hold a grudge against me.";
					close2;
					set .@boss_x, rand(202,204);
					set .@boss_y, rand(202,204);
					warp "bossnia_02",.@boss_x,.@boss_y;
  set TimeWarped, gettimetick(2) + 7200;
  delitem 25346, 100;
					end;
			case 3:
					mes "[Riss]";
					mes "Take care, boy~";
					mes "Don't hold a grudge against me.";
					close2;
					set .@boss_x, rand(202,204);
					set .@boss_y, rand(202,204);
					warp "bossnia_03",.@boss_x,.@boss_y;
  set TimeWarped, gettimetick(2) + 7200;
  delitem 25346, 100;
					end;
			case 4:
					mes "[Riss]";
					mes "Take care, boy~";
					mes "Don't hold a grudge against me.";
					close2;
					set .@boss_x, rand(202,204);
					set .@boss_y, rand(202,204);
					warp "bossnia_04",.@boss_x,.@boss_y;
  set TimeWarped, gettimetick(2) + 7200;
  delitem 25346, 100;
					end;
			}
	}
	mes "[Riss]";
	mes "You don't have enough box...";
	mes "Come back when you have at least 100 Cash Point Ticket Box[50ea].";
	close;
}

Here is an edited bossnia warper that can only be accessed for every 2 hours the last time your character has talked to him. Though the NPC doesn't shows up. Help? Thanks!

Edited by Arcenciel
Codeboxed
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  07/16/12
  • Last Seen:  

Sorry, but are a error in NPC or you wanna remove the delay?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

You should be using the updated script: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/re/events/bossnia.txt

Whenever an NPC is missing, there's going to be a mapserver error. Always post those (or read them and fix the problem yourself).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   1
  • Joined:  02/21/12
  • Last Seen:  

You should be using the updated script: https://rathena.svn....nts/bossnia.txt

Whenever an NPC is missing, there's going to be a mapserver error. Always post those (or read them and fix the problem yourself).

Hello mr Euphy how can i change zeny to 1tcg per enter in Bossnia :D thanks

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...