Well, as I mentioned a few pages back...my build of Reality doesn't have "foreign keys" at all in instances_deployable. Instead the would be foreign keys are indexes...that's why I posted the index page. Do you have index entries? Also, did you try remove all the foreign keys or just the one...
Well first off in my experience with modding, 95% of the time you put out a feature or a fix people will consume and use it without providing any feedback at all (especially if they got it working on their own) unless they don't get it working.
The changes I made negate the point you are...
I'm getting feeling that my Reality fix isn't working for some people because there have been some mistakes made along the way of your installations :p
Well, there are always two types of owner ID's. You have the characterID which is limited to you current character (so if you die, you get a new ID, cause it's a new survivor) and the other is your Player UID. Kikyou2's changes utilize the Player UID so that your ownership remains persistent...
You might have installed everything correctly, but your database is at fault. I fixed this early on by simply updating my schema. Beyond that idk how to help ya yet, as I'm still learning MySQL syntax.
@Gweincalar After deleting the key, is it saving properly? If not, add the keys as index...
Bliss or Reality? If Bliss I can't really confirm it works or provide support beyond pointing toward database tweaks like La.usch.io's post. I guess I should edit my post to reflect that.
@Matt2k When you say custom buildings, do you mean recipes you made or the standard base building recipes...
Unfortunately this won't get us very far. It may solve the immediate issue of the deletion but it's being deleted as a cleanup since the tent is not getting assigned a correct UID. It is being given an ID of 0, which according to the above (and to my logs) cannot happen. So the tent will still...
Tried this fix...then instead of tents simply not saving, you place them and the server removes them immediately after with this:
23:51:33 "DEBUG: Deleting object TentStorage with invalid ID at [6885.52,11462.5,0.000793457]"
That should definitely help users who don't want to upgrade to Reality. I didn't mention this before but I have run into this problem after my testing. However I'm working on fixing the issue with tents as I post this.
Heh, you know you can upgrade the database DayZ.ST gives you to a Reality build right? I'm running DayZ.ST as well. I just upgraded the schema to 0.39...
Your issue seems, at this point, to be in the DB itself rather than the code. The code is trying to inject the deployable data into your table but it's failing because mySQL can't/won't accept it with the constraint error. But yeah, I'm still a newb at database stuff so the column data was my...
Not entirely sure, I'm still new to MySQL. I can tell you I'm running MySQL 5.5 though, so you got 1 up on me. Are you sure you successfully merged the Reality package all the way up to the 0.39 schema? I went back and tried my fix on a Bliss Hive at schema 0.30 and got the same error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.