View previous topic :: View next topic |
Author |
Message |
Rincewind So much universe and so little time


Joined: Jan 19, 2010 Posts: 1149
|
Posted: Sat Aug 02, 2014 3:46 am Post subject: Steampunk aka Nexus Brawl aka jeez this needs a proper name |
|
|
Once upon a time I set out to make a browser game. I got busy and stopped working on it, but what with NC maintenance I thought it'd be worth dusting off as a distraction in the meantime.
Kandarin suggested a one tile bar map, so I made a copy of my game with that. Now it has a few more tiles and stuff, but is still fairly basic.
Game: http://brawl.windrunner.mx/
Development version: http://game.windrunner.mx/ (I will make anyone interested an admin on this copy, it will run the latest and greatest broken version). Currently doesn't pull from Github automatically.... yet.
Source code: https://github.com/SergeantHawke/Steampunk
I realise the ajaxing in javascript is a horrible code idea - The original thinking was so that people with no or poor js support can still mostly use the game, as the game will then simply reload the entire page for every action like NC & UD. Code quality probably isn't amazing, but it is using a decent PHP framework.
IRC Channel: #steampunk
I am open to any ideas as to what I can add to keep it fun until NC is back.
Last edited by Rincewind on Sat Aug 02, 2014 1:34 pm; edited 1 time in total |
|
Back to top |
|
 |
Rincewind So much universe and so little time


Joined: Jan 19, 2010 Posts: 1149
|
Posted: Sat Aug 02, 2014 4:02 am Post subject: |
|
|
Changelog:
9th August:
* Snazzier character select
* Now uses the HTML5 history API in supported browsers
* Login cookies stick around for a week
3rd August:
* Skills and items can now make you able to travel places you can't normally go! (aka swimming and flight)
2nd August:
* Skills that provide soaks and resists now work correctly
* Skill Points are now correctly deducted when learning skills. All current skills have been set to cost 0SP, to be nice to newbies
* Unique items now have their special attributes applied correctly
Last edited by Rincewind on Sat Aug 09, 2014 6:11 am; edited 5 times in total |
|
Back to top |
|
 |
xensyria Explorer


Joined: May 01, 2011 Posts: 98
|
Posted: Sat Aug 02, 2014 7:37 am Post subject: Re: Steampunk aka Nexus Brawl aka jeez this needs a proper n |
|
|
Thank you! Enjoying it so far
Rincewind wrote: | I am open to any ideas as to what I can add to keep it fun until NC is back. |
Reckon I've found most of the hidden items (the more the merrier... within limit!) and there are probably enough people for a few more tiles.
Also, any chance I could donate some of my chalk stash from the Vault to give people a chance to add some persistent spam? I wonder where hydro swims in brawl? |
|
Back to top |
|
 |
Carilgar Active Member


Joined: May 17, 2014 Posts: 349
|
Posted: Sat Aug 02, 2014 8:54 am Post subject: |
|
|
Can I have a shambling zombie? Pretty please. I am seriously missing my zombie fix and do not need to restart my UD addiction. |
|
Back to top |
|
 |
Kandarin Dreamweaver


Joined: Jan 19, 2010 Posts: 2278 Location: Charlotte's Bakery University
|
Posted: Sat Aug 02, 2014 9:04 am Post subject: Re: Steampunk aka Nexus Brawl aka jeez this needs a proper n |
|
|
xensyria wrote: | Thank you! Enjoying it so far
Rincewind wrote: | I am open to any ideas as to what I can add to keep it fun until NC is back. |
Reckon I've found most of the hidden items (the more the merrier... within limit!) and there are probably enough people for a few more tiles.
Also, any chance I could donate some of my chalk stash from the Vault to give people a chance to add some persistent spam? I wonder where hydro swims in brawl? |
Hydro has nowhere to swim, unless we get a pool in this bar. A pool that people automatically drown in, unless they buy Drunken Flailing Dogpaddle. |
|
Back to top |
|
 |
ComradeQuestion Active Member

![]()
Joined: May 01, 2010 Posts: 158
|
Posted: Sat Aug 02, 2014 9:05 am Post subject: |
|
|
Carilgar wrote: | Can I have a shambling zombie? Pretty please. I am seriously missing my zombie fix and do not need to restart my UD addiction. |
with only 4 spaces? huh-uh, i dont think so |
|
Back to top |
|
 |
Kylinn Nexus Clash Veteran


Joined: Feb 26, 2010 Posts: 1717
|
Posted: Sat Aug 02, 2014 9:21 am Post subject: |
|
|
I am sad that hitting folks with the Red Rum does no Inebriation Damage anymore "due to soaks and resists". Clearly we need stronger booze now.
Also - love the way the inventory sub-divides into categories automatically. Very nice! |
|
Back to top |
|
 |
anachronist Mortal


