AGS Awards nominations close at 13:59 GMT on Saturday 10 February 2018. You haven't yet nominated, so you've got 20 days and 23 hours left to play the games and decide which to nominate!

Author Topic: MODULE: Credits v1.19  (Read 18579 times)

Nishuthan

  • Peace
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: MODULE: Credits v1.19
« Reply #60 on: 29 Oct 2017, 10:54 »
Thanks

Nishuthan

  • Peace
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: MODULE: Credits v1.19
« Reply #61 on: 29 Oct 2017, 11:06 »
I have a Error I'm using AGS 3.4.0.
The Error is  "Credits.asc(80): Error (line 80): Undefined token 'StrCopy' "
How do i correct it ?

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: MODULE: Credits v1.19
« Reply #62 on: 29 Oct 2017, 12:07 »
The Error is  "Credits.asc(80): Error (line 80): Undefined token 'StrCopy' "

StrCopy is an obsolete function which works with old-style AGS strings, it has been abandoned like 10 years ago.

Looks like this module may use an upgrade...

As the last resort, if there is no modern version of this module, go to the General Settings page in the editor, find "Backwards Compatibility" section and set "Enforce new-style strings" to FALSE.
« Last Edit: 29 Oct 2017, 12:09 by Crimson Wizard »

arj0n

  • Mittens Vassal
  • why do meteors always land in craters?
    • arj0n worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #63 on: 29 Oct 2017, 13:14 »
@Nishuthan:
You're using the credits module v1.17 or older (which does contain the - as Crimson Wizard said - obsolete StrCopy).
Download v1.19 here, which works fine.

With v1.19 you might bump into an Undefined token 'PlaySound' error though.
I just quote the solution to this, as stated by Crimson Wizard earlier in this thread:
"this is because PlaySound is a deprecated function. To enable it you need to turn "Enforce new Audio scripting" off in the Backwards-compatibility settings of your project."