Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port g_resources::getRealDir from edubart/otclient #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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