Interesting Result, What Is The Cause?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Dezz

Well-Known Member
Jul 13, 2013
281
107
78
So, I have been playing on a server hosted by my friend lately. I wanted to change the magic crops config back to having a chance to drop seeds, as well as crafting 4 seeds instead of the regular 1. I edited a copy of the magic crops and shot it on over to her. It is set to have everything as default. She placed it in the config files for the server, and all was well. Well, not good actually. Whenever I attempted to craft the seeds, it would still only craft 1. I was very confused, as we changed the config in the server to craft 4. I didn't take notice very much until 4 days later. I thought to myself, "Maybe I should edit my config files. I know it wont work since the server must handle crafting recipes, but I'll give it a shot." So I took the copy I gave her and put it in my config folder. Sure enough, the recipe changed on the server for me.

Is this normal?

Cause, if I really wanted to, I could get away with making every crafting recipe craft 64 and have a 100% drop rate for a second seed :p

Just curious as to why changing my config changed the recipe that was handled by the server config.

That's not really supposed to happen.
 
Last edited:

Geometry

New Member
Jul 29, 2019
468
0
1
Most config changes need to be on both client and server, including recipe changes.
 

Dezz

Well-Known Member
Jul 13, 2013
281
107
78
Most config changes need to be on both client and server, including recipe changes.

That's extremely interesting. I didn't think the server would allow me to craft 1 when it knows the recipe creates 4.

So, do I need to shoot the config to everyone else playing on the server?
 

McJty

Over-Achiever
Mod Developer
May 13, 2014
2,015
2,519
228
twitter.com
It seems really weird that client config would override server config in this case as that case it would give a way to exploit this. i.e. modify your client config so you have more profitable recepies then other people on the server.
 

malicious_bloke

Over-Achiever
Jul 28, 2013
2,961
2,705
298
It seems really weird that client config would override server config in this case as that case it would give a way to exploit this. i.e. modify your client config so you have more profitable recepies then other people on the server.

Now this sounds like something totally abusable
 
  • Like
Reactions: Dezz

Geometry

New Member
Jul 29, 2019
468
0
1
That's extremely interesting. I didn't think the server would allow me to craft 1 when it knows the recipe creates 4.

So, do I need to shoot the config to everyone else playing on the server?
Yea, you do. The configs need to be the same for client and server, with the exception of server only settings.[DOUBLEPOST=1401877219][/DOUBLEPOST]
It seems really weird that client config would override server config in this case as that case it would give a way to exploit this. i.e. modify your client config so you have more profitable recepies then other people on the server.
The client config didn't override the server config. The server config was set to craft 4 seeds, while the client was still set at 1. When he changed his client to match up with the server, it worked. Changing the client config will have no effect unless it matches up with the server config, with the exception of client only settings.
 

Dezz

Well-Known Member
Jul 13, 2013
281
107
78
Yea, you do. The configs need to be the same for client and server, with the exception of server only settings.[DOUBLEPOST=1401877219][/DOUBLEPOST]
The client config didn't override the server config. The server config was set to craft 4 seeds, while the client was still set at 1. When he changed his client to match up with the server, it worked. Changing the client config will have no effect unless it matches up with the server config, with the exception of client only settings.

So, I can only match the server, not go above? Can't be abused. That's good.
 

Dezz

Well-Known Member
Jul 13, 2013
281
107
78
That's correct.

Since the server would only handle the recipes, so to speak, would that mean the 2nd seed drop is handled by the server alone, or would that also have to be matched by the client?
 

Geometry

New Member
Jul 29, 2019
468
0
1
Since the server would only handle the recipes, so to speak, would that mean the 2nd seed drop is handled by the server alone, or would that also have to be matched by the client?
It would have to be matched by the client. The server and client work in parallel for recipes and things of such nature. Any changes you make will also have to be distributed to all clients.
 

Dezz

Well-Known Member
Jul 13, 2013
281
107
78
It would have to be matched by the client. The server and client work in parallel for recipes and things of such nature. Any changes you make will also have to be distributed to all clients.

So even something like a drop rate is still affected?

Man, this just seems to go against everything I know haha.