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
3 registered members (dBc, clonman, TipmyPip), 18,816 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
[ANET] Game crash #408442
10/01/12 12:03
10/01/12 12:03
Joined: Sep 2012
Posts: 21
France
larafale Offline OP
Newbie
larafale  Offline OP
Newbie

Joined: Sep 2012
Posts: 21
France
Hi,

When the player dies (client or client-server), the game crashes.
Can you tell me why?

Re: [ANET] Game crash [Re: larafale] #408443
10/01/12 12:19
10/01/12 12:19
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
no, without any piece of code, any crash message or other info i can only guess:
Empty pointer


Visit my site: www.masterq32.de
Re: [ANET] Game crash [Re: MasterQ32] #408447
10/01/12 14:31
10/01/12 14:31
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
I guess that you deleted the player entity so the wntry in your players[] array of your last post got invalid. But you trie to use this pointer somewhere in your code. I would write null into the array when the player was deleted and everywhere you use a pointer out of the players[] array check if it is no null pointer.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: [ANET] Game crash [Re: MasterQ32] #408448
10/01/12 14:35
10/01/12 14:35
Joined: Sep 2012
Posts: 21
France
larafale Offline OP
Newbie
larafale  Offline OP
Newbie

Joined: Sep 2012
Posts: 21
France
Sorry,
there was no error message, only a windows crash message( can't execute main.exe).
I found the solution puting a variable death - not death and return in the death player function.
Thanks .


Moderated by  HeelX, Spirit 

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