Fougerite Official

Fougerite Official 1.8.1

No permission to download

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,054
3,672
113
At your house.
github.com
OK, I'll check it when I get home. Does it cause lag just looping through without printing anything or accessing any Entity properties?

Code:
int i = 0
for e in World.Entities
    i++
Like the converted jzap or the Wiper plugin does. Simply working with properties.
 

mikec

Master Of All That I Survey
Administrator
Jul 12, 2014
296
138
28
Los Angeles, California, USA
I made a quick fix in one method in RustPP where I needed to convert the class name to prefab name, but the class name was too different from the prefab name for MatchItemName to get it right. (Barricade_fence_deployable, WoodLargeBox, etc.).

I should just go ahead and create a Dictionary<string, string> to map Classname to Prefab name. The classname extracted from ToString() will never be misspelled, so fuzzy matching and spell checking is overkill.
 

mikec

Master Of All That I Survey
Administrator
Jul 12, 2014
296
138
28
Los Angeles, California, USA
Like the converted jzap or the Wiper plugin does. Simply working with properties.
Those are not good examples, because they make calls to Steam API over the web to map SteamID to Name.

You can fix them by referring to the dictionary RustPP.Core.userCache.
Key = steamid64 as ulong. Value = name as string.

The updated TPMaster I uploaded uses userCache before Steam API and it does not lag at all when looking up the player name.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,054
3,672
113
At your house.
github.com
Those are not good examples, because they make calls to Steam API over the web to map SteamID to Name.

You can fix them by referring to the dictionary RustPP.Core.userCache.
Index = steamid64 as ulong. Key = name as string.

The updated TPMaster I uploaded uses userCache before Steam API and it does not lag at all when looking up the player name.
Not really oi boi. Wiper and Python jzap never do those.
 

mikec

Master Of All That I Survey
Administrator
Jul 12, 2014
296
138
28
Los Angeles, California, USA
I have uploaded a new Fougerite_1.0.8.zip to my Google Drive which does not call MatchItemName() when assigning the object's name to Entity.Name when instancing an Entity. That fixed the lag on accessing World.Entities completely. You can still call Entity.Name.MatchItemName() after you have gotten an Entity, to get the prefab name.

Download again from the link above to get the fix.

I also put it on DropBox https://www.dropbox.com/s/1ba6sr0ax8sgzhq/Fougerite_1.0.8.zip?dl=0
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
46
ahhh i just splatted this update over my server now it does not start...
i get this error

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

TypeLoadException: Could not load type 'GFxImageEffect, Assembly-CSharp'.
TypeLoadException: Could not load type 'GFxImageEffect, Assembly-CSharp'.
at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
at System.Type.GetType (System.String typeName, Boolean throwOnError, Boolean ignoreCase) [0x00000] in <filename unknown>:0
at Facepunch.Load.Reader.ParseType (System.String str) [0x00000] in <filename unknown>:0
at Facepunch.Load.Reader.ReadBundleListing (System.String nameOfBundle) [0x00000] in <filename unknown>:0
Rethrow as JsonException: GFxImageEffect, Assembly-CSharp
at Facepunch.Load.Reader.ReadBundleListing (System.String nameOfBundle) [0x00000] in <filename unknown>:0
at Facepunch.Load.Reader.Read () [0x00000] in <filename unknown>:0
at Facepunch.Load.Loader.Deserialize (Facepunch.Load.Reader reader, IDownloaderDispatch dispatch) [0x00000] in <filename unknown>:0
at Facepunch.Load.Loader.CreateFromText (System.String downloadListJson, System.String bundlePath, IDownloaderDispatch dispatch) [0x00000] in <filename unknown>:0
at RustLoader+<Start>c__IteratorA.MoveNext () [0x00000] in <filename unknown>:0

(Filename: Line: -1)


then it spams this error


Missing method Fougerite.Player::TeleportTo(Vector3) in assembly Z:\mnt\rust\rust_server_Data\Managed\Fougerite.dll, referenced in assembly data-04293350
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
46
ok so i removed the FAC and Navmeshfixer no i get this

