Hmmm that I don't know. If you're desperate use your process way.
|
I found a way to add global object updating so when you setup a barricade, logout then login it's still there, I used the process, but it's a really shitty way.
Basically, how would I get it so if playerA sets up a barricade, and playerB just logs in, he can see the barricade?
Hmmm that I don't know. If you're desperate use your process way.
But the process way is shitty and it's bugged.
Look into how it is done in Shard, it's a pretty good method imho. ObjectManager class, can't remember which package it is in.
@ Graham, Ty for trying but doesn't seem to really help. Any1 else?
Umm..
List objects = new List();
objects.add(objectId,objX,objY);
Make like an array of the objects, then when they login
for(int i = 0; i < objects.length(); i++) {
spawnObj(objects[i].getX(), objects[i].getY(), objects[i].getX());
}
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |