PVEPlugin- a private vehicle extension

Discussion in 'Addons' started by B.A.D., Sep 25, 2018.

  1. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    This plugin gives your players the opportunity to claim and lock/unlock up to 5 vehicles that are spawned around the map.

    thanks to Yama for some thoughts and ideas about my code.
     

    Attached Files:

    Irkutsk86 and Yama like this.
  2. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    IMPORTANT NOTICE!

    theres apparently some Kind of incompatibility between desolation redux and my Plugins InverntoryOpened Eventhandler so People who want to use this Plugin without any strange Things Happening will have to edit their desolation server files as a Workaround.

    Please use the attached files in order to get Things working.sorry for the Trouble :)

    -
     

    Attached Files:

    Legodev likes this.
  3. Ice68

    Ice68 New Member

    Joined:
    May 19, 2018
    Messages:
    4
    Likes Received:
    1
    Thank You
     
  4. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    Not for that dude.plugin shouldve been working to start with.
     
  5. skueneth

    skueneth Member

    Joined:
    Nov 29, 2017
    Messages:
    105
    Likes Received:
    0
    Hey thanks for developing this plugin. Can you tell us, in which files of Desolation.pbo Workaround changes were made ?
     
  6. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    Desolation/client/pluginevents/fn_InventoryOpened.sqf

    I am at work but from the top of my head that's the right path
     
  7. skueneth

    skueneth Member

    Joined:
    Nov 29, 2017
    Messages:
    105
    Likes Received:
    0
    hey, thanks.
     
  8. skueneth

    skueneth Member

    Joined:
    Nov 29, 2017
    Messages:
    105
    Likes Received:
    0
    Hey nice plugin and we used it all the time. But now we have problems. Player hast lost / destroyed / abandoned vehicles somewhere in world. He gets the message, that he has already claimed 5 vehicles. How can we delete exactly this 5 desotryed vehicles from db, so he can claim new ones ? Can you write down the exact and complete db statement ? thanks
     
  9. skueneth

    skueneth Member

    Joined:
    Nov 29, 2017
    Messages:
    105
    Likes Received:
    0
    Or simply complete statement, with which we can delete all vehicles (type3) of one player with specific steamid. thanks
     
  10. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    if you read the Code that Claims vehicles you will see that ist a variable on the Players, not on the vehicles.you could now go ahead,open the table "persistant variables", check your Players entry in form view and Change "pvar_vc_claimed_vehicles" to Zero ^^.
    And, i promise, the Vehicle will have his PUUID on it and thats also something you could figure with using the "find" function your database interface will "most probably have", taking into account that only one Player has a certain puuid.
    This doesnt require to potentially fck up your db with Statements you may not understand.

    but that would require you guys to finally start doing Things by yourself.
     
    Last edited: Feb 2, 2019
  11. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    PS: theres a completely integrated Version of VehicleClaiming.pbo in the next patch of DSR tho so everyone will be happy
     
  12. skueneth

    skueneth Member

    Joined:
    Nov 29, 2017
    Messages:
    105
    Likes Received:
    0
    Hey thanks, I found the table. Many cryptic uuid. How can I find him with the steam-id ?
     
  13. B.A.D.

    B.A.D. Active Member

    Joined:
    Dec 21, 2017
    Messages:
    109
    Likes Received:
    28
    Think about it one more time...

    ...do other tables exist?
    ...do they contain player names?

    And finally: do the player names entries have a uid column?

    If you can answer all this questions with Yes you have only one question left


    "Am i able to fill in text to the search bar of my db interface?"
     

Share This Page