View Full Version: Auto Login With Hook, Possible ??

DimensioneX Forum > Developers' Pub > Auto Login With Hook, Possible ??



Title: Auto Login With Hook, Possible ??


cotteux - March 18, 2007 10:46 PM (GMT)
Hi

I try to remove username from the connect panel.

It's working except i'm not able to click on connect button. Need username.

I try to send username by hook and start game, i don't see how.

My test Panel


Some Idea

Try to modify Four in Line for my Game site.

Cotteux

www.mygamesjungle.com

Cris - March 19, 2007 06:40 PM (GMT)
If the game doesn't support Save game (i.e. no saved profiles) then you can implement the login form externally and then use that one to open the game session.

Try copying the html form in the login screen, and modify that one, perhaps by placing a default VALUE as username or by putting the username field as an HIDDEN field.

You also need a cusomized copy of the standard.client file to tell the browser that it needs to open your custom login form instead of the standard controls window.


If the game deos support save game (but this is not the case for 4-in-line) then you would need a way to skip the authentication/load profile step, and I have no simple means to do that. But this should not be your case so try and post again if you need help.

cotteux - June 3, 2007 11:57 PM (GMT)

Ok, other technic for autologin.

If i change the option debugmode=1, you can autologin but the second person

can't enter because he have the same login.

It's possible to use debugmode=1 and 2 or 3 people can connect without login problem.

It's possible to put name player1 and if player1 exist change to player2 in a script.

if yes, what is the name of the variable.

Thanks

Cotteux

Cris - June 14, 2007 11:39 AM (GMT)
QUOTE (cotteux @ Jun 4 2007, 12:57 AM)
Ok, other technic for autologin.

If i change the option debugmode=1, you can autologin but the second person

can't enter because he have the same login.

It's possible to use debugmode=1 and 2 or 3 people can connect without login problem.

It's possible to put name player1 and if player1 exist change to player2 in a script.

if yes, what is the name of the variable.

Thanks

Cotteux

no no, debugmode=1 just uses always the same login name.

You should try the other way round, the one I told you earlier.

This will work.

I reckon you would go faster if I help you.

If you give me some details on your game project I can surely arrange somethign for you.

Write me at cris (at) dimensionex.net

cheers




Hosted for free by InvisionFree