Jump to content
Dastgir

[Release] ExtendedBG for Hercules (with eAmod BG modes)

Recommended Posts

2 hours ago, Dastgir said:

Isso acontece aleatoriamente ou configurado no script? E quanto aumento nas recompensas?

It works like this.
BG happens constantly.
Except at time x, for example 10:00 pm, it goes from 20% or 30% more badges.

Share this post


Link to post
Share on other sites

Battleground mode:

Name: Battleground -- Treasure Hunt --

Map: dew_fild01

89hTr8T.png

In the image there are two suggestions where the blue and red team might born. (Their Base)

Objetives:

> The teams have to find the Treasure Chest on the map and kill it. 

> When you kill the Treasure Chest your team make 1 point. 

> The Treasure Chest is born in a random spot anywhere on the map.

> The Treasure Chest has 200 HP(or more perhaps). And everyone hits 1 on it.  (So the teams have the change to find it and fight against each other while someone is breaking it)

> After killing it, the teams are teleported back to their base and the Treasure Chest is born again anywhere on the map and your team have to find it again.

> The first team that make 3 Points wins the Battleground. 

I hope I was clear.

Treasure sprite:

GrXYZlu.png

 

Edited by Caspian

Share this post


Link to post
Share on other sites
7 hours ago, Caspian said:

Battleground mode:

Name: Battleground -- Treasure Hunt --

Map: dew_fild01

89hTr8T.png

In the image there are two suggestions where the blue and red team might born. (Their Base)

Objetives:

> The teams have to find the Treasure Chest on the map and kill it. 

> When you kill the Treasure Chest your team make 1 point. 

> The Treasure Chest is born in a random spot anywhere on the map.

> The Treasure Chest has 200 HP(or more perhaps). And everyone hits 1 on it.  (So the teams have the change to find it and fight against each other while someone is breaking it)

> After killing it, the teams are teleported back to their base and the Treasure Chest is born again anywhere on the map and your team have to find it again.

> The first team that make 3 Points wins the Battleground. 

I hope I was clear.

Treasure sprite:

GrXYZlu.png

 

This seems more like a hide and seek event rather than BG mode

Share this post


Link to post
Share on other sites

trocar armas gloriosas por distintivos?

O sistema de happy hour pode colocar ou será colocado na fonte ou npc?

 

Um ótimo roteiro já grato!

 

 

 

Como se estivesse definido no eamod (common.txt):

 

// Happy Hour do BattleGround

OnDoHappyHour:
  OnClock1600:
  OnClock1800:
  OnClock2000:
  OnClock2200:
  switch (gettime (4))
  {
  caso 1:
  caso 3:
  caso 5:
  if (gettime (3)> = 20 && gettime (3) <22)
  {
  anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
  setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
  setbattleflag "bg_ranked_mode", 1;
  fim;
  }
   
  if (gettime (3) == 22)
  {
  anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
  setbattleflag "bg_reward_rates", 100; // Taxas normais
  setbattleflag "bg_ranked_mode", 0;
  fim;
  }
  quebrar;
  caso 2:
  caso 4:
  caso 6:
  if (gettime (3)> = 16 e& gettime (3) <18)
  {
  anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
  setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
  setbattleflag "bg_ranked_mode", 1;
  fim;
  }
   
  if (gettime (3) == 18)
  {
  anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
  setbattleflag "bg_reward_rates", 100; // Taxas normais
  setbattleflag "bg_ranked_mode", 0;
  fim;
  }
  quebrar;
  }
  fim;
 

}

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 

 

Edited by Psyz

Share this post


Link to post
Share on other sites
6 hours ago, Psyz said:

trocar armas gloriosas por distintivos?

O sistema de happy hour pode colocar ou será colocado na fonte ou npc?

 

Um ótimo roteiro já grato!

 

 

 

Como se estivesse definido no eamod (common.txt):

  Reveal hidden contents

// Happy Hour do BattleGround

