Jump to content

Recommended Posts

Posted

Battle Royale

Current version : 1.50

Only for sql

1) Description

This is an event, I'll discribe it : The name comes from the eponymous movie. You start with a novice 1/1 without any object. You'll recieve a random class and also stuff. For the stuff you have sets prepared, then you'll get items by a pourcentage.

I've added three different mods :

- Battle-Royale Classical : Everybody get some minutes for register and preparing his stuff. Then it's a free-for-all until all opponants die.

- Battle-Royale TvT : This time it's a Team versus another Team. Those one are balanced and random. You must eliminate the opponant team.

- Battle-Royale PvP : The GM can activate this. It's a classical PvP with stuff given randomly. Really interesting when you coming in a new server !

At the end of the game, your character is totally reseted, level, skills, stats and items. During the Battle Royale, you can reset stats / skills, rent a cart, a falcon, a peco, get stones for your cart, get a homunculus.

There is 2-3 stuffs per class. Only 2-2 classes. (1-2 and extended under work)

You can have statistics for death / kill / rounds / medals. (In SQL)

2) Contains :

- A script in english / french (you can set the main language in options / players can choose their language.)

- 1 map for register

- 3 maps for BR-classic

- 2 maps for BR-TvT

- 1 map for BR-PvP

3) How set up the game ?

All is in the top of the script :

- Desactivate send mail from friend list (IMPORTANT !) :

in src/map/mail.c

Look For :

bool mail_setattachment(struct map_session_data *sd, struct mail_message *msg)
{
 int n;

nullpo_retr(false,sd);
nullpo_retr(false,msg);

Add after :

 if ( sd->bl.m >= 0 && map[sd->bl.m].flag.nowarp ) {
	clif_displaymessage(sd->fd,"You are not allowed to send mail in this map!");
	return false;
}

- Update your sql database. Use for statistics (viewable IG) can be also use for your website.

ALTER TABLE `char` ADD COLUMN `BR_Kill` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_Death` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_Round` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_Gold` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_Silver` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_Bronze` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_prize` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_PKill` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;
ALTER TABLE `char` ADD COLUMN `BR_PDeath` INTEGER UNSIGNED NOT NULL DEFAULT '0' AFTER `rename`;

- The first NPC : Battle Royale#1 is only one to modificate. (per default at prontera)

- In the core script, there is many configurations :

//Choice of language - Choix de la langue (0 = french / 1 = english)

set $BR_Langue,1;

//Pourcentage to get an item in a stuff -Pourcentage de chance d'obtenir les objets

set $BR_rand,90;

//Level min for give an access to GM menu - Niveau minimal pour l'accès au menu GM

set $GM_Minlvl,20;

//Atcommand symbol

set $BR_Atcom$,"!";

//Style

set $BR_Hsty,30;

set $BR_Hcolor,40;

set $BR_Ccolor,99;

//Map names - Nom des Maps

setarray $BR_map$[1],"br_map1","br_map2","br_map3","br_map4","br_map5";

setarray $BR_mapName$[1],"La Porte d'Arsinoé","L'Oasis","Le Temple abandonné","Nid de l'Aigle","Bois de Jacamar";

//Name of events

setarray $BR_Mod$[1],"Free For All","Team Death Match";

//Name of Teams

setarray $BR_TeamName$[1],"Napoléon","Nelson";

//Coordinates for comeback in town

set $BRmap$,"prontera";

set $BRx,156;

set $BRy,182;

//Rewards - Récompenses 1-2-3. (4 = TvT reward for each person)

set $BR_Recomp,671;

setarray $BR_Recompnb[1],20,10,5,5;

4) Download

All is in this archive : Battle-Royale-v.1.40

5) Notes

Becareful, there is always some risks to use a script who gives items to players. I've tested in a live server during a month. It doesn't seems to have an exploit right now. So use it at your own risks and please report me if you find something for fixing it.

battle1a.jpg

battle2a.jpg

battle3l.jpg

battle4.jpg

  • Upvote 2
Posted

hahaha aerie looks great in mapping.

Just not look* he/she is GREAT in mapping.

I'm using it right now in my test server. Its pretty good but i need to do some adjustment its because my server is 255/120*

  • 2 weeks later...
  • 2 months later...
Posted (edited) · Hidden by azze25, March 14, 2012 - editing
Hidden by azze25, March 14, 2012 - editing

Thanks for this cool event. However, I got a bug when trying to participate. When I click next after the checking of equipment and guild on my novice, it freezes.

The dialogue stop here, and will not continue..

:

mes "[" + @name$ + "]";

mes "I'll verify if you got all pre-requisites.";

mes "You must have a novice 1/1 without any object or guild.";

next;

How can we fix this? Thank you.

EDIT: NVM, Solved already.

Edited by azze25
  • 3 weeks later...
Posted

Help on battle royal. It freezes and nothing happens after checking the equipment for novice. Next button is not showing. Screenshot attached. thanks...

post-462-0-29507700-1331715191_thumb.jpg

Posted (edited)

could you please make a photos of how it would look like exactly in the SQL table plsss im a super noob when it comes to SQL database T_T----------------------------------------------------------------------------" im also getting this kind of error "

post-3034-0-84530900-1333229429_thumb.png

Edited by caspa
Posted

could you please make a photos of how it would look like exactly in the SQL table plsss im a super noob when it comes to SQL database T_T----------------------------------------------------------------------------" im also getting this kind of error "

use phpMyAdmin.

Posted

okay i already did what you told me but it seems im having trouble with the map! it cant warp to the map even thought i already put the .gat .rws in my data!

Posted

in the client, open data/mapnametable.txt and add this below

br_main.rsw#Battle Royale#
br_map1.rsw#Door of Arsinoe#
br_map2.rsw#Oasis#
br_map3.rsw#Abandoned Temple#
br_map4.rsw#Eagle's Nest#
br_map5.rsw#Jacamar Wood#
br_pvp.rsw#The Rana of arena#

open data/mapnametable.txt and add this below

br_map1.rsw#bgm\\38.mp3#
br_map2.rsw#bgm\\38.mp3#
br_map3.rsw#bgm\\38.mp3#
br_map4.rsw#bgm\\38.mp3#
br_map5.rsw#bgm\\38.mp3#
br_pvp.rsw#bgm\\38.mp3#

or change the 38.mp3 whatever mp3 background music in you like inside in the bgm/ folder.

in the server, open db/map_cache.dat and add the map .gat. Download this tool http://www.mediafire...dyesxy5w2b9595d

open db/map_index.txt and add this code below

br_main
br_map1
br_map2
br_map3
br_map4
br_map5
br_pvp

open db/maps_athena.conf and add this code below

map: br_main
map: br_map1
map: br_map2
map: br_map3
map: br_map4
map: br_map5
map: br_pvp

and re-compile your rAthena server.

Posted (edited)

is there a way to make this script into english! i mean, it has a choose language selection but everytime new people comes in they see it as french is not english is there a way to turnn it around?----------------------------------------------------"also everytime i launch the BR this happens plsss help T_T

post-3034-0-00352800-1333356222_thumb.png

Edited by caspa

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...