AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   Error Help: The instruction at X referenced memory... (https://forums.alliedmods.net/showthread.php?t=300612)

Beqa Gurgenidze 08-23-2017 04:56

Error Help: The instruction at X referenced memory...
 
Im Creating Module with only metamod and when im precaching something, and restarting map while player is ingame, server crashes with error:

The instruction at 0x22302220 referenced memory at 0x22302220. the memory could not be read.
I've Getting error when player is in game.

I've also hooked PrecacheModel forward, and precached resources from there (only 1 time *), but not worked.

Heeeeeeeeeeeeeeeeeeeeeelp :?

HamletEagle 08-23-2017 05:24

Re: Error Help: The instruction at X referenced memory...
 
Without source code how could anyone help you?

PRoSToTeM@ 08-23-2017 08:51

Re: Error Help: The instruction at X referenced memory...
 
Try to wrap your string in precache model with STRING(ALLOC_STRING()).

Beqa Gurgenidze 08-23-2017 10:02

Re: Error Help: The instruction at X referenced memory...
 
my bad. i did something wrong. i didnt initialized engine functions from where i used them. :shock:

Beqa Gurgenidze 08-23-2017 10:33

Re: Error Help: The instruction at X referenced memory...
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2543814)
my bad. i did something wrong. i didnt initialized engine functions from where i used them. :shock:

nono wait. still not work. if player is in game & restarting, it is crashing.
only crashing when using precache forwards from g_engfuncs. :shock:

klippy 08-23-2017 10:53

Re: Error Help: The instruction at X referenced memory...
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2543821)
nono wait. still not work. if player is in game & restarting, it is crashing.
only crashing when using precache forwards from g_engfuncs. :shock:

Quote:

Originally Posted by HamletEagle (Post 2543756)
Without source code how could anyone help you?


Beqa Gurgenidze 08-23-2017 11:31

Re: Error Help: The instruction at X referenced memory...
 
no need any source code :grrr:

Spirit_12 08-23-2017 12:21

Re: Error Help: The instruction at X referenced memory...
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2543832)
no need any source code :grrr:

No need for anyone to help you either then.

joropito 08-23-2017 14:41

Re: Error Help: The instruction at X referenced memory...
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2543832)
no need any source code :grrr:

Yes, we need your source code if we wanna help you. You can't tell us how to help you.
Otherwise, help yourself.

You're trying to code by learning, so learn. Best way is to make mistakes, debug and learn. Go ahead and just tell us when you fixed it!

rukia

meTaLiCroSS 08-23-2017 21:31

Re: Error Help: The instruction at X referenced memory...
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2543832)
no need any source code :grrr:

Go fix it by yourself then, we cannot guess it easily.


All times are GMT -4. The time now is 09:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.