Giter Site home page Giter Site logo

Eon Ticket does not work about pksm HOT 10 CLOSED

flagbrew avatar flagbrew commented on August 15, 2024
Eon Ticket does not work

from pksm.

Comments (10)

BernardoGiordano avatar BernardoGiordano commented on August 15, 2024

This is not related to the wondercard, there's an eventflag somewhere to be removed.

from pksm.

Rovoska avatar Rovoska commented on August 15, 2024

That seems to be incorrect. I obtained an alternate wc6 and it worked like a charm. Uploaded below

ORAS - Eon Ticket.zip

from pksm.

kwsch avatar kwsch commented on August 15, 2024
if (g is WC6)
{
    if (g.CardID == 2048 && g.Item == 726) // Eon Ticket (OR/AS)
    {
        if (!Main.SAV.ORAS || ((SAV6)SAV).EonTicket < 0)
            goto reject;
        BitConverter.GetBytes(WC6.EonTicketConst).CopyTo(SAV.Data, ((SAV6)SAV).EonTicket);
    }
}

Basically, write 0x225D73C2 to 0x319B8 if the cardID is 0x800 and the given item is 726 (just to be sure). The games have some anti-cheat in that if you receive 726 via gift, it'll permanently disable the event (with event flags); if you have the value it will unlock it (enable the NPC events).

The value writing is done probably when the game boots (maybe checks streetpass data when it starts up to see if it gets this event wc6).

from pksm.

BernardoGiordano avatar BernardoGiordano commented on August 15, 2024

Thanks to Kaphotics the issue is (hopefully) fixed. Changes are here, @Sturmrufer please let me know if injection works with this build

from pksm.

Rovoska avatar Rovoska commented on August 15, 2024

Sadly, it seems to not work. I used the 3dsx file, since I only have HB for now, and still no dice.

from pksm.

kwsch avatar kwsch commented on August 15, 2024

You'd have to restore your save file from before the edit. If you receive the Eon Ticket item via the deliveryman and don't have the Eon Ticket Constant set, the game will permanently lock you out of the event by flagging the event as completed.

from pksm.

Rovoska avatar Rovoska commented on August 15, 2024

Whatever do you mean? This was tested upon a save file that had not been edited at all. And anyways, when I used PkHeX to remove the ticket inject by this and injected the wondercard I supplied, and it worked perfectly.

from pksm.

BernardoGiordano avatar BernardoGiordano commented on August 15, 2024

Tried personally to inject that wondercard, everything works fine now. Closing

from pksm.

BernardoGiordano avatar BernardoGiordano commented on August 15, 2024

Reopening, because it seems to work only once more .-.

from pksm.

br1980 avatar br1980 commented on August 15, 2024

I get an error when trying to inject the Eon Ticket card. Today's my first day messing with save editors so I definitely haven't had the flag set before.

from pksm.

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.