ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.21k forks source link

Psych "Type not found : TeaCall" Building Issue #14147

Closed TheDovah10 closed 6 months ago

TheDovah10 commented 9 months ago

Describe your problem here.

When building from source, I run into the issue "source/psychlua/HScript.hx:317: characters 89-96 : Type not found : TeaCall", which prematurely ends the compiler. I can't find anything about this online, so any help help would be appreciated.

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

No.

Hackx2 commented 9 months ago

I haven't worked with this version of psych engine, but this might help.

haxelib install SScript 8.1.6

or

haxelib install SScript 10.0.618
miao1916 commented 9 months ago

i also had this issue you gotta change all the instances of TeaCall with Tea in the HScript.hx

XDarick commented 8 months ago

Man, I only deleted the change all occurrences and if it worked for me, it was bad but it worked for the mod to be activated, I don't know if it's a good idea but it is a solution, I hope it helps you

Hackx2 commented 8 months ago

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions

davydpetrov commented 7 months ago

i also had this issue you gotta change all the instances of TeaCall with Tea in the HScript.hx

this helped me please pin as answer

TheModsMan commented 4 months ago

But how do you change instances to tea call for tea on HScript.hx?

chrisdoesstuff69 commented 4 months ago

i also had this issue you gotta change all the instances of TeaCall with Tea in the HScript.hx how tf do you do that

miao1916 commented 4 months ago

i also had this issue you gotta change all the instances of TeaCall with Tea in the HScript.hx how tf do you do that

you search for the file inside your game folder, you open it with a software like visual studio code, you use the built in search tool in vs code to look for all the instances of TeaCall and you simply replace them with the search tool u just used remember to replace TeaCall with Tea

TheSpiralOfPowah commented 4 months ago

i also had this issue you gotta change all the instances of TeaCall with Tea in the HScript.hx

That somewhat worked, but now it's giving me this error:

source/psychlua/CallbackHandler.hx:55: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua
export/release/windows/haxe/ApplicationMain.hx:153: characters 5-36 : ... Called from macro here
megalives717 commented 1 month ago

not working please help