Sunday, January 6, 2019

Goals towards a complete featured battleground script

I'm sure many of you have at least read my battleground script snipet commit on Github
https://github.com/rathena/rathena/tree/master/npc/custom/battleground
both bg_pvp and bg_emp were made by me

However due to the reason that scripts host on Github are only meant for learning purposes,
eg: members can play around with those scripts with @reloadscript command.
Example: There are a lot Devil Square script on the forum. A lot members has learned from that script !
a lot of features has to be taken out, and this allow rAthena developers has an easier time to maintain those scripts.

Of course, members love adding features...
Over time, members has requested tons of features to be added onto my battleground scripts.

Here are some of the features that should be in a full release battleground script, but these features were missing from Github.
1. remove the waitingroom. Use queue iterator script commands for Hercules, or store onto an array for rAthena 
2. when either side of battleground team has fully logout, the opponent team will win instantaneously
3. gives rewards to multiple items, or maybe mail them. Also able to give rewards to the losing team or both teams during a draw.
3. use a countdown timer, using *showdigit script command
4. can start with just minimum amount of players, then can join the battleground after it started.
4a. Disallow join on the side having too many players.
4b. Disallow join on the last 5 minutes before battleground ends
5. If a player has joined the blue side, that player cannot multi-client to join the red side (spy/sobatage)
6. battleground should be instanced.
7. some server actually turn battleground system into events, and rotate among many battleground scripts



At this moment Jan 2019, the last bg script I wrote put up some links to the past battleground scripts.
This part will be hidden once this guide is complete.
Reminder : The way to write battleground script for Hercules and rAthena are completely different !!


1. https://rathena.org/board/topic/115744-a-battleground-idea-d/ (rathena/hercules)
2. http://herc.ws/board/topic/15913-annieruru-emp-bg/ (rathena
3. http://herc.ws/board/topic/11651-request-a-bg-score-system/ (hercules)
4. https://rathena.org/board/topic/115504-bg_warp-and-instance_enter-are-equals/ (rathena)
5. http://herc.ws/board/topic/15825-custom_bg-3ceam/ (eamod)
6. https://rathena.org/board/topic/75477-custom-bg/ (rathena)
7. https://rathena.org/board/topic/115076-annieruru-bg_emp05/ (rathena)
and this is the topic made me famous + my PM box got bomb at the time

No comments:

Post a Comment

Linux compiler error that never shown on Visual Studio

let's just admit Visual Studio sux ... ok ? right now, if you want to host a Private Ragnarok Online server, its just better to choose...