AVS ODBC Question
Moderator: Event DM
AVS ODBC Question
When I start my module up, I'm getting 0 bytes reserved for requests, but 4000+ bytes reserved for responses. This obviously keeps me from asking the Database to store and retrieve info... Any ideas?
-
- World Advisor, Co-founder
- Posts: 15149
- Joined: Fri Sep 14, 2001 9:48 pm
- Timezone: GMT-5
- Contact:
Check on the Bioware boards and on the Avlis News forum.
You are most likely calling APS functions in your OnModuleLoad event, which is a no no. The only functions that should be called on load are the ones that set up the database interface. Any other function that you need to call on load should be done via an ExecuteScript function.
You are most likely calling APS functions in your OnModuleLoad event, which is a no no. The only functions that should be called on load are the ones that set up the database interface. Any other function that you need to call on load should be done via an ExecuteScript function.
"Truth has no form."
--Idries Shah
--Idries Shah
I had the same problem, but mine said 6 bytes for requests. I went into the aps_include and edited sql_init to fix it.
Basically it looks kind of like this:
I took it out of the loop, for some reason the loop wasn't working for me
After I did that it worked for me. I had to do the same thing with the response after awhile too.
Jason
Basically it looks kind of like this:
Code: Select all
for (i=0;i<8;i++)
nresponse =+"...................................................";
Code: Select all
//for (i=0;i<8;i++)
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
nresponse =+"............................................";
Jason