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
1 registered members (TipmyPip), 18,606 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
Page 2 of 2 1 2
Re: Char Comparing [Re: WretchedSid] #376320
07/01/11 19:41
07/01/11 19:41
Joined: Feb 2009
Posts: 52
Rohiaw Offline OP
Junior Member
Rohiaw  Offline OP
Junior Member

Joined: Feb 2009
Posts: 52
OMG, that function is exactly what I need.
Unfortunately, i got yet another Compiler Error, this time from LTRuntime.h:

Line 81: 'realloc' undeclared identifier

LFProtocolBody **temp = (LFProtocolBody **)realloc(bag->bodys, (bag->bodyCount + 1) * sizeof(LFProtocolBody*));

Re: Char Comparing [Re: Rohiaw] #376322
07/01/11 19:58
07/01/11 19:58
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Uhm, thats strange because it actually should include the window.h header file which includes the realloc function prototype. Three questions:
Can you compile the examples like arrays.c?
What Gamestudio version do you use?
Does the LFBase.h header look like this (the first three actual lines)?
Code:
//#define LF_TARGET_OSX
#define LF_TARGET_WIN32
#define LF_TARGET_LITEC // Needs to be combined with LF_TARGET_WIN32!




Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Char Comparing [Re: WretchedSid] #376324
07/01/11 20:02
07/01/11 20:02
Joined: Feb 2009
Posts: 52
Rohiaw Offline OP
Junior Member
Rohiaw  Offline OP
Junior Member

Joined: Feb 2009
Posts: 52
The first three lines are exactly like that.
My gamestudio version is 7.02
Arrays.c gave me that same error:

Line 81: 'realloc' undeclared identifier

Re: Char Comparing [Re: Rohiaw] #376325
07/01/11 20:10
07/01/11 20:10
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Ah, okay, the problem is your Gamestudio version, its too old. You should update it, in case that its not an Warez version, or otherwise you should switch to the A8 free version.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Char Comparing [Re: WretchedSid] #376327
07/01/11 20:16
07/01/11 20:16
Joined: Feb 2009
Posts: 52
Rohiaw Offline OP
Junior Member
Rohiaw  Offline OP
Junior Member

Joined: Feb 2009
Posts: 52
Mine is the Development Version. Can i upgrade to the A8 version ?
Cause i believe i tried upgrading once and I got two versions of GameStudio.
A non-working A7 and a free version A8 smirk

But if upgrading to A8 will help me finish my project than i guess I have no choice...

Re: Char Comparing [Re: Rohiaw] #376328
07/01/11 20:27
07/01/11 20:27
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
You can download this update for A7 and just install it over your existing version: http://server.conitec.net/down/gstudio7_setup.exe

Then you should apply this patch here which fixes some bugs with the version:
http://server.conitec.net/down/gstudio7_patch.zip

Afterwards, everything should work just fine


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Char Comparing [Re: WretchedSid] #376329
07/01/11 20:30
07/01/11 20:30
Joined: Feb 2009
Posts: 52
Rohiaw Offline OP
Junior Member
Rohiaw  Offline OP
Junior Member

Joined: Feb 2009
Posts: 52
No need to update or buy A8 ?

Re: Char Comparing [Re: Rohiaw] #376331
07/01/11 20:39
07/01/11 20:39
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Nope, your A7 should work just fine together with Lite Foundation (I haven't tested it, but the compiler didn't changed much between the later A7 and the earliest A8)


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Char Comparing [Re: WretchedSid] #376332
07/01/11 20:47
07/01/11 20:47
Joined: Feb 2009
Posts: 52
Rohiaw Offline OP
Junior Member
Rohiaw  Offline OP
Junior Member

Joined: Feb 2009
Posts: 52
Great. The update is still downloading.
I'll see if it works and post back. Thanks for all the help wink

Re: Char Comparing [Re: Rohiaw] #377052
07/09/11 15:56
07/09/11 15:56
Joined: Feb 2009
Posts: 52
Rohiaw Offline OP
Junior Member
Rohiaw  Offline OP
Junior Member

Joined: Feb 2009
Posts: 52
It didn't work.
I installed the update and the patch, and now i've got a trial version, and instead of just the error i had prior to the update and the patch, i've recieved about 2 compiler errors, and 3 others during gameplay.

I think i prefer my old version >.> at the cost of LF

Last edited by Rohiaw; 07/09/11 15:56.
Page 2 of 2 1 2

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