Nuggzy
Member
no no jno, sorry i check it again and works. My apologies, i don't say nothing its working, my fault! works perfect
works perfect!
Ok thanks
no no jno, sorry i check it again and works. My apologies, i don't say nothing its working, my fault! works perfect
works perfect!
public override void AddNameProperties(ObjectPropertyList list)
{
base.AddNameProperties(list);
XmlPoints a = (XmlPoints)XmlAttach.FindAttachment(this, typeof(XmlPoints));
XmlData XmlPointsTitle = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "XmlPointsTitle");
if ((XmlPointsTitle != null && XmlPointsTitle.Data == "True") || a == null)
{
return;
}
else if (IsPlayer())
{
#region Nuggzy's Hardcore Mod
Account acct = (Account)this.Account;
int NHMHardcore = Convert.ToInt32(acct.GetTag("HardcoreMode~" + this.Name));
if (NHMHardcore == 1)
{
int NHMLCount = Convert.ToInt32(acct.GetTag("HardcoreLifeCount~" + this.Name));
list.Add(1070722, "Kills {0} / Deaths {1} : Rank={2} : Lives {3}", a.Kills, a.Deaths, a.Rank, NHMLCount);
}
else
{
list.Add(1070722, "Kills {0} / Deaths {1} : Rank={2}", a.Kills, a.Deaths, a.Rank);
}
#endregion
}
}
- Fixed a bug in the res location check.
- Fixed a bug in the gate information book to stop it from decaying.
- Added a gump to display deaths/lives and status messages.
Its possible gives extra lives to players using
[props or anythinh?
another question, its possible increase the time for respawn?
+ custom/mobiles/PlayerMobile.cs:
CS0103: Line 3357: The name `NHMpmX' does not exist in the current context
CS0103: Line 3360: The name `NHMpmY' does not exist in the current context
CS0103: Line 3372: The name `NHMUpdateGump' does not exist in the current context
CS0103: Line 3447: The name `NHMUpdateGump' does not exist in the current context
CS0103: Line 3908: The name `NHMpmX' does not exist in the current context
CS0103: Line 3909: The name `NHMpmY' does not exist in the current context
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Errors:
+ custom/mobiles/PlayerMobile.cs:
CS0136: Line 3356: A local variable named `acct' cannot be declared in this scope because it would give a different meaning to `acct', which is already used in a `parent or current' scope to denote something else
CS0136: Line 3360: A local variable named `NHMLifeCount' cannot be declared in this scope because it would give a different meaning to `NHMLifeCount', which is already used in a `parent or current' scope to denote something else
CS0136: Line 3367: A local variable named `deathRobe' cannot be declared in this scope because it would give a different meaning to `deathRobe', which is already used in a `parent or current' scope to denote something else
CS0136: Line 3500: A local variable named `deathRobe' cannot be declared in this scope because it would give a different meaning to `deathRobe', which is already used in a `parent or current' scope to denote something else
CS1525: Line 3517: Unexpected symbol `private'
CS1547: Line 3517: Keyword `void' cannot be used in this context
CS1525: Line 3517: Unexpected symbol `('
CS1525: Line 3522: Unexpected symbol `private'
CS1547: Line 3522: Keyword `void' cannot be used in this context
CS1525: Line 3522: Unexpected symbol `('
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Exiting...done
if i don't modify nothing in playermobile works, but without the news xD
Don't worry you are working hard! thanks for all. another question, you knows about servuo on linux?
V 1.5 - Added a free life command(NHMCommand.cs) to give players free lives.
Usage - [FreeLife (amount)
i'm trying so hard this system and i like so much! thanks!!!!
it's possible for the last life when player dead, save the log of the dead, and send a gump for report to the staff if this dead its out of control for the role play?
We use essential cookies to make this site work, and optional cookies to enhance your experience.