Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
gahhhhhhhhh!! Bug????? Help.... Scary..... #136471
06/14/07 17:32
06/14/07 17:32
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
I define:
define area_max_connections,60;

and in a funktion:
if(89999999<=area_max_connections)
{
exit;
}

and the game turns off!!!!!!

Weird isn't it.....

What can be wrong?


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: gahhhhhhhhh!! Bug????? Help.... Scary..... [Re: Puppeteer] #136472
06/14/07 17:34
06/14/07 17:34
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
and in the same function:

area_max_connections=2;
========================> Error read only area_max_connections 60
(or something like that...)


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: gahhhhhhhhh!! Bug????? Help.... Scary..... [Re: Puppeteer] #136473
06/14/07 17:40
06/14/07 17:40
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Gamestudio's fixed point variables have a range of -999999.999..+999999.999 and a precision of 0.001.


Never say never.
Re: gahhhhhhhhh!! Bug????? Help.... Scary..... [Re: Puppeteer] #136474
06/14/07 17:41
06/14/07 17:41
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Quote:

area_max_connections = 2;



- Defines cannot be redifined - Otherwise use a global var.

Also, instead of using exit, try something like
- error("area_max_connections isn't working!");
This way, you know exactly what the problem is, and that the game's not just closing


xXxGuitar511
- Programmer
Re: gahhhhhhhhh!! Bug????? Help.... Scary..... [Re: xXxGuitar511] #136475
06/14/07 17:46
06/14/07 17:46
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
@ xXxGuitar:
i know that it was a test which value it really has...
But how only up to 999999???
That is kinda ugly...
What is the mx size of an array?


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: gahhhhhhhhh!! Bug????? Help.... Scary..... [Re: Puppeteer] #136476
06/14/07 18:12
06/14/07 18:12
Joined: Nov 2006
Posts: 141
South Africa
quasarchangel Offline
Member
quasarchangel  Offline
Member

Joined: Nov 2006
Posts: 141
South Africa
I am working with 3 arrays of this size: 1479872, and I have not been able to find any errors when using them.
The Manual says: An array may have any length, but a maximum of 500 default values can be given in a script file.
I have found errors with larger arrays than what I am using, but I don't know what the max is.


God DID give us a manual on how to change this world...

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