Thread: Object problem

Results 1 to 10 of 10
  1. #1 Object problem 
    Registered Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I have ran into a problem with objects in my server. There's no such file as object manager and it seems to take object locations from map .dat and .idx files.
    Because of that i cant define a bank location and it wont open although it shows up client sided. What do i do ?

    Edit

    I found where to place an object and my first click is configured properly. Although when i put in new bank booth it doesnt work, the old ones do work so it cant be first click option configured wrong. What should i do. Could it be that i have to edit client.java? The base is ruse
    Last edited by tfwfriendzone; 08-06-2019 at 01:57 PM. Reason: Edit
    Reply With Quote  
     

  2. #2  
    Arix Developer

    Tutus Frutus's Avatar
    Join Date
    Feb 2018
    Posts
    340
    Thanks given
    72
    Thanks received
    176
    Discord
    Tutus Frutus#0001
    Rep Power
    574
    What base are you using?
    Should be spawning it either server or client sided in a way.

    Some objects spawn through the map files, however you declare their actions server-sided based on their ID.
    So as soon as they spawn you can add the option server-sided still to open them.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    So basically you're saying that it should work just by spawning in object 2213? Because if thats the case it doesnt work. Other bank booths have the same id but the one i spawn in doesnt open up. Source im using is liquidx

    Also is there ant way to open up those .dat and .idx files the way they could be readable normaly because i can see the server is loading objects from those files. Although it doesnt explain why i cant open bank booths that are the same id as the rest are
    Reply With Quote  
     

  4. #4  
    Arix Developer

    Tutus Frutus's Avatar
    Join Date
    Feb 2018
    Posts
    340
    Thanks given
    72
    Thanks received
    176
    Discord
    Tutus Frutus#0001
    Rep Power
    574
    Quote Originally Posted by tfwfriendzone View Post
    So basically you're saying that it should work just by spawning in object 2213? Because if thats the case it doesnt work. Other bank booths have the same id but the one i spawn in doesnt open up. Source im using is liquidx

    Also is there ant way to open up those .dat and .idx files the way they could be readable normaly because i can see the server is loading objects from those files. Although it doesnt explain why i cant open bank booths that are the same id as the rest are
    Bank Booths SHOULD open up no matter what if the ObjectOptionOne is configured correctly.
    LiquidPS is one big customscape, it should have a form of custom object spawning for sure...
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Bump
    Reply With Quote  
     

  6. #6  
    Crandor - Owner
    C.T.'s Avatar
    Join Date
    Jan 2019
    Posts
    162
    Thanks given
    38
    Thanks received
    51
    Rep Power
    42
    case BANKBOOTHID:
    player.setUsingBankSearch(false);
    Bank.openUpBank(player, player.getLastBankTabOpened(), true, true);
    break;

    In your first click object class, look for where bank booths are opened then add your bank to there piece of code. use the code above for an example.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    The first click is configured correctly i mean i told you that other banks that existed in the game before i downloaded the source are working, the new ones that i add arent tho. Nonetheless ty for response
    Reply With Quote  
     

  8. #8  
    Crandor - Owner
    C.T.'s Avatar
    Join Date
    Jan 2019
    Posts
    162
    Thanks given
    38
    Thanks received
    51
    Rep Power
    42
    case 1234:BANK BOOTH IDS
    case 2345:BANK BOOTH IDS
    case 6789:BANK BOOTH IDS
    player.setUsingBankSearch(false);
    Bank.openUpBank(player, player.getLastBankTabOpened(), true, true);
    break;

    add your new bank booth ids to the object click or they wont open
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    But what if the other banks open with the same id. All the bank booths im using are the same id 2213
    Reply With Quote  
     

  10. #10  
    Crandor - Owner
    C.T.'s Avatar
    Join Date
    Jan 2019
    Posts
    162
    Thanks given
    38
    Thanks received
    51
    Rep Power
    42
    Doesn't matter what the other ids are dude, just add your new bank booth id to the case list so it knows to open that case too if clicked.
    There is lots of different ids for bank booths.
    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

Similar Threads

  1. [EMULOUS] Object Problem
    By Leonidas in forum Help
    Replies: 2
    Last Post: 11-05-2009, 06:06 PM
  2. Global Object Problem Codeusa!!
    By Offline ltd in forum Help
    Replies: 0
    Last Post: 07-17-2009, 08:19 PM
  3. Object problem(stalls)
    By Nemmyz in forum Help
    Replies: 5
    Last Post: 05-22-2009, 04:27 PM
  4. object problems
    By Hexagon in forum Help
    Replies: 0
    Last Post: 02-11-2009, 07:22 PM
  5. [508] Object Problems
    By Lingerz in forum Help
    Replies: 5
    Last Post: 01-29-2009, 11:58 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •