tf2attributes icon indicating copy to clipboard operation
tf2attributes copied to clipboard

Error detected in plugin startup

Open lzardy opened this issue 7 years ago • 11 comments

L 06/18/2018 - 13:13:09: [SM] Error parsing gameconfig file "E:\Games\Steam\LANServer\TF2Server\tf\addons\sourcemod\gamedata\tf2.attributes.txt": L 06/18/2018 - 13:13:09: [SM] Error 1 on line 0, col 0: Stream failed to open L 06/18/2018 - 13:13:09: [SM] Exception reported: Unable to open tf2.attributes: File could not be opened: The system cannot find the file specified. I tried reinstalling the plugin, checked all the file names and directories, everything checks out. As to how it "can't find the file specified" is beyond me. I restarted the server every time I tried reinstalling. I am running a simple "LAN" srcds server.

lzardy avatar Jun 18 '18 19:06 lzardy

You're missing the gamedata file, download https://github.com/FlaminSarge/tf2attributes/blob/master/tf2.attributes.txt and save it into your gamedata folder, under addons/sourcemod

Kenzzer avatar Jun 20 '18 18:06 Kenzzer

The problem is that I said the files all check out, I'm not missing the gamedata file.

lzardy avatar Jun 21 '18 07:06 lzardy

relaunch your server, or restart your computer.

If it still error's then MAKE SURE it is there.

In the error provided it says the system can't find the file. So its not there.

Sluethen avatar Jun 25 '18 19:06 Sluethen

If you get The system cannot find the file specified. it literally means E:\Games\Steam\LANServer\TF2Server\tf\addons\sourcemod\gamedata\tf2.attributes.txt doesn't exist.

Kenzzer avatar Jun 25 '18 19:06 Kenzzer

yea that

Sluethen avatar Jun 25 '18 20:06 Sluethen

I restarted everything multiple times, checked the file name, literally copy pasted the directory it gave in windows explorer: E:\Games\Steam\LANServer\TF2Server\tf\addons\sourcemod\gamedata\tf2.attributes.txt and it opened the file perfectly fine... Yet still gives me the error. The file does not have any special permissions like Read-Only, etc, and the server is ran as administrator.

lzardy avatar Jun 26 '18 01:06 lzardy

Did you restart your computer though?

Sluethen avatar Jun 26 '18 02:06 Sluethen

everything

lzardy avatar Jun 26 '18 23:06 lzardy

Well if you have done "everything" then nobody can help you, this is your machine and system without more data, list of files, screenshots ect... nobody here can you help further.

Kenzzer avatar Jun 27 '18 13:06 Kenzzer

image Exact same issue, and tried everything suggested here. I'm very new to all of this and I'm severely confused.

Das-Nugget avatar Aug 21 '21 05:08 Das-Nugget

I think this might be a case of the difference between uppercase and lowercase for reading files. Windows makes no distinction between uppercase and lowercase for file names, but SourceMod seems to lowercase the whole path, which ends up with the issue described. You might have to lowercase your entire server path in order for this to work.

FlaminSarge avatar Aug 21 '21 10:08 FlaminSarge