Anonymous | Login | Signup for a new account | 19-04-25 20:10 CEST | ![]() |
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 | |
0001982 | SphereServer | executable - generic | public | 18-06-11 15:24 | 24-06-11 01:46 | |
Reporter | babidi | |||||
Assigned To | ||||||
Priority | normal | Severity | major | Reproducibility | always | |
Status | closed | Resolution | no change required | |||
Platform | OS | OS Version | ||||
Product Version | 20-09-2009, 0.56b Prerelease | |||||
Target Version | Fixed in Version | |||||
Summary | 0001982: f_onaccount_login ARGO can't be used | |||||
Description | i remember that argo was introduced to permite sending a sysmessage to client to give a reason of why is not permited to login but now it does not work [FUNCTION f_onaccount_login] ARGO.SYSMESSAGE LOGIN NOT PERMITED FOR YOU! return 1 | |||||
Tags | No tags attached. | |||||
Nightly Version | Not Available | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | 1468 | |||||
Attached Files | ||||||
![]() |
|
(0001121) Mirravin (reporter) 18-06-11 16:49 |
It is because ARGO is a client, but not a character. So character-based functions don't work with it. |
(0001124) babidi (reporter) 18-06-11 17:17 |
is there no reason to have argo if can't be used i remember it was put there because of message when reject login like onchar_create src.sysmessage doesn't work but argo.sysmessage works |
(0001131) MrSugarCube (administrator) 19-06-11 02:19 |
ARGO.SYSMESSAGE works fine in f_onaccount_login. The problem is that returning 1 indicates that the connection should be closed, and Sphere will only wait long enough to send high-priority packets before terminating a connection. You could try ARGO.FLUSH after the SYSMESSAGE, which should improve the chances of the packet being sent. |
(0001132) babidi (reporter) 19-06-11 02:29 |
you're right i solved this way if (<argn1> == 3) ARGO.SYSMESSAGE @021 LOGIN NON ALLOWED! ARGO.FLUSH elif (<argn1> == 4) return 1 endif |
![]() |
|||
Date Modified | Username | Field | Change |
18-06-11 15:24 | babidi | New Issue | |
18-06-11 16:49 | Mirravin | Note Added: 0001121 | |
18-06-11 17:17 | babidi | Note Added: 0001124 | |
19-06-11 02:19 | MrSugarCube | Note Added: 0001131 | |
19-06-11 02:29 | babidi | Note Added: 0001132 | |
24-06-11 01:46 | MrSugarCube | Status | new => closed |
24-06-11 01:46 | MrSugarCube | Resolution | open => no change required |
Copyright © 2000 - 2010 MantisBT Group |