Jump to content

PVP, WoE, GVG: DeathMatch - Battleground Addon


Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

DeathMatch - Battleground Addon


Come to join a Battleground match where you'll have to defeat all ennemies to earn points

Death Match is a battleground addon where players may fight until the end of the delay configured to earn as much points as possible.

The highest points rate will be rewarded, others will too but in a lowest range.

Each team will count 6 players at start, and killing them will bring points to the opposite team.

Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

Configuration enabled: Price to enter, number of player to start the game, duration enabled

Command: allowing use of @dmboard, to get a score board for each player in game

 

Credits: Do not claim my work as yours.

Feel free to use it, even modify it, but leave the credit on file header


Special Warning: This content was first designed on Hercules Emulator. While being tested, there must be some error or bugs. Feel free to report them so I can fix them.


 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  11/21/17
  • Last Seen:  

I just tried to use your script for rathena and got error at this piece of code:

set .@warped, 0;	
set $@redTeamId, bg_create_team($deathMatchMap$,$warpPointRed[0],$warpPointRed[1]);
set $@blueTeamId, bg_create_team($deathMatchMap$,$warpPointBlue[0],$warpPointBlue[1]);

 

Edited by skyalpha
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

replace bg_create_team by bg_create.

Gonna fix that on my github's version (easier for me to handle fixes back there)

Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  92
  • Reputation:   4
  • Joined:  06/21/15
  • Last Seen:  

 

On 11/29/2017 at 4:06 PM, Alayne said:

replace bg_create_team by bg_create.

Gonna fix that on my github's version (easier for me to handle fixes back there)

Hello sir @Alayne . i already replace it but still error

                $@RedTeam_DMId = bg_create($deathMatchMap$,$warpPointRedDM[0],$warpPointRedDM[1]);
                $@blueTeam_DMId = bg_create($deathMatchMap$,$warpPointBlueDM[0],$warpPointBlueDM[1]); 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

Hi Alayne!

I did try your script on rathena. I noticed that when a player dies, he drops his item on the ground. Any thoughts to why this might be the case?

On 12/3/2018 at 3:52 AM, Psy Ops said:

Hi Alayne!

I did try your script on rathena. I noticed that when a player dies, he drops his item on the ground. Any thoughts to why this might be the case?

Solved. The map by default is on nightmare mode.

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

Hello Alayne,

I tried your script n got this error in cmd, Can u guide me to fix this.

 

[Error]:
script error on npc/custom/DeathMatch.txt line 435
    parse_line: expect command, missing function name or calling undeclared function
   430 :
   431 :                                                set DMPOINTS, 0;
   432 :                                                if (getarraysize($@dmTeamBlue) < .teamCount)
   433 :                                                {
   434 :                                                        set $@dmTeamBlue[getarraysize($@dmTeamBlue)], $@DMMembers[.@i];
*  435 :                                                        'b'g_join_team($@blueTeamId);
   436 :                                                        warp $deathMatchMap$, $warpPointBlue[0], $warpPointBlue[1];
   437 :                                                }
   438 :                                                else if (getarraysize($@dmTeamRed) < .teamCount)
   439 :                                                {
   440 :                                                        set $@dmTeamRed[getarraysize($@dmTeamRed)], $@DMMembers[.@i];
[Info]: npc_parse_function: Overwriting user function [CheckDMTeamRedPlayer] (npc/custom/DeathMatch.txt:478)
[Info]: npc_parse_function: Overwriting user function [CheckDMTeamBluePlayer] (npc/custom/DeathMatch.txt:490)
[Info]: npc_parse_function: Overwriting user function [CheckDMPlayers] (npc/custom/DeathMatch.txt:502)

 

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