fodev.net
FOnline Development => Questions and Answers => Topic started by: Janusz2238 on July 20, 2013, 12:55:55 pm
-
I try compile 2238 scripts in notepad (args: $(FileName) -client -p $(FileNameNoExt).fosp)
But i got error: client_gui_ex.fos(764) : ERROR : No matching signatures to 'string::resize(const uint)'.
Best regards
Janusz
-
Are you using 2238 scripts with the latest SDK version? If so, than you have to use rawResize(uint) on string type instead.
-
Hi, thanks for reply. I have 2238 sdk branch. It works, but I dont know how test script without server. Thats why I want use ASCompiler :)
-
Until you merge with newer SDK version, you can use ASCompiler.exe which is in Server/scripts/ directory; it's version where string::resize() is still declared. We always kept ASCompiler in synch (and i recommend to do that in own projects...) during merges to newer SDK, so problems like this one (changes in SDK produces errors) never existed :)