Skip to content

port g_resources::getRealDir from edubart/otclient#101

Open
divinity76 wants to merge 1 commit intoOTCv8:masterfrom
divinity76:getRealDir
Open

port g_resources::getRealDir from edubart/otclient#101
divinity76 wants to merge 1 commit intoOTCv8:masterfrom
divinity76:getRealDir

Conversation

@divinity76
Copy link

Finds the dir of a specified file, more detailed documentation at https://icculus.org/physfs/docs/html/physfs_8h.html#a539bcf0ebde6271e3e4a90dd287ca975

This increase scripting compatibiliity with edubrt/otclient, and is required by CandyBot:
http://bendol.github.io/otclient-candybot/

fixes CandyBot crash

attempt to call field getRealDir (a nil value)

Finds the dir of a specified file, more detailed documentation at https://icculus.org/physfs/docs/html/physfs_8h.html#a539bcf0ebde6271e3e4a90dd287ca975

This increase scripting compatibiliity with edubrt/otclient,
and is required by CandyBot:
http://bendol.github.io/otclient-candybot/
, without this, CandyBot crash with
"attempt to cal field getRealDir (a nil value)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant