Author Topic: [WEBGAME PROJECT] A Better Tomorrow Battle Royale  (Read 8186 times)

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
[WEBGAME PROJECT] A Better Tomorrow Battle Royale
« on: May 31, 2009, 07:08:11 PM »
Well, I have one PHP webgame source script based on this novel/movie Battle Royale.

http://en.wikipedia.org/wiki/Battle_Royale

Originally it's written in Japanese, some nameless guy get hold of the script and translated it into Chinese. However, the programming sucks so I remodded about 70% of the codes.

And now I'll translate it to English, and actually I have finished some bits of it:

Core Files - 80%
Item Definition Files - 1%
NPC and game system related Files - 25%

Test Drive Address: http://tforce.toypark.in/breng/

This is a point and click text-based real-time game, you choose your actions on the screen and the same goes for other players. Your only objective is to become the only one surviving.
(there sure has other endings)

Basically you are a random player, who had been drag in this game by a "Boss Character", The game is held on a separated place divided into various "zones" and the only way to make it out is killing each other until one is left. Every hour your movements will be limited as more and more area closes down on you. So you'd better finish it quick.
You start out the game with some random equipments and some food, but these won't held very long. You can search the ground for items, get items from the shop(which have the possibility to close down due to forbidden zones), or kill player/NPCs and earn Item/Money. There are some items that will help you win, some will not.

However I found out i cannot do it on my own, namely the story part (hence the blank in the title.) and the items on the map. As of now there are nothing on the map except foods, foods and more foods...

Quote
mapitem.php
Code: [Select]
<? if(!defined('IN_GAME')) exit('Access Denied'); ?>
1,99,5,■DeathNote■,Y,1,1,,
0,99,5,Hacking PC,Y,1,1,,
0,99,30,Gasoline,PS2,100,1,,
0,99,30,Patrol,PH2,100,1,,
0,99,50,Poison,Y,1,1,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,20,Food,HB,20,100,,
0,99,50,Antidote,1,1,,

Lame, isn't it?

So as of now I need ideas on the game's story/background and item suggestions. I will release the Test Drive Demo Soon in order to provide a better understanding of the game.

The only screenshot as of now - Game home/login page

Game page - Engage In Combat - Notice the Chinese Item Names ~-~
« Last Edit: June 04, 2009, 11:47:56 AM by [TForce]nemoma »

Break anything that stands between you and them!

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] _________ Battle Royale
« Reply #1 on: May 31, 2009, 09:03:39 PM »
How to create an on-map item in the game.
Every item has a line to arrange in the mapitem.php file, and It's fairly easy, (even you don't know PHP you can create itemsXD)

The general format of an item is as following.
Quote
Hour appeared, place, numbers per hour, name, type, EFF, DUR, Special Value.

