Giter VIP home page Giter VIP logo

Comments (15)

slawkens avatar slawkens commented on June 1, 2024

What is your server distribution? Does it show in game that you have premium?

Also, its not enough to change 'premdays' in database, you also need to change 'lastday' field to last day of premium account.

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

Yes it shows its a premium in client and also gesior acc it see its premmy and it count good
I tryed myacc it shows it free ,,,
About the database it inserted automatically while instalation ! Yes ?
I use malcoo otx server 11.48

from myaac.

slawkens avatar slawkens commented on June 1, 2024

Are you sure you're changing it in good database?

I can't see anything wrong in code. It works fine on my otxserver 11.48.

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

I tryed it on a fresh database im sure

from myaac.

slawkens avatar slawkens commented on June 1, 2024

This is the part of code that checks if you have premium:
return $this->data['lastday'] > time();

So, are you sure that in database, field accounts.lastday is bigger than time() (current time)?

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

last day = 0

from myaac.

slawkens avatar slawkens commented on June 1, 2024

When you login to game then lastday gets updated from premdays. Set premdays to X (10 for example) and then login to game.

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

and?
untertertertitled
untirtyrtyrtytled

from myaac.

slawkens avatar slawkens commented on June 1, 2024

Ok you were right.

I fixed it in latest release.

Download here: https://github.com/slawkens/myaac/releases/latest

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

Awesome dude ;) u the best

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

Oh 1 more thing, when i add shop plugin
It dont appear in the menu... it should added automatically???

from myaac.

slawkens avatar slawkens commented on June 1, 2024

You need to add in config.local.php:
$config['gifts_system'] = true;

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

Cant it be installed or added automatically when installing the plugin ?

from myaac.

slawkens avatar slawkens commented on June 1, 2024

Can be. Maybe I will add it in some version.

from myaac.

Mesosot avatar Mesosot commented on June 1, 2024

Keep it in mind mate

from myaac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.