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
0 registered members (), 18,561 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
What to do when c-script fails? #209884
06/06/08 12:24
06/06/08 12:24
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
my.size

It is a particle flag used to define the size of a particle. I have used it many a time. But now it causes a huge error that crashes SED. I believe this is because it has been double defined in A6 as the screen size as well. I don't know why this problem has just randomly appeared but I would love some amazing code wiz to find a good way around it. Thanks.


For some reason, my ambition always seems to beat my ability.
Re: What to do when c-script fails? [Re: sydan] #210304
06/09/08 18:57
06/09/08 18:57
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
I guess no one actually knows how to solve this problem.


For some reason, my ambition always seems to beat my ability.
Re: What to do when c-script fails? [Re: sydan] #210308
06/09/08 19:43
06/09/08 19:43
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
no variable has ever been double defined, that's not possible at all. i don't really get what you want. the property of a struct depends on the struct you're using it on. particle.size is as valid as foo.size, for the compiler there's no way for a misunderstanding.

Re: What to do when c-script fails? [Re: Joey] #210410
06/10/08 12:45
06/10/08 12:45
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Thats exactly wht I thought but when I type 'my.size' in my particle function two worrying things happen. Firstly when the game runs it crashes with no error message and secondly in the help bar at the bottom it reads the flag as size x y for the screen not my.size refering to particles. The pointer is irelivent its the flag that causes the problem.


For some reason, my ambition always seems to beat my ability.
Re: What to do when c-script fails? [Re: sydan] #210419
06/10/08 14:50
06/10/08 14:50
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
effect(efektim1,.....)


function efektim1(PARTICLE* mypart){
mypart.size.....
...
...
...
}

?????

edit: ah sorry, this is lite-c.

Last edited by Quadraxas; 06/10/08 14:50.

3333333333
Uh, Algernon get scammed and want fix. [Re: sydan] #210420
06/10/08 14:54
06/10/08 14:54
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
Quoting Joey.
Quote:
no variable has ever been double defined, that's not possible at all.

Only last week or so, a past slice of this (self) used a compiler, which complained about a double definition.

While user Joey may exist in another universe where unforgivable generalities run rampant, and chaos reins with confusion at its side, perhaps a reference to a specific term like 'scope', 'field', 'member', should be assumed there somewhere.
wink Ah, locales, languages and translations, but if the source is human, nothing is lost in the transfer.

@sydan
This (self) does not assume that the help bar, it's contents, and SED are directly linked to the engine in such a critical way.

Although the engine may be riddled with a number of nuisances, many may be somewhat out of sight, so for the time being, maybe you could just ignore the help bar, until the source of the crash is found, a better engine is selected, or some more worthwhile task preempts.

Quoting sydan.
Quote:
I guess no one actually knows how to solve this problem

Is that really 'your' best guess?
If the solution involves modifying the code there, and other parties have limited access to relevant information, maybe, in that case, replacing the term 'no one' with 'sydan', yields sense (or an approximation thereof for this senseless realm).


After so many occurrences, we're going to have to assume Quadraxas is doing 'that' on purpose.
this.reputation = -255;
this.that[n].reputation -= 55;



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