Fougerite Official

Fougerite Official 1.9.2

No permission to download

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
Today log, @Snake FAC have something to do here too:

I copied only last messages. I have this Private RPC in whole log.
Yeah, typical crash cause by mysterious forces.

"Fougerite.Player:Disconnect ()"

Not even with a try-catch block I can avoid this type of stuff. That must be something with uLink. @DreTaX and I have seen this type of crashes for a long time in the server. We still don't know why.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I believe RPC errors are caused by rust Itself. Why? Because the server fails to send a command to the client, and tries to send It again, instead of disconnecting the shitty player.

You can try doing for example: Player.SendCommand("xyz") or player disconnection. You will get RPC errors.

Somehow, finding the right method part, we would have to patch the assembly, and If It fails to send, It should force disconnect the player.
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
It getting worst and worst for me really. Server restarted on 13:55 and about 17:00 it was offline already.

Please do something! :(
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
50
my server laggs bads even on the previos version. im going to start with no plugins and try to figure out why its so crap. my server is 10 foot from me yet my ping is 300+
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
But server lags have nothing to do with Fougerite or even Rust. I'll tell you what may be wrong:

1. You hosting it by yourself on some PC in house - You have bad internet connection and can't host server.

2. If you have it on payed host:
a) CPU is bad and can't afford even one player in Rust,
b) RAM is bad,
c) Connection is bad.

Usually payed hosts (VPS, Dedicated etc) have good connections. But you said that your server is 10 foot from you, so it's probably just selfhosted in home. I'll say it even better.

Games from years 2000-2006 (Enemy Territory, GTA SA:MP) required internet connection at least 512kb/s per player. That mean if you have internet connection 2 mb/s, you could host only 4 players, and not counting yourself. If you want to play on your own server hosted in house you need to connect from same pc by localhost (net.connect localhost:port), to not waste your Connection. But it will cause laggs for other players, because your CPU will work more on your own game, than on server.

But now times changed, and for good gameplay you need connection from 1 mb/s per player, sometimes even 2 mb.

So if you want to host 25 players on your server you need at least 25 mb/s and of course some good CPU+RAM for rust. And it's of course not all, because hosters/services can do limits for your connection and even you have 200 mb/s, you can have only 10 connections at once.

Hope you understand it more. If you want to have server, get 10-30$ and buy it for month.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Actually to be accurate there are many possibilities. Even from rust or fougerite. Having bugged npcs cause navmesh errors, which will spawn the console. 2. Having many objects with players and many plugins can also cause It sadly. I remember playing on official srvs, and when the server had lots of objects It started to lagg. 3. Having more than 7000-8000 lines in an inifile and a log file (just noticed it a week ago) can also put rust into unresponsive shet, and cause lagg. Emptying them solves the problem. 4. The lovely RPC errors when a player isnt on the server, but the server is still trying to send things to It.

Sent from my Samsung Galaxy S4
 
  • Like
Reactions: MasterPeace

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
3. Having more than 7000-8000 lines in an inifile and a log file (just noticed it a week ago) can also put rust into unresponsive shet, and cause lagg. Emptying them solves the problem.
I had a server maybe about 1 year ago just after DeathMSGs got that kill log thingy. I had left logging on and after about a month the log file had over 19k lines. Deleting the file improved the server performance quite a bit.
 
  • Like
Reactions: MasterPeace

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I actually wonder If we could find the method where the server sends these RPC client id (xyz) was not found, we could just simply force it with a patch to disconnect a player.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I had a server maybe about 1 year ago just after DeathMSGs got that kill log thingy. I had left logging on and after about a month the log file had over 19k lines. Deleting the file improved the server performance quite a bit.
I'm also interested using sqlite3.py. That might work a bit better than the ini files
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
Yea I would also like to use database query not that INI / DataStore thing. Database you can edit, copy only what you want, delete tables, freedom. INI is INI and should not be used to store data, and about DataStore.. I don't even want to comment haha.
 
  • Agree
Reactions: Snake

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
Now I have problems with NavMesh. Second day:

"Stop can only be called... bla bla bla"
"SetDestination can only be called... bal bla bla"
"Failed to create agent because..."

