Current Bugs I found so far:
1) Player loose der XP when changeing map or connecting.
Code:
public client_connect(id)
{
if(!MM_is_active())
return PLUGIN_CONTINUE;
// Reset player data
new data;
for(data = 0; data < 9; data++)
MM_set_pdata(id, data, 0);
// Set origin to default
g_origin[id][0] = 0;
g_origin[id][1] = 0;
g_origin[id][2] = 0;
console_cmd(id, "hud_centerid 0");
MM_XP_load(id);
return PLUGIN_CONTINUE;
}
I disabled the part saying: Reset player data.
As we want the XP to stay no matter we change map or connecting.
2) Smith non footstep sound, gets transfer to any class you change to.
If you start with smith and get silent footstep and you change class, you
get to keep silent footstep skill.
Code:
public MM_MENU_show(id)
{
new keys, class;
keys = (1<<0|1<<1|1<<2|1<<3);
// Get player class
class = MM_get_pdata(id, pdata_class);
new menu[256];
// Format the menu
new len = format(menu, 255, "\rClass Menu^n");
len += format(menu[len], 255 - len, "\y1.\w Neo^n");
len += format(menu[len], 255 - len, "\y2.\w Agent Smith^n");
len += format(menu[len], 255 - len, "\y3.\w Machine^n");
len += format(menu[len], 255 - len, "\y4.\w Phasing Twins^n");
// If no longer human show exit key
if(class != human)
{
len += format(menu[len], 255 - len, "\y0.\w Exit^n");
keys |= (1<<9);
}
len += format(menu[len], 255 - len, "Currently: %s", g_classes[class]);
show_menu(id, keys, menu, -1, "cmenu");
set_user_footsteps(id, 0);
}
I added:
set_user_footsteps(id, 0); so when ever the player choose a class his footstep are turned back on.
3) "You lost your concentration and materialized in a wall
Code:
public hook_stuck(id)
{
new origin[3];
get_user_origin(id, origin, 0);
if(origin[0] == g_origin[id][0] && origin[1] == g_origin[id][1] && origin[2] == g_origin[id][2])
MM_kill(id, id, "", 0);
client_print(id, print_center, "[MM] You lost your concentration and materialized in a wall!");
}
I don't know if i get it currently but MM_KILL don't kill player and you remain stuck in wall ect..
Have not written my own kill player yet, as i don't know if the server that runs it wants it done yet.
-----
I hope this is something you can look into, maybe get some ideas on fixing this so it works better.
I looking very much forward to your next release
__________________