Can't give you a diff because I work on a project and don't want to create a new branch, but here is what you do:
In ./src/map/mob.c look for the mob_dead function
if (map[m].flag.nobaseexp || !md->db->base_exp)
base_exp = 0;
And change it to the following:
if (map[m].flag.nobaseexp || !md->db->base_exp || tmpsd[i]->status.base_level >= 90)
base_exp = 0;
Pardon me, what?
So everything a GM (Level 90+) logs in, the IP saved for him in the login table is changed to 127.0.0.1?
I'd recommend a SRC edits, but if you want a NPC:
-%TAB%script%TAB%name%TAB%-,{
OnPCLoginEvent:
if (GetGMLevel() >= 90) {
SQL_Query("UPDATE `login` SET `last_ip` = '127.0.0.1' WHERE `account_id` = '" + GetCharID(3) + "' LIMIT 1");
}
End();
}
Not tested, should work though.