DirectoryConfig Z:\mnt\rust\rust_server_Data\FougeriteDirectory.cfg loaded.
Config Z:\mnt\rust\Save\Fougerite.cfg loaded.
[Modules] Loading modules...
[Modules] Module RustPP v1.1.6.8 (by xEnt22, mikec) initiated.
[Modules] Module GlitchFix v1.1.0.0 (by DreTaX) initiated.
[Magma] Drop++ plugin was loaded successfuly.
[Magma] TPMaster plugin was loaded successfuly.
[Magma] Arena++ plugin was loaded successfuly.
[Modules] Module MagmaPlugin v2.0.9.2 (by Riketta, mikec, xEnt, EquiFox) initiated.
[IPModule] DestroySystem plugin was loaded successfuly.
[IPModule] TpFriend plugin was loaded successfuly.
[IPModule] ReservedSlots plugin was loaded successfuly.
[IPModule] FPSBoost plugin was loaded successfuly.
[IPModule] Wiper plugin was loaded successfuly.
[IPModule] JZap plugin was loaded successfuly.
[IPModule] Report plugin was loaded successfuly.
[IPModule] HomeSystem plugin was loaded successfuly.
[IPModule] AdminPlus plugin was loaded successfuly.
[IPModule] Vanish plugin was loaded successfuly.
[IPModule] VoteBan plugin was loaded successfuly.
[IPModule] iConomy plugin was loaded successfuly.
[IPModule] Advertise plugin was loaded successfuly.
[IPModule] Moderators plugin was loaded successfuly.
[IPModule] GatherPlus plugin was loaded successfuly.
[IPModule] DonatorRank plugin was loaded successfuly.
[IPModule] BuildingRestriction plugin was loaded successfuly.
[IPModule] RemoveAll plugin was loaded successfuly.
[Modules] Module IPModule v1.0.0.0 (by balu92) initiated.
[Jint] PlayerLog plugin was loaded successfuly.
[Modules] Module JintPlugin v1.2.2.0 (by Riketta, mikec) initiated.
TypeLoadException: Could not load type 'GFxImageEffect, Assembly-CSharp'.
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
60
28
41
Poland
And third player who changed his Assembly CSharp.dll to new one.

You need to get your old file.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,054
3,672
113
At your house.
github.com
And third player who changed his Assembly CSharp.dll to new one.

You need to get your old file.
I edited the changelog, and marked It red, they might noce It now.

ok so i removed the FAC and Navmeshfixer no i get this

DirectoryConfig Z:\mnt\rust\rust_server_Data\FougeriteDirectory.cfg loaded.
Config Z:\mnt\rust\Save\Fougerite.cfg loaded.
[Modules] Loading modules...
[Modules] Module RustPP v1.1.6.8 (by xEnt22, mikec) initiated.
[Modules] Module GlitchFix v1.1.0.0 (by DreTaX) initiated.
[Magma] Drop++ plugin was loaded successfuly.
[Magma] TPMaster plugin was loaded successfuly.
[Magma] Arena++ plugin was loaded successfuly.
[Modules] Module MagmaPlugin v2.0.9.2 (by Riketta, mikec, xEnt, EquiFox) initiated.
[IPModule] DestroySystem plugin was loaded successfuly.
[IPModule] TpFriend plugin was loaded successfuly.
[IPModule] ReservedSlots plugin was loaded successfuly.
[IPModule] FPSBoost plugin was loaded successfuly.
[IPModule] Wiper plugin was loaded successfuly.
[IPModule] JZap plugin was loaded successfuly.
[IPModule] Report plugin was loaded successfuly.
[IPModule] HomeSystem plugin was loaded successfuly.
[IPModule] AdminPlus plugin was loaded successfuly.
[IPModule] Vanish plugin was loaded successfuly.
[IPModule] VoteBan plugin was loaded successfuly.
[IPModule] iConomy plugin was loaded successfuly.
[IPModule] Advertise plugin was loaded successfuly.
[IPModule] Moderators plugin was loaded successfuly.
[IPModule] GatherPlus plugin was loaded successfuly.
[IPModule] DonatorRank plugin was loaded successfuly.
[IPModule] BuildingRestriction plugin was loaded successfuly.
[IPModule] RemoveAll plugin was loaded successfuly.
[Modules] Module IPModule v1.0.0.0 (by balu92) initiated.
[Jint] PlayerLog plugin was loaded successfuly.
[Modules] Module JintPlugin v1.2.2.0 (by Riketta, mikec) initiated.
TypeLoadException: Could not load type 'GFxImageEffect, Assembly-CSharp'.
AFAIK you are running cracked. Get a clean Assembly sharp and use the patcher from the resources.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,054
3,672
113
At your house.
github.com
yer easier said than done... is the old 1.07 patched dll compatible with 1.0.8
You may give It a try, I'm not quite sure if mikec added something in the patcher. Probably not. So you can go and replace everything except the assembly dll.

If that doesn't work you will need a clean dll.