
HazardBoy
Members-
Posts
46 -
Joined
-
Last visited
HazardBoy's Achievements
Newbie (1/14)
0
Reputation
-
Your eyes will suffer :)
-
Great, can you help me fix them ? Initially we developed it for personal use, and then decided to go public. It does come in handy when you want to make savings. You plan a goal and keep track of the expenses. For example: You earn 1000, and you want to make sure the money will suffice for one month. So you start by planning ahead were you will spend them. (ex: 100 to Gym, 200 for rent, 300 food, etc. ) And every time you spend some of them you input the value and the app will alert you if you are getting close to the limit you specified at the start.
-
Hi guys, I just took part in development of a simple mobile web application, that can be installed on devices or run in browser. The app is free and you can use it to plan your incomes and expenses. More information on website: http://freemoneyplanner.com/ Let me know what you think, Cheers.
-
You have 2 arrays: - Texts - Images How do you relate them ? In your code it looks like the first text match the first image and so one. Am I right ? If yes, then the length of those arrays is the same and you can do one loop. If not, How do you know that text a has image b ?
-
you can do it with one loop. Or do one loop and inside that loop search for the image you need. There's allot of ways to do this. But if you insist on keeping two loops just don't output the table in the loop and build it as a template. here is a an example. Witch is a crappy way to do it. $table = '<table>'; $i = 0; foreach($texts as $text){ $table .= ''<tr> <td style="vertical-align:middle"> <input type="radio" name="episode" value="'.$texts[$i].'"> </td> <td>'. $text .'</td> <td> {'.$i.'} </td> </tr>'; $i++; } $i = 0; foreach($image as $img){ $imgTpl = '<img src="'.$img.'" />'; $table = str_replace('{'.$i.'}',$imgTpl); $i++; } $table .= '</table'> echo $table;
-
NSA maybe :) I know if multiple people mark the mails as spam, they will eventually get blocked by some ISP.
-
To achieve that you need one table that has rows with 3 columns (radio, label, image). And not multiple tables! the final output should look like this: <table> <tr> <td style="vertical-align:middle"><input type="radio"></td> <td>My episode title</td> <td> <img src="myImageSrc" /> </td> </tr> <tr> <td style="vertical-align:middle"><input type="radio"></td> <td>My episode title</td> <td> <img src="myImageSrc" /> </td> </tr> <tr> <td style="vertical-align:middle"><input type="radio"></td> <td>My episode title</td> <td> <img src="myImageSrc" /> </td> </tr> </table> if the index of $text is linked to the index of $image you can do one loop and get the above result; echo '<table>'; for($i = 0; $i < sizeof($texts); $i++){ echo '<tr> <td style="vertical-align:middle"><input type="radio" name="episode" value="'.$texts[$i].'"></td> <td>'.$texts[$i].'</td> <td> <img src="'.$image[$i].'" /> </td> </tr>' } echo '</table>';
-
iamsilviu - Roll on: Dota 2, ARMA II, DayZ, Leauge of Legends, Dawngate, Battlefield Play4Free
-
Pretty sick, incredible fast development. And if you love JavaScript you will feel at home. I started with Node JS, then got the hang of Express JS (node.js framework) and Mongodb (JSON db awesome!). The best of: is the code unification. Backend - frontend talk JS :). You can build real-time applications/game (with socket.io) and many more features. The only downside I think is the hosting. You will probably need your own server as the node hosting servers are not that configurable.
-
What a mess. :) Maybe tell us what you want to achieve ? How should it look like ? first of all give up the tables or keep them if you try to align stuff vertically. Give the "expected result" and we can help you.
-
You need to rethink the way to draw the map. Right now the map has more than 2000 DOM nodes and all are in % and the browser has to calculate a lot plus if you re-size the browser: calculations for 2000+ elements happens and a weird disproportion as the height is not in percent. Here is my suggestion: For size: 1. Define a base class and use it to specify the children the size and block-inline (or span element) to avoid using float. ( so you don't have to style every element ) 2. Define child classes that you can use to make a tile distinct. Note that dynamically changing the parent class you can change the size of all the child elements. like: .map { border : 2px solid blue; background-color: green; } .map.size-x { width: 1000px; /*fit 100 elements of 10px in a row */ } .map.size-x div { width: 10px; height: 10px; display: inline-block; } .map div.army { background-color: red; } For usability: 2000 tiles at once it's allot of information. Go for a sub-matrix and just display an area from that big matrix. Not only that you can make the tiles bigger and document lighter, you can adjust the size of the matrix based on the device size ( desktop/phone etc. ) if you decide to go with sub-matrix and need help how to do it, let me know. [ATTACH=CONFIG]1551[/ATTACH] Notice the bars and the gray space (left-right) wasted.
-
What OS you need for minecraft server ?
-
I recommend in Romania for cheap and speed, Germany or Sweden - Stability, Ireland - balance. For 8Gb ram don't think you will find lower than 25euros/m. Ireland : https://www.servebyte.com Build your own (this one I used in the past. cheep and ok): https://www.transip.eu/vps/
-
I guess the Military RPG comes from Military Rocket-propelled grenade? :) As it is nowhere near an RPG genre. If you made your url's friendly you might as well take out the index.php. I like the map and the Facebook-like chat. You may want to use a censor before a message is broadcast. +18: This is the list of words I use for censor *****: https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words +18: Here to make it easy just use this: http://plnkr.co/edit/OJ8zqDELdTsdKpPpLeEr?p=preview You should also do this filter on the server side
-
Hi, I've been playing for some time, got the user Hijack3r. I like your game and so far the only problem I found is on the gogrind.php. If I have like 200 mobs to kill and I start pressing the button to kill them "submitting" for every mob after a while the server returns time out and the website stops responding. Error: ' The connection to 'www.simplerts.netai.net' failed. Error: TimedOut (0x274c). System.Net.Sockets.SocketException A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 31.170.161.116:80' Plus my finger starts to hurt for that much clicking :) I suggest you change the mob killing mechanism for something like this: 1. As a user I would like to specify how many mobs I want to kill. 2. For 1 mob to kill takes 1 second, if I want to kill 100 mobs I must wait 1 minute and 40 seconds. Hope you like my suggestion. Keep you updated once you get the website back online :)