SphereServer BugTracker - SphereServer |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002244 | SphereServer | new feature request | public | 22-11-13 05:57 | 18-01-14 00:35 |
|
Reporter | Coruja | |
Assigned To | Ben | |
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 | |
Nightly Version | Automated (specify build number) |
Experimental Flags | None |
Option Flags | None |
Internal Build Number | |
|
Summary | 0002244: Custom functions on SERV.ACCOUNT UNUSED |
Description | Actually the "SERV.ACCOUNT UNUSED xxx DELETE" only accept DELETE as command.
It would be great if it accept any function, with this thing ppl will be allowed to create a more customized engine to control inactive accounts
EG: on my server I want some inactive VIP accounts just got flagged with a TAG.Inactive without being blocked/removed, and block some others accounts with valuable items, and delete the remaining inactive useless accounts. But I can't do this since the SERV.ACCOUNT UNUSED only accept DELETE as command |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
22-11-13 05:57 | Coruja | New Issue | |
23-11-13 19:39 | Ben | Note Added: 0001781 | |
23-11-13 19:49 | Ben | Status | new => closed |
23-11-13 19:49 | Ben | Assigned To | => Ben |
23-11-13 19:49 | Ben | Resolution | open => no change required |
16-01-14 07:05 | Coruja | Note Added: 0001910 | |
16-01-14 07:05 | Coruja | Status | closed => feedback |
16-01-14 07:05 | Coruja | Resolution | no change required => reopened |
17-01-14 15:40 | darksun84 | Note Added: 0001913 | |
17-01-14 15:41 | darksun84 | Note Edited: 0001913 | bug_revision_view_page.php?bugnote_id=0001913#r558 |
17-01-14 17:33 | Coruja | Note Added: 0001914 | |
17-01-14 17:33 | Coruja | Status | feedback => assigned |
18-01-14 00:35 | Ben | Note Added: 0001915 | |
18-01-14 00:35 | Ben | Status | assigned => resolved |
18-01-14 00:35 | Ben | Fixed in Version | => 0.56c Nightly |
18-01-14 00:35 | Ben | Resolution | reopened => fixed |
Notes |
|
(0001781)
|
Ben
|
23-11-13 19:39
|
|
Did you even try to set a tag this way or are you just guessing based on the fact that the wiki doesn't specify it can? |
|
|
(0001910)
|
Coruja
|
16-01-14 07:05
|
|
I already tried here, maybe I wrote the wrong info when I reported this problem :P
SERV.ACCOUNT UNUSED works with other commands, not just DELETE. The problem is that this thing works only using 'internal' functions but not using custom functions on script
Example:
SERV.ACCOUNT UNUSED 666 SERV.LOG LOL //<- this line works and will return many logs on console
SERV.ACCOUNT UNUSED 666 roflmao //<- this line doesnt work and doesnt return any log on console
[FUNCTION roflmao]
SERV.LOG LOL |
|
|
(0001913)
|
darksun84
|
17-01-14 15:40
(edited on: 17-01-14 15:41) |
|
Correct way is
serv.account unused 666 serv.roflmao
Matched 1 of 3 accounts unused for 3 days
15:41:(test.scp,6)test
|
|
|
(0001914)
|
Coruja
|
17-01-14 17:33
|
|
nice, using this sintax it works :D
but now there's another problem, the function works but there's no way to get any reference to the account. I dont know if I'm missing something or if really doesnt works
SERV.ACCOUNT UNUSED 666 SERV.roflmao //(already tried SRC, ACT, etc)
[FUNCTION roflmao]
SERV.LOG lol <UID> / <SRC> / <ACT> / <ARGO> / <LINK> / <TARG> / <REF1> //this will return 0 or error on all these references |
|
|
(0001915)
|
Ben
|
18-01-14 00:35
|
|
Ok, this is now fixed.
This probably also allows custom functions to be used in places that were previously not able too, but I have not found any yet :) |
|