Needs March UpdateSolved

Failed compiling 'Rustcord.cs':
1. 'Pool' does not contain a definition for 'GetList' [CS0117]
(Rustcord 45 line 3030)

AI help me fix this on my server in the meantime

Today's Rust update (build 22194701) removed Pool.GetList<T>() and Pool.FreeList() from the API.
Rustcord fails to compile with:

Error while compiling Rustcord: 'Pool' does not contain a definition for 'GetList' | Line: 3030, Pos:
45

There are 9 occurrences total — 5x Pool.GetList<string>() and 4x Pool.FreeList(ref players).

Fix: Replace all Pool.GetList<string>() with new List<string>() and remove all Pool.FreeList(ref
players); lines. One-liner if you have SSH access:

sed -i 's/Pool\.GetList<string>()/new List<string>()/g; /Pool\.FreeList(ref players);/d' Rustcord.cs

Then oxide.reload Rustcord via RCON. Confirmed working on v3.4.2.

Same issue affects ClearNight plugin (line 191) with Pool.GetList<Connection>() and
Pool.GetList<KeyValuePair<string, string>>() — same fix pattern.

need update pls.

Yea' I get this exact same error

WPehgBQQwZarT7t.jpg spizz

AI help me fix this on my server in the meantime

Today's Rust update (build 22194701) removed Pool.GetList<T>() and Pool.FreeList() from the API.
Rustcord fails to compile with:

Error while compiling Rustcord: 'Pool' does not contain a definition for 'GetList' | Line: 3030, Pos:
45

There are 9 occurrences total — 5x Pool.GetList<string>() and 4x Pool.FreeList(ref players).

Fix: Replace all Pool.GetList<string>() with new List<string>() and remove all Pool.FreeList(ref
players); lines. One-liner if you have SSH access:

sed -i 's/Pool\.GetList<string>()/new List<string>()/g; /Pool\.FreeList(ref players);/d' Rustcord.cs

Then oxide.reload Rustcord via RCON. Confirmed working on v3.4.2.

Same issue affects ClearNight plugin (line 191) with Pool.GetList<Connection>() and
Pool.GetList<KeyValuePair<string, string>>() — same fix pattern.

This doesn't really seem to be working for me :/

gioWQ4nfT50i90H.jpg pe7erS
https://pastebin.com/Hv0WDgnj updated the one idk if external links are allowed

This worked thanks.
Open your Rustcord.cs and delet every thing and paste the section from the link

kFMDCAZRM9tHuPJ.jpg pe7erS
https://pastebin.com/Hv0WDgnj updated the one idk if external links are allowed

I've used Pool.GetList instead of new List

The developer updated it and it worked. Thanks!

Locked automatically