Giter VIP home page Giter VIP logo

Comments (17)

slawkens avatar slawkens commented on June 1, 2024

When you delete a character, then its deleted only softly. That means the data stays in the database, just 'deleted' column in the database gets changes to '1'.

That means you can still preview that character on the website. You just can't login to that character.

What distro (ots server) are you using?

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

OTS server Naruto, TFS 0.4, I understand, according to the change he generates in the player table in the deleted column he assumed the value 1, he would like it to disappear from the view on the page, and in case he wants to recover the character he would contact the administration, but in the code he has a warning not to change anything, which I can change to not affect other functions?

from myaac.

slawkens avatar slawkens commented on June 1, 2024

If you delete a character, you should see this screen: https://prnt.sc/j0hlu2

It's something that you see?

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

Yes

from myaac.

slawkens avatar slawkens commented on June 1, 2024

So, what is the problem? ;)

Any screenshots?

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

as I said, I just want to remove the character from the page view, which I would change in the code, that's it

from myaac.

slawkens avatar slawkens commented on June 1, 2024

You want to delete this? http://prntscr.com/j614xt

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

yes

from myaac.

slawkens avatar slawkens commented on June 1, 2024

You use 0.7 or 0.8?

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

TFS? or MyAAC?

from myaac.

slawkens avatar slawkens commented on June 1, 2024

MyAAC. Did you ever hear about TFS 0.7 or 0.8? :D

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

MyAAC 0.7.10, on TFS only use 0.4 if other higher versions do not know

from myaac.

slawkens avatar slawkens commented on June 1, 2024

Edit system/templates/characters.html.twig

Change:
{% if not player.isHidden() %}

To:
{% if not player.isHidden() and not player.isDeleted() %}

I will add it, but only in MyAAC 0.8-dev.

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

alright, thx

from myaac.

slawkens avatar slawkens commented on June 1, 2024

worked?

from myaac.

kukas9 avatar kukas9 commented on June 1, 2024

equal to "https://prnt.sc/j614xt", did not stay, I thought it was the template I changed and did not display

from myaac.

slawkens avatar slawkens commented on June 1, 2024

Update: Showing deleted characters is now configurable.

Implemented in 0.8-dev (master) branch.

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.