Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 959 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Help] SCAN_TEXTURE and video_screen = 0 #444644
08/16/14 09:06
08/16/14 09:06
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline OP
Serious User
Ch40zzC0d3r  Offline OP
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Hello!
Today I wanted to publish my dedicated server as well. When I tried playing a bit on it, it seemed to crash on shooting, walking etc. I debugged until I found the line which causes the error:
Code:
c_trace(hit.x, to, IGNORE_ME|IGNORE_PASSABLE|SCAN_TEXTURE|IGNORE_SPRITES|USE_BOX|IGNORE_CONTENT)



I then removed the SCAN_TEXTURE flag and it worked wonderfully.
The problem is that I really need the texture name and some of the other texture properties also on the server!
Do you have any idea on why this crashes and how to fix it?
Thanks in advance.

EDIT: I should also mention that it works in non-compiled mode but crashes compiled.

Last edited by Ch40zzC0d3r; 08/16/14 11:00.
Re: [Help] SCAN_TEXTURE and video_screen = 0 [Re: Ch40zzC0d3r] #444785
08/18/14 17:58
08/18/14 17:58
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
What is a "non-compiled mode"?

Re: [Help] SCAN_TEXTURE and video_screen = 0 [Re: jcl] #444789
08/18/14 18:44
08/18/14 18:44
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
It's the mode where you imagine how awesome your game is in your head laugh
Usually while listening to some great music and thinking about the cool trailers you could make with the music playing in their background.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: [Help] SCAN_TEXTURE and video_screen = 0 [Re: WretchedSid] #444791
08/18/14 19:55
08/18/14 19:55
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline OP
Serious User
Ch40zzC0d3r  Offline OP
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
...
I was talking about the actual publish or non-publish difference due to the standard seh/veh handler. Published version doesnt have a handler and crashes instantly.

Last edited by Ch40zzC0d3r; 08/18/14 19:56.
Re: [Help] SCAN_TEXTURE and video_screen = 0 [Re: Ch40zzC0d3r] #444807
08/19/14 08:58
08/19/14 08:58
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
This is a frequent problem - there are many threads about this on the forum. Compare the folders systematically until you found what's missing or different between your two versions. Also, make your code more bug proof by doing a nonzero test with all pointers that you're using. If it happens with SCAN_TEXTURE at a certain place, it should be not too hard to find.

Re: [Help] SCAN_TEXTURE and video_screen = 0 [Re: jcl] #444809
08/19/14 09:25
08/19/14 09:25
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline OP
Serious User
Ch40zzC0d3r  Offline OP
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Hm, Folder is completely the same and I always check for null-pointers.
But thanks, gonna take a look again. ATM I dont use SCAN_TEXTURE now and getting the data different.

Re: [Help] SCAN_TEXTURE and video_screen = 0 [Re: Ch40zzC0d3r] #444857
08/20/14 00:25
08/20/14 00:25
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
does it work without video_screen = 0


3333333333

Moderated by  old_bill, Tobias 

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