05-06-2009, 11:00 AM
I've noticed a few things about the ATM machines..
First being that a lot of them are either facing the wrong way, or floating in mid air..
Secondly.. They're probably a major lag cause.
I've been going around to a few ATM machines and punching them, as ya do...
To check if there is one or more spawning. Well... theres often 2 spawning.. One spawns first, then another will spawn, but not destroying the first one.. Why?
I tried it with quite a few of them and each one has two atm machines.. and when i wait a little while, i punch and theres 1 there... I wait a longer while and punch and theres 2 there.
A bug with something like this can cause a wagon shit load of lag.
I had a go at making an object repsawn timer a while ago, it failed, it was that laggy the server crashed.
The lvp one is a better job, but still a laggy one too.. Since it doesnt cause server crashes, that i know of.
Maybe as an experiement, take out the atm code and see if there is any improvement..
Another thing with the ATM stuff...
Why is the ship ATM on the same respawn timer?
If a player isnt on the ship, they cant use the ship atm.
So it would be easier to use CreatePlayerObject, as soon as they enter the ship safezone. Then once they exit, use DestroyPlayerObject.
Even if theres a few players on the ship, they would still only see 1 ATM.
First being that a lot of them are either facing the wrong way, or floating in mid air..
Secondly.. They're probably a major lag cause.
I've been going around to a few ATM machines and punching them, as ya do...
To check if there is one or more spawning. Well... theres often 2 spawning.. One spawns first, then another will spawn, but not destroying the first one.. Why?
I tried it with quite a few of them and each one has two atm machines.. and when i wait a little while, i punch and theres 1 there... I wait a longer while and punch and theres 2 there.
A bug with something like this can cause a wagon shit load of lag.
I had a go at making an object repsawn timer a while ago, it failed, it was that laggy the server crashed.
The lvp one is a better job, but still a laggy one too.. Since it doesnt cause server crashes, that i know of.
Maybe as an experiement, take out the atm code and see if there is any improvement..
Another thing with the ATM stuff...
Why is the ship ATM on the same respawn timer?
If a player isnt on the ship, they cant use the ship atm.
So it would be easier to use CreatePlayerObject, as soon as they enter the ship safezone. Then once they exit, use DestroyPlayerObject.
Even if theres a few players on the ship, they would still only see 1 ATM.
![[Image: 28u7ic8.gif]](http://i51.tinypic.com/28u7ic8.gif)
![[Image: default.png]](http://module.game-monitor.com/94.23.26.10:8350/image/default/default.png)