Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A7 to A8 #402144
05/30/12 16:39
05/30/12 16:39
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
Hi, i am trying to move my project from A7 to A8 but i have started using WDL C-Script and can't change to Lite-C so i am having a few problems;

1. str_cpy seems to not work anymore, im not sure if it's abandoned but what is the new alternative?

2. I think it's caused by the first problem but when i try to run my game i get 'script_crash in main: level_load(level_str)'

3. I know the old physics system 'phent' has been replaced by physix, but to use it i have to include <ackphysx.h> which is lite-c is there anyway to use this with C-Script?

Thanks

Re: A7 to A8 [Re: Truth] #402150
05/30/12 17:02
05/30/12 17:02
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
1 + 2 = if we were to see some code we(meaning community)
could perhaps help with ease

3= i have no idea even what c-script is but if its a a7 version only i think you could not use physx with a7 (not sure as i dont know a7/c-script) but from my point of view
i dont think so..


Compulsive compiler
Re: A7 to A8 [Re: Wjbender] #402536
06/06/12 18:49
06/06/12 18:49
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
C-script is A6 and older but could work with A7. However it would be faster to start the code from scratch than to try to sort each change as there are so many differences and so much to learn when going in Lite-c. I took a game and changed it bit by bit to work with lite-c and just wasted my time.

Str_cpy works just fine in lite c. If your level doesn't load correctly something may be wrong with the level itself or the string name you gave it to load.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: A7 to A8 [Re: FoxHound] #402634
06/07/12 21:58
06/07/12 21:58
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline
Expert
Error014  Offline
Expert

Joined: Jul 2002
Posts: 3,208
Germany
Oh man. Okay, so str_cpy still works. But! Lite-c is case sensitive. Perhaps you wrote "Str_cpy", or "str_Cpy", or any such things? Basically, make sure that "str_cpy" is all small letters.

Possible other thing: If you use the string of a text-object ("mytext.string", that kinda stuff), then please note that the structure of texts changed when we went from C-Script to Lite-C, and you'd have to replace that with "(mytext.pstring)[0]".

Or perhaps it's something entirely different!
But this is as far as we can help you given the rather cryptic original post. "seems to not work" is, sadly, rather difficult to pin down. What's the error message, and what's your code?



I'll just assume that your assumption is true and 2) will solve itself after we took care of 1). As far as 3) is concerned, I cannot help - haven't used the physics engines.


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!

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

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