Thread: [ADVNC ONLY]Global Object Updating [REWARD]

Results 1 to 7 of 7
  1. #1 [ADVNC ONLY]Global Object Updating [REWARD] 
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    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?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jul 2009
    Posts
    187
    Thanks given
    70
    Thanks received
    9
    Rep Power
    212
    Hmmm that I don't know. If you're desperate use your process way.
    Spoiler for Scu is funny:




    Reply With Quote  
     

  3. #3  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    But the process way is shitty and it's bugged.
    Reply With Quote  
     

  4. #4  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,074
    Thanks given
    2,625
    Thanks received
    3,579
    Discord
    View profile
    Rep Power
    5000
    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.
    .
    Reply With Quote  
     

  5. #5  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    @ Graham, Ty for trying but doesn't seem to really help. Any1 else?
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jun 2008
    Age
    24
    Posts
    2,313
    Thanks given
    485
    Thanks received
    231
    Rep Power
    0
    Umm..

    List objects = new List();

    objects.add(objectId,objX,objY);
    Reply With Quote  
     

  7. #7  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    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());
    }
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •