#give genshin

34 messages · Page 1 of 1 (latest)

hasty wadi
#

Hello, I want to limit the items given and turn off the giveall command, which file must I edit?

fair bone
#

The GiveCommand file

#

If you want to make edits to your src you're going to have a much easier time just looking at the src and seeing what is being done, then make the changes you want.

#

You want to edit how the give command works, so you should first think about what is the command from, and what is it doing. All commands have their own file in the commands section. So go to the relevant command, such as give, and edit the file accordingly.

hasty wadi
#

Everything is in the give command file, right?

fair bone
#

Everything relating to how the give command works, yes.

hasty wadi
#

oh thank you

fair bone
#

No problem

hasty wadi
# fair bone No problem

Also what should I do when the server has a scene0 error and when entering the game there is an error 500

#

This is the error log

fair bone
#

There is no lua for scene 0, so that is completely normal and expected that it can't find any

#

as for the error, you'd need the actual relevant error (not lua files not being found) or other relevant info to know

hasty wadi
#

It seems that there is no error here, I don't know, but after using some commands and leaving the game after re-entering, I and others will not be able to access the server and if I create a new account, I will get error 500.

fair bone
#

you changed your character to be in scene 0? It's trying to load normal scene 3 lua but using 0 because you're there? Scene 0 lua doesn't exist so there's nothing to fix regarding it being gone.

fair bone
#

after using some commands and leaving the game after re-entering
if this is the case then you should be looking specifically at what commands you're referring to

#

plus your cmd should have any actual errors if any exist, so you should be checking for those on login

hasty wadi
#

is there any way to fix it

fair bone
#

yeah of course

#

once you find the issue, then you can find out how to fix it

hasty wadi
#

I have seen that the cause seems to be due to the commands that open the map. I want players to not be able to use it, so where should I edit it?

fair bone
#

if you want to change how a command works, go to the file for that command

#

every command has its own file

hasty wadi
#

oh thank you

fair bone
#

Sure thing

hasty wadi
# fair bone Sure thing

I have one more question here. Is the server error due to the command or map? I am using LunaGC version 4.6.

fair bone
#

If the command is doing something to the map, and the issue happens after, then it's the map causing the issue.

#

Also issues specifically with LunaGC should be taken up with their github or discord or what they have

hasty wadi
#

I have updated to the latest version

#

I think it needs more time to perfect

fair bone
#

A lot more, yes.

hasty wadi