Queue BG rewrite

I see. I want to have one. Do you have example script for fake guild emblem? Is it simple to create/revise? 

 
Does this also create a temporary guild? like the Red Team and Blue Team

Does this also create a temporary guild? like the Red Team and Blue Team
Nope.
Read the topic pls
default_smile.png


Guys, after we release YARL I will make a plugin for latest Hercules. Gimme a time
default_smile.png


 
Hello, Kubix. As informed by MP, I am having the same error as the user 'FearlesS'. Follow:
\src\map\skill.c(6912)

show me this line.

@@FearlesS
int needed = skill->dbs->db[skill_id].itemid[x];
Send me your skill.c

Error    1    error C2065: 'MOBID_EMPELIUM' : undeclared identifier    - queuebg\src\map\skill.c    6893    1    map-server
Error    2    error C2143: syntax error : missing ';' before 'type'    - queuebg\src\map\skill.c    6901    1    map-server
Error    3    error C2143: syntax error : missing ';' before 'type'    - queuebg\src\map\skill.c    6902    1    map-server
Error    4    error C2065: 'needed' : undeclared identifier - queuebg\src\map\skill.c    6904    1    map-server
Error    5    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6907    1    map-server
Error    6    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6909    1    map-server
Error    7    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6911    1    map-server
Error    8    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6912    1    map-server
Error    9    error C2065: 'needed' : undeclared identifier - queuebg\src\map\skill.c    6914    1    map-server
Error    10    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6917    1    map-server
Error    11    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6919    1    map-server
Error    12    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6920    1    map-server
Error    13    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6922    1    map-server
Error    14    error C2065: 'id' : undeclared identifier - queuebg\src\map\skill.c    6923    1    map-server
Error    15    error C2061: syntax error : identifier 'skill_castend_nodamage_id_dead_unknown' - queuebg\src\map\skill.c    9927    1    map-server
Error    16    error C2059: syntax error : ';' - queuebg\src\map\skill.c    9927    1    map-server
Error    17    error C2059: syntax error : 'type'    - queuebg\src\map\skill.c    9927    1    map-server
Error    18    error C2065: 'SC_MVPCARD_MISTRESS' : undeclared identifier - queuebg\src\map\skill.c    14519    1    map-server
Error    19    error C2065: 'ITEMID_POISON_BOTTLE' : undeclared identifier    - queuebg\src\map\skill.c    14646    1    map-server
Error    20    error C2065: 'skill_castend_nodamage_id_dead_unknown' : undeclared identifier - queuebg\src\map\skill.c    19712    1    map-server
Error    22    error C2084: function 'int bg_create(unsigned short,short,short,const char *,const char *)' already has a body - queuebg\src\map\battleground.c    288    1    map-server
Error    23    error C2065: 'bg_team_getitem' : undeclared identifier - queuebg\src\map\battleground.c    1035    1    map-server
Error    25    error C2065: 'bg_team_get_kafrapoints' : undeclared identifier - queuebg\src\map\battleground.c    1036    1    map-server
Error    27    error C2065: 'bg_reveal_pos_sub' : undeclared identifier - queuebg\src\map\battleground.c    1037    1    map-server

How did you correct?

 
hercules\src\map\skill.c(6912): error C2143: syntax error : missing ';' before 'type'
5>f:\server\hercules\src\map\skill.c(6913): error C2143: syntax error : missing ';' before 'type'
5>f:\server\hercules\src\map\skill.c(6915): error C2065: 'needed' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6918): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6920): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6922): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6923): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6925): error C2065: 'needed' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6928): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6930): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6931): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6933): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(6934): error C2065: 'id' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'x' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'y' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'x' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'y' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'x' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'y' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'x' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'y' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(9920): warning C4116: unnamed type definition in parentheses
5>f:\server\hercules\src\map\skill.c(9988): error C2061: syntax error : identifier 'skill_castend_nodamage_id_dead_unknown'
5>f:\server\hercules\src\map\skill.c(9988): error C2059: syntax error : ';'
5>f:\server\hercules\src\map\skill.c(9988): error C2059: syntax error : 'type'
5>f:\server\hercules\src\map\skill.c(14689): error C2043: illegal break
5>f:\server\hercules\src\map\skill.c(14694): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14715): error C2059: syntax error : 'else'
5>f:\server\hercules\src\map\skill.c(14737): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14759): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14781): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14803): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14825): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14847): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14869): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14893): error C2059: syntax error : 'switch'
5>f:\server\hercules\src\map\skill.c(14908): error C2059: syntax error : 'if'
5>f:\server\hercules\src\map\skill.c(14926): error C2059: syntax error : 'switch'
5>f:\server\hercules\src\map\skill.c(15012): error C2059: syntax error : 'return'
5>f:\server\hercules\src\map\skill.c(15013): error C2059: syntax error : '}'
5>f:\server\hercules\src\map\skill.c(19860): error C2065: 'skill_castend_nodamage_id_dead_unknown' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(19860): warning C4047: '=' : 'bool (__cdecl *)(block_list *,block_list *,uint16 *,uint16 *,int64 *,int *)' differs in levels of indirection from 'int'
5>f:\server\hercules\src\map\skill.c(19874): error C2065: 'skill_get_requirement_off_unknown' : undeclared identifier
5>f:\server\hercules\src\map\skill.c(19874): warning C4047: '=' : 'bool (__cdecl *)(status_change *,uint16 *)' differs in levels of indirection from 'int'

how to fix this error
Why not Smoke's HBG? http://herc.ws/board/topic/14083-hercules-battlegrounds-v10a/

 
I guess for something like this people maybe prefer to manually add things as opposed to plugin version. I have this version of BG working on my server. Can't give you any help tho, since someone else put it in. The only thing missing is the teams.

 
Hi Kubix. Wanna let you know I use this edit on my server and it works great. It took a lot of work, but everything works perfect now and I'm doing good things with it. Not sure if you have any interest in continuing with it, but if you do, I think you should finish all the work for this. It is really good.

 
Hi Kubix. Wanna let you know I use this edit on my server and it works great. It took a lot of work, but everything works perfect now and I'm doing good things with it. Not sure if you have any interest in continuing with it, but if you do, I think you should finish all the work for this. It is really good.
Can you share it?

;)

 
It means you haven't created the custom items required for that NPC.
Hmmm. I did add the items on item_db2.conf tho and also I couldn't talk to the NPC, I can click on it but no interaction.

I've attached my item_db2.conf if you need to take a look. List starts at line #639

View attachment item_db2.conf

Edit: BG Weap/Armor/Acce NPC is working fine just the consumables aren't.

 
Last edited by a moderator:
Your whole item_db2 is within comments /* */ you need to remove them.
Thank you for pointing that out it got rid of the errors and I can finally interact with the NPC. I have one more question tho, do you know how to change the ratio for the consumables? Cause exchanges are 1:1, and what I wanted for example is, 1 War Badge:20 BG Whites and 2 War Badge:20 WoE Whites. I've attached the script for you to see. Again, thank you for helping me out!

Edit: The script attached works like a cash shop btw. I got the idea on one of the servers I played and theirs work more like a dynamic shop, which I preferred more.

View attachment bg_mall.txt

 
Last edited by a moderator:
Back
Top