Joined: May 10, 2014 Posts: 28
|
Posted: Sat Aug 02, 2014 10:24 am Post subject: |
|
|
Marital Arts (intentional pun or a misspelling?) deals negative damage and loses xp:
Quote: |
2014-08-03 05:22:01 You attack JohnCleese with your Marital Arts, dealing -1 Ju Jitsu Wedding damage and gaining -1XP! |
_________________ Once an alpha tester and bug admin for Nexus War
ambergris, former Mistress of Balance |
|
Back to top |
|
 |
Kandarin Dreamweaver


Joined: Jan 19, 2010 Posts: 2278 Location: Charlotte's Bakery University
|
Posted: Sat Aug 02, 2014 10:41 am Post subject: |
|
|
anachronist wrote: | Marital Arts (intentional pun or a misspelling?) deals negative damage and loses xp:
Quote: |
2014-08-03 05:22:01 You attack JohnCleese with your Marital Arts, dealing -1 Ju Jitsu Wedding damage and gaining -1XP! |
|
That's no typo.
Soon, the Nexus will fear my advanced Marital Arts. |
|
Back to top |
|
 |
Rincewind So much universe and so little time


Joined: Jan 19, 2010 Posts: 1149
|
Posted: Sat Aug 02, 2014 6:27 pm Post subject: |
|
|
It is now possible to do swimming! Catch is, there's no swimming skill, so how do you plan on swimming? |
|
Back to top |
|
 |
Kylinn Nexus Clash Veteran


Joined: Feb 26, 2010 Posts: 1717
|
Posted: Sat Aug 02, 2014 6:48 pm Post subject: |
|
|
Dropping stuff is broken again. I get the following message when attempting it:
Code: |
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'item_usage_attribute.ItemInstanceID' in 'where clause'
/var/www/brawl/vendor/phpixie/db/classes/PHPixie/DB/PDO/Connection.php
121 public function execute($query, $params = array())
122 {
123 $cursor = $this->conn->prepare($query);
124 if (!$cursor->execute($params))
125 {
126 $error = $cursor->errorInfo();
/var/www/brawl/vendor/phpixie/db/classes/PHPixie/DB/Query.php
243 public function execute()
244 {
245 $query = $this->query();
246 $result = $this->_db->execute($query[0], $query[1]);
247 if ($this->_type == 'count')
248 {
/var/www/brawl/classes/App/Controller/Game.php
197 $this->view->action = 'You drop your '.$item->Type->ItemTypeName;
198 $this->view->ItemInstanceID = $item->ItemInstanceID;
199 $this->pixie->db->get()->execute("START TRANSACTION");
200 $this->pixie->db->query('delete')->table('item_usage_attribute')->where('ItemInstanceID', $item->ItemInstanceID)->execute();
201 $item->delete();
202 $this->pixie->db->get()->execute("COMMIT");
/var/www/brawl/vendor/phpixie/core/classes/PHPixie/Controller.php
103 $this->execute = true;
104 $this->before();
105 if ($this->execute)
106 $this->$action();
107 if ($this->execute)
108 $this->after();
/var/www/brawl/vendor/phpixie/core/classes/PHPixie/Request.php
183 $class = $this->param('namespace',$this->pixie->app_namespace).'Controller\\'.ucfirst($this->param('controller'));
184 $controller = $this->pixie->controller($class);
185 $controller->request = $this;
186 $controller->run($this->param('action'));
187 return $controller->response;
188 }
/var/www/brawl/vendor/phpixie/core/classes/PHPixie/Pixie.php
229 try {
230
231 $request = $this->http_request();
232 $response = $request->execute();
233 $response->send_headers()->send_body();
234
/var/www/brawl/web/index.php
5
6
7 $pixie = new \App\Pixie();
8 $pixie->bootstrap($root)->handle_http_request();
9 ?>
|
|
|
Back to top |
|
 |
Rincewind So much universe and so little time


Joined: Jan 19, 2010 Posts: 1149
|
Posted: Sat Aug 02, 2014 7:17 pm Post subject: |
|
|
Fixed  |
|
Back to top |
|
 |
demonsthenes Explorer


Joined: Feb 04, 2014 Posts: 82 Location: Western Europe
|
Posted: Sun Aug 03, 2014 5:51 am Post subject: |
|
|
The Spartan pacifist is very lonely now that he has pacified everyone to death. |
|
Back to top |
|
 |
Saint_Jimmy Elite Member


Joined: Aug 24, 2011 Posts: 746
|
Posted: Tue Aug 05, 2014 2:41 pm Post subject: |
|
|
Trying to buy skills while dead seems to cause problems. The page keeps refreshing and the tab name keeps switching between "The Brawl" and "Steam Imperium" |
|
Back to top |
|
 |
Rincewind So much universe and so little time


Joined: Jan 19, 2010 Posts: 1149
|
Posted: Tue Aug 05, 2014 11:06 pm Post subject: |
|
|
Thanks for letting me know
The original game was called Steam Imperium, guess I forgot to change it somewhere.
You aren't supposed to be able to buy skills while dead, but I guess thats a bit broke. I'll look into it  |
|
Back to top |
|
 |
|