Jump to content

Question

Posted (edited)

hello guys :) could you guys help me with this bossnia script?..

i would like the following modification:

1. i want it to be open every 4hours (or 3 times a day)

2. it announces that the event will be open in 3min.

3. It only opens for 30min.

4. a minimum of 4 players in a party to enter, max is 10.

5. if one member of the party dies, they are all warped out.

6. Minimum base level to enter is 150.

7. A control panel for GM lvl 99.

8. PvP on. No @warp/@go

9. No usable items are allowed inside (example: YGG)

10. Those who can survive for 30min. recieves 3 TCG's.


prontera,150,179,5 script bossnia Staff::bsw 105,{

mes "[Red]";
mes "Halt! Who approaches?";
mes "I know a Place where chaos rules the land.";
mes "I found it while wondering the plains of RObust.";
mes "I am an adventurer.";
mes "Haha~";
next;
mes "[Red]";
mes "What? My name is...";
mes "'RObustnia Staff'?? Urghh 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 "[Red]";
mes "Hum... anyway I want to say... something..";
mes "While I was travelling through some places,";
mes "I found a really dreadful and fearful place.";
next;
mes "[Red]";
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 "[Red]";
mes "But... but... in there...";
mes "There are lots of fearful and strong monsters in there...";
mes "That was really frightful, i even heared rumors of Satan being spotted there.";
next;
mes "[Red]";
mes "If I had reacted a bit later... a few seconds...";
mes "I might have been killed.";
next;
mes "[Red]";
mes "What?";
mes "You want to go in there?";
mes "Oh~ Boy~ you didn't get me.";
mes "In there.......";
next;
mes "[Red]";
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 (Zeny > 4999) {
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 - 5000;
warp "bossnia_0"+.@i,rand(199,200),rand(199,200);
end;
}
mes "[Red]";
mes "You don't have enough money...";
mes "Come back when you have at least 5,000 zeny.";
close;
}

geffen,124,169,4 duplicate(bsw) Bossnia Staff#2 908
payon,165,150,4 duplicate(bsw) Bossnia Staff#3 908
morocc,142,100,4 duplicate(bsw) Bossnia Staff#4 908
lighthalzen,203,140,4 duplicate(bsw) Bossnia Staff#5 908
rachel,132,144,4 duplicate(bsw) Bossnia Staff#6 908


Edited by stydianx

Recommended Posts

Posted

@stydianx

well...now you dont need to write the script yourself....use Shopper tool to generate shop scripts xD

and about your warning....just set the item price to higher than it's default selling price...

and...this ..out of the topic already ~

thanks man! the npc maker isn't workin...

//okay back to the topic..

do i need to put "noitem" mapflag in the script?

cause i saw there isn't one here.

Posted

okay.. thanks.. i hope this topic wont be closed soon..

so i can post here if i have anymore questions..

do i need to put "noitem" mapflag in the script?

cause i saw there isn't one here.

you need this ..

http://rathena.org/b...age__hl__noitem

and after you have added the diff file..add the mapflag with your desired settings...( refer that topic to configure the mapflags. )

i have one more question...

on the script that AnnieRuru gave me, where can the coordinates be located? (coordinates to the event map)

i cant seem to find it.

Posted

i have one more question...

on the script that AnnieRuru gave me, where can the coordinates be located? (coordinates to the event map)

i cant seem to find it.

you mean script from post#14 ?

warpparty "guild_vs2",0,0, getcharid(1);

Posted (edited)

yuph.. oaky so this part of the old bossnia script


if (Zeny > 4999) {
mes "[Red]";
mes "Would you really like to take the challenge??";
mes "Ok, just choose the course.";
next;
set .@i, select("First","Second","Third","Fourth");
mes "[Red]";
mes "Take care, boy~";
mes "Don't hold a grudge against me.";
close2;
set Zeny, Zeny - 5000;
warp "bossnia_0"+.@i,rand(202,204),rand(202,204);
end;
}
mes "[Red]";
mes "You don't have enough money...";
mes "Come back when you have at least 5,000 zeny.";
close;

was replaced by: warpparty "guild_vs2",0,0, getcharid(1);

but does it still have the same function and be warped at the same location/map?

you mean script from post#14 ?

warpparty "guild_vs2",0,0, getcharid(1);

Edited by stydianx
Posted

this is weird, how come some kind of LMS event can let players to choose which map they want ?

also, an edit like that ...

I only planned out 1 array which is .party_id <-- 1 array holding the IDs of party ID in that map

if you want to have a LMS in all different maps at the same time,

I also need to adjust my script to use setd/getd to simulate multiple arrays

however ... this is truly defeated the meaning of LMS ... isn't it ?

Posted (edited)

Last Man Standing ...

isn't that what you've requested it in the 1st place ?

all party members get kicked out if anyone of them die ... and they need to survive for 30 mins ... isn't it ?

I can't see emistry's script ... so I dunno I'm reading your post wrong or what ...

Edited by AnnieRuru
Posted

@Annie...

i think it's might be your Browser problems...

the browser didnt read the full path of URL ~ >.<


Bossnia event....

Bossnia is a boss all you want dungeon where people can take advantage the endless spawn of MVP monsters. In pRO, the dungeon became a semi regular event with which when implemented it will be enjoyed for a week. But that's not what pRO players anticipate on this event. Adventurers are looking forward for this event because of Power Leveling!

i think it's an event where player can go in and kill monster / mvp inside..

LOL..i thought annie made it using "LMS Script" ..... pranked by Annie...xD

* My bad for using online paste site.. >.<

Posted (edited)

Last Man Standing ...

isn't that what you've requested it in the 1st place ?

all party members get kicked out if anyone of them die ... and they need to survive for 30 mins ... isn't it ?

