SphereServer BugTracker - SphereServer
View Issue Details
0001567SphereServerexecutable - genericpublic08-01-09 22:5324-02-13 22:53
babidi 
Ben 
normalmajoralways
closedno change required 
 
 
09-09-2008
None
None
0001567: some packetx not triggering
not all packetx (sphere.ini) is triggering.

for example 0x80 (packet128) never triggered
it should be triggered first of all this one.

some packet guide i read
http://kec.cz/tartaros/steamengine/uploads/Keirs%20packet%20guide/www.kairtech.com/uo/info/ [^]
http://kec.cz/tartaros/steamengine/uploads/SE%20packet%20guide/www.twilightmanor.net/se/packets33be.html?style=gold&order=packet&subpackets=1 [^]

more on forum thread:
http://www.sphereserver.net/forums/index.php?showtopic=45933 [^]
No tags attached.
Issue History
08-01-09 22:53babidiNew Issue
08-01-09 22:53babidiNightly Version => 09-09-2008
08-01-09 22:53babidiExperimental Flags => None
08-01-09 22:53babidiOption Flags => None
08-01-09 22:56babidiNote Added: 0000147
21-02-09 20:33MrSugarCubeStatusnew => closed
21-02-09 20:33MrSugarCubeNote Added: 0000163
21-02-09 20:33MrSugarCubeResolutionopen => no change required
21-02-09 20:38babidiStatusclosed => feedback
21-02-09 20:38babidiResolutionno change required => reopened
21-02-09 20:38babidiNote Added: 0000164
22-02-09 14:35MrSugarCubeNote Added: 0000166
22-02-09 14:41babidiNote Added: 0000167
22-02-09 14:55MrSugarCubeNote Added: 0000168
22-02-09 16:42babidiNote Added: 0000169
22-02-09 21:04nazghulNote Added: 0000170
22-02-09 21:11babidiNote Added: 0000171
24-02-13 22:52BenStatusfeedback => closed
24-02-13 22:53BenAssigned To => Ben
24-02-13 22:53BenResolutionreopened => no change required

Notes
(0000147)
babidi   
08-01-09 22:56   
i used this to prevent requiring a feature that can be script made.
a function like f_onserver_getconnect or simila
(0000163)
MrSugarCube   
21-02-09 20:33   
You can't filter the 0x80 or 0x91 packets in scripts. You can use the f_onaccount_login instead to detect when clients connect (sphere_serv_triggers.scp).
(0000164)
babidi   
21-02-09 20:38   
f_onaccount_login is trigered only AFTER user and password is correct

the 0x80 is triggered BEFORE sphere check login data
(0000166)
MrSugarCube   
22-02-09 14:35   
What good reason is there to capture the login packet before it has been validated?
(0000167)
babidi   
22-02-09 14:41   
to make a query and create on fly accounts
(0000168)
MrSugarCube   
22-02-09 14:55   
Isn't that what the AccApp setting is for?
(0000169)
babidi   
22-02-09 16:42   
accapp let you create whatever account you want.
with 0x80 you can read users from a db table and create new accounts.

i make you the example of what can do with 0x80

if you do a php that check legth characters and other aspetct of account password and even request an email, let create account only if accept therms and conditios and other features...
(0000170)
nazghul   
22-02-09 21:04   
And why don't you simply let your PHP script create the account, then?

Well, guess MrSugarCubes answer was unmisunderstandable enough :)
(0000171)
babidi   
22-02-09 21:11   
because can't activate them imediatly.
if submit an account on sphereaccu then i get it activated only on worldsave or account refresh.