Easycore

Release: Extended Battleground [eAmod BG]

Recommended Posts

Posted (edited)
On 11/14/2018 at 8:57 AM, mharkeke said:

is this compatible with latest rA ?

Yes, it is compatible with the latest version of rathena.
Just change a few things.

 

Edit:

I have a problem, would anyone know how to solve this?
I'm receiving ad on all tabs in the chat. wanted to just leave it on the global tab.

Spoiler

KoisYwT.jpg

 

Edited by Hidan

Share this post


Link to post
Share on other sites

@Easycore ExtendedBG_rev7.diff

[Error]: npc_parse_mapflag: unrecognized mapflag 'noemergencycall' (file 'npc/bg-eamod/bg_flavius_ctf.txt', line '501').
[Error]: npc_parse_mapflag: unrecognized mapflag 'noemergencycall' (file 'npc/bg-eamod/bg_tierra_eoe.txt', line '721').

 

Share this post


Link to post
Share on other sites

Errors appear in the last version of rathena. I tested it on ubuntu. I got the same errors from the topic below.

 

Share this post


Link to post
Share on other sites
On 12/5/2018 at 10:25 AM, Haruka Mayumi said:

Is it just me that when i use Emergency Call. Nothing happens?

i even set guild_skill_delay_relog to 0

EDIT: Fixed

How did u fixed it?

Share this post


Link to post
Share on other sites

anyone know how to resolve this error when applying the patch?

Spoiler

Applying: conf/battle/battleground.conf |  40 ++
Using index info to reconstruct a base tree...
M    conf/battle/battleground.conf
M    src/map/atcommand.cpp
M    src/map/battle.cpp
M    src/map/clif.cpp
M    src/map/map.cpp
M    src/map/npc.hpp
M    src/map/pc.cpp
M    src/map/script.cpp
M    src/map/script_constants.hpp
M    src/map/skill.cpp
M    src/map/unit.cppgit.exe am --resolved
Applying: conf/battle/battleground.conf |  40 ++
No changes - did you forget to use 'git add'?
If there is nothing left to stage, chances are that something else
already introduced the same changes; you might want to skip this patch.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Fail

 

Share this post


Link to post
Share on other sites
16 hours ago, fictionx said:

anyone know how to resolve this error when applying the patch?

  Hide contents

Applying: conf/battle/battleground.conf |  40 ++
Using index info to reconstruct a base tree...
M    conf/battle/battleground.conf
M    src/map/atcommand.cpp
M    src/map/battle.cpp
M    src/map/clif.cpp
M    src/map/map.cpp
M    src/map/npc.hpp
M    src/map/pc.cpp
M    src/map/script.cpp
M    src/map/script_constants.hpp
M    src/map/skill.cpp
M    src/map/unit.cppgit.exe am --resolved
Applying: conf/battle/battleground.conf |  40 ++
No changes - did you forget to use 'git add'?
If there is nothing left to stage, chances are that something else
already introduced the same changes; you might want to skip this patch.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Fail

 

you should do manual patching instead using automatic one, because some line has been changed or moved

Share this post


Link to post
Share on other sites
On 1/23/2019 at 12:05 PM, avalox said:

Errors appear in the last version of rathena. I tested it on ubuntu. I got the same errors from the topic below.

To work perfectly without error, especially at the time of compiling, with the latest versions of rathena you need to convert the following code:

unsigned int

for

t_tick
Exemple

 

Edited by Hidan

Share this post


Link to post
Share on other sites
On 1/13/2019 at 10:06 AM, Haikenz said:

@Easycore ExtendedBG_rev7.diff

[Error]: npc_parse_mapflag: unrecognized mapflag 'noemergencycall' (file 'npc/bg-eamod/bg_flavius_ctf.txt', line '501').
[Error]: npc_parse_mapflag: unrecognized mapflag 'noemergencycall' (file 'npc/bg-eamod/bg_tierra_eoe.txt', line '721').

 

hi there, to fix it you should edit those npc on the line "bat_b02 mapflag noemergencycall "  to " bat_b02 mapflag noecall "

Share this post


Link to post
Share on other sites

anyone have this type of errors?

Spoiler

script.cpp: In function 'int buildin_bg_logincount(script_state*)':
script.cpp:4745:29: error: redefinition of 'int buildin_bg_logincount(script_state*)'
 #define BUILDIN_FUNC(x) int buildin_ ## x (struct script_state* st)
                             ^
script.cpp:19503:1: note: in expansion of macro 'BUILDIN_FUNC'
 BUILDIN_FUNC(bg_logincount)
 ^