I can't see emistry's script ... so I dunno I'm reading your post wrong or what ...

i was requesting for a customized script for the event bossnia, not a last man standing ma'am. i am sorry if you got confused..

but that was what i asked :)

the 10 numbers i gave you was the modification i would like to add in the bossnia script :)

i tried it on and the NPC doesn't show..

@Annie...

i think it's might be your Browser problems...

the browser didnt read the full path of URL ~ >.<


Bossnia event....

Bossnia is a boss all you want dungeon where people can take advantage the endless spawn of MVP monsters. In pRO, the dungeon became a semi regular event with which when implemented it will be enjoyed for a week. But that's not what pRO players anticipate on this event. Adventurers are looking forward for this event because of Power Leveling!

i think it's an event where player can go in and kill monster / mvp inside..

LOL..i thought annie made it using "LMS Script" ..... pranked by Annie...xD

* My bad for using online paste site.. >.<

How about your script emistry? is it fully done? may i use it now?

Edited by stydianx
Posted

bwahahahahah !!!

I spent 2 hours to make this, and made into wrong things !!! LMAO

( I originally thought a team-base LMS script is very cool ... xD )

ok emistry you can take over this script...

I even did some prank in the script... no wonder ... the idea is so far off !

Posted (edited)

it work fine for me....

When i dont have party......or i am not party leader..........

sv2gR.pngdRLQp.png

When i am party leader....but my member doesnt reach level 150 .......

I9PvE.png

it look fine for me....O.O

if you encounter error..then show it....

anyway...for BaseLevel checking part...inside the CheckBaseLevel() function...( line 101 )

change

if( BaseLevel < 99 ){

into

if( BaseLevel < 150 ){

and also this........ ( line 84 )

}else if( $@partymembercount < 2 || $@partymembercount > 10 ){

to

}else if( $@partymembercount < 4 || $@partymembercount > 10 ){

and the npc name...and fixed auto hide upon reboot / reload...

- script Sample -1,{
OnClock0100:
OnClock0500:
OnClock0900:
OnClock1300:
OnClock1700:
for( set .@i,0; .@i < 3; set .@i,.@i + 1 ){
announce "Bossnia Event will Open within "+( 3 - .@i )+" Minutes.",0;
sleep 60000;
}
enablenpc "bsw";
announce "Bossnia Event Opened.",0;
sleep ( 30 * 60000 );
announce "Bossnia Event Closed.",0;
OnInit:
disablenpc "bsw";
end;
}

refer post#46

Edited by Emistry
Posted

it work fine for me....

When i dont have party......or i am not party leader..........

sv2gR.pngdRLQp.png

When i am party leader....but my member doesnt reach level 150 .......

I9PvE.png

it look fine for me....O.O

if you encounter error..then show it....

anyway...for BaseLevel checking part...inside the CheckBaseLevel() function...( line 101 )

change

if( BaseLevel < 99 ){

into

if( BaseLevel < 150 ){

and also this........ ( line 84 )

}else if( $@partymembercount < 2 || $@partymembercount > 10 ){

to

}else if( $@partymembercount < 4 || $@partymembercount > 10 ){

here is the error that it gave me:

[Error]: npc_enable: Attempted to show a non-existing NPC 'bossnia Staff::bsw' (flag=1).

Posted

yeah, it was caused by my firefox got some add-on that makes my address bar gone crazy

anyway, I tested his script without a party, it should tell you "You need a Party."

still, his script has a bug that, attachrid through all the party members,

but at the end of the function before the return 1; did not attachrid back to the party leader

PS: .... this script is much much easier than I thought <.<

  • Upvote 1
Posted

it even got worse.. the NPC is no longer showing itself..

@Annie...

thx for reminding..xD

was fixing that too while uploading to pastebin...~

@TS

http://pastebin.com/raw.php?i=UmgRBLXp

it even got worse.. the NPC is no longer showing itself..

/... the NPC is hided every time server is reloaded ...and will appear every 4 hours...specified by yourself inside the script....

otherwise just temporary remove this..

OnInit:
disablenpc "bsw";

or add another way to enable the NPC for testing purpose.....

  • Upvote 2
Posted

damn! two of the greatest mind working on one script = perfect script..

thanks guys!

@emistry.. im sorry, haven't slept yet.. LOL! i forget things..

@annie, thanks! :) i might use the script for other purposes, or study it :)

thanks guys! its working perfectly now..

almost forgot..

it even got worse.. the NPC is no longer showing itself..

@Annie...

thx for reminding..xD

was fixing that too while uploading to pastebin...~

@TS

http://pastebin.com/raw.php?i=UmgRBLXp

it even got worse.. the NPC is no longer showing itself..

/... the NPC is hided every time server is reloaded ...and will appear every 4 hours...specified by yourself inside the script....

otherwise just temporary remove this..

OnInit:
disablenpc "bsw";

or add another way to enable the NPC for testing purpose.....

thus this script has this:

3. It only opens for 30min.

10. Those who can survive for 30min. recieves 3 TCG's.

if yes, where can i find them, cause i dont see them here..

if no, could you give me the script and tell me where to put it?

or you can just add it on to what you did and i'll just copy on paste bin..

Posted
3. It only opens for 30min.

here...

announce "Bossnia Event Opened.",0;
sleep ( 30 * 60000 );
announce "Bossnia Event Closed.",0;

for the survive 30 minute and get reward... i havent do it...

because...still thinking a solution for it...

i scare i would mess up the time calculation....if the following cases appear...

  1. Multiple Party Access into the Map
  2. Member login / logout ( if allow to stay in the map ? )
  3. Attach timer to NPC / Players...or Party Leader

  • Upvote 2

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