Jump to content


Photo

Display Battlegrounds information (@bginfo), Display the BG settings you made for your server!

bginfo @bginfo battlegrounds battlegrounds information bg

  • Please log in to reply
3 replies to this topic

#1 Aeromesi

Aeromesi

    Advanced Member

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

Posted 07 April 2015 - 12:18 AM

Topic says it all, display the battleground information on your server using @bginfo.

 

Add in ..src/map/atcommand.c in any line

 

/*==========================================* @bginfo by Aeromesi / Michael - Converted from eAthena to Hercules* -> Displays the Battlegrounds info you setup on your server to your players./=============================================*/ACMD(bginfo){	char buf[CHAT_SIZE_MAX];  	  memset(buf, '0', sizeof(buf));        snprintf(buf, "BG Settings: Flee Penalty rate %.1fx  Short Attack Damage rate %.1fx /  Long Attack Damage rate %.1fx / Weapon Attack Damage rate %.1fx / Magic Attack Damage rate %.1fx",    battle_config.bg_flee_penalty/100., battle_config.bg_short_damage_rate/100., battle_config.bg_long_damage_rate/100., battle_config.bg_weapon_damage_rate/100., battle_config.bg_magic_damage_rate/100.);        clif->message(fd, buf);        return 0;}

Edited by Aeromesi, 07 April 2015 - 12:24 AM.

Aeromesi.png

My Scripting Services:

 

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

 

My Discord Channel:
16298880_759347214222960_327334318476911
My Website:

 (Coming soon)

15894989_746370125520669_842644548014846


#2 evilpuncker

evilpuncker

    The Suggester

  • Community Contributors
  • 2122 posts
  • Locationbr br hue hue

Posted 07 April 2015 - 12:40 AM

I guess you can do that easily with bind thing xD

 

getbattleflag("bg_weapon_damage_rate");


before asking for help, click here

some people that I admire:

Ai4rei (tools and client stuff) • Aeomin (the awesome thor patcher) • AnnieRuru (very helpful with script and source stuff)

Neo (N.E.M.O... do I need to say more?) • KeyWord (roBrowser <3) • k3dt (clients and clients) • Tokeiburu (awesome tools)

Dastgir (lua stuff) • Yommy • Ind • Haru • malufett

 

:ok:    and everyone that contributed in any way to the *Athena community in general (emulator, releases, support etc)  :no1: 


#3 Aeromesi

Aeromesi

    Advanced Member

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

Posted 07 April 2015 - 12:54 AM

I guess you can do that easily with bind thing xD

 

getbattleflag("bg_weapon_damage_rate");

I didn't know about that...

Like said I looked at my old posts from eA and converted it to hercules.

I mean anyone can still use it if they please. ^^;


Aeromesi.png

My Scripting Services:

 

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

 

My Discord Channel:
16298880_759347214222960_327334318476911
My Website:

 (Coming soon)

15894989_746370125520669_842644548014846


#4 neil413

neil413

    Advanced Member

  • Members
  • PipPipPip
  • 62 posts
  • Emulator:Hercules
  • Github:neil413

Posted 20 April 2015 - 07:58 AM

+1 for your work aeromesi More More :)







Also tagged with one or more of these keywords: bginfo, @bginfo, battlegrounds, battlegrounds information, bg

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 131 user(s)