Hour appeared -> on which hour will the item appear, the hour means the hours past since the game had started
Place -> where will the item appear, if set to 99 then it's all randomly Spread. As now I haven't decide the story and corresponding places yet let's all set to 99.
Numbers Per Hour -> How many of that item will spawn within an hour.
Name -> Item Name
Type -> Item type, type chart will be at the end of this explanation.
EFF -> The Effect of an item (if it's an armor or recovery item) or the damage (if a weapon)
DUR -> How many time it can be used before it disappears
Special -> Not too much use, "g" is for bulletproof, otherwise live it blank BUT KEEP THE COMMA.

There will always 8 commas in every line.

So 0,99,20,Food,HB,20,100,, means:
From the 0th hour onwards, 20 "Food" will randomly spread to all zones on the map, it's "HB" type, means it heal both SP and HP, it have a EFF of 20 and DUR of 100, it didn't have any special attributes.

Type Chart:
Code: [Select]
$iteminfo = Array(
'N' => 'None',
'WN' => 'Weapon(CRA)',#Fist, is your default weapon when you didn't have one.
'WP' => 'Weapon(CRA)',#Crashing Weapon, Medium Hit rate and Medium Damage.
'WG' => 'Weapon(GUN)',#Guns, higher hit rate and damage, but needs bullets.
'WK' => 'Weapon(SLA)',#Slashing Weapon, Variable damage,Medium Hit rate, DUR hardly fell
'WC' => 'Weapon(TRO)',#Throwing Weapon, Low Damage, 100% Hit Rate, DUR fell down quickly
'WD' => 'Weapon(EXP)',#Explosives, Max Damage, Low Hit rate, Fast DUR Drain, harder to find.
'DN' => 'Armor(BODY)',#Underwear, means your default Armor without any equipment
'DB' => 'Armor(BODY)',
'DH' => 'Armor(HEAD)',
'DA' => 'Armor(ARM)',
'DF' => 'Armor(FOOT)',
'A'  => 'Amulet',
'HH' => 'HP Recover',
'HS' => 'SP Recover',
'HB' => 'ALL Recover',
'PH' => 'HP Recover', #Naturally Poisonous same below
'PS' => 'SP Recover',
'PB' => 'ALL Recover',

A little bug in the code caused the situation that I can't open the Test Drive Server to public Right Now, and I've work on it for 10 hours, I need some rest first.

Test Drive Open! http://tforce.toypark.in/breng/game.php
« Last Edit: June 01, 2009, 10:52:49 AM by [TForce]nemoma »

Break anything that stands between you and them!

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] _________ Battle Royale
« Reply #2 on: June 02, 2009, 12:28:53 AM »
The test server has run for 24 hours, and some people had joined.

I apologize for the buggy status now since the core code is still in reconstruction.

Here is a list of testing results:

NPC encounter, tick
Player encounter, tick
Damage Calculation, tick
News publish, tick
Base Mechanics, tick
Item search, bugged
(Bug : When you search and supposed to pickup some item, the game crushes and sent you back to the front page)

Weather System, tick
Cure, Heal and Sleep, tick
Localization, Incomplete

There are two problems which is not cause by the game codes:
1: If the player used "'" in any part of his/hers motto/killmsg/LW when he/she wins the database will crash, that's a bug of MySQL Database, so don't do that.
2: When you are using Firefox, the Move and other comboboxes must be click and dragged instead of just click. That is the flaw of PHP Active Script.
« Last Edit: June 04, 2009, 11:47:34 AM by [TForce]nemoma »

Break anything that stands between you and them!

Nameless Bunny

  • The princess of the moon...IS MINE, MY OWN
Re: [WEBGAME PROJECT] _________ Battle Royale
« Reply #3 on: June 03, 2009, 07:46:54 PM »
Please, explain me how to play it on Internet Explorer, because right now i can't even buy things or even watch who i'm fighting (and if i found someone is an event so random i can't even notices it :S)

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] _________ Battle Royale
« Reply #4 on: June 03, 2009, 08:10:57 PM »
Please, explain me how to play it on Internet Explorer, because right now i can't even buy things or even watch who i'm fighting (and if i found someone is an event so random i can't even notices it :S)

The free hosting server didn't like IE, please use firefox or at least wait for a more stable and bugless version - which will be on another server which likes IE.

Break anything that stands between you and them!

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] _________ Battle Royale
« Reply #5 on: June 04, 2009, 11:08:26 AM »
2009.6.4. 0704AM as of EST

Item pickup glitch has fixed.

The game is now supposely free of bugs.


If you are using IE I'm thinking of opening up another server.

Here is an alternative server for you which is free of IE bugs :

http://nemoma.cwahi.net/breng/index.php

Anthony had thrown a good idea for the story, based on the doujinshi A Better Tomorrow
« Last Edit: June 04, 2009, 11:47:19 AM by [TForce]nemoma »

Break anything that stands between you and them!

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #6 on: June 05, 2009, 02:20:44 AM »
After giving a spin to this game I have to say...
Wow, the numbers are broken.
I never dealt more than 27 damage, when suddenly BAM! I received 98 from the same weapon!
Also, a tutorial for some (Read: Most) of the aspects of the game would be nice.

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #7 on: June 05, 2009, 05:09:16 AM »
After giving a spin to this game I have to say...
Wow, the numbers are broken.
I never dealt more than 27 damage, when suddenly BAM! I received 98 from the same weapon!
Also, a tutorial for some (Read: Most) of the aspects of the game would be nice.

You are probably using a Slashing Weapon, because that's how it works, it has a high hit rate and high wound rate, however the damage is *Floating*

Help will obliously become translated, however I'm now still working on the core and story, I'll translate/write a new help once we get everything else done.

Break anything that stands between you and them!

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #8 on: June 05, 2009, 12:45:30 PM »
I will be on my flight back to China in a few hours, I'll going to think of a brand new item list on the 15-hour-ride, and also I'll ask you all for ideas.

The requirements are :
The name : must be shorter than 20 letters(spaces count as 1 letter). and no "'" is allowed, if you are going to grab things like "Eirin's Shady New Drug" the game will crash because you just done both SQL Injection and SQL Overflow.
It must have some usage : described above in the 1st post. One of the 5-kinds of weapons or others.(Weapons : Crush, Throw, Slash, Gun, Explosive. Armor: head, body, arm, feet. Amulets, HP/SP/Both Recover and Special)
It will have two values, one is called EFF, meaning effect, if used on weapons, that's the base damage, if used on armor, it's the base defense, if used on Amulets, it's the base rate, for recovering items, the amount of HP/SP/Both that will recovered. Another one is DUR which is self explanationary.

And that's a big part of item. Then we have Zones.

Since it's gonna be Touhou, it should be easy to understand what I'll put there, however, some items are meant for some part of the world. (You can't pick mushrooms in Eientei, right?) So state that in the item creation.

Be free to think of anything possible, in the doujinshi Yuyuko even carried out a RX-GP-03 GUNDAM at the end of it.

Said of the Doujinshi, here is the story of A Better Tomorrow, for people who haven't seen it.

Quote
Mokou and Kaguya is at it again! But since both of them cannot be killed normally they decided to scroll all Gensokyo Residents in. By dividing the Residents into two teams the deathmatch of Mokou Team and Kaguya Team begins in a fun way...


Sigh... Seriously, there is no story.

Well, grab the doujinshi here

Break anything that stands between you and them!

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #9 on: June 05, 2009, 10:35:39 PM »
Yuyuko even carried out a RX-GP-03 GUNDAM at the end of it.
Yuyuko piloting the HUGE ASS DENDROBIUM ORCHIS
God, why didn't I know about this? BRB fapping downloading.
Also, it was a crushing weapon, that was pretty weird. It had 110 EFF and Infinite DUR, but the EFF started to decrease every attack.

SONIC BHOCOLATE STRIKER

  • Doing >9000 Barrel Rolls
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #10 on: June 06, 2009, 12:14:40 AM »
Said of the Doujinshi, here is the story of A Better Tomorrow, for people who haven't seen it.

Sigh... Seriously, there is no story.

Well, grab the doujinshi here
Dude, Einhander reference. This is instantly awesome.
I gotta have something for my sig, so...

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #11 on: June 06, 2009, 02:57:39 PM »
God, why didn't I know about this? BRB fapping downloading.
Also, it was a crushing weapon, that was pretty weird. It had 110 EFF and Infinite DUR, but the EFF started to decrease every attack.

Crash + Infinite DUR means this item has the attribute : "DUR EXTRA DRAIN" on it.

And all guns without bullets are considered one of these.

Break anything that stands between you and them!

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #12 on: June 07, 2009, 12:07:34 AM »
No wonder why every battle was taking so much MP/SP.
Oh, also, all the MP recovery items list it as SP, BTW.

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #13 on: June 07, 2009, 02:27:05 AM »
No wonder why every battle was taking so much MP/SP.
Oh, also, all the MP recovery items list it as SP, BTW.

It is indeed SP, Stamina Points.

Break anything that stands between you and them!

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #14 on: June 07, 2009, 02:29:08 AM »
Oh, I see. Then, it's a mistake that it's on the main screen as MP, I guess?

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #15 on: June 07, 2009, 04:10:00 AM »
Oh, I see. Then, it's a mistake that it's on the main screen as MP, I guess?

It's a typo.

Firstly I translate 体力 as MP, notice HP/MP

However, 体力 is better translated into Stamina Points, so I name the items SP Recover and so.

But I forget to change it back on the main screen.

Break anything that stands between you and them!

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #16 on: June 09, 2009, 01:20:58 PM »
Place data implemented.

Story - Beginning completed.

The Areas as of now:
$plsinfo = Array('Border','Sanzu River','Hakurei Shrine','SDM','Subterrain Palace','Mayohiga','Graveyard','Icy Lake','Prismriver Mansion','Mountain Foot','Youkai Mountain','Kourindou','Human Route','Nameless Hill','Human Village','Moriya Shrine','Magical Forest','Suwa Lake','Bamboo Forest','Eientei','Endless Staircase','Sunflower Field','The Sky','Hakugyokurō','Amarillo?s hut');

The screenshot: (compare it with the shot above:)
« Last Edit: June 09, 2009, 01:45:46 PM by [TForce]nemoma »

Break anything that stands between you and them!

Nemo★Ma

  • Have Faith.
  • *
  • And keep it.
    • NMforce
Re: [WEBGAME PROJECT] A Better Tomorrow Battle Royale
« Reply #17 on: June 11, 2009, 05:59:04 PM »
Progress as of today:

NPC list finished, Mokou and Kaguya will appear as NPCs

Two More Winning Condition Added: Mokou/Kaguya Slain.

Some Minor translation, e.g, bread and water, clothes, login page and so on.

Future Plan:

Implement the endings.

Get mapitem.php, stitem.php translated (Which will be one of the last bits of translation!)

The game is currently in Beta 2.5, It's currently open to testers, the address is http://tforce.toypark.in/breng/    as always.

Break anything that stands between you and them!