java.awt.image.RasterFormatException: (y + height) is outside of Raster
at sun.awt.image.ByteInterleavedRaster.createWritableChild(Unknown Source)
at java.awt.image.BufferedImage.getSubimage(Unknown Source)
at com.stateofprofit.client.s.b.cx(Unknown Source)
at com.stateofprofit.client.j.f.loop(Unknown Source)
at com.stateofprofit.client.j.f.execute(Unknown Source)
at com.stateofprofit.client.a.run(Unknown Source)
That’s weird seeing as I create a picture with a specific size… well, I put in a Math.min to make sure I don’t go outside of the size.
It’s not the first of these kind of bugs (things that work for everyone else) that you get, what kind of system are you using?
That’s a nice bug! The station labels aren’t connected to the content of each tile (I have a special Station list with all stations) so it is possible from a program point of view. No idea why it would happen though… I guess I’ll have to have a look at it
I must not? I was mostly curious as the code for that was pretty straight forward (create a picture of a specific size, read in the picture assuming it’s that size
Very nice game, although not much happens. Some of the graphics looks good like trees, terrain and water. The buses and houses could need some improvement. Graphics for intersections would be nice too. Can’t wait for the trains to get implemented.
Found a little bug, when I’m pressing shift and the arrow keys to scroll faster it only works UP, UP+LEFT, LEFT, DOWN, DOWN+RIGHT and RIGHT not DOWN+LEFT or UP+RIGHT. If shift (or any other key) is pressed before DOWN+LEFT or UP+RIGHT is pressed the game will not scroll at all, and if shift is pressed after DOWN+LEFT or UP+RIGHT no speed increase on the scroll occurs. But it works fine with the WASD keys.
Hi Kamerat and welcome to the JGO forum! You picked a great thread for your first post
I agree that the game still is limited, I believe in release early, release often as it helps a lot when it comes to bug fixing and getting feedback that actually can be implemented into the game. What did you mean about graphics for intersections? They are there as far as I can see but maybe we mean different things.
I’m no graphics artist so I didn’t spend too much time on it (frankly, it wouldn’t matter even if I did :P), buses will probably stay like they are for now as the next graphics part I’ll fix is the buildings (adding different kind of buildings, with bigger buildings closer to the center).
Thanks for the bug, I’ll look into it, doesn’t sound very hard to fix EDIT: I tested it on my computer and they all work fine. If anyone else can confirm the bug I’ll have another look at it, but as it seems now it’s a limit of your keyboard and not of the game, the code is exactly the same for wasd and the arrows (not all keyboards like 3 buttons pressed at the same time :))
Trains will eventually come but I think the first thing to add, content wise, will be farms and then either industries or airplanes.
Thanks for welcoming me. I liked this game so much so i registered to report the bug.
The intersection graphics is a minor thing. Its just the T intersections that needs improvement i thought the X intersection did too but that was because i looked at bonbonchan’s 3D model image. The X intersections looks good as it is now but the T just looks like the road coming from the side is just next to the road that goes straight ahead and that it is something that separates them. Very very minor.
On another point, I keep loosing connection to the server. I got a bad mobile Internet connection, though other sites seems to load fine.
I feel very honored that you registered on the forum just to report it. Once I am further down the line it seems like I need my own forum for the game as it’s quite active (on the other hand, my vacation is soon over and then it’ll slow down some on my part).
I thought the intersections were totally missing but this makes more sense I’ll put the T intersection on the list (and have a look at how T intersections look like in real life :))
The connection with the server is lost if the server didn’t reply on a ping kind of message for 30 seconds. If it’s better now than it was 6-7 hours ago then it went down like a jojo because I was restarting the server a lot trying to fix a bug If you keep getting it I could increase it to a minute, but then you will loose what you did during the last minute if the connection with the server goes down.
I will make a way so I can communicate with all connected players (broadcasting a message that the server is being restarted for example), it might be that you’ve been unlucky enough that you were online just when I restarted it.
Thanks for the kind words, it’s people like you that make me stay up until 3 am programming
I think I spent something like 1500 hours during the last 4 years (about an hour per day on average). If I were to do it again I’d probably reach a better result (better data model and easier to expand, some of the early code looks horrible…) in at least a third of the time.
EDIT:
Fixed all known path finding problems. If you ever get “cannot find a path…” when there really is a path (and the vehicle never starts driving), let me know the name of the vehicle and your company name and I’ll fix it.
Also fixed an issue where you couldn’t click enter to log into the game (might need a refresh of the browser) and removing trees on the client when building roads now deducts money correctly
Open bugs, if you know anything else please let me know as I’d like to have it (close to) bug free before going on with content.
Station building not being shown although the text is (not reproduced)
Vehicles quickly go to “No path found…” before they start driving (reproduced)
The current passengers number on the vehicle screen isn’t reset to 0 when entering the station (reproduced)
when buying something, time to time, the money is not display properly (something like the old and new money shown at the same time “$1024$”). It is rectified quickly when money is refreshed.
Sounds like a synch issue, I’ll have a look at it as well.
Also, fixed a bug where the map would not be displayed properly anymore when logged in for more than 20 minutes. It was linked to the raster error Riven got so I cannot blame Vista