Author Topic: Registration&login functions  (Read 5690 times)

Offline Abaddon Raptus

  • Die for .NET
Registration&login functions
« on: November 21, 2012, 08:05:16 am »
How can I register or login character from client code? Any functions? No description for same functions in manual and nobody reply me on russian forum, mabe here someone now answers on this questions? :)

For example: I called in script some bool function to register character: register("192.168.0.1", "Newbie","12345pass"); and wuala new character registered and as result a have "true"(or "false" if register failed)!
I call some bool func to login: login("192.168.0.1", "Newbie", "12345pass"); and client login on character with name Newbie with pass: 12345pass.

Offline Wipe

  • Rotator
  • Random is god
Re: Registration&login functions
« Reply #1 on: November 21, 2012, 09:34:30 am »
That's not possible, for now. Both, login and register calls are not exposed to scripts, but attached to hardcoded screens buttons. When mentioned screens will be created in scripts (what is planned for all CLIENT_SCREEN_*), proper functions will be added as well.
Games are meant to be created, not played...

Offline Abaddon Raptus

  • Die for .NET
Re: Registration&login functions
« Reply #2 on: November 21, 2012, 09:58:29 am »
What about time? "Coming soon" or "When will be done"?) Is that task in progress?

Offline Wipe

  • Rotator
  • Random is god
Re: Registration&login functions
« Reply #3 on: November 21, 2012, 11:02:18 am »
Currently i'm waiting for AngelScript to be updated in engine - i need some of AS features/fixes which are present in newer versions. So yes, it's in progress - i'm aiming in merging TLA and 2238 gui (there are some differences in how GUIElement works in both versions) when it comes to basic functionality, and add some (if not all) elements which was present in GUImod (by kuna). Other than that, gui code needs general refreshing - i want to use few AS features which wasn't present in the time when first version was made (for example, using funcdef for callbacks, instead of interfaces).

...but time... well, it's safer to use "when it's done", no idea how much it may take, and what problems i encounter :)
« Last Edit: November 21, 2012, 11:04:13 am by Wipe »
Games are meant to be created, not played...

Re: Registration&login functions
« Reply #4 on: November 21, 2012, 11:19:49 am »
For example: I called in script some bool function to register character: register("192.168.0.1", "Newbie","12345pass"); and wuala new character registered and as result a have "true"(or "false" if register failed)
Hm maybe only chance to create char by just generating char file in save/clients.

Offline Abaddon Raptus

  • Die for .NET
Re: Registration&login functions
« Reply #5 on: November 21, 2012, 11:32:40 am »
Not possible, there is encrypted files. In old revisions chars save in not encrypted files, but using old revision - not decision, coz there many bugs and bad optimization.