Wiki and Source needs more examples

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
No matter if there are 50 wiki pages or 10, public source or not, it's still can be hard to understand. Sometimes I don't know what object I will receive (like Player object, or Player ID?), what is inside some properties or some other questions.

Wiki needs more examples and I'll try to work on that by showing examples from what I learn, and asking questions about what I don't know. And hope you'll answer them, or correct me if I write some wrong code. For me best documentation ever made is PHP, why? Because people are showing they code and examples in comments. So you don't just learn about function, but you learn different ways of use.

Source - I think it needs comments. Like I said, there are some properties, functions, what I don't even know what I receive if I use them. You are creators, so it's easy to understand for you, but plugin developers need to learn it easier. I think there are settings to just bypass comments in code when you compiling, but I'm not sure.

Main "+" for Fougerite for me is that you can use it on cracked Rust. Oxide have more community, plugins and even better capabilities to develop what you want. You doing good job with helping us, but we all need to work on making code easier to understand.

Debugging in Rust is so shitty, time waster, that we need to know what are we doing before running game and testing if it's working.

I'll start today as I have some questions.
 
  • Like
Reactions: Snake

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
No matter if there are 50 wiki pages or 10, public source or not, it's still can be hard to understand. Sometimes I don't know what object I will receive (like Player object, or Player ID?), what is inside some properties or some other questions.

Wiki needs more examples and I'll try to work on that by showing examples from what I learn, and asking questions about what I don't know. And hope you'll answer them, or correct me if I write some wrong code. For me best documentation ever made is PHP, why? Because people are showing they code and examples in comments. So you don't just learn about function, but you learn different ways of use.

Source - I think it needs comments. Like I said, there are some properties, functions, what I don't even know what I receive if I use them. You are creators, so it's easy to understand for you, but plugin developers need to learn it easier. I think there are settings to just bypass comments in code when you compiling, but I'm not sure.

Main "+" for Fougerite for me is that you can use it on cracked Rust. Oxide have more community, plugins and even better capabilities to develop what you want. You doing good job with helping us, but we all need to work on making code easier to understand.

Debugging in Rust is so shitty, time waster, that we need to know what are we doing before running game and testing if it's working.

I'll start today as I have some questions.
I disagree with the "capabilities". LUA doesn't have more capabilities, and It's not even simpler than Py or Js. They have a bit more events, but that's all.

We can create Documentation for everything, just I'm busy with plugin making.
 

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
I disagree with the "capabilities". LUA doesn't have more capabilities, and It's not even simpler than Py or Js. They have a bit more events, but that's all.

We can create Documentation for everything, just I'm busy with plugin making.
We need those hooks in Fougerite.
 

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
I'll be filling all wiki pages with C# code if anybody needs it.
 
  • Like
Reactions: Jakkee