Triedge 12 Posted April 12, 2015 I'm doing a modification from the source , but I need that they can be read and modified certain integer values in mapreg table. {// integer variable data->type = C_INT; switch( reg[0] ) { case '@': data->u.num = pc->readreg(sd, script->add_str(reg)); break; case '$': data->u.num = mapreg->readreg(script->add_str(reg)); break; case '#': if( reg[1] == '#' ) data->u.num = pc_readaccountreg2(sd, script->add_str(reg));// global else data->u.num = pc_readaccountreg(sd, script->add_str(reg));// local break; default: data->u.num = pc_readglobalreg(sd, script->add_str(reg)); break; } I have seen this in the source , but not exactly as I modify it to read certain things from the source . And yes, I can read values mapreg from scripts , but I need this to a modification from the source . Quote Share this post Link to post Share on other sites
0 Triedge 12 Posted April 13, 2015 Or... How I can read and modify data MySQL from Source? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted April 15, 2015 get mapreg->readreg( script->add_str("$abc"); set mapreg->setreg( script->add_str("$@cde"), 1000 ); 2 Ehwaz and Triedge reacted to this Quote Share this post Link to post Share on other sites
0 Triedge 12 Posted April 15, 2015 get mapreg->readreg( script->add_str("$abc"); set mapreg->setreg( script->add_str("$@cde"), 1000 ); ohhhhhhhhhhhh THX VERY MUCH!!! Quote Share this post Link to post Share on other sites
I'm doing a modification from the source , but I need that they can be read and modified certain integer values in mapreg table.
I have seen this in the source , but not exactly as I modify it to read certain things from the source .
And yes, I can read values mapreg from scripts , but I need this to a modification from the source .
Share this post
Link to post
Share on other sites