New bug in dbsever?

Results 1 to 7 of 7
  1. #1
    Elite Member qwqwqw is offline
    Member +Rank
    Sep 2003 Join Date
    LithuaniaLocation
    144Posts

    New bug in dbsever?

    Me and some friends are playing with the files and dbsever is sometimes saying cannot add to TBL_UserItems violation of primary key.
    But there is only 1 item with the primary key

    so maybe the item is not deleted from database before it goes to new char and added to database again
    or maybe some dupe bug

    or maybe something else

    sometimes when this happens the item vanishes too :eek:


  2. #2
    Grand Master thedeath is offline
    Grand MasterRank
    Mar 2003 Join Date
    at the place i'Location
    1,309Posts

    Re: New bug in dbsever?

    ye i noticed the server sometimes 'dupes' (not really duping but anyway) certain shop items like torches
    server likes to use the same makeindex 2/3 times for same item
    just allow it to dupe i'd say (not seen any good items dupe just torches, teleport scrolls)
    and well the stacked items use the same id on purpose aswel so :(

  3. #3
    Elite Member qwqwqw is offline
    Member +Rank
    Sep 2003 Join Date
    LithuaniaLocation
    144Posts

    Re: New bug in dbsever?

    No no these items drop from monster or GM made
    it happens when player A drop item and player B pick up (also trade to)
    it says can not insert value violation of primary key TBL_UserItems
    error inserting item char:playerb idx:3166723

    and sometimes not always item vanish and these are good items!

  4. #4
    Grand Master thedeath is offline
    Grand MasterRank
    Mar 2003 Join Date
    at the place i'Location
    1,309Posts

    Re: New bug in dbsever?

    just enable duplication :p
    obviously if an item is traded it can get duped for a short while
    (normaly dbserver only saves every 10 mins or when you logout so if the person recieving the item gets saved before the person giving the item then it's 'duped' untill the person giving the item gets saved

  5. #5
    Elite Member qwqwqw is offline
    Member +Rank
    Sep 2003 Join Date
    LithuaniaLocation
    144Posts

    Re: New bug in dbsever?

    So remove primary key?

  6. #6
    Grand Master thedeath is offline
    Grand MasterRank
    Mar 2003 Join Date
    at the place i'Location
    1,309Posts

    Re: New bug in dbsever?

    yes

  7. #7
    Elite Member qwqwqw is offline
    Member +Rank
    Sep 2003 Join Date
    LithuaniaLocation
    144Posts

    Re: New bug in dbsever?

    I did this
    I set char name and idx to combined primary key this way 1 person can not dupe but allows accidental "dupe"



Advertisement