Skip to content

Commit

Permalink
Update DLMAN with new EO API changes (WIP) (#110)
Browse files Browse the repository at this point in the history
* Update DLMAN with new EO API changes

* Clean dlman a bit and first attempt at score uploading

* Fix score uploads
  • Loading branch information
nico-abram authored and MinaciousGrace committed Nov 20, 2017
1 parent a86de6e commit f95c698
Show file tree
Hide file tree
Showing 8 changed files with 347 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,19 +490,27 @@ local profilebuttons = Def.ActorFrame{
end,
MouseLeftClickMessageCommand=function(self)
if ButtonActive(self) and rankingSkillset == 1 then
username = function(answer)
user=answer
end
password = function(answer)
pass=answer
if PROFILEMAN:UploadProfile(PLAYER_1, user, pass) then
ms.ok("Uploaded profile")
else
ms.ok("Profile upload failed")
if not DLMAN:IsLoggedIn() then
username = function(answer)
user=answer
end
password = function(answer)
pass=answer
if PROFILEMAN:UploadProfile(PLAYER_1, user, pass) then
ms.ok("Uploaded profile")
else
ms.ok("Profile upload failed")
end
end
easyInputStringWithFunction("Password:", 50, true, password)
easyInputStringWithFunction("Username:",50, false, username)
else
if PROFILEMAN:UploadProfile(PLAYER_1) then
ms.ok("Uploaded profile")
else
ms.ok("Profile upload failed")
end
easyInputStringWithFunction("Password:", 50, true, password)
easyInputStringWithFunction("Username:",50, false, username)
end
end
end
}
Expand Down
Loading

0 comments on commit f95c698

Please sign in to comment.