Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #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: 354
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
  #2  
Old 07-06-2014, 01:18 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: 354
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
i have now noticed that this actually occurs any time a new account logs on a server for the first time where they have previously logged in using a guest account, transferring the guests stats/weapons to the account, and resetting the guest

there really needs to be a way to detect this if there isnt already, or perhaps even a serveroption to prevent it completely
__________________
This signature has been deleted by Darlene159.

Last edited by Jakov_the_Jakovasaur; 07-06-2014 at 07:50 PM..
Reply With Quote
  #3  
Old 07-06-2014, 03:54 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Just set a flag with their account name for guests, and do a check on that event for it.
__________________
Quote:
Reply With Quote
  #4  
Old 07-06-2014, 04:25 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: 354
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
Quote:
Originally Posted by fowlplay4 View Post
Just set a flag with their account name for guests, and do a check on that event for it.
hello!

that method has occurred to me but it would still be a problem for guest accounts that have logged on prior to implementation. while i personally used a combination of a database and system for loading/saving offline players to rectify this, i imagine it would still be a problem in general across graal, so ideally there would be a simpler built-in solution

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.