Coder Social home page Coder Social logo

Comments (7)

KENNYSOFT avatar KENNYSOFT commented on July 22, 2024

#4 solved: WzComparerR2.Common\CharaSim\Addition.cs Line 123~136 changed to

                    sb = new StringBuilder();
                    {
                        List<GearPropType> props = new List<GearPropType>();
                        foreach (var kv in Props)
                        {
                            try
                            {
                                GearPropType propType = (GearPropType)Enum.Parse(typeof(GearPropType), kv.Key);
                                props.Add(propType);
                            }
                            catch
                            {
                            }
                        }
                        props.Sort();
                        foreach (GearPropType type in props)
                        {
                            sb.AppendLine(ItemStringHelper.GetGearPropString(type, Convert.ToInt32(Props[Enum.GetName(typeof(GearPropType), type)])));
                        }
                    }

from wzcomparerr2.

Kagamia avatar Kagamia commented on July 22, 2024

1> Unfortunately, CMS does not have equip '1004297' so I can't see how it rendered in game.

2> Is there a potential summary use formatted text? If not, draw It with DrawPlainText should be OK.

3> Skin is used for skeleton mobs, such as mob:9402197.

from wzcomparerr2.

KENNYSOFT avatar KENNYSOFT commented on July 22, 2024

@Kagamia
2> I don't know whether potential summary uses formatted text or not, but in your code, DrawPlainText does not use word wrap flag, so I suggest to change like that.

from wzcomparerr2.

Kagamia avatar Kagamia commented on July 22, 2024

@KENNYSOFT Emmmm, GMS should enable word wrap by default in their own version, both in DrawFormatString and DrawPlainText,

That's the reason why I design this option, though CMS/KMS doesn't need word wrap. (:з)∠)

from wzcomparerr2.

Sunaries avatar Sunaries commented on July 22, 2024

@KENNYSOFT gave me the fixes. He pushed the updates on his repository. :)

from wzcomparerr2.

KENNYSOFT avatar KENNYSOFT commented on July 22, 2024

Right! then we can use DrawPlainText back. I would do refactoring my codes.

from wzcomparerr2.

KENNYSOFT avatar KENNYSOFT commented on July 22, 2024

@Sunaries Re-changed to use DrawPlainText: KENNYSOFT@c51b346

from wzcomparerr2.

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.