Jeez... When I think it can't be worst, it is worst.
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
50
I have 10mbs upload and 152 download... think my server is sheet because of little ram 6 gb I only host 30 player server. It gets crap even with 6 online After a while.
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
6GB is many. So sorry, just forget what I said :p If your 10mb is not 2 by calculating bits to bytes, it should work fine with 10-20 players.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
  • Agree
Reactions: Snake

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
6GB is many. So sorry, just forget what I said :p If your 10mb is not 2 by calculating bits to bytes, it should work fine with 10-20 players.
Sqlite is functioning great. I didn't test It if It can be imported on the server though

Python:
import sqlite3

conn = sqlite3.connect('test.db')
print "Opened database successfully";

conn.execute('''CREATE TABLE BANS
       (NAME TEXT PRIMARY KEY     NOT NULL,
       IP           TEXT    NOT NULL,
       ID            TEXT     NOT NULL);''')
print "Table created successfully"

conn.close()

conn = sqlite3.connect('test.db')
print "Opened database successfully"

conn.execute("INSERT INTO BANS (NAME,IP,ID) \
      VALUES ('DreTaX', '255.255.255.255', '765342342341313')")

conn.commit()
print "Records created successfully"
conn.close()


conn = sqlite3.connect('test.db')
print "Opened database successfully"

cursor = conn.execute("SELECT NAME, IP, ID  from BANS")

for row in cursor:
    print "NAME = " + row[0]
    print "IP = " + row[1]
    print "ID = " + row[2]

print "Operation done successfully"
conn.close()
Opened database successfully
Table created successfully
Opened database successfully
Records created successfully
Opened database successfully
NAME = DreTaX
IP = 255.255.255.255
ID = 765342342341313
Operation done successfully

http://www.tutorialspoint.com/sqlite/sqlite_python.htm
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
50
Sqlite is functioning great. I didn't test It if It can be imported on the server though

Python:
import sqlite3

conn = sqlite3.connect('test.db')
print "Opened database successfully";

conn.execute('''CREATE TABLE BANS
       (NAME TEXT PRIMARY KEY     NOT NULL,
       IP           TEXT    NOT NULL,
       ID            TEXT     NOT NULL);''')
print "Table created successfully"

conn.close()

conn = sqlite3.connect('test.db')
print "Opened database successfully"

conn.execute("INSERT INTO BANS (NAME,IP,ID) \
      VALUES ('DreTaX', '255.255.255.255', '765342342341313')")

conn.commit()
print "Records created successfully"
conn.close()


conn = sqlite3.connect('test.db')
print "Opened database successfully"

cursor = conn.execute("SELECT NAME, IP, ID  from BANS")

for row in cursor:
    print "NAME = " + row[0]
    print "IP = " + row[1]
    print "ID = " + row[2]

print "Operation done successfully"
conn.close()
Opened database successfully
Table created successfully
Opened database successfully
Records created successfully
Opened database successfully
NAME = DreTaX
IP = 255.255.255.255
ID = 765342342341313
Operation done successfully

http://www.tutorialspoint.com/sqlite/sqlite_python.htm
im currently reading up on using mysql rather than sqlite, seems dooable though with a bit of modification

alos how the hell do iturn loggin off totally. i remove the logging reference from the Fougerite.cfg an yet it still logs .?
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
i upgraded my self. not sure what difference that would make
Not not sure on how much Ram you started off with but if it was 2GB or 4GB outcome would most likely be the same.
Having mismatched MHz can slow down your ram (Making it the same or sometimes worse), Also same with Brands. If you brought a PC with a 2GB Samsung 1333MHz stick and put in a Kingston 4GB 2133Mhz Stick your PC would be running the new stick at 1333Mhz and because its not the same brand it would most likely be really slow.
Ideal set up would be 2 x 2GB Samsung sticks @1333MHz.

^Hope I explained that right (Also this is not 100% Accurate, Samsung & Kingston is an example).

The reason why I asked about your RAM is because upgrading to 6GB is an odd amount.
Unless you have 3 x 2GB sticks

So back to this:
I think my server is sheet because of little ram 6 gb I only host 30 player server.
This might be why your server is "sheet".
:p

Sorry for off topic post, Back to topic..
also how the hell do I turn logging off totally. I remove the logging reference from the Fougerite.cfg an yet it still logs .?
I'm pretty sure you can stop it writing to a log file but im not sure if you can stop it from creating the log file.