Jump to content
  • 0

DEVS please Help! getplayerUIDold not working


Guest

Question

Hi there, as the topic already says, i cant get the command getplayerUIDold to work on the newest beta patch from steam ...

 

any ideas why?

 

i cant even find a upright post which tells me in what versions these command is included..

 

EDIT: Im asking devs for help because they have already implemented it for 1.0.5.2, any idea why its not working?

 

Thank You

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

problem is my build origins houses system is based on the old playeruid because this ID is saved as character id and allows them to open/close their doors, if i now do upgrade to the newer build they wont be able to open it anymore unless i change all ids manually in the database

Link to comment
Share on other sites

  • 0

problem is my build origins houses system is based on the old playeruid because this ID is saved as character id and allows them to open/close their doors, if i now do upgrade to the newer build they wont be able to open it anymore unless i change all ids manually in the database

 

With this big a change, it might be a good idea to just do a server wipe, and then you won't have anymore issues after that.

I'm not sure why getPlayerUIDOld isn't working for you.

Link to comment
Share on other sites

  • 0

I disagree, wiping player progress is a lazy admins way out. Write a web page for your players to link their old account with their new one, after logging in on your 1.63 server, then replace all entries of their old id with new..

 

Steam api allows for authentication on new id, you just need a player name match after that.

Link to comment
Share on other sites

  • 0

am i doing anything wrong??

Code:

_playerUIDold = getPlayerUIDOld player;
_playerUID = getPlayerUID player;
cutText[format["PlayerIDS 		OLD: %1 NEW: %2",_playerUIDold,_playerUID],"PLAIN DOWN"];

Output:

ldfwueac.jpg

Link to comment
Share on other sites

  • 0

Slightly off topic, but my only option at the moment is to wipe the character table, and maybe even the object table with the new update as I have no means to sync the old ID with the new ID. Thankfully the old system may still work and I could probably come up with a SQL function or what ever that connects the IDs. 
 

Overall, intresting topic. Will follow.

Link to comment
Share on other sites

  • 0

Hello,

 

we have some similar problem on our server with the playerUIDOld command for permanent plotpoles.

Everythings working for the most players. The command gives the OLD playerUID back like playerUID on the older Arma version.

 

ONLY for one player it doens't work right, he's getting an OLD playerUID of 0.

 

Can't find out, what's the problem...

 

He just activated his arma 2 cd version in steam yesterday, don't know if this has something to do with it.

All other players, did have arma from steam from the start, or activated it a couple of weeks ago.

 

 

Edit:

So, now 1 day later, the Old playerUID of this player is NOT anymore 0. Now everything works, the command gives the right older playeruid back.

 

So dont know, looks like it was because the registration at steam took a while, to set everything...

 

regards

Edited by ABLGDayZ
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...