Home
Forum
Help
Login
Register
November 01, 2024, 01:05:28 am
fodev.net
»
FOnline Development
»
Questions and Answers
»
[ASCompiler] 2238 scripts
« previous
next »
Print
Pages: [
1
]
Author
Topic: [ASCompiler] 2238 scripts (Read 3103 times)
Janusz2238
forum.newfmc.pl
[ASCompiler] 2238 scripts
«
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) :
Code:
[Select]
ERROR : No matching signatures to 'string::resize(const uint)'.
Best regards
Janusz
Logged
Polskie Pustkowia
http://forum.newfmc.pl/
wladimiiir
Rotator
Independent FOnline developer
Re: [ASCompiler] 2238 scripts
«
Reply #1 on:
July 20, 2013, 01:10:12 pm »
Are you using 2238 scripts with the latest SDK version? If so, than you have to use
rawResize(uint)
on string type instead.
Logged
FOnline Vault 112: open-source project
Janusz2238
forum.newfmc.pl
Re: [ASCompiler] 2238 scripts
«
Reply #2 on:
July 20, 2013, 03:14:34 pm »
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
Logged
Polskie Pustkowia
http://forum.newfmc.pl/
Wipe
Rotator
Random is god
Re: [ASCompiler] 2238 scripts
«
Reply #3 on:
July 20, 2013, 04:49:44 pm »
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
«
Last Edit: July 20, 2013, 04:51:58 pm by Wipe
»
Logged
Games are meant to be created, not played...
Print
Pages: [
1
]
« previous
next »
fodev.net
»
FOnline Development
»
Questions and Answers
»
[ASCompiler] 2238 scripts