caspe 16 Posted May 5, 2017 (edited) Well team dethmatch warning not fixed, it still keep spamming console after player get killed every time. Suggestion: After stopping BG using @bgstop command, while BG is running and then start again, it does not rotate BG modes. Edited May 10, 2017 by caspe Quote Share this post Link to post Share on other sites
Huitzilopotchli 4 Posted May 5, 2017 (edited) For deathmatch it's about this :set .@guillaume, hBG_get_data($@BG_Team1, 0);set .@croix, hBG_get_data($@BG_Team2, 0);i change to : .@guillaume = hBG_get_data($@BG_Team1, 0); .@croix = hBG_get_data($@BG_Team2, 0);and no more spam in console ^^ Edited May 8, 2017 by Huitzilopotchli Quote Share this post Link to post Share on other sites
Easycore 31 Posted May 8, 2017 I mean latest commit of the hBG repository. I compiled in MSVS 2015 and It finally works. Quote Share this post Link to post Share on other sites
Huitzilopotchli 4 Posted May 9, 2017 (edited) Hi ! for the After cast delay of guild skill i've fix it : int skillnotok_pre(uint16 *skill_id, struct map_session_data **sd) { int16 idx, m; nullpo_retr(1, *sd); m = (*sd)->bl.m; idx = skill->get_index(*skill_id); if (idx == 0) return 1; if (map->list[m].flag.battleground && *skill_id >= GD_SKILLBASE && *skill_id <= GD_DEVELOPMENT) if ((*sd)->blockskill[idx] || !(map->list[m].flag.battleground)) { clif->skill_fail(*sd, *skill_id, USESKILL_FAIL_SKILLINTERVAL, 0); hookStop(); return 1; } return 0; return (map->list[m].flag.noskill); } but for the hBg_monster_immunity flag, i've tryed somethings but it result nothing ^^' Edited May 9, 2017 by Huitzilopotchli Quote Share this post Link to post Share on other sites
Easycore 31 Posted May 9, 2017 (edited) Hi ! for the After cast delay of guild skill i've fix it : Try to make a Pull Request. but for the hBg_monster_immunity flag, i've tryed somethings but it result nothing ^^' Flag is ok, monster have state.immunity, but this state doesn't do anything. It's neccesary to add a Post-Hook like this: http://upaste.me/96ab2190644336d95#LC209 I'd like do it, but I have poor knowledge about src/plugin, and this seems serious. EDIT: I finally decided to try fix it and I did a Pull Request with the changes. https://github.com/Smokexyz/HerculesBG/pull/10 Edited May 10, 2017 by Easycore Quote Share this post Link to post Share on other sites
Easycore 31 Posted May 10, 2017 Suggestion: 1. There is no announcement for recruiting players for battle ground only once when some one apply, after that no announcement. 2. There should be command for change battleground mode, like CTF to Deathmatch or just command for switch battleground mode. Thanks... I made a command for switch BG Modes. Open hBG\bg_common.txt and copy this before of OnBGStartCommand: // @bgmode <1-10> OnBGModeCommand: .@X = atoi(.@atcmd_parameters$[0]); if(.@X <= .TotalArenas+1 && .@X > 0){ if(.@X == 1) set $BG_Index, rand(.TotalArenas)-1; else set $BG_Index, .@X-3; message strcharinfo(0),"["+.BG_Names$[$BG_Index+1]+"] has been set."; donpcevent "BG_Queue_Handler::OnRotate"; end; }else{ message strcharinfo(0), "Usage: @bgmode <1-"+(.TotalArenas+1)+">"; dispbottom "#1 - Random Mode",0xFFFFFF; for(.@i = 0; .@i<.TotalArenas; .@i++) dispbottom "#"+(.@i+2)+" - "+.BG_Names$[.@i],.BG_Color2[.@i]; end; } Find /* Player Commands */ and copy above: bindatcmd "bgmode","BG_Queue_Handler::OnBGModeCommand",99,99; Finally find // Team Building Mode : and copy above: // Battleground @bgrotate colors. setarray .BG_Color2[0], 0x2F9F2D, 0xAA00FF, 0xFF0033, 0x33FF99, 0x3399FF, 0xFFA500, 0x9ACD32, 0x4169E1, 0xDDA0DD; Usage: @bgmode <1-10> #1 - Random Mode #2 - Capture the Flag #3 - Eye of Storm #4 - Triple Inferno #5 - Team DeathMatch #6 - Bossnia #7 - Conquest #8 - Stone Control #9 - Domination #10 - Rush 2 caspe and tedexx reacted to this Quote Share this post Link to post Share on other sites
Huitzilopotchli 4 Posted May 11, 2017 (edited) Hi, i don't know how use the pull request, i'm on github since somes day for my server ^^And for the immunity check it doesn't work ^^'.So after many try and research(i'm bad in C ^^'), i've finaly fix it BUILDIN(hBG_monster_immunity) { struct mob_data *md; struct block_list *mbl; struct hBG_mob_data *hBGmd; int id = script_getnum(st, 2), flag = script_getnum(st, 3); if (id == 0 || (mbl = map->id2bl(id)) == NULL || mbl->type != BL_MOB) { script_pushint(st, 0); return false; } md = (TBL_MOB *)mbl; if (!(hBGmd = getFromMOBDATA(md, 0))) { CREATE(hBGmd, struct hBG_mob_data, 1); addToMOBDATA(md, hBGmd, 0, true); } hBGmd->state.immunity = flag; return true; } int battle_check_target_post(int retVal, struct block_list *src, struct block_list *target, int flag) { if (retVal == 1 && target->type == BL_MOB) { struct hBG_mob_data *hBGmd; if ((hBGmd = getFromMOBDATA((TBL_MOB*)target, 0))) if (hBGmd && (hBGmd->state.immunity > 0)) { return -1; } } return retVal; } Edited May 11, 2017 by Huitzilopotchli Quote Share this post Link to post Share on other sites
Easycore 31 Posted May 11, 2017 3) (no prints): @stopbg - after stopping it will not start again and throws this error. The same occurs if all players leave a bg (everyone logouts) [Error]: Memory manager: freed-data is changed. (freed in \$PATH\server\src\common\hpm.c line 342) [Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '0'. [Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '1'. I fixed this error and made a PR. https://github.com/Smokexyz/HerculesBG/pull/11 I'd like @Smoke could check it. Maybe I'm wrong in something. Quote Share this post Link to post Share on other sites
caspe 16 Posted May 11, 2017 Thank you Easycore, Huitzilopotchli for all your updates, waiting for Smoke to accept those pull requests. Quote Share this post Link to post Share on other sites
bWolfie 138 Posted May 11, 2017 Hi guys. I'm not involved in the project, just wanna give a message to those replying: Please construct your complaints/criticism/issues in an organised fashion. This is an important project and we don't wanna burn these guys out! ty Quote Share this post Link to post Share on other sites
contatosummerz 0 Posted May 11, 2017 (edited) 1: RUSH: when one team conquers the emperium the other is not teleported to the door. 2 : Everyone is able to give Call urgently, not only the leader. Smoke other error! Edited May 12, 2017 by contatosummerz Quote Share this post Link to post Share on other sites
Hidekitakase 4 Posted May 12, 2017 I've got this errors i don't know what to do, help me !! Compiled with vs2012 express.. 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(1071): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2058): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2059): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2533): warning C4018: '>=' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2591): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2597): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2603): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2604): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2605): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2624): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2625): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2627): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2628): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'pos' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'qm' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'pos' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '==' : 'int' differs in levels of indirection from 'void *' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2223: left of '->sd' must point to struct/union 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2727): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3732): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3734): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3872): warning C4018: '<' : signed/unsigned mismatch Quote Share this post Link to post Share on other sites
Easycore 31 Posted May 12, 2017 I've got this errors i don't know what to do, help me !! Compiled with vs2012 express.. 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(1071): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2058): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2059): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2533): warning C4018: '>=' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2591): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2597): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2603): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2604): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2605): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2624): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2625): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2627): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2628): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'pos' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'qm' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'pos' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '==' : 'int' differs in levels of indirection from 'void *' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2223: left of '->sd' must point to struct/union 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2727): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3732): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3734): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3872): warning C4018: '<' : signed/unsigned mismatch I got the same error, It was solved by compiling with MSVS 2015. 1: RUSH: when one team conquers the emperium the other is not teleported to the door. I solved this, see this PR. 1 caspe reacted to this Quote Share this post Link to post Share on other sites
contatosummerz 0 Posted May 12, 2017 1: Everyone inside the battlegrounds can use the urgent call, not just the leader. 2: Emblems are not appearing at the top of the characters using the most current version of Hercules. 3: When using alt + g does not appear the guild that you belong to the Battlegrounds, is appearing the outside. 4: emergency call is pulling players even after being out of battlegrounds. It is having a possible crash on the map-server that I have not yet identified, if someone has the same problem and can share if it's just me would be grateful. Quote Share this post Link to post Share on other sites
Hit` 3 Posted May 12, 2017 Hello. Need a help here. I really have no idea how to make this work and I just followed everything that's been said. Anyway, I have screenshots of the errors please take a look here http://imgur.com/a/66jqM . Images are in order to avoid confusions. Quote Share this post Link to post Share on other sites
caspe 16 Posted May 12, 2017 Hello. Need a help here. I really have no idea how to make this work and I just followed everything that's been said. Anyway, I have screenshots of the errors please take a look here http://imgur.com/a/66jqM . Images are in order to avoid confusions. your plugin not installed well, do u recompile server? Instructions on installing Plugins - http://herc.ws/wiki/...ilding_a_plugin Quote Share this post Link to post Share on other sites
Huitzilopotchli 4 Posted May 12, 2017 Here there is no step about the conf, i've got the same error the first time i install a plugin, you have to declare the plugin in conf->plugin.conf ^^ Quote Share this post Link to post Share on other sites
Hit` 3 Posted May 12, 2017 Hello again. DLL problem has been fixed but I got new set of errors in my map-server. Take a look here: flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM01A' ( flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM01B' ( flag=0). [Status]: Event 'OnInit' executed with '97' NPCs. [Info]: Hercules, Copyright © 2012-2016, Hercules Dev Team and others. [Info]: Licensed under the GNU General Public License, version 3 or later. [Status]: Server is 'ready' and listening on port '0'. [Status]: Done reading 'Hercules Battlegrounds' v1.0a emblem data files. [By Smo kexyz] [Status]: Hercules Battlegrounds v1.0a has been initialized. [by Smokexyz] [Status]: Attempting to connect to Char Server. Please wait. [Status]: Connecting to 192.168.1.4:6121 [Status]: Logging in to char server... [Fatal Error]: Connection to char-server failed 3. Map-Server has terminated abnormally. Restarting in 15 seconds, press Ctrl+C to cancel. [Status]: Memory manager initialized: log/map-server.exe.leaks Hercules Development Team presents _ _ _ | | | | | | | |_| | ___ _ __ ___ _ _| | ___ ___ | _ |/ _ \ '__/ __| | | | |/ _ \/ __| | | | | __/ | | (__| |_| | | __/\__ \ \_| |_/\___|_| \___|\__,_|_|\___||___/ http://herc.ws/board/ [Info]: Hercules 32-bit for Windows [Info]: Git revision (src): 'd961ab29ed635fdf5ff4ffa1dcf1ebbd013e750e' [Info]: Git revision (scripts): 'd961ab29ed635fdf5ff4ffa1dcf1ebbd013e750e' [Info]: OS version: 'Windows 7 Ultimate Service Pack 1 (build 7601) [x86_64]' [Info]: CPU: 'x86_64 CPU, Family 21, Model 48, Stepping 1 [2]' [Info]: Compiled with Microsoft Visual C++ 2015 (v1910) [Info]: Compile Flags: N/A [Info]: Timer Function Type: ticks count [Info]: Server uses 'select' as event dispatcher [Info]: Server supports up to '4096' concurrent connections. [Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support. [Status]: HPM: Loaded plugin 'Hercules Battlegrounds' (1.0a) built with HPMHooki ng support. [Status]: HPM: There are '2' plugins loaded, type 'plugins' to list them [Error]: conf/map/maps.conf:1281 - syntax error [Warning]: Not all IP addresses in /conf/map/map-server.conf configured, auto-de tecting... [Info]: Defaulting to 192.168.1.4 as our IP address [Info]: Map Server IP Address : '192.168.1.4' -> '192.168.1.4'. [Info]: Char Server IP Address : '192.168.1.4' -> '192.168.1.4'. [Warning]: Missing configuration 'battle_configuration/hBG_enabled' in file conf /map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_from_town_only' in fi le conf/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_ip_check' in file con f/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_idle_announce' in fil e conf/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_idle_autokick' in fil e conf/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_balanced_queue' in fi le conf/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_reward_rates' in file conf/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_xy_interval' in file conf/map/battle.conf! [Warning]: Missing configuration 'battle_configuration/hBG_ranked_mode' in file conf/map/battle.conf! [Info]: Logging item transactions to table 'picklog'. [Info]: Logging chat to table 'chatlog'. [Info]: Logging commands to table 'atcommandlog'. [Info]: Logging item transactions to table 'picklog'. [Info]: Logging chat to table 'chatlog'. [Info]: Logging commands to table 'atcommandlog'. [Info]: Connecting to the Map DB Server.... [Status]: connect success! (Map Server Connection) [Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1... [Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'. [Status]: Loading maps (using db/pre-re/map_cache.dat as map cache)... [Info]: Successfully loaded '0' maps. [Error]: timer_add_interval: invalid interval (tick=15662063 00B58480[hBG_send_x y_timer] id=0 data=0 diff_tick=0) [Status]: Done reading '62' command aliases in 'conf/atcommand.conf'. [Status]: Done reading '4' channels in 'conf/channels.conf'. [Error]: load_translations: map server default_language setting '' is not a load ed language [Status]: Done reading '6163' entries in 'pre-re/item_db.conf'. [Status]: Done reading '0' entries in 'item_db2.conf'. [Status]: Done reading '156' entries in 'item_combo_db'. [Status]: Done reading '42' entries in 'db/pre-re/item_group.conf'. [Status]: Done reading '4' entries in 'db/pre-re/item_chain.conf'. [Status]: Done reading '162' entries in 'db/pre-re/item_packages.conf' ©. [Status]: Done reading '186' entries in 'db/item_options.conf'. [Status]: Done reading '16' entries in 'db/cashshop_db.conf'. [Status]: Done reading '1120' entries in 'db/pre-re/skill_db.conf'. [Status]: Done reading '264' entries in 'db/produce_db.txt'. [Status]: Done reading '136' entries in 'db/create_arrow_db.txt'. [Status]: Done reading '205' entries in 'db/abra_db.txt'. [Status]: Done reading '17' entries in 'db/spellbook_db.txt'. [Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'. [Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'. [Status]: Done reading '16' entries in 'db/skill_improvise_db.txt'. [Status]: Done reading '74' entries in 'db/skill_changematerial_db.txt'. [Status]: Done reading '13' zones in 'db/pre-re/map_zone_db.conf'. [Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'. [Status]: Done reading '40' entries in 'mob_chat_db.txt'. [Status]: Done reading '1006' entries in 'pre-re/mob_db.conf'. [Status]: Done reading '0' entries in 'mob_db2.conf'. [Status]: Done reading '5515' entries in 'db/pre-re/mob_skill_db.txt'. [Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'. [Warning]: mob_readdb_mobavail: Unknown mob id 2100. [Error]: sv_readdb: Could not process contents of line 44 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2101. [Error]: sv_readdb: Could not process contents of line 45 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2102. [Error]: sv_readdb: Could not process contents of line 46 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2103. [Error]: sv_readdb: Could not process contents of line 47 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2104. [Error]: sv_readdb: Could not process contents of line 48 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2105. [Error]: sv_readdb: Could not process contents of line 49 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2106. [Error]: sv_readdb: Could not process contents of line 50 of "db/mob_avail.txt". [Warning]: mob_readdb_mobavail: Unknown mob id 2107. [Error]: sv_readdb: Could not process contents of line 51 of "db/mob_avail.txt". [Status]: Done reading '0' entries in 'db/mob_avail.txt'. [Status]: Done reading '464' entries in 'pre-re/mob_branch.txt'. [Status]: Done reading '13' entries in 'pre-re/mob_poring.txt'. [Status]: Done reading '45' entries in 'pre-re/mob_boss.txt'. [Status]: Done reading '331' entries in 'mob_pouch.txt'. [Status]: Done reading '25' entries in 'mob_classchange.txt'. [Status]: Done reading '6' entries in 'db/pre-re/mob_race2_db.txt'. [Status]: Done reading '15' entries in 'db/pre-re/exp.txt'. [Status]: Done reading '4' entries in 'db/pre-re/attr_fix.txt'. [Status]: Done reading '175' entries in 'db/pre-re/statpoint.txt'. [Status]: Done reading '7' groups in 'conf/groups.conf'. [Status]: Done reading '134' entries in 'db/job_db2.txt'. [Status]: Done reading '3' entries in 'db/pre-re/size_fix.txt'. [Status]: Done reading '5' entries in 'pre-re/refine_db.conf'. [Status]: Done reading '392' entries in 'db/sc_config.txt'. [Status]: Done reading '116' entries in 'db/pre-re/job_db.conf'. [Error]: sv_readdb: Could not process contents of line 17 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 18 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 19 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 20 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 21 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 26 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 27 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 28 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 29 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 30 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 35 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 36 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 37 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 38 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 39 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 44 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 45 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 46 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 47 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 48 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 53 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 54 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 55 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 56 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 61 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 62 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 63 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 64 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 65 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 70 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 71 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 72 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 73 of "db/castle_db.txt". [Error]: sv_readdb: Could not process contents of line 74 of "db/castle_db.txt". [Status]: Done reading '0' entries in 'db/castle_db.txt'. [Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'. [Status]: Done reading '59' pets in 'pre-re/pet_db.txt'. [Status]: Done reading '0' pets in 'pet_db2.txt'. [Status]: Done reading '13' entries in 'db/pre-re/homunculus_db.txt'. [Status]: Done reading '99' levels in 'pre-re/exp_homun.txt'. [Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'. [Status]: Done reading '61' entries in 'db/mercenary_db.txt'. [Status]: Done reading '157' entries in 'db/mercenary_skill_db.txt'. [Status]: Done reading '12' elementals in 'db/elemental_db.txt'. [Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'. [Status]: Done reading '3044' entries in 'quest_db.conf'. [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/merchants/shops.txt', lin e '54'. Stopping... * w1=OnInit: * w2= * w3= * w4= [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/pre-re/merchants/shops.tx t', line '39'. Stopping... * w1=OnInit: * w2= * w3= * w4= [Error]: Missing 4 right curlys in file 'npc/custom/hBG/bg_flavius_td.txt', line '243'. [Info]: Done loading '531' NPCs: -'0' Warps -'0' Shops -'531' Scripts -'0' Spawn sets -'0' Mobs Cached -'0' Mobs Not Cached [Warning]: setcell: Attempted to run on unexistent map 'rush_cas01', type 4, x1/ y1 - 198,224 | x2/y2 - 207,233 [Warning]: setcell: Attempted to run on unexistent map 'rush_cas02', type 4, x1/ y1 - 142,44 | x2/y2 - 151,53 [Warning]: setcell: Attempted to run on unexistent map 'rush_cas03', type 4, x1/ y1 - 56,6 | x2/y2 - 69,17 [Warning]: setcell: Attempted to run on unexistent map 'rush_cas04', type 4, x1/ y1 - 266,286 | x2/y2 - 275,295 [Error]: npc_enable: Attempted to hide a non-existing NPC 'Guillaume_Flag' (flag =0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Croix_Flag' (flag=0). [Warning]: setcell: Attempted to run on unexistent map 'bat_c01', type 4, x1/y1 - 50,124 | x2/y2 - 57,131 [Warning]: setcell: Attempted to run on unexistent map 'bat_c01', type 4, x1/y1 - 142,52 | x2/y2 - 149,59 [Error]: npc_enable: Attempted to show a non-existing NPC 'Pointed Tree#rus11' ( flag=1). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM03A' ( flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM03B' ( flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM02A' ( flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM02B' ( flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM01A' ( flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'KVM Officer#KVM01B' ( flag=0). [Status]: Event 'OnInit' executed with '97' NPCs. [Info]: Hercules, Copyright © 2012-2016, Hercules Dev Team and others. [Info]: Licensed under the GNU General Public License, version 3 or later. [Status]: Server is 'ready' and listening on port '0'. [Status]: Done reading 'Hercules Battlegrounds' v1.0a emblem data files. [By Smo kexyz] [Status]: Hercules Battlegrounds v1.0a has been initialized. [by Smokexyz] [Status]: Attempting to connect to Char Server. Please wait. [Status]: Connecting to 192.168.1.4:6121 [Status]: Logging in to char server... [Fatal Error]: Connection to char-server failed 3. Map-Server has terminated abnormally. Restarting in 15 seconds, press Ctrl+C to cancel. Also, here's my VS log http://imgur.com/a/4jcUG and my plugins.conf: //==================================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ //= //= http://herc.ws/board/ //==================================================== //== Topic Discussion ================================ //== http://herc.ws/board/topic/549-introducing-hercules-plugin-manager/ //==================================================== //== Description ===================================== //The plugin system allows you to create customized scripts //outside of the source. These scripts won't conflict with any //future source updates - think of it as a /conf/import/ for the source. //==================================================== /* --------------- Format --------------- After you have listed your plugin(s) in "quotations", you need to put in a comma, to separate the plugins. ----------------------------------------- plugins_list: [ "example", "other", ] ----------------------------------------- Please note that your scripts need to be saved in the .c (source code) extension and placed in the /src/plugin/ folder. ----------------------------------------- */ plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", //"db2sql", //"sample", //"other", "hBG", ] Quote Share this post Link to post Share on other sites
contatosummerz 0 Posted May 12, 2017 Problems.1: When the player picks up the flag he should not be able to use any type of potions and skills and is able to use.2: Everyone inside the battlegrounds can use the urgent call, not just the leader.3: Emblems are not appearing at the top of the characters using the most current version of Hercules.4: When using alt + g does not appear the guild that you belong to the Battlegrounds, is appearing the outside.5: emergency call is pulling players even after being out of battlegrounds.It is having a possible crash on the map-server that I have not yet identified, if someone has the same problem and can share if it's just me would be grateful. Easycore Quote Share this post Link to post Share on other sites
Hidekitakase 4 Posted May 12, 2017 I've got this errors i don't know what to do, help me !! Compiled with vs2012 express.. 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(1071): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2058): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2059): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2533): warning C4018: '>=' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2591): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2597): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2603): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2604): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2605): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2624): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2625): error C2143: syntax error : missing ';' before 'type' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2627): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2628): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'pos' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'i' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'qm' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'pos' : undeclared identifier 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '==' : 'int' differs in levels of indirection from 'void *' 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2223: left of '->sd' must point to struct/union 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2727): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3732): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3734): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3872): warning C4018: '<' : signed/unsigned mismatch I got the same error, It was solved by compiling with MSVS 2015. But which version?? 'couse i try as many as possible ( VS2015 express .... community , professional ) and i got error when i try to open in hercules-14.sln.... show a message that the software doesn't support the .sln files.... (and the VS2015 stop running)... This happens when i try to open in every vs2015..... http://imgur.com/a/I3r7j Quote Share this post Link to post Share on other sites
caspe 16 Posted May 12, 2017 (edited) vs 2015 community, should work fine. Edited May 12, 2017 by caspe Quote Share this post Link to post Share on other sites
Easycore 31 Posted May 12, 2017 (edited) @Hit` Add maps from "resnametable.txt" to your mapcache.If you don't know how, see this topic. Problems.1: When the player picks up the flag he should not be able to use any type of potions and skills and is able to use. A temporary solution to the skills, is to add this below of "disable_items;" lines in hBG\bg_flavius_ctf.txt: // Disable skill usage atcommand "@addperm disable_skill_usage"; And add this below of "enable_items;" lines: // Enable Skill usage atcommand "@rmvperm disable_skill_usage"; enable_items() and disable_items() only works when a NPC Script is running. Edited May 12, 2017 by Easycore Quote Share this post Link to post Share on other sites
Hit` 3 Posted May 12, 2017 @Hit` Add maps from "resnametable.txt" to your mapcache. Problems. 1: When the player picks up the flag he should not be able to use any type of potions and skills and is able to use. A temporary solution to the skills, is to add this below of "disable_items;" lines in hBG\bg_flavius_ctf.txt: // Disable skill usage atcommand "@addperm disable_skill_usage"; And add this below of "enable_items;" lines: // Enable Skill usage atcommand "@rmvperm disable_skill_usage"; enable_items() and disable_items() only works when a NPC Script is running. Hi. Sorry for the very noobish question but how do I add maps into mapcache? Quote Share this post Link to post Share on other sites
contatosummerz 0 Posted May 12, 2017 Easycore Quote Share this post Link to post Share on other sites
Sephus 203 Posted May 13, 2017 Glad to see so many people help out Thank you @Easycore for the many fixes, PRs are merged. 2 Shatowolf and caspe reacted to this Quote Share this post Link to post Share on other sites