Easycore

Release: Extended Battleground [eAmod BG]

Recommended Posts

New update for Extended Battleground (still pending approval):
  - Updated to Git Hash: bbca9e
  - Added configuration for Battleground Double IP Check
  - Fix Emergency Call skill: Players are warping now
  - Updated NPC Repository: https://github.com/xEasycore/ExtendedBG

  • Love 3

Share this post


Link to post
Share on other sites
Posted (edited)

Known bugs:

  1. Use item Poison Bottle in Team Death Match (death points are considered)
  2. If the char from afk warp to another location, then it does not kick
Edited by Grava

Share this post


Link to post
Share on other sites
On 10/2/2019 at 2:03 AM, Grava said:

Known bugs:

  1. Use item Poison Bottle in Team Death Match (death points are considered)
  2. If the char from afk warp to another location, then it does not kick

1. Poison Bottle is no longer considered as point (same with  @die atcommand):
https://github.com/xEasycore/ExtendedBG/commit/0c57048cd5f434e3b311c2d5d6f438660a1baea0

2. Players aren't allowed to warp to another location on Battleground Maps.

Share this post


Link to post
Share on other sites

How to fix this guild emblems? Patch EnableEmblemForBG already aplied

screenFeelTheRo053.jpg

Share this post


Link to post
Share on other sites

Set transparency to swords RzdAScZ.png icon: data/texture/ÀüÀåÀûÇ¥½Ã.bmp

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Guild Flags not shows emblems, please update script command flagemblem

screenFeelTheRo054.jpg

 

BG Triple Inferno too need Fix suicide

Edited by Grava

Share this post


Link to post
Share on other sites
On 10/5/2019 at 4:27 PM, Grava said:

BG Triple Inferno too need Fix suicide

OnTeam1Die:
OnTeam2Die:
OnTeam3Die:
	if( [email protected]_Status == 1 && getvariableofnpc(.BG_Arena$,"BG_Queue_Join") == "Tierra_TI" )

to

OnTeam1Die:
OnTeam2Die:
OnTeam3Die:
	if(killerrid == 0) end;
	if( [email protected]_Status == 1 && getvariableofnpc(.BG_Arena$,"BG_Queue_Join") == "Tierra_TI" )

 

  • Upvote 1
  • Like 1

Share this post


Link to post
Share on other sites
On 10/4/2019 at 3:37 AM, Grava said:

Guild Flags not shows emblems, please update script command flagemblem

It will be fixed in next update.
abqqwYE.png

 

New update for Extended Battleground (still pending approval):

  - Updated to Git Hash: f6ed415
  - Added emblem visualization in Flags.
  - Fixed BG/WoE items usage in BG/WoE maps (thanks @Haruka Mayumi)

  - Big Update in NPC Repository: https://github.com/xEasycore/ExtendedBG:

       - Added Happy Hour system
       - Added @bghappyhour command to Enable/Disable Happy Hour
       - Added configuration for Happy Hour in bg_common.txt
       - Fixed Flag Emblem in Triple Inferno/Conquest
       - Fixed noemergencycall mapflag
       - Rewrote code-style
       - Minor bugs fix

  • Upvote 1
  • Love 2
  • Like 1

Share this post


Link to post
Share on other sites
22 hours ago, Easycore said:

It will be fixed in next update.

When starting the server

[Info]: Guild loaded (9 - Paradox)
[Warning]: map_getmapflag: Invalid map ID -1.
[Warning]: map_getmapflag: Invalid map ID -1.

 

Share this post


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

When starting the server

[Info]: Guild loaded (9 - Paradox)
[Warning]: map_getmapflag: Invalid map ID -1.
[Warning]: map_getmapflag: Invalid map ID -1.

 

How do you reproduce that?  I have not managed to get that.

Share this post


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

How do you reproduce that?  I have not managed to get that.

I'm manually add and edit this lines:

