Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,426 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 8 of 10 1 2 6 7 8 9 10
Re: Version 7.03 public beta [Re: Frits] #131828
06/14/07 12:22
06/14/07 12:22
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
When you get error messages, examine in which files they happen. This gives you hints for the reason of the problem - like missing or outdated files in your installation. I have not enough information to help you here, but you should be able to fix this, at least by re-installing 6.40 and re-updating to 6.60.

If you can't get it to run, describe your problem in "Ask Conitec" - I'll help you then. This thread is about A7 and your C-Script problems are probably unrelated.

Re: Version 7.03 public beta [Re: jcl] #131829
06/14/07 17:24
06/14/07 17:24
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
For system variable like video_mode, video_depth : put
them inside a function and without the keyword "var".

For user define "global" variables like var myVar, yourVar... etc. put
them outside any functions just like usual. See an exammple from liteC
Workshop->Workdshop 23->script23.c.

I hope I can help to make it clear.

Re: Version 7.03 public beta [Re: vlau] #131830
06/15/07 07:55
06/15/07 07:55
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline
User
Frits  Offline
User

Joined: Mar 2006
Posts: 724
the Netherlands
No no, I will explain it once more;
- I made a level in A6 (ofcource with C-Script).

Part of C-Script:
var video_mode=8; //1024 * 768 screen resolution
var video_depth=32; //D3D mode
var video_screen=1; //1=full screen, 2=window

- I copied that level to A7.
- I did not change anything in C-Script.
- I did not change the script into Lite_C.
- I build the level with A7.

When run, the part of C-Script (see above) does not affect the screen.
video_mode keeps default (6)
video_screen keeps default (2)

Now that is the problem, In A6 it works perfect and in A7 it does not.
Please help.


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: Version 7.03 public beta [Re: Frits] #131831
06/15/07 08:10
06/15/07 08:10
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Frits: I understood your problem, but I don't have a ready solution because I have not enough information. When you use C-Script, there is no difference between A7 and A6.60. A7.03 just uses the very same A6 engine version as A6.60. Video_mode just works as before, as you can easily see when you start any C-Script project with A7. Almost all projects use video_mode.

You had reported script errors, so I think something's wrong with your installation anyway - see my answer above. Or it's a strange A7 error that no one else except you has experienced so far.

I'll be away next week, so I can't help you in the next days. But after my return - if your problem has then not meanwhile fixed itself - we'll walk through your installation process and have a closer look at your error messages. I think we'll find out what's wrong.

Re: Version 7.03 public beta [Re: jcl] #131832
06/15/07 08:18
06/15/07 08:18
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline
User
Frits  Offline
User

Joined: Mar 2006
Posts: 724
the Netherlands
Thanks jcl, but the errors I have mentioned are not in my level but in the Techdemo.
But I will design a new level under A7, maybe something goes wrong when you copy an A6 level.

EDIT
I have made a brand new level in A7 and add some C-Script for the screen and a player.
Even now the screen keeps its default values and will not change to my desired screen resolution and to full screen.
I have no clue at all why this is not working in A7, I have no problem with this in A6.

Last edited by Frits; 06/15/07 14:13.

I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: Version 7.03 public beta [Re: Frits] #131833
06/15/07 15:58
06/15/07 15:58
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
frits, are you sure you started the right sed? if you use winXP and the recent used programs, it could be you started the wrong sed and thus not the right engine, just because the icons change.

it just happened to me, i got a black window , no errormessage.
maybe thats what is happening to you?


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Version 7.03 public beta [Re: ello] #131834
06/16/07 07:42
06/16/07 07:42
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline
User
Frits  Offline
User

Joined: Mar 2006
Posts: 724
the Netherlands
Yes, I use the right SED and I don't have the problem you described.


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: Version 7.03 public beta [Re: Frits] #131835
06/22/07 21:11
06/22/07 21:11
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline
Member
Sam_Be  Offline
Member

Joined: Jan 2007
Posts: 295
Portugal
hi
i have a question about a7. ist the A7 engine going to be faster then tha A6 engine??
sam


GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: Version 7.03 public beta [Re: Sam_Be] #131836
06/25/07 12:24
06/25/07 12:24
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline
User
Frits  Offline
User

Joined: Mar 2006
Posts: 724
the Netherlands
Hi jcl, your back I see.
As a follow up for my problem I made a hollow cube in A7, put in a position and made a simple script in C-Script;
var video_mode=8; //1024 * 768 screen resolution
var video_depth=32; //D3D mode
var video_screen=1; //1=full screen, 2=window

When I build and run this the video_mode keeps its default value = 6 and the video_screen also keeps its default value = 2.

So my A7 does not react att all at the vars.
Can you shed any light on this, is it me or is it A7?


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: Version 7.03 public beta [Re: Frits] #131837
06/25/07 12:37
06/25/07 12:37
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I don't know - I admit that your problem doesn't make any sense to me.

No one else had any problems with video modes so far, but on the other hand I can't see how someone can make a mistake with simply setting a video mode. Maybe it's a bug that for some reason only occurs in your configuration.

I suggest that you follow my first advice and check whether the problem only happens with your own scripts, or also with normal projects like techdemo. If so, please post about it on "Ask Conitec" or the bug forum and include your complete script and the acklog. That could give us a hint what's happening. I think we'll get this sorted out quite soon.

Page 8 of 10 1 2 6 7 8 9 10

Moderated by  Matt_Coles 

Gamestudio download | chip programmers | 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