Jump to content


Photo

Hercules Battlegrounds


  • Please log in to reply
73 replies to this topic

#1 Smoke

Smoke

    Advanced Member

  • Core Developers
  • 135 posts
  • IRC Nickname:smoke
  • Emulator:Hercules
  • Github:smokexyz

Posted 10 January 2017 - 09:38 PM

*
POPULAR

Hercules Battlegrounds

A full conversion and enhancement of eAmod's Battlegrounds 2.0 system into a easy-to-install Hercules plugin library.

Version: 0.2 (beta)

Repository - https://github.com/Smokexyz/HerculesBG

Installation
1) Place plugin files in plugin directory. (If you wish to re-compile the code, please do so the standard way.)
2) Place all script files in the default directory provided in the repository (or your own).
3) Place all database and config parts in their respective files.
4) in conf/plugins.conf add "hBG".

 

Instructions on installing Plugins - http://herc.ws/wiki/...ilding_a_plugin

Features

  • The script commands are custom and named differently (with a
    hBG_ prefix), the Queue system is separate and so both of these will not
    interfere with official BG systems making it possible to run both
    simultaneously (as long as the bg maps don't collide). The same will be
    kept in mind for any future additions.

Battleground Modes

  • Capture the Flag
  • Eye of Storm
  • Triple Inferno
  • Team DeathMatch
  • Bossnia
  • Conquest
  • Stone Control
  • Domination
  • Rush
  • Free For All

Battle Configuration

Spoiler


@commands
Spoiler


Script Commands
Spoiler


To-Do List
1) BG Ranking.
2) Some battle flags are not completely coded.
3) Character stat saving to database.
4) Balanced team building mode.

Possible Feature Enhances
This would include features that weren't previously available in eAmod.
1) Detailed logging of the battlegrounds.
2) More team building modes.
(Feel free to suggest more...)

What's good about it
1) Prevents conflicts when updating Hercules.
2) Easy to install.
3) Can be easily modified for more functions/features in the future.

For contributors
If you wish to add a free BG script to the list of available battleground modes, please contact me.

Please feel free to open an issue on the repository and I'll get to it as soon as I can.

Please star the repository and up vote this post so in the future I
may release eAmod's Factions (From WoW) and Guild/Faction Region system
as plugins as well.

Donate to support the project.
btn_donateCC_LG.gif


Edited by Smoke, 29 March 2017 - 05:35 PM.


#2 Normynator

Normynator

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationGermany
  • Emulator:Hercules
  • Github:Normynator

Posted 10 January 2017 - 10:32 PM

TY for the release, i will try it.

Good Work!


galaxy.jpg

Drop me a message if you have special requests  ^_^

or add me:

skype (xxnormynatorxx)

discord (Normynator#7313)


#3 Legend

Legend

    Advanced Member

  • Members
  • PipPipPip
  • 327 posts
  • LocationHeaven ♥
  • Emulator:Hercules
  • Github:Legend95

Posted 10 January 2017 - 10:38 PM

such a wonderful release, thanks :)

You can use some of my *crappy* request scripts. It may somehow help you.

 

my ♥ belongs here


#4 Aeromesi

Aeromesi

    Advanced Member

  • Support Leaders
  • 797 posts
  • LocationCustom Instances
  • Emulator:Hercules

Posted 11 January 2017 - 03:34 AM

Well now we know who's going to be making battlegrounds now! Instances might see a -slight- decrease (jk jk) xD


Aeromesi.png

My Scripting Services:

 

http://herc.ws/board...narok-services/

 

My Discord Channel:
16298880_759347214222960_327334318476911
My Website:

 (Coming soon)

15894989_746370125520669_842644548014846


#5 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 12 January 2017 - 06:25 PM

Hello everyone,

 

So I worked on an eAmod BG migration to Hercules as a plugin a long while ago and decided to release it in it's very beta state.

I thought someone might use it instead of it rotting in my folders. Source is included and this is a fully free release.

 

Installation

1) Place plugin files in plugin directory. (If you wish to re-compile the code, please do so the standard way.)

2) Place all script files in the default directory provided in the repository (or your own).

3) in conf/plugins.conf please add "hBG".

 

That's it unless I'm missing something that I can't remember.

The plugin has also not been updated in a long while, but then again, neither has Hercules plugin code.

 

What's not working

As I had tested a few months ago -

1) Sprites for red/blue/green skull drops are not added in the repo, including the item codes.

2) Monster sprite duplication from mob_avail is not included yet.

3) BG Ranking.

