Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
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
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Engine keeps crashing! #76528
06/03/06 06:52
06/03/06 06:52
Joined: Jan 2006
Posts: 245
PA
Garrettwademan Offline OP
Member
Garrettwademan  Offline OP
Member

Joined: Jan 2006
Posts: 245
PA
Everything was going smooth until I ran into this problem. I was working today when all of the sudden I go and test my multiplayer game and the server starts up fine and everything goes smoothly witht he server side game. I then go and start the client side game and everything runs smoothly until WHAM!!!! MY ENGINE CRASHES AND GOES BACK TO DESKTOP. I cannot figure this one out. It seems my clients game crashes when it gets to load_level(level.wmb); I gave it a wait before, a wait after, nothing, still crashes. Why is the level crashing on the client side? It is the same level, same compile as the server side. This is all before the coding with the server and client code too, so I know its not anything to do with that. Here is my crash code for main...

string world_wmb = <world.wmb>; //first level to be loaded
.................
.................
function main(){
max_entities = 10000; //Determines the amount of entities the game will use
level_load(world_wmb); // Loads level
wait(100);
.............
..........
.............
Like I stated before, it was working fine and then all of the sudden it pulls this crap on me. If I take out the load_level code it will work up until I go and add entities and there it says, you must have a level to create entities in. Any suggestions?


Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com
Re: Engine keeps crashing! [Re: Garrettwademan] #76529
06/03/06 08:58
06/03/06 08:58
Joined: Aug 2005
Posts: 1,012
germany, dresden
ulf Offline
Serious User
ulf  Offline
Serious User

Joined: Aug 2005
Posts: 1,012
germany, dresden
try a sleep(1) bevore and after! the level load.

Re: Engine keeps crashing! [Re: ulf] #76530
06/03/06 17:31
06/03/06 17:31
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I'm not sure if it's necessary, but I think your supposed to wait a few frames befor and after (3 maybe).


xXxGuitar511
- Programmer
Re: Engine keeps crashing! [Re: xXxGuitar511] #76531
06/03/06 19:27
06/03/06 19:27
Joined: Jan 2006
Posts: 245
PA
Garrettwademan Offline OP
Member
Garrettwademan  Offline OP
Member

Joined: Jan 2006
Posts: 245
PA
Ok, I found the problem. Thanks for everyons ideas on this, it narrowed my problems down. It seemed I was loading images like so.....

bmap test_pcx = "images\\test.pcx";
and.....
bmap test_pcx = <images\\test.pcx>;

Now.....this works for the server side, but for the client, it did not. The client must use images that are in the parent folder. I would really like to organize my pictures though, but it seems the game crashes for the client when I do this.


Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com

Moderated by  HeelX, Spirit 

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