asdfqwerty
New Member
Hello,
In order to get a custom script working (which allows players to remove buildables and plotpoles, even after death) I need to be able to insert the playerUID instead of the characterid into the object_data table under the "characterID" column.
Now i actually got this to work, except for one issue:
Data from people with playerUID's ending with AX or PF, or any letters in it for that matter, are not being written to the object_data table. Therefor, these people cannot use the modular building feature because the database simply doesn't write their data to the database.
At first i thought this is easy, just change the characterID column datatype from INT to VARCHAR so it would allow letters as well. I did this, but players with letters in their playerUID still can't build anything (it just doesn't update the database when building something).
I'm almost certain there's a file somewhere that checks for INT or something like that before it injects into the object_data table. But i can't seem to find it!
Does anyone have a suggestion for this?
In order to get a custom script working (which allows players to remove buildables and plotpoles, even after death) I need to be able to insert the playerUID instead of the characterid into the object_data table under the "characterID" column.
Now i actually got this to work, except for one issue:
Data from people with playerUID's ending with AX or PF, or any letters in it for that matter, are not being written to the object_data table. Therefor, these people cannot use the modular building feature because the database simply doesn't write their data to the database.
At first i thought this is easy, just change the characterID column datatype from INT to VARCHAR so it would allow letters as well. I did this, but players with letters in their playerUID still can't build anything (it just doesn't update the database when building something).
I'm almost certain there's a file somewhere that checks for INT or something like that before it injects into the object_data table. But i can't seem to find it!
Does anyone have a suggestion for this?