Raised This Month: $ Target: $400
 0% 

Matrix Mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jeppelykke
Member
Join Date: May 2005
Location: Hjørring, Denmark
Old 05-07-2006 , 04:37  
Reply With Quote #15

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
__________________
Best Regards
Jeppe Lykke, Denmark
jeppelykke is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode