Anonymous | Login | Signup for a new account | 02-01-25 17:54 CET |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0001816 | SphereServer | new feature request | public | 15-09-10 07:26 | 17-10-12 00:37 | |
Reporter | Coruja | |||||
Assigned To | Terrikate | |||||
Priority | normal | Severity | minor | Reproducibility | N/A | |
Status | resolved | Resolution | fixed | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | 0.56c Nightly | ||||
Summary | 0001816: f_onaccount_create | |||||
Description | sphere_serv_triggers.scp: [PLEVEL 7] f_onaccount_login f_onaccount_delete f_onchar_create f_onchar_delete f_onserver_start f_onserver_save f_onserver_save_ok f_onserver_save_fail f_onserver_save_finished f_onserver_exit f_onserver_blockip where's f_onaccount_create? :D | |||||
Tags | No tags attached. | |||||
Nightly Version | 20-09-2009 | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
Notes | |
(0000669) ShiryuX (developer) 22-09-10 21:37 |
The only situation able to use this is 'Free Account' but is the same as using _login in there. For the rest of account creation methods, you either create them manually or with an automated script. Any real use for this? |
(0000675) Coruja (developer) 24-09-10 07:49 |
It usefull in some cases that you must add accounts using SERV.ACCOUNT ADD ingame, since you cant create an MySQL table for this account just typing "serv.account add lol". It can be done with a custom function [FUNCTION NewAccount] //SINTAX: NewAccount login,password SERV.ACCOUNT ADD <ARGV0> <ARGV1> DB.CONNECT DB.something DB.CLOSE But using f_onaccount_create we got more control over account creation because you can deny the creation without using workarounds (disabling SERV.ACCOUNT ADD function and make ppl use just the custom NewAccount function). Btw its easier to use, because when I write SERV.ACCOUNT ADD the account info will be stored on SQL, and when this account get deleted it will delete account info on SQL too in the same way it get stored. [FUNCTION f_onaccount_create] //store account info on SQL [FUNCTION f_onaccount_delete] //delete account info from SQL |
Issue History | |||
Date Modified | Username | Field | Change |
15-09-10 07:26 | Coruja | New Issue | |
15-09-10 14:27 | ShiryuX | Note Added: 0000633 | |
15-09-10 14:27 | ShiryuX | Note Edited: 0000633 | View Revisions |
15-09-10 14:28 | ShiryuX | Note Deleted: 0000633 | |
22-09-10 21:37 | ShiryuX | Note Added: 0000669 | |
24-09-10 07:49 | Coruja | Note Added: 0000675 | |
17-10-12 00:37 | Terrikate | Status | new => resolved |
17-10-12 00:37 | Terrikate | Fixed in Version | => 0.56c Nightly |
17-10-12 00:37 | Terrikate | Resolution | open => fixed |
17-10-12 00:37 | Terrikate | Assigned To | => Terrikate |
Copyright © 2000 - 2010 MantisBT Group |