4) Some battle flags may not work (unsure).

 

Features

The script commands are custom and named differently (with a hBG_ prefix), the Queue system is separate and so both of these will not interfere with official BG systems making it possible to run both simultaneously. The same will be kept in mind for any future additions.

 

Battleground Modes

Spoiler

 

@commands

Spoiler

 

Script Commands

Spoiler

 

What's good about it

1) Prevents conflicts when updating hercules.

2) Easy to install.

3) Can be easily modified for more functions/features in the future.

 

As for the scripts and battleground modes, most were working the last time I checked.

All in all, it's not in the best stage for use in a production server and it'd be nice to have more eyes on this project to debug. 

Please feel free to open an issue on the repository and i'll get to it as soon as I can.

 

Repository - https://github.com/Smokexyz/HerculesBG

 

If you like my work please star the repository and up vote this post :)

So in the future I may release eAmod's Factions (From WoW) and Guild/Faction Region system as plugins as well.

 

Enjoy!

 

Error

 

Warning	1	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	165	1	hBG
Warning	2	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	166	1	hBG
Warning	3	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	168	1	hBG
Error	4	error C2039: 'class_' : is not a member of 'mmo_charstatus'	Hercules-master\src\plugins\hBG.c	402	1	hBG
Warning	5	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	832	1	hBG
Warning	6	warning C4018: '>=' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	1900	1	hBG
Warning	7	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	1954	1	hBG
Warning	8	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	2068	1	hBG



#6 Asheraf

Asheraf

    Advanced Member

  • Script Developers
  • 151 posts
  • IRC Nickname:Asheraf
  • LocationMorroco
  • Emulator:Hercules

Posted 12 January 2017 - 07:17 PM

Warning	1	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	165	1	hBG
Warning	2	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	166	1	hBG
Warning	3	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	168	1	hBG
Error	4	error C2039: 'class_' : is not a member of 'mmo_charstatus'	Hercules-master\src\plugins\hBG.c	402	1	hBG
Warning	5	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	832	1	hBG
Warning	6	warning C4018: '>=' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	1900	1	hBG
Warning	7	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	1954	1	hBG
Warning	8	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	2068	1	hBG

try to change line 402 from 

WFIFOW(fd,c*104+18) = psd->status.class_;

to 

WFIFOW(fd,c*104+18) = psd->status.class;


#7 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 13 January 2017 - 04:02 AM

Warning	1	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	165	1	hBG
Warning	2	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	166	1	hBG
Warning	3	warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c	168	1	hBG
Error	4	error C2039: 'class_' : is not a member of 'mmo_charstatus'	Hercules-master\src\plugins\hBG.c	402	1	hBG
Warning	5	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	832	1	hBG
Warning	6	warning C4018: '>=' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	1900	1	hBG
Warning	7	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	1954	1	hBG
Warning	8	warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c	2068	1	hBG

try to change line 402 from 

WFIFOW(fd,c*104+18) = psd->status.class_;

to 

WFIFOW(fd,c*104+18) = psd->status.class;

 

Thank you!
But from what I can tell, the maps are missing, right?
 
Or should I duplicate existing maps?
 
Spoiler

