caspe 16 Posted February 9, 2018 BG guild data not updating properly, if player was already in guild it shows position list of it's own guild, if player is not on any guild it shows blank. Look like Guild skills also having same issue conflicting with previous guild skills and crashing server. Also some times BG mode's get conflicted with each other (like running 2-3 Mode at once). This is a best & useful plugin but still not ready for live server, it need lot's of improvements and fixes. Quote Share this post Link to post Share on other sites
caspe 16 Posted February 9, 2018 (edited) Some serious Bugs 1. BG mode automatically changing, like running CTF Mode then for some reason Triple Inferno also start but CTF Mode was not ended also player stay on CTF map & BG start announcing Inferno statistics. (look like it is happening because of Battle Recruiter NPC) 2. hBG_balanced_queue not working, when 6 players join BG, many time it recall only 3-4 player's. 3. Guild Skill not working properly, many time Emergency Call crash server. @Smoke @Myriad @LucasBrito Edited February 9, 2018 by caspe Quote Share this post Link to post Share on other sites
Rebel 23 Posted February 10, 2018 (edited) fixed Edited February 10, 2018 by Rebel didnt see the post for the fix. :sorry: Quote Share this post Link to post Share on other sites
caspe 16 Posted February 13, 2018 Sometimes when some one join BG, it announce many time. using 2015-10-29aRagexe client Quote Share this post Link to post Share on other sites
caspe 16 Posted February 13, 2018 Can some one please fix issue with recalling players only one side players get recalled, it is the biggest issue. @Smoke Quote Share this post Link to post Share on other sites
caspe 16 Posted February 13, 2018 (edited) try with more than 6 players Edited February 13, 2018 by caspe Quote Share this post Link to post Share on other sites
ljsb 9 Posted February 16, 2018 @caspe Sorry for the delay in the reply. I'm busy with things in life, but I plan to continue contributing to the Smoke plugin as soon as possible, maybe later this month. I suggest you open issues related to defeats, in the official repository, can make life easier for other contributors. 1 caspe reacted to this Quote Share this post Link to post Share on other sites
noobzter003 3 Posted April 16, 2018 1>------ Build started: Project: hBG, Configuration: Debug Win32 ------ 1>hBG.c 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1072): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1950): error C2198: 'function through pointer': too few arguments for call 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2056): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2057): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2059): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2068): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2594): warning C4018: '>=': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2652): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2658): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2788): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3849): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3851): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3992): warning C4018: '<': signed/unsigned mismatch 1>Done building project "hBG.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== please help me! Quote Share this post Link to post Share on other sites
noobzter003 3 Posted April 16, 2018 Just now, noobzter003 said: 1>------ Build started: Project: hBG, Configuration: Debug Win32 ------ 1>hBG.c 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1072): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1950): error C2198: 'function through pointer': too few arguments for call 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2056): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2057): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2059): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2068): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2594): warning C4018: '>=': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2652): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2658): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2788): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3849): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3851): warning C4018: '<': signed/unsigned mismatch 1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3992): warning C4018: '<': signed/unsigned mismatch 1>Done building project "hBG.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== please help me! int hBG_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount) { struct item item_tmp; int count, range, i; short mx, my; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; if (bl != NULL) m = bl->m; count = 0; range = (int)sqrt((float)amount) +2; for ( i = 0; i < amount; i++) { if (bl != NULL) map->search_freecell(bl, 0, &mx, &my, range, range, 0); else { mx = x; my = y; map->search_freecell(NULL, m, &mx, &my, range, range, 1); } count += (map->addflooritem(bl, &item_tmp, 1, m, mx, my, 0, 0, 0, 4) != 0) ? 1 : 0; ------->>>>>>>> in this line i got error. anyone can help Thanks in advance. } return count; } Quote Share this post Link to post Share on other sites
bWolfie 139 Posted April 17, 2018 noobzter browse back few pages there is answer there somewhere. btw this plugin not supported anymore by its owner Quote Share this post Link to post Share on other sites
Rebel 23 Posted April 17, 2018 On 4/16/2018 at 7:41 PM, noobzter003 said: int hBG_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount) { struct item item_tmp; int count, range, i; short mx, my; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; if (bl != NULL) m = bl->m; count = 0; range = (int)sqrt((float)amount) +2; for ( i = 0; i < amount; i++) { if (bl != NULL) map->search_freecell(bl, 0, &mx, &my, range, range, 0); else { mx = x; my = y; map->search_freecell(NULL, m, &mx, &my, range, range, 1); } count += (map->addflooritem(bl, &item_tmp, 1, m, mx, my, 0, 0, 0, 4) != 0) ? 1 : 0; ------->>>>>>>> in this line i got error. anyone can help Thanks in advance. } return count; } Should be, count += (map->addflooritem(bl, &item_tmp, 1, m, mx, my, 0, 0, 0, 4, false) != 0) ? 1 : 0; Quote Share this post Link to post Share on other sites
noobzter003 3 Posted April 17, 2018 3 hours ago, Rebel said: Should be, count += (map->addflooritem(bl, &item_tmp, 1, m, mx, my, 0, 0, 0, 4, false) != 0) ? 1 : 0; thank you very much but i have problem again i hope u ccan help me again. Quote [Error]: script error in file 'npc/custom/hBG/bg_common.txt' line 94 column 30 parse_line: need ';' 91: 92: /* * * * * DO NOT TOUCH ANYTHING BELOW THIS LINE * * * * * * * * * * * * * * * */ 93: .TotalArenas = getarraysize(.BG_Arenas$); * 94: .BG_Queue = hBG_queue_create("Battleground Arena","BG_Queue_Handler::OnQueueJoinEvent",.BGQueue_Level_Min); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 95: .FFA_Queue = hBG_queue_create("Free For All Arena","BG_Queue_Handler::OnFFAQueueJoinEvent",.BGQueue_Level_Min); 96: 97: // Move to Next Arena [Error]: script error in file 'npc/custom/hBG/bg_common.txt' line 344 column 4 parse_line: expect command, missing function name or calling undeclared function 341: mes "You must wait in any City until BG starts."; 342: mes "Close this window to continue..."; 343: close2; * 344: hBG_queue_join getvariableofnpc(.BG_Queue,"BG_Queue_Handler"); ~~~~~~~~~~~~~~~~~~~~~~~~^ 345: end; 346: case 2: 347: if (getcharid(1) == 0) { [Error]: script error in file 'npc/custom/hBG/bg_conquest.txt' line 53 column 32 parse_line: need ';' 50: case 5: set .Castle$,"arug_cas08"; set .GX,313; set .GY,154; set .CX,330; set .CY,154; set .DX,121; set .DY,318; set .AX,141; set .AY, 45; break; 51: } 52: * 53: set $@BG_Team1,hBG_team_create(.Castle$,.GX,.GY,0,"Conquest::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 54: set $@BG_Team2,hBG_team_create(.Castle$,.CX,.CY,1,"Conquest::OnCroixQuit",""); 55: end; 56: [Error]: script error in file 'npc/custom/hBG/bg_ffa.txt' line 26 column 35 parse_line: need ';' 23: end; 24: 25: OnBuildTeams: * 26: set $@FFA_Team[0],hBG_team_create("bat_c01",53,128,3, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 27: set $@FFA_Team[1],hBG_team_create("bat_c01",53,128,4, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); 28: set $@FFA_Team[2],hBG_team_create("bat_c01",53,128,5, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); 29: set $@FFA_Team[3],hBG_team_create("bat_c01",53,128,6, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); [Error]: script error in file 'npc/custom/hBG/bg_flavius_ctf.txt' line 66 column 3 parse_line: expect command, missing function name or calling undeclared function 63: stopnpctimer; 64: if (.Flag_Status < 2) { 65: getmapxy .@m$, .@x, .@y, 1; * 66: hBG_viewpointmap "bat_b02",1, .@x, .@y, 1, 0x0000FF; ~~~~~~~~~~~~~~~~^ 67: specialeffect 223; 68: initnpctimer; 69: } [Error]: script error in file 'npc/custom/hBG/bg_flavius_ctf.txt' line 135 column 3 parse_line: expect command, missing function name or calling undeclared function 132: stopnpctimer; 133: if (.Flag_Status < 2) { 134: getmapxy .@m$, .@x, .@y, 1; * 135: hBG_viewpointmap "bat_b02",1, .@x, .@y, 2, 0xFF0000; ~~~~~~~~~~~~~~~~^ 136: specialeffect 223; 137: initnpctimer; 138: } [Error]: script error in file 'npc/custom/hBG/bg_flavius_ctf.txt' line 159 column 3 parse_line: expect command, missing function name or calling undeclared function 156: OnBlueFlash: 157: if (getvariableofnpc(.Flag_Carrier,"Guillaume_Flag") == getcharid(0) && $@Arena_Status == 1 && getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") == "Flavius_CTF") { 158: getmapxy .@m$, .@x, .@y, 0; * 159: hBG_viewpointmap "bat_b02",1, .@x, .@y, 1, 0x0000FF; ~~~~~~~~~~~~~~~~^ 160: specialeffect(EF_BOWLINGBASH); 161: emotion e_hlp,1; 162: addtimer 2000, "Flavius_CTF::OnBlueFlash"; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 34 column 32 parse_line: need ';' 31: end; 32: 33: OnBuildTeams: * 34: set $@BG_Team1,hBG_team_create("bat_b04",390,10,0,"Flavius_SC::OnGuillaumeQuit","Flavius_SC::OnGuillaumeDie"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 35: set $@BG_Team2,hBG_team_create("bat_b04",10,290,1,"Flavius_SC::OnCroixQuit","Flavius_SC::OnCroixDie"); 36: end; 37: [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 195 column 2 parse_line: expect command, missing function name or calling undeclared function 192: OnTimer2000: 193: initnpctimer; 194: getmapxy .@m$, .@x, .@y, 1; * 195: hBG_viewpointmap "bat_b04",1, .@x, .@y, atoi(strnpcinfo(2)), 0xFFFFFF; ~~~~~~~~^ 196: end; 197: 198: OnBGStop: [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 257 column 2 parse_line: expect command, missing function name or calling undeclared function 254: OnTimer2000: 255: initnpctimer; 256: getmapxy .@m$, .@x, .@y, 1; * 257: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 258: specialeffect 223; 259: if (set(.Count, .Count + 1) >= 5) { 260: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 315 column 2 parse_line: expect command, missing function name or calling undeclared function 312: OnTimer2000: 313: initnpctimer; 314: getmapxy .@m$, .@x, .@y, 1; * 315: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 316: specialeffect 223; 317: if (set(.Count, .Count + 1) >= 5) { 318: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 373 column 2 parse_line: expect command, missing function name or calling undeclared function 370: OnTimer2000: 371: initnpctimer; 372: getmapxy .@m$, .@x, .@y, 1; * 373: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 374: specialeffect 223; 375: if (set(.Count, .Count + 1) >= 5) { 376: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 431 column 2 parse_line: expect command, missing function name or calling undeclared function 428: OnTimer2000: 429: initnpctimer; 430: getmapxy .@m$, .@x, .@y, 1; * 431: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 432: specialeffect 223; 433: if (set(.Count, .Count + 1) >= 5) { 434: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 489 column 2 parse_line: expect command, missing function name or calling undeclared function 486: OnTimer2000: 487: initnpctimer; 488: getmapxy .@m$, .@x, .@y, 1; * 489: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 490: specialeffect 223; 491: if (set(.Count, .Count + 1) >= 5) { 492: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 547 column 2 parse_line: expect command, missing function name or calling undeclared function 544: OnTimer2000: 545: initnpctimer; 546: getmapxy .@m$, .@x, .@y, 1; * 547: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 548: specialeffect 223; 549: if (set(.Count, .Count + 1) >= 5) { 550: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 608 column 2 parse_line: expect command, missing function name or calling undeclared function 605: OnTimer2000: 606: initnpctimer; 607: getmapxy .@m$, .@x, .@y, 1; * 608: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 609: specialeffect 223; 610: if (set(.Count, .Count + 1) >= 5) { 611: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 666 column 2 parse_line: expect command, missing function name or calling undeclared function 663: OnTimer2000: 664: initnpctimer; 665: getmapxy .@m$, .@x, .@y, 1; * 666: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 667: specialeffect 223; 668: if (set(.Count, .Count + 1) >= 5) { 669: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 724 column 2 parse_line: expect command, missing function name or calling undeclared function 721: OnTimer2000: 722: initnpctimer; 723: getmapxy .@m$, .@x, .@y, 1; * 724: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 725: specialeffect 223; 726: if (set(.Count, .Count + 1) >= 5) { 727: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 782 column 2 parse_line: expect command, missing function name or calling undeclared function 779: OnTimer2000: 780: initnpctimer; 781: getmapxy .@m$, .@x, .@y, 1; * 782: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 783: specialeffect 223; 784: if (set(.Count, .Count + 1) >= 5) { 785: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 840 column 2 parse_line: expect command, missing function name or calling undeclared function 837: OnTimer2000: 838: initnpctimer; 839: getmapxy .@m$, .@x, .@y, 1; * 840: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 841: specialeffect 223; 842: if (set(.Count, .Count + 1) >= 5) { 843: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 898 column 2 parse_line: expect command, missing function name or calling undeclared function 895: OnTimer2000: 896: initnpctimer; 897: getmapxy .@m$, .@x, .@y, 1; * 898: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 899: specialeffect 223; 900: if (set(.Count, .Count + 1) >= 5) { 901: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_td.txt' line 37 column 32 parse_line: need ';' 34: end; 35: 36: OnBuildTeams: * 37: set $@BG_Team1,hBG_team_create("bat_b03",390,10,0,"Flavius_TD::OnGuillaumeQuit","Flavius_TD::OnGuillaumeDie"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 38: set $@BG_Team2,hBG_team_create("bat_b03",10,290,1,"Flavius_TD::OnCroixQuit","Flavius_TD::OnCroixDie"); 39: end; 40: [Error]: script error in file 'npc/custom/hBG/bg_rush.txt' line 45 column 32 parse_line: need ';' 42: case 3: set .rush_castle$,"rush_cas04"; set .guil_x,270; set .guil_y,292; set .croix_x,270; set .croix_y,288; break; 43: } 44: * 45: set $@BG_Team1,hBG_team_create(.rush_castle$,.guil_x,.guil_y,0,"Rush::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 46: set $@BG_Team2,hBG_team_create(.rush_castle$,.croix_x,.croix_y,1,"Rush::OnCroixQuit",""); 47: end; 48: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 22 column 32 parse_line: need ';' 19: end; 20: 21: OnBuildTeams: * 22: set $@BG_Team1,hBG_team_create("bat_a03",50,374,0,"Tierra_Boss::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 23: set $@BG_Team2,hBG_team_create("bat_a03",42,16,1,"Tierra_Boss::OnCroixQuit",""); 24: end; 25: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 132 column 2 parse_line: expect command, missing function name or calling undeclared function 129: set .@Boss, 2100 + getvariableofnpc(.guillaume_boss, "Tierra_Boss"); 130: mapannounce "bat_a03","-- Guillaume Guardian [" + strmobinfo(2,.@Boss) + "] entering the battle --",1,0x0000FF; 131: set .Boss, bg_monster($@BG_Team1,"bat_a03",176,345,"Guillaume Guardian",.@Boss,"Guillaume_Boss::OnBoss"); * 132: hBG_monster_immunity .Boss,1; ~~~~~~~~^ 133: initnpctimer; 134: end; 135: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 167 column 2 parse_line: expect command, missing function name or calling undeclared function 164: set .@Boss, 2100 + getvariableofnpc(.croix_boss, "Tierra_Boss"); 165: mapannounce "bat_a03","-- Croix Guardian [" + strmobinfo(2,.@Boss) + "] entering the battle --",1,0xFF0000; 166: set .Boss, bg_monster($@BG_Team2,"bat_a03",167,50,"Croix Guardian",.@Boss,"Croix_Boss::OnBoss"); * 167: hBG_monster_immunity .Boss,1; ~~~~~~~~^ 168: initnpctimer; 169: end; 170: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 199 column 2 parse_line: expect command, missing function name or calling undeclared function 196: end; 197: 198: OnBGStart: * 199: hBG_viewpointmap "bat_a03",1,273,204,1,0xFFFFFF; ~~~~~~~~^ 200: bg_monster 0,"bat_a03",273,204,"Balance Flag",1911,"Tierra_Boss::OnNeutralBreak"; 201: initnpctimer; 202: end; [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 12 column 32 parse_line: need ';' 9: end; 10: 11: OnBuildTeams: * 12: set $@BG_Team1,hBG_team_create("bat_a04",50,374,0,"Tierra_DOM::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 13: set $@BG_Team2,hBG_team_create("bat_a04",42,16,1,"Tierra_DOM::OnCroixQuit",""); 14: end; 15: [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 144 column 35 parse_line: need ';' 141: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_DOM") 142: end; 143: * 144: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a04",136,329,186,361); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 145: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a04",136,329,186,361); 146: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 147: [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 234 column 35 parse_line: need ';' 231: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_DOM") 232: end; 233: * 234: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a04",260,194,287,213); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 235: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a04",260,194,287,213); 236: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 237: [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 324 column 35 parse_line: need ';' 321: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_DOM") 322: end; 323: * 324: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a04",129,34,175,65); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 325: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a04",129,34,175,65); 326: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 327: [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 53 column 32 parse_line: need ';' 50: end; 51: 52: OnBuildTeams: * 53: set $@BG_Team1,hBG_team_create("bat_a02",50,374,0,"Tierra_EOS::OnGuillaumeQuit","Tierra_EOS::OnGuillaumeDie"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 54: set $@BG_Team2,hBG_team_create("bat_a02",42,16,1,"Tierra_EOS::OnCroixQuit","Tierra_EOS::OnCroixDie"); 55: end; 56: [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 276 column 3 parse_line: expect command, missing function name or calling undeclared function 273: stopnpctimer; 274: if (.Flag_Status == 0 && $@Arena_Status == 1 && getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") == "Tierra_EOS") { 275: getmapxy .@m$, .@x, .@y, 1; * 276: hBG_viewpointmap "bat_a02",1,.@x,.@y,3,0xFFFF00; ~~~~~~~~~~~~~~~~^ 277: specialeffect 223; 278: initnpctimer; 279: } [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 336 column 35 parse_line: need ';' 333: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_EOS") 334: end; 335: * 336: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a02",136,329,186,361); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 337: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a02",136,329,186,361); 338: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 339: [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 436 column 35 parse_line: need ';' 433: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_EOS") 434: end; 435: * 436: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a02",129,34,175,65); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 437: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a02",129,34,175,65); 438: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 439: [Error]: script error in file 'npc/custom/hBG/bg_tierra_ti.txt' line 50 column 4 parse_line: expect command, missing function name or calling undeclared function 47: delitem 8967,.@id8967; 48: // Drop Skulls 49: if (.@id8965 > 0) * 50: hBG_flooritem2xy "region_8",.@x,.@y,8965,.@id8965; ~~~~~~~~~~~~~~~~~~~~~~~~^ 51: if (.@id8966 > 0) 52: hBG_flooritem2xy "region_8",.@x,.@y,8966,.@id8966; 53: if (.@id8967 > 0) Quote Share this post Link to post Share on other sites
Rebel 23 Posted April 17, 2018 are you using the latest hBG.c plugin? Quote Share this post Link to post Share on other sites
noobzter003 3 Posted April 18, 2018 11 hours ago, Rebel said: are you using the latest hBG.c plugin? yes sir im using this https://github.com/sagunkho/HerculesBG Quote Share this post Link to post Share on other sites
Auryn 0 Posted April 21, 2018 (edited) I personally get a bunch of errors while compiling it, in npc scripts too, needs to be checked. Edited April 21, 2018 by Auryn Quote Share this post Link to post Share on other sites
Cabrera 10 Posted April 21, 2018 Just got the latest hercules version to work and gave this a shot, i got the same errors as noobzter003. No compilation errors though. Just script errors: [Error]: script error in file 'npc/custom/hBG/bg_common.txt' line 94 column 30 parse_line: need ';' 91: 92: /* * * * * DO NOT TOUCH ANYTHING BELOW THIS LINE * * * * * * * * * * * * * * * */ 93: .TotalArenas = getarraysize(.BG_Arenas$); * 94: .BG_Queue = hBG_queue_create("Battleground Arena","BG_Queue_Handler::OnQueueJoinEvent",.BGQueue_Level_Min); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 95: .FFA_Queue = hBG_queue_create("Free For All Arena","BG_Queue_Handler::OnFFAQueueJoinEvent",.BGQueue_Level_Min); 96: 97: // Move to Next Arena [Error]: script error in file 'npc/custom/hBG/bg_common.txt' line 344 column 4 parse_line: expect command, missing function name or calling undeclared function 341: mes "You must wait in any City until BG starts."; 342: mes "Close this window to continue..."; 343: close2; * 344: hBG_queue_join getvariableofnpc(.BG_Queue,"BG_Queue_Handler"); ~~~~~~~~~~~~~~~~~~~~~~~~^ 345: end; 346: case 2: 347: if (getcharid(1) == 0) { [Error]: script error in file 'npc/custom/hBG/bg_conquest.txt' line 53 column 32 parse_line: need ';' 50: case 5: set .Castle$,"arug_cas08"; set .GX,313; set .GY,154; set .CX,330; set .CY,154; set .DX,121; set .DY,318; set .AX,141; set .AY, 45; break; 51: } 52: * 53: set $@BG_Team1,hBG_team_create(.Castle$,.GX,.GY,0,"Conquest::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 54: set $@BG_Team2,hBG_team_create(.Castle$,.CX,.CY,1,"Conquest::OnCroixQuit",""); 55: end; 56: [Error]: script error in file 'npc/custom/hBG/bg_ffa.txt' line 26 column 35 parse_line: need ';' 23: end; 24: 25: OnBuildTeams: * 26: set $@FFA_Team[0],hBG_team_create("bat_c01",53,128,3, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 27: set $@FFA_Team[1],hBG_team_create("bat_c01",53,128,4, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); 28: set $@FFA_Team[2],hBG_team_create("bat_c01",53,128,5, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); 29: set $@FFA_Team[3],hBG_team_create("bat_c01",53,128,6, "FFA_Arena::OnQuit","FFA_Arena::OnKilled"); [Error]: script error in file 'npc/custom/hBG/bg_flavius_ctf.txt' line 66 column 3 parse_line: expect command, missing function name or calling undeclared function 63: stopnpctimer; 64: if (.Flag_Status < 2) { 65: getmapxy .@m$, .@x, .@y, 1; * 66: hBG_viewpointmap "bat_b02",1, .@x, .@y, 1, 0x0000FF; ~~~~~~~~~~~~~~~~^ 67: specialeffect 223; 68: initnpctimer; 69: } [Error]: script error in file 'npc/custom/hBG/bg_flavius_ctf.txt' line 135 column 3 parse_line: expect command, missing function name or calling undeclared function 132: stopnpctimer; 133: if (.Flag_Status < 2) { 134: getmapxy .@m$, .@x, .@y, 1; * 135: hBG_viewpointmap "bat_b02",1, .@x, .@y, 2, 0xFF0000; ~~~~~~~~~~~~~~~~^ 136: specialeffect 223; 137: initnpctimer; 138: } [Error]: script error in file 'npc/custom/hBG/bg_flavius_ctf.txt' line 159 column 3 parse_line: expect command, missing function name or calling undeclared function 156: OnBlueFlash: 157: if (getvariableofnpc(.Flag_Carrier,"Guillaume_Flag") == getcharid(0) && $@Arena_Status == 1 && getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") == "Flavius_CTF") { 158: getmapxy .@m$, .@x, .@y, 0; * 159: hBG_viewpointmap "bat_b02",1, .@x, .@y, 1, 0x0000FF; ~~~~~~~~~~~~~~~~^ 160: specialeffect(EF_BOWLINGBASH); 161: emotion e_hlp,1; 162: addtimer 2000, "Flavius_CTF::OnBlueFlash"; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 34 column 32 parse_line: need ';' 31: end; 32: 33: OnBuildTeams: * 34: set $@BG_Team1,hBG_team_create("bat_b04",390,10,0,"Flavius_SC::OnGuillaumeQuit","Flavius_SC::OnGuillaumeDie"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 35: set $@BG_Team2,hBG_team_create("bat_b04",10,290,1,"Flavius_SC::OnCroixQuit","Flavius_SC::OnCroixDie"); 36: end; 37: [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 195 column 2 parse_line: expect command, missing function name or calling undeclared function 192: OnTimer2000: 193: initnpctimer; 194: getmapxy .@m$, .@x, .@y, 1; * 195: hBG_viewpointmap "bat_b04",1, .@x, .@y, atoi(strnpcinfo(2)), 0xFFFFFF; ~~~~~~~~^ 196: end; 197: 198: OnBGStop: [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 257 column 2 parse_line: expect command, missing function name or calling undeclared function 254: OnTimer2000: 255: initnpctimer; 256: getmapxy .@m$, .@x, .@y, 1; * 257: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 258: specialeffect 223; 259: if (set(.Count, .Count + 1) >= 5) { 260: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 315 column 2 parse_line: expect command, missing function name or calling undeclared function 312: OnTimer2000: 313: initnpctimer; 314: getmapxy .@m$, .@x, .@y, 1; * 315: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 316: specialeffect 223; 317: if (set(.Count, .Count + 1) >= 5) { 318: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 373 column 2 parse_line: expect command, missing function name or calling undeclared function 370: OnTimer2000: 371: initnpctimer; 372: getmapxy .@m$, .@x, .@y, 1; * 373: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 374: specialeffect 223; 375: if (set(.Count, .Count + 1) >= 5) { 376: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 431 column 2 parse_line: expect command, missing function name or calling undeclared function 428: OnTimer2000: 429: initnpctimer; 430: getmapxy .@m$, .@x, .@y, 1; * 431: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 432: specialeffect 223; 433: if (set(.Count, .Count + 1) >= 5) { 434: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 489 column 2 parse_line: expect command, missing function name or calling undeclared function 486: OnTimer2000: 487: initnpctimer; 488: getmapxy .@m$, .@x, .@y, 1; * 489: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 490: specialeffect 223; 491: if (set(.Count, .Count + 1) >= 5) { 492: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 547 column 2 parse_line: expect command, missing function name or calling undeclared function 544: OnTimer2000: 545: initnpctimer; 546: getmapxy .@m$, .@x, .@y, 1; * 547: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0xFF0000; ~~~~~~~~^ 548: specialeffect 223; 549: if (set(.Count, .Count + 1) >= 5) { 550: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 608 column 2 parse_line: expect command, missing function name or calling undeclared function 605: OnTimer2000: 606: initnpctimer; 607: getmapxy .@m$, .@x, .@y, 1; * 608: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 609: specialeffect 223; 610: if (set(.Count, .Count + 1) >= 5) { 611: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 666 column 2 parse_line: expect command, missing function name or calling undeclared function 663: OnTimer2000: 664: initnpctimer; 665: getmapxy .@m$, .@x, .@y, 1; * 666: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 667: specialeffect 223; 668: if (set(.Count, .Count + 1) >= 5) { 669: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 724 column 2 parse_line: expect command, missing function name or calling undeclared function 721: OnTimer2000: 722: initnpctimer; 723: getmapxy .@m$, .@x, .@y, 1; * 724: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 725: specialeffect 223; 726: if (set(.Count, .Count + 1) >= 5) { 727: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 782 column 2 parse_line: expect command, missing function name or calling undeclared function 779: OnTimer2000: 780: initnpctimer; 781: getmapxy .@m$, .@x, .@y, 1; * 782: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 783: specialeffect 223; 784: if (set(.Count, .Count + 1) >= 5) { 785: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 840 column 2 parse_line: expect command, missing function name or calling undeclared function 837: OnTimer2000: 838: initnpctimer; 839: getmapxy .@m$, .@x, .@y, 1; * 840: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 841: specialeffect 223; 842: if (set(.Count, .Count + 1) >= 5) { 843: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_sc.txt' line 898 column 2 parse_line: expect command, missing function name or calling undeclared function 895: OnTimer2000: 896: initnpctimer; 897: getmapxy .@m$, .@x, .@y, 1; * 898: hBG_viewpointmap "bat_b04",1, .@x, .@y, .Point, 0x0000FF; ~~~~~~~~^ 899: specialeffect 223; 900: if (set(.Count, .Count + 1) >= 5) { 901: set .Count, 0; [Error]: script error in file 'npc/custom/hBG/bg_flavius_td.txt' line 37 column 32 parse_line: need ';' 34: end; 35: 36: OnBuildTeams: * 37: set $@BG_Team1,hBG_team_create("bat_b03",390,10,0,"Flavius_TD::OnGuillaumeQuit","Flavius_TD::OnGuillaumeDie"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 38: set $@BG_Team2,hBG_team_create("bat_b03",10,290,1,"Flavius_TD::OnCroixQuit","Flavius_TD::OnCroixDie"); 39: end; 40: [Error]: script error in file 'npc/custom/hBG/bg_rush.txt' line 45 column 32 parse_line: need ';' 42: case 3: set .rush_castle$,"rush_cas04"; set .guil_x,270; set .guil_y,292; set .croix_x,270; set .croix_y,288; break; 43: } 44: * 45: set $@BG_Team1,hBG_team_create(.rush_castle$,.guil_x,.guil_y,0,"Rush::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 46: set $@BG_Team2,hBG_team_create(.rush_castle$,.croix_x,.croix_y,1,"Rush::OnCroixQuit",""); 47: end; 48: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 22 column 32 parse_line: need ';' 19: end; 20: 21: OnBuildTeams: * 22: set $@BG_Team1,hBG_team_create("bat_a03",50,374,0,"Tierra_Boss::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 23: set $@BG_Team2,hBG_team_create("bat_a03",42,16,1,"Tierra_Boss::OnCroixQuit",""); 24: end; 25: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 132 column 2 parse_line: expect command, missing function name or calling undeclared function 129: set .@Boss, 2100 + getvariableofnpc(.guillaume_boss, "Tierra_Boss"); 130: mapannounce "bat_a03","-- Guillaume Guardian [" + strmobinfo(2,.@Boss) + "] entering the battle --",1,0x0000FF; 131: set .Boss, bg_monster($@BG_Team1,"bat_a03",176,345,"Guillaume Guardian",.@Boss,"Guillaume_Boss::OnBoss"); * 132: hBG_monster_immunity .Boss,1; ~~~~~~~~^ 133: initnpctimer; 134: end; 135: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 167 column 2 parse_line: expect command, missing function name or calling undeclared function 164: set .@Boss, 2100 + getvariableofnpc(.croix_boss, "Tierra_Boss"); 165: mapannounce "bat_a03","-- Croix Guardian [" + strmobinfo(2,.@Boss) + "] entering the battle --",1,0xFF0000; 166: set .Boss, bg_monster($@BG_Team2,"bat_a03",167,50,"Croix Guardian",.@Boss,"Croix_Boss::OnBoss"); * 167: hBG_monster_immunity .Boss,1; ~~~~~~~~^ 168: initnpctimer; 169: end; 170: [Error]: script error in file 'npc/custom/hBG/bg_tierra_boss.txt' line 199 column 2 parse_line: expect command, missing function name or calling undeclared function 196: end; 197: 198: OnBGStart: * 199: hBG_viewpointmap "bat_a03",1,273,204,1,0xFFFFFF; ~~~~~~~~^ 200: bg_monster 0,"bat_a03",273,204,"Balance Flag",1911,"Tierra_Boss::OnNeutralBreak"; 201: initnpctimer; 202: end; [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 12 column 32 parse_line: need ';' 9: end; 10: 11: OnBuildTeams: * 12: set $@BG_Team1,hBG_team_create("bat_a04",50,374,0,"Tierra_DOM::OnGuillaumeQuit",""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 13: set $@BG_Team2,hBG_team_create("bat_a04",42,16,1,"Tierra_DOM::OnCroixQuit",""); 14: end; 15: [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 144 column 35 parse_line: need ';' 141: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_DOM") 142: end; 143: * 144: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a04",136,329,186,361); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 145: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a04",136,329,186,361); 146: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 147: [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 234 column 35 parse_line: need ';' 231: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_DOM") 232: end; 233: * 234: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a04",260,194,287,213); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 235: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a04",260,194,287,213); 236: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 237: [Error]: script error in file 'npc/custom/hBG/bg_tierra_dom.txt' line 324 column 35 parse_line: need ';' 321: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_DOM") 322: end; 323: * 324: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a04",129,34,175,65); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 325: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a04",129,34,175,65); 326: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 327: [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 53 column 32 parse_line: need ';' 50: end; 51: 52: OnBuildTeams: * 53: set $@BG_Team1,hBG_team_create("bat_a02",50,374,0,"Tierra_EOS::OnGuillaumeQuit","Tierra_EOS::OnGuillaumeDie"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 54: set $@BG_Team2,hBG_team_create("bat_a02",42,16,1,"Tierra_EOS::OnCroixQuit","Tierra_EOS::OnCroixDie"); 55: end; 56: [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 276 column 3 parse_line: expect command, missing function name or calling undeclared function 273: stopnpctimer; 274: if (.Flag_Status == 0 && $@Arena_Status == 1 && getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") == "Tierra_EOS") { 275: getmapxy .@m$, .@x, .@y, 1; * 276: hBG_viewpointmap "bat_a02",1,.@x,.@y,3,0xFFFF00; ~~~~~~~~~~~~~~~~^ 277: specialeffect 223; 278: initnpctimer; 279: } [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 336 column 35 parse_line: need ';' 333: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_EOS") 334: end; 335: * 336: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a02",136,329,186,361); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 337: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a02",136,329,186,361); 338: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 339: [Error]: script error in file 'npc/custom/hBG/bg_tierra_eoe.txt' line 436 column 35 parse_line: need ';' 433: if ($@Arena_Status != 1 || getvariableofnpc(.BG_Arena$,"BG_Queue_Handler") != "Tierra_EOS") 434: end; 435: * 436: set .@Guillaume, hBG_getareausers($@BG_Team1,"bat_a02",129,34,175,65); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 437: set .@Croix, hBG_getareausers($@BG_Team2,"bat_a02",129,34,175,65); 438: set .Balance, .Balance + set(.@Balance, .@Guillaume - .@Croix); 439: [Error]: script error in file 'npc/custom/hBG/bg_tierra_ti.txt' line 50 column 4 parse_line: expect command, missing function name or calling undeclared function 47: delitem 8967,.@id8967; 48: // Drop Skulls 49: if (.@id8965 > 0) * 50: hBG_flooritem2xy "region_8",.@x,.@y,8965,.@id8965; ~~~~~~~~~~~~~~~~~~~~~~~~^ 51: if (.@id8966 > 0) 52: hBG_flooritem2xy "region_8",.@x,.@y,8966,.@id8966; 53: if (.@id8967 > 0) Quote Share this post Link to post Share on other sites
bWolfie 139 Posted April 21, 2018 @Cabrera probably you forgot to enable in plugins.conf? Those script errors usually cause the script command doesn't exist. Quote Share this post Link to post Share on other sites
Cabrera 10 Posted April 22, 2018 13 hours ago, Myriad said: @Cabrera probably you forgot to enable in plugins.conf? Those script errors usually cause the script command doesn't exist. Um, im new to this plugins thing but I followed the instructions as mentioned in the first page and compiled as well. This is my plugins.conf : /* --------------- 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", "hBG", ] ----------------------------------------- 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", ] Quote Share this post Link to post Share on other sites
bWolfie 139 Posted April 22, 2018 (edited) make it like this. this plugin uses hpmhooking. the FORMAT part is commented so anything there is not included /* this area is commented */ plugins_list: [ "HPMHooking", "hBG", ] Edited April 22, 2018 by Myriad Quote Share this post Link to post Share on other sites
Cabrera 10 Posted April 22, 2018 29 minutes ago, Myriad said: make it like this. this plugin uses hpmhooking. the FORMAT part is commented so anything there is not included /* this area is commented */ plugins_list: [ "HPMHooking", "hBG", ] So i did enable hooking and compiled but i got this error for the hBG vcxproject : Severity Code Description Project File Line Suppression State Severity Code Description Project File Line Suppression State Warning C4018 '<=': signed/unsigned mismatch char-server C:\Users\vishn_000\Desktop\Hercules project\Hercules-stable\src\char\int_party.c 320 Warning C4018 '<': signed/unsigned mismatch hBG C:\Users\vishn_000\Desktop\Hercules project\Hercules-stable\src\plugins\hBG.c 1072 Error C2198 'function through pointer': too few arguments for call hBG C:\Users\vishn_000\Desktop\Hercules project\Hercules-stable\src\plugins\hBG.c 1950 And a bunch of unsigned mismatches after that error in various other lines. ( i used vcproject Hercules-14 and compiled with visual studio 2015) Quote Share this post Link to post Share on other sites
bWolfie 139 Posted April 22, 2018 i dunno i am compiling on linux sorry maybe someone can help u who uses windows Quote Share this post Link to post Share on other sites
Cabrera 10 Posted April 22, 2018 2 hours ago, Myriad said: i dunno i am compiling on linux sorry maybe someone can help u who uses windows Nvm fixed it, now works, problem was solved in previous page xD Quote Share this post Link to post Share on other sites
noobzter003 3 Posted April 23, 2018 22 hours ago, Cabrera said: Nvm fixed it, now works, problem was solved in previous page xD how do you fix it? Quote Share this post Link to post Share on other sites
Cabrera 10 Posted April 23, 2018 55 minutes ago, noobzter003 said: how do you fix it? Use the hBG.c from this link: https://github.com/lucaslsb/HerculesBG/blob/50a1a3963fe2590a787aab27b27fa2faf9e1f277/src/plugins/hBG.c and then compile. It has the updated hBG.c Quote Share this post Link to post Share on other sites
noobzter003 3 Posted April 23, 2018 2 minutes ago, Cabrera said: Use the hBG.c from this link: https://github.com/lucaslsb/HerculesBG/blob/50a1a3963fe2590a787aab27b27fa2faf9e1f277/src/plugins/hBG.c and then compile. It has the updated hBG.c thanks bro i appreciate ur help. Quote Share this post Link to post Share on other sites