Jump to content
  • 0

Lost Treasure!


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

My Lost Trasure Event

is only 80% to apear every hour

i want make it 100%

 

// ---            ARTHistic's Property            ---
// ---    Please visit http://thdesigns.co.nr     ---
// ---           Scripted By: ARTHistic           ---
// ---         Do Not Revomed the Credits         ---

pvp_n_4-5,104,98,3	script	Treasure Box Summoner	906,{
	mes "[ Treasure Box Event ]";
	mes "Hello, I'm a new mage here in Midgard. Every hour, I tried to cast my summoning spells and there a chance that i can summon a Treasure Box that will give you items once you destroy it. I only cast my spell on main city and I immediately announce to everyone once I perfectly cast my spells. Anyways, I will give you a little hint...";
        if( $@tboxevent == 0 ){
        	mes "I ^ff0000failed^000000 to summoned the Treasure Box last time.^000000";
	}else {
        	mes "^I successfully summoned the Treasure Box last time.";
	}
	mes " ";
	mes "Scripted by: ^777777ARTHistic^000000";
	close;

OnMinute45:
	set $@tboxevent, rand(5);
	if ( $@tboxevent != 0 ){
		announce "مسابقة البحث عن الكنز ستبدء بعد قليل",0;
		sleep2 5000;
		announce "تم ارسال صندوق الكنز الي المدينة ابدئو البحث",0;
		sleep2 1000;
		monster "prontera.gat",0,0,"Treasure Box",1845,1,"Treasure Box Summoner::OnTBoxKilled";
		end;
	}else {
		end;
	}
	end;

OnTBoxKilled:
	announce "لقد تم العثور علي الصندوق الكنز و تم تحطيبه , الفائذ هو "+strcharinfo(0)+"!", bc_all;
	getitem 674, 3;

Thanks for every one going to Help Me /thx

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Remove;

 

set $@tboxevent, rand(5);
if ( $@tboxevent != 0 ){
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

after i 've done that

thise list comes twice on the annoicment

        announce "تم ارسال صندوق الكنز الي المدينة ابدئو البحث",0;

 

// ---            ARTHistic's Property            ---
// ---    Please visit http://thdesigns.co.nr     ---
// ---           Scripted By: ARTHistic           ---
// ---         Do Not Revomed the Credits         ---

pvp_n_4-5,104,98,3	script	Treasure Box Summoner	906,{
	mes "[ Treasure Box Event ]";
	mes "Hello, I'm a new mage here in Midgard. Every hour, I tried to cast my summoning spells and there a chance that i can summon a Treasure Box that will give you items once you destroy it. I only cast my spell on main city and I immediately announce to everyone once I perfectly cast my spells. Anyways, I will give you a little hint...";
        if( $@tboxevent == 0 ){
        	mes "I ^ff0000failed^000000 to summoned the Treasure Box last time.^000000";
	}else {
        	mes "^I successfully summoned the Treasure Box last time.";
	}
	mes " ";
	mes "Scripted by: ^777777ARTHistic^000000";
	close;

OnMinute45:
		announce "مسابقة البحث عن الكنز ستبدء بعد قليل",0;
		sleep2 5000;
		announce "تم ارسال صندوق الكنز الي المدينة ابدئو البحث",0;
		sleep2 1000;
		monster "prontera.gat",0,0,"Treasure Box",1845,1,"Treasure Box Summoner::OnTBoxKilled";
		end;
	}else {
		end;
	}
	end;

OnTBoxKilled:
	announce "لقد تم العثور علي الصندوق الكنز و تم تحطيبه , الفائذ هو "+strcharinfo(0)+"!", bc_all;
	getitem 674, 3;
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Kinda hard because I don't understand what's on the message. -_-

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

lol xD

it means that the treausre bos have been sent to prontera start searching

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

If you received it twice, you should removed the first one.

 

announce "مسابقة البحث عن الكنز ستبدء بعد قليل",0;
sleep2 5000;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

==

so how to make the ppl know that the event is going to start ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Try this;

// ---            ARTHistic's Property            ---
// ---    Please visit http://thdesigns.co.nr     ---
// ---           Scripted By: ARTHistic           ---
// ---         Do Not Revomed the Credits         ---

pvp_n_4-5,104,98,3	script	Treasure Box Summoner	906,{
	mes "[ Treasure Box Event ]";
	mes "Hello, I'm a new mage here in Midgard. Every hour, I tried to cast my summoning spells and there a chance that i can summon a Treasure Box that will give you items once you destroy it. I only cast my spell on main city and I immediately announce to everyone once I perfectly cast my spells. Anyways, I will give you a little hint...";
        if( $@tboxevent == 0 ){
        	mes "I ^ff0000failed^000000 to summoned the Treasure Box last time.^000000";
	}else {
        	mes "^I successfully summoned the Treasure Box last time.";
	}
	mes " ";
	mes "Scripted by: ^777777ARTHistic^000000";
	close;

OnMinute45:
		announce "مسابقة البحث عن الكنز ستبدء بعد قليل",0;
		sleep2 5000;
		announce "تم ارسال صندوق الكنز الي المدينة ابدئو البحث",0;
		sleep2 1000;
		monster "prontera.gat",0,0,"Treasure Box",1845,1,"Treasure Box Summoner::OnTBoxKilled";
		end;

OnTBoxKilled:
	announce "لقد تم العثور علي الصندوق الكنز و تم تحطيبه , الفائذ هو "+strcharinfo(0)+"!", bc_all;
	getitem 674, 3;
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Yea it works

thanks alot Anakid

And Crongratulations for Donating ^_^

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