Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 14,136 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error after update a6 to a7! #294905
10/21/09 20:49
10/21/09 20:49
Joined: Oct 2009
Posts: 10
A
Arad Offline OP
Newbie
Arad  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 10
Hello
When I compiled my game with a6 it didnt have any error
but now when i run it in a7 it show very error like:
play_sound(msg_soumd,66);
bad or missing parameter unknow function

please help me

Re: Error after update a6 to a7! [Re: Arad] #294908
10/21/09 20:59
10/21/09 20:59
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
play_sound is an old command, use snd_play instead.
The manual contains a page where all outdated instructions and their new replacements are listed. I don't know the English title but search for old/ antiquated/ outdated/ obsolete syntax.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Error after update a6 to a7! [Re: Superku] #294910
10/21/09 21:06
10/21/09 21:06
Joined: Oct 2009
Posts: 10
A
Arad Offline OP
Newbie
Arad  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 10
are u sure all of my errors is for outdated syntax because some of this is syntax error like <}>

Re: Error after update a6 to a7! [Re: Arad] #294933
10/22/09 00:10
10/22/09 00:10
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
What?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Error after update a6 to a7! [Re: Arad] #295589
10/26/09 11:40
10/26/09 11:40
Joined: Jan 2004
Posts: 557
Wurzen, Deutschland
White_Wolf Offline
User
White_Wolf  Offline
User

Joined: Jan 2004
Posts: 557
Wurzen, Deutschland
Hello,

the error with "}" came form the actions without "()". In A7 need the actions the "()" in A6 not.

Code:
// A6
action {
... // a lot of code
}

// A7
action() {
.. // a lot of code
}



by
White_Wolf


A8 Com Version 8.40 Win 7 64 Bit
Re: Error after update a6 to a7! [Re: White_Wolf] #361621
03/03/11 23:20
03/03/11 23:20
Joined: Oct 2009
Posts: 10
A
Arad Offline OP
Newbie
Arad  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 10
thank you guys


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1