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

Nice job Dastgir good to see you are still updating this. People of Hercules, keep reporting in a constructive manner to make a good system :D

 
Many new updates/fixes were done this week: 
https://github.com/dastgirp/eBG/commit/b333d65f0eaae88148bd10b21f2a84e98c43239e / https://github.com/dastgirp/eBG/commit/c4893a5bc21e7c37707a19bfe4366a653221b79d
https://github.com/dastgirp/eBG/commit/8fcac60fb4e21f594cf39ccd138fbf32ea7e84e5

Code:
Several changes and bug fixes

Additions:
* Added new configuration 'bg_items_pvp' to allow BG items in PvP.
* Minimum level requirement to join bg.
* Announcement when leader quits and new leader is chosen.
* Configuration for checking gepard unique id for dual clients.
* Players won't be able to join the BG if 2 minutes are left
* Shop can be called by @bgshop

Changed:
* Changed the way 'bg_kick_idle' was handled, it now is in seconds.
* When player joins BG, it now uses bg_announce instead of announce.
* Moved telma to different file.
* @bgshop can be called only on town.

Fixes:
* Error while setting variable.
* bg_log_kill will now accept values from 0-7.
* When leader quits, the leader was changing but not shown in client.
* Fixes Guild window showing 0 members when leader quit.
* 3rd argument in bg_announce is now optional

Split main_bg.sql to
 * bg_guild.sql (to be executed if VIRT_GUILD is commented)
 * bg_main.sql (to be executed always)
Updated script commands documentation.
Added missing documentations.
Structual changes to ebg_common.h (important settings are shown first).
 
bg causing pvp-related console errors
Thanks for reporting.

The issue is known and the console error can be ignored(it's not harmful), however it will be fixed in a day.

 
Update: https://github.com/dastgirp/eBG/commit/95b06799dece8c6f107b43632f9ce0d1050405b1 (Fixes the console error on PvP Maps too)

New Feature and bug fixes:

Added BG Ranking:
It contains several NPCs which changes the look to Top X as mentioned in the configuration.
The Ranking changes in real time
Added new scriptCommand getbgfame.
BG Ranking says the name of player if clicked.
Uncomment the Duplicate NPCs and change locations to enable the feature.

@bgranked and @bgregular now shows 'No Players' if no players exist in ranking yet
Fixed PvP Bound items which were conflicting with Ranking System


Preview of BG Ranking:

hTrUWhD.jpg


 
If encountering this problem, just comment that line

Code:
	ExtendedBG.c:6175:37: error: 'MAP_IS_PVP' undeclared (first use in this function)
  script->set_constant("MAP_IS_PVP", MAP_IS_PVP, false, false);
 
Last edited by a moderator:
Got this when I stop the server. [ ./athena-start stop ]
OS: Centos 7

Code:
[Warning]: Memory leak detected at ERS 'db.c::db_alloc_ers', 1 objects not freed.
 
Last edited by a moderator:
Se encontrar este problema, apenas comente essa linha

Code:
Hello my dear. I'm getting these errors when trying to compile the emulator.

eBG Commit: 95b06799dece8c6f107b43632f9ce0d1050405b1

Hercules Commit: 97606eaf71983a82463062b04c2ec1cf5b078d57

Client: 20180620

OS: CentOS 7

Screenshot_1.png

Screenshot_2.png

 
If encountering this problem, just comment that line

Code:
	ExtendedBG.c:6175:37: error: 'MAP_IS_PVP' undeclared (first use in this function)
  script->set_constant("MAP_IS_PVP", MAP_IS_PVP, false, false);
I still have this issue even when I comment that line the error still persists

'MAP_IS_PVP': undeclared identifier...

 
Back
Top