[spoiler]
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '234'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '235'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '236'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '237'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '238'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '239'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '240'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '241'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '242'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '243'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '248'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '249'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '250'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '251'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '252'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '253'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '254'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '255'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '256'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '257'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '258'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '259'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '260'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '261'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '262'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '263'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '264'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '269'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '281'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '296'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a03" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a03' in file 'npc/custom/hBG/bg_tier
ra_boss.txt', line '318'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '133'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '230'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '327'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '427'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '439'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '454'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '470'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '486'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '504'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '520'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '535'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '553'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '578'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '606'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '607'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '608'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '609'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '610'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '611'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '612'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '613'. Skipping line...
[Debug]: mapindex_name2id: Map "bat_a04" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'bat_a04' in file 'npc/custom/hBG/bg_tier
ra_dom.txt', line '614'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '158'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '196'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '198'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '236'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '238'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '276'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '282'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '283'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '284'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '285'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '286'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '287'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '288'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '289'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '290'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '295'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '302'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '304'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '311'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '313'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '320'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '325'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '337'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '349'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '364'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '386'. Skipping line...
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Error]: npc_parsesrcfile: Unknown map 'region_8' in file 'npc/custom/hBG/bg_tie
rra_ti.txt', line '408'. Skipping line...
[Info]: Done loading '16433' NPCs:
        -'3476' Warps
        -'2' Shops
        -'12955' Scripts
        -'3381' Spawn sets
        -'49266' Mobs Cached
        -'0' Mobs Not Cached
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Debug]: mapindex_name2id: Map "region_8" not found in index list!
[Debug]: mapindex_name2id: Map "rush_cas01" not found in index list!
[Debug]: mapindex_name2id: Map "rush_cas01" not found in index list!
[Warning]: setcell: Attempted to run on unexistent map 'rush_cas01', type 4, x1/
y1 - 198,224 | x2/y2 - 207,233
[Debug]: mapindex_name2id: Map "rush_cas02" not found in index list!
[Debug]: mapindex_name2id: Map "rush_cas02" not found in index list!
[Warning]: setcell: Attempted to run on unexistent map 'rush_cas02', type 4, x1/
y1 - 142,44 | x2/y2 - 151,53
[Debug]: mapindex_name2id: Map "rush_cas03" not found in index list!
[Debug]: mapindex_name2id: Map "rush_cas03" not found in index list!
[Warning]: setcell: Attempted to run on unexistent map 'rush_cas03', type 4, x1/
y1 - 56,6 | x2/y2 - 69,17
[Debug]: mapindex_name2id: Map "rush_cas04" not found in index list!
[Debug]: mapindex_name2id: Map "rush_cas04" not found in index list!
[Warning]: setcell: Attempted to run on unexistent map 'rush_cas04', type 4, x1/
y1 - 266,286 | x2/y2 - 275,295
[Debug]: mapindex_name2id: Map "schg_cas06" not found in index list!
[Debug]: mapindex_name2id: Map "schg_cas06" not found in index list!
[Debug]: mapindex_name2id: Map "schg_cas07" not found in index list!
[Debug]: mapindex_name2id: Map "schg_cas07" not found in index list!
[Debug]: mapindex_name2id: Map "schg_cas08" not found in index list!
[Debug]: mapindex_name2id: Map "schg_cas08" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas06" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas06" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas07" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas07" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas07" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas07" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas08" not found in index list!
[Debug]: mapindex_name2id: Map "arug_cas08" not found in index list!
[Status]: Event 'OnInit' executed with '2191' 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 '5121'.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 127.0.0.1:6121
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[Status]: Requested '34' guild castles from char-server...
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '34' guild castles from char-server.
[/spoiler]

 


Edited by Iniciando do 0, 13 January 2017 - 04:05 AM.


#8 Smoke

Smoke

    Advanced Member

  • Core Developers
  • 135 posts
  • IRC Nickname:smoke
  • Emulator:Hercules
  • Github:smokexyz

Posted 13 January 2017 - 08:20 AM

Added all client side files from : https://github.com/z...ster/ClientSide



#9 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 13 January 2017 - 06:38 PM

Added all client side files from : https://github.com/z...ster/ClientSide

 

And the maps?



#10 Smoke

Smoke

    Advanced Member

  • Core Developers
  • 135 posts
  • IRC Nickname:smoke
  • Emulator:Hercules
  • Github:smokexyz

Posted 13 January 2017 - 10:30 PM

Added all client side files from : https://github.com/z...ster/ClientSide

 

And the maps?

The maps are duplicates. mapcache.exe duplicates the maps when you use the contents in resnametable.txt.


Edited by Smokexyz, 13 January 2017 - 10:31 PM.


#11 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 17 January 2017 - 04:17 AM


 


Added all client side files from : https://github.com/z...ster/ClientSide

 

And the maps?

The maps are duplicates. mapcache.exe duplicates the maps when you use the contents in resnametable.txt.

 

I started testing the script now and found some errors. Are they:
 
* When the player joins the battlefield, if he is stopped / seated at the time of registration and the game starts, he is expelled from the battle. That is, the inactive time (AFK) is being counted off the BG map.
 
* When thrown out of the battlefield due to not moving (AFK), sometimes the kicked player gets stuck at his return point, and still remains in the guild, as if he were inside the BG map. 
 
* You are not allowed to use guild skill within battle, they do not appear. Guild Level is 1, and should be 50.

 
@edit
* When the admin / Game Master uses @reloadscript and has a battle in progress, the battle in question ends, without expelling the players from within the map, and begins to announce the new battle.
 
* When using "Team Building Mode" as 2 - Balanced, the game hangs at the time the game starts, without players, because it does not teleport the players to the battle map.
// Team Building Mode: 0 = Linear, 1 = Random, 2 = Balanced
Set .TeamBuildingMode, 1;
 
* By clicking on the kafra in the bat_room room, nothing happens.
 
