View Single Post
  #1  
Old 06-18-2014, 04:13 PM
Jakov_the_Jakovasaur Jakov_the_Jakovasaur is offline
Deleted by Darlene159
Jakov_the_Jakovasaur's Avatar
Join Date: Sep 2013
Location: Deleted by Darlene159
Posts: 361
Jakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud of
event for guests creating account

hello!

using the following menu, it is possible for guests to create an account in-game:



a big problem i have noticed is that it seems whenever a guest does create an account in this manner, their existing guest account text file is automatically renamed to their related new account

this causes a players attributes to become inconsistent with other means of storage (mainly sql databases), and has the potential to completely break a players account on a server

if there is not such an event already, there really needs to be some event to keep track of this, so that server-specific data can be made consistent with their new text file data

for example:

PHP Code:
function onReceiveText(temp.texttypetemp.textoptiontemp.textlines) { 
  if (
temp.texttype=="lister" && temp.textoption == "accountcreated"){
    
//old account, new account
    
this.prepareNewAccount(temp.textlines[0], temp.textlines[1]);
  } 

thank you!
__________________
This signature has been deleted by Darlene159.
Reply With Quote