Jump to content

Recommended Posts

Posted (edited)

5R2Sn.png

[media=]

[/media]

Script \ Design : Goddameit

Map : TrojanWorm

Rules :
1. break stone +5 point to self team, -3 point to enemy.
2. after broke, stone will respawn in 10 seconds.
3. kill enemy will +1 point.
4. which team's point is highest, is winner.

Stone location:
128,120 --> A
127,46 --> B

Active time:
OnClock0100:
OnClock0300:
OnClock0500:
OnClock0700:
OnClock0900:
OnClock1100:
OnClock1300:
OnClock1500:
OnClock1700:
OnClock1900:
OnClock2100:
OnClock2300:
callsub OnActive;
end;


Set:
1 min for register,
30 seconds for join team (after this time, you still can join in),
100 seconds for battle time.

Reward:
No.

Script download :
Custom Battle Ground_goddameit+TrojanWorm.txt

Map download :
endless_war ; endless_war

Note:
just a little creation, enjoy it.

Note2:
I just enjoy finishing this game, so don't approve any suggest, sorry.
bug report only. Edited by goddameit
  • Upvote 3
Posted

try to add this

OnWhisperGlobal:
if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){
dispbottom "You have to type [ON] or [OFF] to enable or disable event";
end;
}
if ( @whispervar0$ == "ON" ){
callsub OnActive;
end;
}
if ( @whispervar0$ == "OFF" ){
announce "Bg has been Cancelled.",bc_all;
set .status,0;
bg_destroy $@bg_id_a;
bg_destroy $@bg_id_b;
set $@bg_id_a,0;
set $@bg_id_b,0;
setarray .point[1],0,0;
killmonsterall "endless_war";
bg_updatescore "endless_war",.point[1],.point[2];
deletearray .playerid[0],128;
mapwarp "endless_war","prontera",150,180;
callsub OnDisa;
return;
end;
}
end;

Posted

try to add this

OnWhisperGlobal:
if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){
dispbottom "You have to type [ON] or [OFF] to enable or disable event";
end;
}
if ( @whispervar0$ == "ON" ){
callsub OnActive;
end;
}
if ( @whispervar0$ == "OFF" ){
....

use

callsub OnEndd;

Posted

So it should be like this?

if ( getgmlevel() >= 99 ) {
OnWhisperGlobal:
if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){
dispbottom "You have to type [ON] or [OFF] to enable or disable event";
end;
}
if ( @whispervar0$ == "ON" ){
callsub OnActive;
end;
}
if ( @whispervar0$ == "OFF" ){
announce "Bg has been Cancelled.",bc_all;
callsub OnEndd;
end;
}
end;
}

Posted

So it should be like this?

OnWhisperGlobal:
if ( getgmlevel() >= 99 ) {
if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){
dispbottom "You have to type [ON] or [OFF] to enable or disable event";
end;
}
if ( @whispervar0$ == "ON" ){
callsub OnActive;
end;
}
if ( @whispervar0$ == "OFF" ){
announce "Bg has been Cancelled.",bc_all;
callsub OnEndd;
end;
}
end;
}

this

Posted

@goddameit can you please make a customized version that can automatically give prize to the winner, I would love to use it on my server /no1

you can try to do it by yourself and show me what did you done
Posted

yes I'm trying to not tamper, just customized it a little but the credits are untouched and still yours, I'll post it here if I encounter problems, thanks for the script

  • 2 months later...
  • 1 month later...
Posted

Since 17200 got mny change tht why i scared to try..

 

well, I don't see why you need to scared, if script fail at using it will not do anything (maybe give you a error warning)

Posted (edited)

ok sir. let me try 1st.

can i change to bat_c03 ?

which 1 should edit. because there are many coordinate there. 

help me sir.

 

research it and you will improve

Edited by goddameit
Posted

sir, i got a problem.

after i click. and i join.and then 2nd player cant click.

besides that, we cannot warped to the endless_war map. :(

 

		if(!.playerid[1])
		{
			//callsub OnEndd;
			initnpctimer;
		}
Posted (edited)

Where to put it?

you can download this script again, already upload new fixed version.

 

thx bro :)

btw, all player can spam it, not restrict to 1st come 1st register.

how ?

Edited by mrlongshen

Join the conversation

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

Guest
Reply to this topic...

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