script.cpp:4745:29: error: 'int buildin_bg_logincount(script_state*)' previously defined here
 #define BUILDIN_FUNC(x) int buildin_ ## x (struct script_state* st)
                             ^
script.cpp:19488:1: note: in expansion of macro 'BUILDIN_FUNC'
 BUILDIN_FUNC(bg_logincount)
 ^
script.cpp: In function 'int buildin_bg_logincount(script_state*)':
script.cpp:4745:29: error: redefinition of 'int buildin_bg_logincount(script_state*)'
 #define BUILDIN_FUNC(x) int buildin_ ## x (struct script_state* st)
                             ^
script.cpp:20526:1: note: in expansion of macro 'BUILDIN_FUNC'
 BUILDIN_FUNC(bg_logincount)
 ^
script.cpp:4745:29: error: 'int buildin_bg_logincount(script_state*)' previously defined here
 #define BUILDIN_FUNC(x) int buildin_ ## x (struct script_state* st)
                             ^
script.cpp:19488:1: note: in expansion of macro 'BUILDIN_FUNC'
 BUILDIN_FUNC(bg_logincount)

 

 

Share this post


Link to post
Share on other sites
On 12/5/2018 at 10:25 AM, Haruka Mayumi said:

Is it just me that when i use Emergency Call. Nothing happens?

i even set guild_skill_delay_relog to 0

 

On 1/28/2019 at 11:09 AM, Loki Mania said:

How did u fixed it?

 

Same problem

How did u fixed it?

Share this post


Link to post
Share on other sites

Warning compiler: \src\map\script.cpp(5630): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)

Line warning:

md->ud.immune_attack = flag; // rAthena have Its own immunity state [Easycore]

 

Share this post


Link to post
Share on other sites
On 3/9/2019 at 2:45 PM, DaemonSpade said:

how to fix this? seems the problem is with @bgskill command @Easycore

 

Capture.PNG

im having the same prooblem did you manage to solve it?

Share this post


Link to post
Share on other sites

@DaemonSpade @behemothcze

Because you use outdated emulator.

Open "../src/common/timer.hpp" and before:

#define DIFF_TICK(a,b) ((int)((a)-(b)))

Add:

Quote

typedef uint32 t_tick;

 

  • Love 2

Share this post


Link to post
Share on other sites
Posted (edited)
22 hours ago, Functor said:

@DaemonSpade @behemothcze

Because you use outdated emulator.

Open "../src/common/timer.hpp" and before:

#define DIFF_TICK(a,b) ((int)((a)-(b)))

Add:

 

thanks sir @Functor its lessen the error, i try to figure it out the remaining error ive already check it many times but its still the same.

hope you could help me in this one too xD

 

 image.png.a3fedfa433442b707cd6d43c28834801.png

 

or  its impossible to fix it since im using old emulator ??

 

 

Problem solved.....

Edited by behemothcze
  • Upvote 1

Share this post


Link to post
Share on other sites

Fix from double login:

battleground.cpp

After

    if (qd->min_level && sd->status.base_level < qd->min_level)
    {
        sprintf(output, "You cannot join %s queue. Required min level is %d.", qd->queue_name, qd->min_level);
        clif_displaymessage(sd->fd, output);
        return 0;
    }

Add

    if( bg_countlogin(sd,false) > 0 )
    {
        sprintf(output,"You cannot join %s queue. Double Login detected.", qd->queue_name);
        clif_displaymessage(sd->fd,output);
        return 0;
    }

 

  • Upvote 1

Share this post


Link to post
Share on other sites
On 1/13/2019 at 2:06 PM, Haikenz said:

@Easycore ExtendedBG_rev7.diff

[Error]: npc_parse_mapflag: unrecognized mapflag 'noemergencycall' (file 'npc/bg-eamod/bg_flavius_ctf.txt', line '501').
[Error]: npc_parse_mapflag: unrecognized mapflag 'noemergencycall' (file 'npc/bg-eamod/bg_tierra_eoe.txt', line '721').

 

I have the same problem, someone managed to solve the problem?

Share this post


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

I have the same problem, someone managed to solve the problem?

hi there, to fix it you should edit those npc on the line "bat_b02 mapflag noemergencycall "  to " bat_b02 mapflag noecall "

Share this post


Link to post
Share on other sites
8 minutes ago, Haikenz said:

hi there, to fix it you should edit those npc on the line "bat_b02 mapflag noemergencycall "  to " bat_b02 mapflag noecall "

if I use this, I have this error

error.png

Share this post


Link to post
Share on other sites

bat_b02<TAB>mapflag<TAB>noecall

3 hours ago, Tiki59 said:

if I use this, I have this error

error.png

 

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