State of Profit

Isn’t that how it works in real life? :slight_smile:

Once I put in reputation (reason 1) and maintenance costs for the busses and stations (forcing you to pay attention to your busses so they are effective) I’ll probably reset the world so we all get an even chance :slight_smile:

Now off to do a map and then the overview of what you have and where you can build should be complete.

Mike

Hehe cute little bastard? Hehe nice. =) Only the first two day I thought Rivens streets are very nice. :wink: Now I have to much money. More money than time to spend. =)

I know I have “some” buses. But not 4601312467735529 :wink: I think its a bug. =)

Next idea: A site with stats for your company. How many buses do you have? How many stations? How much money do you get last 24 hours. etc =)

hey can you check to see if I set htings up right, cause Ia m not making money :P. thanks :slight_smile:

You have 5 buses, but if you open a bus station it says “Waiting for destination” on all of them.
If you click on the bus in the list the bus window opens. As you can see on that window the bus has a start station (the current station) but no end station.
If you click on “Click here to set destination” and then click on the station where you want the bus to go to they’ll start driving and you’ll start making money :slight_smile:

Where do you see that number? You have a net worth (current money/10+busses10000+stations20000) of 14 million…

I’ll make it so you can click on people in the rankings list and it’ll display something like that, nice suggestion :slight_smile:

The map will be quite nice but it’s taking some time to implement, I’m hoping for today though!

Mike

It happen to me often. It seems to come from a caching problem (I clean the caches and it work again).

I’m using the lwjgl applet loader… maybe there is some kind of debug output that can explain why. I can’t reproduce it. There has been some improvements so maybe version 2.8 will fix it.

Mike

Here is the bus bug =)

http://apo-games.de/sop/bug.png

Ah, right! :slight_smile: The client decides the name of the bus and if the server doesn’t agree (already in use) it tries to assign another number. if that didn’t work either then the server adds System.currentTimeMillis() afterwards (so it ended up wrong somewhere around 460 I guess) :stuck_out_tongue:

I’ll look if I can see something in the server log and otherwise always let the server decide the name.

Mike

You’re aware the the applet has been hanging at “Determining packages to load…” for about an hour?

What version of the applet loader are you using anyway? but yeh there are a tons of fixes and new stuff in the current nightly build.

Not sure why its hanging at the point since that part only requests the sizes of the jars from the server, so could be that the server just isn’t responding back.

Easy way to clear the lwjgl cache (usually a pain to find directory manually on windows) is just enter “%temp%\lwjglcache” (without quotes) in the run box and delete the domain folder.

Riven - Thanks for telling me, I wasn’t aware of it (was at dinner). Fixed it (an infinte loop, added a way for it to get out of it). I gave you a star for it (I’ll not give it to everyone posting as I don’t want people to post for that reason ;)).

Kappa - Crashing at that point can also mean that the server isn’t accepting the login as the connection with the server is put up before my own loading screen appears. On the other hand, clearing the cache shouldn’t make the server start accepting it… :stuck_out_tongue:

Mike

Let’s say there are >1000 passengers waiting at a station, and there are >10 buses in that station, it seems like the ‘currently loading’ buses aren’t handled ‘concurrently’, as in, it will fill the first bus, wait a minute, fill the second bus, wait a minute, etc. Maybe my observations are wrong, but at the moment it seems busy stations are clogging up. (Hence I’m building lots of stations in each city)

They’re loading at the same time (minimum loading time is 20 seconds) but only one bus per 3 seconds can leave a station (the vehicles are updated once every 3 seconds on the server and the one who came first leaves first). If you have a ton of vehicles then it’ll indeed clog up, any ideas around it?
I could lower the 3 seconds but as the server is a single core and it takes about 50ms right now to update the 1000 or so vehicles I don’t want to make it much more frequent or the server won’t be doing anything but moving vehicles.

Another way is to allow several busses to leave each 3 second tick, but if bus 1 comes first, then bus 2 and then bus 3, while the server first handles bus 2 (not first in line), then bus 1 (first in line, can leave) and then bus 3 (not first in line now as bus 2 is) it’ll not be predictable how the vehicles are going to be loaded and leaving.

Mike

50ms to move 1000 vehicles around seems very long. Maybe the problem is in pathfinding?

Two ideas you might already have implemented:

Cache routes between A and B, until there are new/removed roads in the ‘region’ of the route.
Handle the parts between road intersections as 1 node with a bigger weight.

If not already implemented, that should make it at least 100 times faster.

At the moment it happens very often that I can’t buy another bus. When I buy a bus I lost the money but the bus disappears. =(

I think the problem lies somewhere else.

At the moment, in ‘Sawyerville Central Bus Station’ there are 800 passengers and 10 buses.

It’s been like that for about 5 minutes… :frowning:

Quickly, is there a way to reset my account? I don’t want to use another user name :stuck_out_tongue:

Create another account and I’ll rename it :stuck_out_tongue:

Riven: That sounds weird, It must be something else as well indeed. I’ll have a look at the busstation (game might be acting weird if I pause some threads :stuck_out_tongue: Humm… did you change the end station on some vehicle? I noticed some bugs around that before and it might be one here as well.

Apo: I’m getting tired of that bug, I’ll look into it as the first thing after I’m done with the map.

Mike

Alright I’m ra4king1 this time, I have read the directions and I’m on my way to beat Riven and Apo :stuck_out_tongue:

EDIT: Oh my god this world is huge! Do you load world data by chunks from your server? When I would scroll around it would lag and freeze for a second.