Raised This Month: $12 Target: $400
 3% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Beqa Gurgenidze
BANNED
Join Date: Nov 2016
Old 08-23-2017 , 04:56   Error Help: The instruction at X referenced memory...
Reply With Quote #1

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
Beqa Gurgenidze is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-23-2017 , 05:24   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #2

Without source code how could anyone help you?
__________________
HamletEagle is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 08-23-2017 , 08:51   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #3

Try to wrap your string in precache model with STRING(ALLOC_STRING()).
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Beqa Gurgenidze
BANNED
Join Date: Nov 2016
Old 08-23-2017 , 10:02   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #4

my bad. i did something wrong. i didnt initialized engine functions from where i used them.
Beqa Gurgenidze is offline
Beqa Gurgenidze
BANNED
Join Date: Nov 2016
Old 08-23-2017 , 10:33   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #5

Quote:
Originally Posted by Beqa Gurgenidze View Post
my bad. i did something wrong. i didnt initialized engine functions from where i used them.
nono wait. still not work. if player is in game & restarting, it is crashing.
only crashing when using precache forwards from g_engfuncs.
Beqa Gurgenidze is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-23-2017 , 10:53   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #6

Quote:
Originally Posted by Beqa Gurgenidze View Post
nono wait. still not work. if player is in game & restarting, it is crashing.
only crashing when using precache forwards from g_engfuncs.
Quote:
Originally Posted by HamletEagle View Post
Without source code how could anyone help you?
klippy is offline
Beqa Gurgenidze
BANNED
Join Date: Nov 2016
Old 08-23-2017 , 11:31   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #7

no need any source code
Beqa Gurgenidze is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-23-2017 , 12:21   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #8

Quote:
Originally Posted by Beqa Gurgenidze View Post
no need any source code
No need for anyone to help you either then.
__________________
Spirit_12 is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 08-23-2017 , 14:41   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #9

Quote:
Originally Posted by Beqa Gurgenidze View Post
no need any source code
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!

__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 08-23-2017 , 21:31   Re: Error Help: The instruction at X referenced memory...
Reply With Quote #10

Quote:
Originally Posted by Beqa Gurgenidze View Post
no need any source code
Go fix it by yourself then, we cannot guess it easily.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:27.


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