Jump to content

Custom Battle Ground


Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

its possible make gm active example

(whisper)npc:battleground on/off

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  05/27/12
  • Last Seen:  

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;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  05/27/12
  • Last Seen:  

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;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

@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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

@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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

Map link unavailable. Great script by the way /ok

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

Map link unavailable. Great script by the way /ok

still available

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

It's available just now. Anyway, thanks.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/30/13
  • Last Seen:  

Hi how to add prize giver for that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

how to use this i can't click the npc

  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

can use in latest svn ? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

can use in latest svn ? 

 

is there any big change on rA?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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;
		}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

Where to put it?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

Where to put it?

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

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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

×
×
  • Create New...