Quote:
Originally Posted by psychonic
That definitely looks like an SM bug if it was working before. I'll look into it.
|
PHP Code:
#pragma semicolon 1
#include <sourcemod>
public OnPluginStart()
{
static String:sFace[] = ":(";
if (DirExists(""))
{
new Handle:hDirectory = OpenDirectory("");
PrintToServer("Handle: %x", hDirectory);
CloseHandle(hDirectory);
FormatEx(sFace, sizeof(sFace), ":)");
}
PrintToServer("%s", sFace);
}
Quote:
Originally Posted by SM1.6
sm plugins load FaceTest
Handle: 2cde0384
[SM] Loaded plugin FaceTest.smx successfully.
|
Quote:
Originally Posted by SM1.8
sm plugins reload FaceTest
[Thread 0xe9342b40 (LWP 2273) exited]
L 03/10/2015 - 20:48:08: [SM] Native "OpenDirectory" reported: Invalid file path
L 03/10/2015 - 20:48:08: [SM] Displaying call stack trace for plugin "FaceTest.smx":
L 03/10/2015 - 20:48:08: [SM] [0] Line 9, /groups/sourcemod/upload_tmp/textBN8JDy.sp::OnPluginStart()
[SM] Plugin FaceTest.smx reloaded successfully.
|
r=me on half-reverting
https://github.com/alliedmodders/sou...ec5e33887ca9da or making DirExists return false on "".