OBS: I will continue the tests and if I find new errors, I will report.I started testing the script now and found some errors. Are they:

Edited by Iniciando do 0, 18 January 2017 - 04:25 AM.


#12 Diurnal

Diurnal

    Member

  • Members
  • PipPip
  • 23 posts

Posted 20 January 2017 - 11:28 AM

Once this is stable, I'd definitely move to hercules as my server emulator. eAmod BG is the only reason why I can't move out of rAmod.



#13 caspe

caspe

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 20 January 2017 - 12:01 PM

Great this is one of the awesome plugin, looks like the long wait is going to end soon, waiting for stable version and improvements.

Thank you @Smokexyz .



#14 Smoke

Smoke

    Advanced Member

  • Core Developers
  • 135 posts
  • IRC Nickname:smoke
  • Emulator:Hercules
  • Github:smokexyz

Posted 23 January 2017 - 11:07 AM

Added 2 commits:

 

1) Added maps.conf
Added map_index.txt

Added mob_avail.txt
Added quest_db.conf
Implemented guild skills to be shown but not usable yet.
Corrected logout cleanup functions.
Cleanup of some queue to team building functions.
 

Working guild skills in BGs with less than 3 teams.

More code optimization.
 
This should most probably get us into a somewhat stable state without crashes, so we can start completing the features.
Updated original post.

Edited by Smokexyz, 23 January 2017 - 11:25 AM.


#15 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 23 January 2017 - 05:46 PM

Added 2 commits:

 

1) Added maps.conf
Added map_index.txt

Added mob_avail.txt
Added quest_db.conf
Implemented guild skills to be shown but not usable yet.
Corrected logout cleanup functions.
Cleanup of some queue to team building functions.
 

Working guild skills in BGs with less than 3 teams.

More code optimization.
 
This should most probably get us into a somewhat stable state without crashes, so we can start completing the features.
Updated original post.

 

Error and warnings to compile.

 

Warning	1	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	166	1	hBG
Warning	2	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	167	1	hBG
Warning	3	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	169	1	hBG
Warning	4	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	873	1	hBG
Warning	5	warning C4018: '>=' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	1953	1	hBG
Warning	6	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	2008	1	hBG
Error	7	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2014	1	hBG
Error	8	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2015	1	hBG
Error	9	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2016	1	hBG
Error	10	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2034	1	hBG
Error	11	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2035	1	hBG
Error	12	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2037	1	hBG
Error	13	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2038	1	hBG
Error	14	error C2065: 'pos' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2041	1	hBG
Error	15	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2041	1	hBG
Error	16	error C2065: 'qm' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Error	17	error C2065: 'pos' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	18	warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *' Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	19	warning C4047: '==' : 'int' differs in levels of indirection from 'void *' Hercules-master\src\plugins\hBG.c 2043 1 hBG
Error	20	error C2223: left of '->sd' must point to struct/union	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	21	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	2125	1	hBG
Warning	22	warning C4090: 'function' : different 'const' qualifiers	Hercules-master\src\plugins\hBG.c	2913	1	hBG



#16 Smoke

Smoke

    Advanced Member

  • Core Developers
  • 135 posts
  • IRC Nickname:smoke
  • Emulator:Hercules
  • Github:smokexyz

Posted 23 January 2017 - 07:29 PM

 

Added 2 commits:

 

1) Added maps.conf
Added map_index.txt

Added mob_avail.txt
Added quest_db.conf
Implemented guild skills to be shown but not usable yet.
Corrected logout cleanup functions.
Cleanup of some queue to team building functions.
 

Working guild skills in BGs with less than 3 teams.

More code optimization.
 
This should most probably get us into a somewhat stable state without crashes, so we can start completing the features.
Updated original post.

 

Error and warnings to compile.

 

Warning	1	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	166	1	hBG
Warning	2	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	167	1	hBG
Warning	3	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	169	1	hBG
Warning	4	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	873	1	hBG
Warning	5	warning C4018: '>=' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	1953	1	hBG
Warning	6	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	2008	1	hBG
Error	7	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2014	1	hBG
Error	8	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2015	1	hBG
Error	9	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2016	1	hBG
Error	10	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2034	1	hBG
Error	11	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2035	1	hBG
Error	12	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2037	1	hBG
Error	13	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2038	1	hBG
Error	14	error C2065: 'pos' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2041	1	hBG
Error	15	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2041	1	hBG
Error	16	error C2065: 'qm' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Error	17	error C2065: 'pos' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	18	warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *' Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	19	warning C4047: '==' : 'int' differs in levels of indirection from 'void *' Hercules-master\src\plugins\hBG.c 2043 1 hBG
Error	20	error C2223: left of '->sd' must point to struct/union	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	21	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	2125	1	hBG
Warning	22	warning C4090: 'function' : different 'const' qualifiers	Hercules-master\src\plugins\hBG.c	2913	1	hBG

