With sd as null or 0 I get sd write access violation. I guess probably for any value.
If sd isn't null or not assigned any value, it states calling sd without it being initialized. Both cause the mapserver to crash/restart.
I am not sure how it is not initialized with:
TBL_PC *sd;
or
TBL_PC* sd
sd is the cache the game uses right? My queries to the db are changing the value, is there a different way I can get the game to pull that data and overwrite what is in the cache?
Question
Tzuridis
I have this function:
Npc script just invokes:
guildjoin 2
With sd as null or 0 I get sd write access violation. I guess probably for any value.
If sd isn't null or not assigned any value, it states calling sd without it being initialized. Both cause the mapserver to crash/restart.
I am not sure how it is not initialized with:
sd is the cache the game uses right? My queries to the db are changing the value, is there a different way I can get the game to pull that data and overwrite what is in the cache?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.