Raggaer / castro

High performance content management system for Open Tibia servers
MIT License
46 stars 19 forks source link

Tibia 11 login #45

Open Raggaer opened 7 years ago

Raggaer commented 7 years ago

Make tibia 11 login page

Aerwix commented 6 years ago

It's ready?

Raggaer commented 6 years ago

@forgee Is working on it, I saw some progress and so far so good, but I have no idea if its finished

forgee commented 6 years ago

Normal login and two factor authentication is finished. Cast support is coming, but I have to look into the different cast systems and how to handle password protected casts.

joseluis2g commented 6 years ago

How is this

Raggaer commented 6 years ago

No progress, but should be easy to make using lua

Raggaer commented 6 years ago

I did something in lua but never finished it, but using the json package and the http write function should be anough to make this

joseluis2g commented 6 years ago

Could you post it as gist or smth

Raggaer commented 6 years ago

Something like this

function get()
  local data = json:unmarshal(http.body)
  print(data.password)
end

Then you could take a look at znote login and add whats missing, ill try to work on this the following weeks

forgee commented 6 years ago

I uploaded what I have. It is a simple plugin that adds a page to handle the post request. Connect using domain/nocsrf/play

It worked with 11.49.5813 but I have not been able to test with a newer client.

https://github.com/forgee/castro-client11 https://plugins.castroaac.org/view/castro-client11