I've pushed 2 more commits eliminating the warnings, I don't have an issue with compiling other than 3 normal warnings regarding unused variables and casts discarding constant qualifiers.

What compiler are you using?



#17 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 23 January 2017 - 07:40 PM

 

 

Added 2 commits:

 

1) Added maps.conf
Added map_index.txt

Added mob_avail.txt
Added quest_db.conf
Implemented guild skills to be shown but not usable yet.
Corrected logout cleanup functions.
Cleanup of some queue to team building functions.
 

Working guild skills in BGs with less than 3 teams.

More code optimization.
 
This should most probably get us into a somewhat stable state without crashes, so we can start completing the features.
Updated original post.

 

Error and warnings to compile.

 

Warning	1	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	166	1	hBG
Warning	2	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	167	1	hBG
Warning	3	warning C4138: '*/' found outside of comment	Hercules-master\src\plugins\hBG.c	169	1	hBG
Warning	4	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	873	1	hBG
Warning	5	warning C4018: '>=' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	1953	1	hBG
Warning	6	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	2008	1	hBG
Error	7	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2014	1	hBG
Error	8	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2015	1	hBG
Error	9	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2016	1	hBG
Error	10	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2034	1	hBG
Error	11	error C2143: syntax error : missing ';' before 'type'	Hercules-master\src\plugins\hBG.c	2035	1	hBG
Error	12	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2037	1	hBG
Error	13	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2038	1	hBG
Error	14	error C2065: 'pos' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2041	1	hBG
Error	15	error C2065: 'i' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2041	1	hBG
Error	16	error C2065: 'qm' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Error	17	error C2065: 'pos' : undeclared identifier	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	18	warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *' Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	19	warning C4047: '==' : 'int' differs in levels of indirection from 'void *' Hercules-master\src\plugins\hBG.c 2043 1 hBG
Error	20	error C2223: left of '->sd' must point to struct/union	Hercules-master\src\plugins\hBG.c	2043	1	hBG
Warning	21	warning C4018: '<' : signed/unsigned mismatch	Hercules-master\src\plugins\hBG.c	2125	1	hBG
Warning	22	warning C4090: 'function' : different 'const' qualifiers	Hercules-master\src\plugins\hBG.c	2913	1	hBG

I've pushed 2 more commits eliminating the warnings, I don't have an issue with compiling other than 3 normal warnings regarding unused variables and casts discarding constant qualifiers.

What compiler are you using?

 

I'm using Microsoft Visual Studio 11.0 2012 in - Hercules-11 SQL Server Compact Edition Database File (.sdf)



#18 Ridley

Ridley

    Advanced Member

  • Script Developers
  • 338 posts
  • IRC Nickname:Ridley
  • LocationGermany
  • Emulator:Hercules
  • Github:ridley8819

Posted 23 January 2017 - 10:15 PM

Could compile fine with VS15, your compiler is 5 years old you maybe should think of using a new one.



#19 Skyline

Skyline

    Advanced Member

  • Members
  • PipPipPip
  • 148 posts
  • LocationHeaven
  • Emulator:Hercules

Posted 24 January 2017 - 03:35 AM

WHAT A TIME TO BE ALIVE.

ALL HAIL! [Emistry]

ALL HAIL! [Dastgir]

ALL HAIL! [Aeromesi]

ALL HAIL! [AnnieRuru]
All Hail Hercules!


#20 Smoke

Smoke

    Advanced Member

  • Core Developers
  • 135 posts
  • IRC Nickname:smoke
  • Emulator:Hercules
  • Github:smokexyz

Posted 26 January 2017 - 02:14 AM

Commit 40d08d2f8eac2387416a9f4be68b60d7cad7d7be

Improvements in the way BGs are exited, guild information is refreshed.

Removal of BG Skulls on exiting the BG.

Initial implementation of BG stats. @TODO saving to database.

Addition of @bgstart/stop commands for GMs to start and stop battlegrounds. (Credits to Vykimo and Michi for the idea.)

Initial implementation of BG rankings.


Edited by Michi, 26 January 2017 - 09:44 AM.





1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users



This topic has been visited by 162 user(s)