Jump to content

abumini

Members
  • Posts

    51
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About abumini

Contact Methods

  • Website URL
    #

Profile Information

  • Gender
    Not Telling
  • Country
    Portugal

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

abumini's Achievements

Newbie

Newbie (1/16)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. amazing share, amazing guy!
  2. I'ts base64, the default. "PasswordHashType": "Default", I've tried to debug the code, on login, the password verification, runs this method: public static string ToL2Password(this string str) { if (Startup.Configuration.GetValue<string>("TargetServerType") == "L2OFF") { if (Startup.Configuration.GetValue<string>("PasswordHashType") == "Default") { return L2OffCrypto.EncryptLegacyL2Password(str); } else { return L2OffCrypto.EncryptMD5(str); } } /* and it always ends in choosing else, since the server is L2j, login works, change password doesnt*/ else { SHA1 shA1 = SHA1.Create(); byte[] bytes = new ASCIIEncoding().GetBytes(str); str = Convert.ToBase64String(shA1.ComputeHash(bytes)); return str; } } and it works for the login, but when it comes to changing the password, it always ends up in error 501 : [HttpPost] [Route("changepass")] public async Task<IActionResult> ChangePassword([FromBody] ChangePassViewmodel model) { if (User.Identity.IsAuthenticated) { var accountName = HttpContext.GetUsername(); var response = await _requestService.ChangePassword(accountName, model.CurrentPassword.ToLegacyL2Password(), model.NewPassword.ToL2Password()); switch (response.ResponseCode) { case 200: return Content("ok"); case 500: return Content(_localizer["Something went wrong!"]); case 501: return Content(_localizer["Invalid password!"]); } } return Unauthorized(); } And I don't get any error messages on the console either from the API or from the website.
  3. I'm not at home now, but I think i left it as default. Where can I confirm it ? Im getting error 501 Invalid Password.
  4. Did anyone had problems with the change password part? I'm getting always "Invalid Password", even if I input the correct password. I got a feeling that the function isn't comunicating with the API/database. I'm using it with Acis. If anyone got some hints I let me know ;) Thanks
  5. Can anyone give me hint here. Everything works fine, except the registration. I'm getting unsuccessfull registration, don't know why. Any hints?
  6. Your having permission errors, see if the user running the program has enought privileges.
  7. Hi again lol. After getting it to work on windows, I embarqued on a new journey, trying to get it to work on linux! And it hasn't been easy. Anyone here who has this platform, the website part, working with linux? I could use some barinstorming or advices on what to use. And before you start posting links, I've already fallowed the one Elfocrash left from Microsoft on running .NET core project on apache
  8. It was remote connection, but I've already given up the idea of running l2off :/ l2j is so much simple and organized. Thanks for the reply ;)
  9. Wrong NAS propertie at firewall. problem solved. Close plz
  10. is this inside Eclipse or on the operative system java folder? Answer: This must go inside the cliente that's running the ASP.net Got it working. It now seems so simple -.-' Sorry about beeing a pane in the ass for some.
  11. I've been tryin to get this L2ACP system to work on my server, but without any luck of working. I've compiled the projects, edited and corrected the api for Acis, published the web app, but my server for some unkown reasonit doesnt responde to the requests made from the web app. I've checked port 8000 on my server firewall and was open, tryed with DMZ, and still with no luck. I believe something is wrong, but don't know why, the api was properly corrected, server is running without errors, but the web app doesnt comunicate with the port 8000 on the server. HELP :) thanks
  12. When I run the gameserver with the API in it, and test the port 8000 to see if the application is listening, the report says it doesnt. dumb question: Does the website app needs to be on the same machine as the gameserver to be able to run the website application? Problem solved, wrong number on NAS route. my bad....
  13. So the connection is made to the port 8000, to the api correct? I have my website in a differente server than my gameserver. However I'm not beeing able to get a connection to the api on the gameserver, port 8000 is open, I've even tryed with DMZ on. Is there anything we need to do on the API ? and yes, before you question the obvious, I'm not using http://127.0.0.1:8000/api, im using it with my gameserver ip. http://gameserver_ip_here:8000/api Problem solved
  14. Hi everyone, I'm having some trouble connecting to my server. I've configured the server files like 3 times already from nothing, and I always end up with either stuck on server selection or with a disconnect message, or a Access Failed message. I've done a lot of work with L2j, but L2OFF is an entire new world for me... If anyone could help m I would appreciate it. thx
  15. I've already noticed that a long time... And in my previews reply I questioned that same point, and I left an example on how I think it should be in case of an l2j mysql connection. Should it look like this ? I couldn't connect either, so answers like your just beeing redundante don't help much, confirmation on the other hand help, like yes, or no, try it this way. So I'll ask again, should it be like this? connectionString_lin2world="Data Source=localhost;port=3306;Initial Catalog=SampleDB;User Id=mudassar;password=pass@123" connectionString_lin2db="Data Source=localhost;port=3306;Initial Catalog=SampleDB;User Id=mudassar;password=pass@123" because what is left there doesnt have login and password to connect to the database: "ConnectionString_lin2world": "Data Source=PJASICEK-PC\\SQLEXPRESS;Initial Catalog=lin2world;Integrated Security=True", "ConnectionString_lin2db": "Data Source=PJASICEK-PC\\SQLEXPRESS;Initial Catalog=lin2db;Integrated Security=True", from my breef contact with L2Off files I know there is a database lin2world and lin2db, on l2j there isn't one, so I'm a bit confused as to, am I looking at the proper place? I've never worked on VIsual Studio to launch apps for webserver, so I'm learning, the same way I learned how to work with java, the difference is that on java there is a lot of documentation, or used to be, on asp.net regarding lineage 2 projects there isn't much. If you could point me in the direction I need to go, I would really appreciate. Thanks
×
×
  • Create New...