Release Bomberman Collection


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,330
Age
51
Location
France, near Lyon
Here is a collection of 2 Bomberman clones.

Bombermaaan

This one has no network mode, so multiplayer is on the same Pandora (using some Joystick).

There are 8 arena (you can create your own, look in appdata/bombermaaan/Levels to fidure out how to do.

Bomber

This one has a LAN mode. I've setup some zenity dialog box at launch to setup IP / Port / Nickname for this one. Note, the IP to put is the "Master" one. Cross-platform should works (*edit* tested, it works), so go here and grab some other platform version for some LAN party if you don't have enough Pandora.

Version History

=============

Build 01

----------

  • Initial Release
 
Last edited by a moderator:
Will not boot up on my 1ghz Pandora. :mellow:  No folder found in appdata.
 
Last edited:
The screen before starting the game (tited MATCH) as 3 settings:

BATTLE  3

START    1:00

HURRY    0:35

Battle is the number of round.

Start is the countdown => Put that much higher

Hurry => the time "Hurry Up" last.
 
Under Slack:

./bomber.sh: line 33: ifconfig: command not found

It's actually /sbin/ifconfig for users, as /sbin isn't in their path.

Anyway, i don't get the block:

#---------- get IP                                                                                                   
# get default IP adress from the pandora                                                                             
IP=`ifconfig  | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`
 
Under Slack:

./bomber.sh: line 33: ifconfig: command not found

It's actually /sbin/ifconfig for users, as /sbin isn't in their path.

Anyway, i don't get the block:

#---------- get IP                                                                                                   


# get default IP adress from the pandora                                                                             


IP=`ifconfig  | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`
I want to grab the current IP Adress of the Pandora, to show it on the dialog. When on DHCP, you rarely know it, and name resolution didn't worked for me.
 
Maybe better use /sbin/route to catch the default interface, then the IP from the interface ?
 
I don't know. I had problem when Wifi was OFF, and/or when using a Wifi dongle.

Can you provide a sample script (I assume this part doesn't work on SL4P?)?
 
Last edited by a moderator:
Even the output of ifconfig is different. For now, this should work (not ipv6-friendly) on both:

Code:
IFCONFIG=$(whereis ifconfig | awk '{ print $2}')
ROUTE=$(whereis route | awk '{ print $2}')
NETDEV=$(route | grep default | awk '{ print $NF }')

IP=$($IFCONFIG $NETDEV | grep 'inet ' | awk '{ print $2}'| awk -F':' '{print $1}')

echo $IFCONFIG
echo $ROUTE
echo $NETDEV
echo $IP
 
Last edited by a moderator:
Back
Top