clif.cpp

	if( bl->type == BL_NPC && vd->class_ == JT_GUILD_FLAG )
	{	//The hell, why flags work like this?
		WBUFW(buf,22) = clif_visual_emblem_id(bl);
		WBUFW(buf,24) = GetWord(clif_visual_guild_id(bl), 1);
		WBUFW(buf,26) = GetWord(clif_visual_guild_id(bl), 0);
	}

script.cpp

/// Sets the guild_id of this npc.
///
/// flagemblem <guild_id>;
BUILDIN_FUNC(flagemblem)
{
    TBL_NPC* nd;
    int g_id = script_getnum(st,2);

    if(g_id < 0)
        return SCRIPT_CMD_SUCCESS;

    nd = (TBL_NPC*)map_id2nd(st->oid);
    if( nd == NULL ) {
        ShowError("script:flagemblem: npc %d not found\n", st->oid);
    } else if( nd->subtype != NPCTYPE_SCRIPT ) {
        ShowError("script:flagemblem: unexpected subtype %d for npc %d '%s'\n", nd->subtype, st->oid, nd->exname);
    } else {
        if (map_getmapflag(nd->bl.m, MF_BATTLEGROUND)) {
            nd->u.scr.bg_id = g_id;
            clif_guild_emblem_area(&nd->bl);
            return SCRIPT_CMD_SUCCESS;
        }        
        bool changed = ( nd->u.scr.guild_id != g_id )?true:false;
        nd->u.scr.guild_id = g_id;
        clif_guild_emblem_area(&nd->bl);
        /* guild flag caching */
        if( g_id ) /* adding a id */
            guild_flag_add(nd);
        else if( changed ) /* removing a flag */
            guild_flag_remove(nd);
    }
    return SCRIPT_CMD_SUCCESS;
}

Share this post


Link to post
Share on other sites
23 hours ago, Grava said:

When starting the server

[Info]: Guild loaded (9 - Paradox)
[Warning]: map_getmapflag: Invalid map ID -1.
[Warning]: map_getmapflag: Invalid map ID -1.

 

I also get this warning... checked the scripts but there's no getmapflag code.

Share this post


Link to post
Share on other sites
12 hours ago, Radian said:

I also get this warning... checked the scripts but there's no getmapflag code.

I just installed the src and try all the bg games and I can't reproduce that error. To me, works perfectly.

Share this post


Link to post
Share on other sites
1 hour ago, Mael said:

I just installed the src and try all the bg games and I can't reproduce that error. To me, works perfectly.

A warning occurs when the server starts

[Status]: Map-server connected to char-server 'Server'.
[Status]: Map Server is now online.
[Info]: Received Fame List of '4' characters.
[Status]: Received '45' guild castles from char-server.
[Status]: Received '0' clans from char-server.
[Info]: Guild loaded (9 - Paradox)
[Warning]: map_getmapflag: Invalid map ID -1.
[Warning]: map_getmapflag: Invalid map ID -1.
[Info]: Guild Unloaded (9 - Paradox)

 

Edited by Grava

Share this post


Link to post
Share on other sites
26 minutes ago, Grava said:

A warning occurs when the server starts

[Status]: Map-server connected to char-server 'Server'.
[Status]: Map Server is now online.
[Info]: Received Fame List of '4' characters.
[Status]: Received '45' guild castles from char-server.
[Status]: Received '0' clans from char-server.
[Info]: Guild loaded (9 - Paradox)
[Warning]: map_getmapflag: Invalid map ID -1.
[Warning]: map_getmapflag: Invalid map ID -1.
[Info]: Guild Unloaded (9 - Paradox)

 

🤔

123.png.e229414b11ec8eb375a6b2cdc5b1439b.png

Share this post


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

I just installed the src and try all the bg games and I can't reproduce that error. To me, works perfectly.

I just found out how to fix this one. What i did was to create a new sql database and warning is gone.

Share this post


Link to post
Share on other sites

I suspect that warning is caused by flagemblem; if you use flagemblem in a NPC that doesn't has map location the map ID should be -1.

I will revert flagemblem script and make a new one only available for Battleground in next patch.

Share this post


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

How to make this work with Gepard? 
is there a config? or ?

Here.

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

Loading...