FOnline Development > Questions and Answers

[ASCompiler] 2238 scripts

(1/1)

Janusz2238:
I try compile 2238 scripts in notepad (args: $(FileName) -client -p $(FileNameNoExt).fosp)

But i got error: client_gui_ex.fos(764) :
--- Code: ---ERROR : No matching signatures to 'string::resize(const uint)'.
--- End code ---

Best regards
Janusz

wladimiiir:
Are you using 2238 scripts with the latest SDK version? If so, than you have to use rawResize(uint) on string type instead.

Janusz2238:
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 :)

Wipe:
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 :)

Navigation

[0] Message Index

Go to full version