Jump to content

Script47

Members
  • Content Count

    1,141
  • Joined

  • Last visited

  • Days Won

    4

Script47 last won the day on April 2 2019

Script47 had the most liked content!

Community Reputation

28 Excellent

About Script47

  • Rank
    Intermediate

Recent Profile Visitors

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

  1. Just in case it gets seen here first before Github: https://github.com/ChristopherDay/Gangster-Legends-V2/pull/54 Added a backward compatible way to update the hash algo from `sha256` to use the preferred `password_hash`/`password_verify` methods. - Introduced two new methods `hash_password($var)` and `verify_password($salt, $password, $compareTo = null)` and deprecated the old `encode` method - Removed the user ID salt as `password_hash` handles salt generation I've tested login and register with both passwords using the old algo and the new one but can't test forgot password locally, though, theoretically it should work as login and register do.
  2. Script47

    Why developers hate PHP

    Do you mean "LoL" as in he's wrong? Because I agree with that article, wholeheartedly. As powerful as PHP is and as clean as it can be - especially with a solid framework like Laravel or Symfony - you'll still have folks churning out bad code which some poor soul will have to maintain because management doesn't see any immediate financial incentives in taking some time out to redo it hence the bad taste that is left in the mouth of the maintainer. Ultimately, the OP of the article hit the nail on the head with the statement: "Using PHP it’s very easy to produce bad code. Other languages have many more restrictions." But, the future is looking promising and TBF, with the advent of PHP 7, you should be able to write clean, robust, and maintainable code, now. Unfortunately, PHP 7.1 is now in EoL, yet, I've seen firsthand companies still using 5.4 and 5.6. The worst part is that they see no issue with that. And, with PHP 8, things are looking even more promising. I'd say PHP isn't going anywhere anytime soon.
  3. @Dayo the first and third game you linked are down. To your actual point, I think the issue is that the market for TBGs is clearly not what it once was so the "need" for developers is a lot less compared to say 5 years ago. Personally, I think if people are looking to break into this market with new engines it should be targeted for mobiles, by that, I don't mean mobile responsive, I mean the sort of engine built on top of cordova or Ionic with a RESTful backend. Now, I do see the downsides to this too, it would definitely require developers to have a lot more grounding in other tech and would make it a lot more difficult for hobbyist to come along a hack a game together which may not be ideal for your circumstance but I think this would be a promising way forward.
  4. Script47

    mods

    I'm sure V3 would fix that...
  5. Is there any proof for the monthly earnings?
  6. God damn it... @illusions How's it like to be resurrected pal? I looked around your game yesterday, are you still working on it? P.S. I even attacked you but had to run away because I had no weapons.
  7. @peterisgb How did you come to know this? I'll just leave this here:
  8. Well now I'm confused. Paging @Ian, you need to clarify this! Edit: If it is in fact regarding the site theme, then I wish to revote as light, you're not alone @Dave.
  9. @FoohonPie I do believe that this is a generic question (so IDE color scheme, browser theme etc.).
  10. Script47

    Hey hey

    All in folks! I dun goofed... In other news, @Ian, you've got a fair few players, were they around from before or are they new? The game reminds me of Infamous Gangsters.
  11. We also need to display the audit data easily, so db is the best place for it.
  12. We have a lot of auditing requirements so that's another reason. Everything has to be recorded and records have to kept.
  13. Ideally, yes. However we have two issues: 1. Majority of our clients are part of the government one way or another so they don't like change and their previous software used this API so we have to make use of it. 2. The API we are using is done by a behemoth company and from what I know, they are the "best", apparently.
  14. @Dave In our case we were saving the response from an API. The reason being was that although the API was brilliant at what it did, it was extremely haphazard in what it returned, as such we'd store the whole response as JSON and simply look through the keys and values when showing the output. Sure, there were a couple common fields but other than that, it would differ.
  15. I recently (last week) had to come up with a query working with JSON data it seemed to work quite well. I did find it a hassle to get it to work with LIKE / array matches too and that was quite a bit of hassle, other than that, I found it to be quite useful.
×
×
  • Create New...