#I want to fix the UID part, what should I do?

19 messages · Page 1 of 1 (latest)

graceful berry
#

I want to fix the UID part, what should I do?

polar shell
#

"fix"? It's not broken

#

if you want a custom uid you set it when making the account, if that's what you mean

#

You can send and read help account in your Grasscutter cmd to see the info for adding it.

graceful berry
polar shell
#

You mean so that it shows something else? You must either implement windy on your server and send packet with the correct LUA for that, or use melon.

#

You could also just use a cheat like minty to change it just for yourself to see

graceful berry
polar shell
#

You would have to manually implement the packet onto your server, then modify the src to send the packet with the uid lua when they login

#

It's not just a simple folder change

broken wing
#

Use Windy! Proto to send compiled LUA:

CS.UnityEngine.GameObject.Find("/BetaWatermarkCanvas(Clone)/Panel/TxtUID"):GetComponent("Text").text = "<b><i><color=#11edb1>GrassHopper</color></i></b>"

Hope you can find luac.exe in internet and compile this code to .luac and send it to game using compiled WindSeedClientNotify.proto

#

As I said you must have also compiled .java class from WindSeedClientNotify.proto
Just put WindSeedClientNotify.proto to proto folder in GC and rebuild GC, this classes will appear

#

And send it to client using java in GC like this

data = FileUtils.read(FileUtils.getDataPath(windyCompiledLuacPath));

WindSeedClientNotify proto = WindSeedClientNotify
            .newBuilder()
            .setAreaNotify(
                AreaNotify
                    .newBuilder()
                    .setAreaId(1)
                    .setAreaType(1)
                    .setAreaCode(ByteString.copyFrom(data))
                    .build()
            )
            .build();
this.setData(proto);
#

If that's what you mean

#

Don't forget to delete this line kms

tall rover
# broken wing If that's what you mean

how did you get the 2 in tehre? is that your original UID for the PS? if I want to add the account UID on my ps to it what would i have to put in the lua file?