get and set info of mapreg

Triedge

New member
Messages
199
Points
0
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 .

 
Back
Top