OnDoHappyHour:
  OnClock1600:
  OnClock1800:
  OnClock2000:
  OnClock2200:
  switch (gettime (4))
  {
  caso 1:
  caso 3:
  caso 5:
  if (gettime (3)> = 20 && gettime (3) <22)
  {
  anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
  setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
  setbattleflag "bg_ranked_mode", 1;
  fim;
  }
   
  if (gettime (3) == 22)
  {
  anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
  setbattleflag "bg_reward_rates", 100; // Taxas normais
  setbattleflag "bg_ranked_mode", 0;
  fim;
  }
  quebrar;
  caso 2:
  caso 4:
  caso 6:
  if (gettime (3)> = 16 e& gettime (3) <18)
  {
  anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
  setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
  setbattleflag "bg_ranked_mode", 1;
  fim;
  }
   
  if (gettime (3) == 18)
  {
  anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
  setbattleflag "bg_reward_rates", 100; // Taxas normais
  setbattleflag "bg_ranked_mode", 0;
  fim;
  }
  quebrar;
  }
  fim;
 

}

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 

 

Can you please use english in this topic?

Share this post


Link to post
Share on other sites
2 hours ago, Dastgir said:

Você pode usar o inglês neste tópico?

Sorry, I forgot.
This spoiler shows how the happy hour issue works on the eamod source.

And I also asked about the Glorious Weapons Shop, whether they already have them with badges or not.

Share this post


Link to post
Share on other sites
3 hours ago, Psyz said:

Sorry, I forgot.
This spoiler shows how the happy hour issue works on the eamod source.

And I also asked about the Glorious Weapons Shop, whether they already have them with badges or not.

isn't this?

Spoiler
OnMinute00:
if (gettime(GETTIME_HOUR) < 4) // Don't Choose Ranked Time if it is 12:00AM ~ 4:00 AM (Less players)
end;
[email protected] = $BGRanked_ / 1000000;
[email protected] = ($BGRanked_ % 1000000) / 10000;
[email protected] = ($BGRanked_ % 10000) / 100;
[email protected] = $BGRanked_ % 100;
if ([email protected] == gettime(GETTIME_YEAR) && [email protected] == gettime(GETTIME_MONTH) && [email protected] == gettime(GETTIME_DAYOFMONTH)) {
if ([email protected] == gettime(GETTIME_HOUR)) // Ranked Matches
$BGRanked = 1;
else // Time has passed or yet to arrive
$BGRanked = 0;
} else {
[email protected] = rand(gettime(GETTIME_HOUR), 23);
$BGRanked_ = gettime(GETTIME_YEAR) * 1000000 + gettime(GETTIME_MONTH) * 10000 + gettime(GETTIME_DAYOFMONTH) * 100 + [email protected];
if ([email protected] == gettime(GETTIME_HOUR))
$BGRanked = 1;
else
$BGRanked = 0;
}
if ([email protected])
return;

end;

As i know, Happy hours put available Ranked Reward Mode

Share this post


Link to post
Share on other sites

Erro #Corrigido

 

Comando SQL:

 

# Arquivo SQL principal

CREATE TABLE SE NÃO EXISTE `char_kill_log` (
    ` id` INT (11) NÃO NULL AUTO_INCREMENT,
    `time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
    ` killer_name` VARCHAR (25) NOT NULL,
    `` killer_id` INT (11) NOT NULL,
    `kill_name` VARCHAR (25) NOT NULL,
    ` kill_id` INT (11) NOT NULL,
    `map` VARCHAR (16) NOT NULL DEFAULT '',
    ` skill` INT (11) NOT NULL DEFAULT '0',
    `map_type` TINYINT (2) NOT NULL DEFAULT '0',
    PRIMARY KEY (` id`),
    ÍNDICE `killer_id` (` killer_id`),
    INDEX `kill_id` (` kill_id`)
) ENGINE = MyISAM;

 

Mensagens do MySQL:

# 1067 - Valor padrão (padrão) inválido para 'time'

Edited by lxlcadulxl
achei solução

Share this post


Link to post
Share on other sites

Olá, gostaria de saber se posso suportar discórdia. Estou instalando o ExtendedBG for Hercules (com modos eAmod BG), mas quando colocarei o banco de dados, forneça esta mensagem: MySQL Messages: time DATETIME NOT NULL DEFAULT '0000-00- 00 00:00:00 ', # 1067 - Valor padrão inválido (padrão) para' time 'Como eu poderia solucionar esse erro?

Edited by lxlcadulxl
Já tenho solução

Share this post


Link to post
Share on other sites

 

I was in error for is activating plung because I use windowns to compile, so I used this link: https://github.com/HerculesWS/Hercules/wiki/Building-HPM-Plugin-for-MSVC. Where he helped me build the project and activate the required plunges of "ExtendedBG", and "ExtendedBG-char". Thanks to @Dastgir I was able to install the plugs

Edited by lxlcadulxl
Correção do erro

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.