I'm a noob and new to this, but how can you edit the stanima to make unlimited or so....
/ctele make sure you're entering the EXACT name of the character.Quote:
Why is it I can /ctele to some chars but not others o.0? And have to ask again but effects like cool and supergems where do I go to play around and get them working?
replace:Quote:
yeah you just need to change the defenition of stamina (stamina void) then edit it around. or completely remove the effect of stamina loss.
public byte Stamina
{
get { return _Stamina; }
set
{
_Stamina = value;
if (_Stamina > 100 && BlessingLasts == 0) _Stamina = 100;
if (_Stamina > 150 && BlessingLasts > 0) _Stamina = 150;
if (Loaded)
MyClient.AddSend(Packets.Status(EntityID, Status.Stamina, _Stamina));
}
}
public byte Stamina
{
get { return _Stamina; }
set
{
if(value > Stamina)
_Stamina = value;
if (_Stamina > 100 && BlessingLasts == 0) _Stamina = 100;
if (_Stamina > 150 && BlessingLasts > 0) _Stamina = 150;
if (Loaded)
MyClient.AddSend(Packets.Status(EntityID, Status.Stamina, _Stamina));
}
}
TO fix that problem chronic, Delete everything under the region vip new. I think it was an un compressed lady luck script. Delete all the way till you hit:Quote:
Thanks. Sorry to be a pain but when i build it says theres an error in NPCDialogue.cs
LMAO!!! Sorry to say it but thats a simple lotf copy paste.... there is no arrays such as Equipt.Quote:
[Code]
public void SuperGemEffect()
{
int into = 0;
if (Equipt[1] != null && Equipt[1] != "0")
into = 1;
else if (Equips[2] != null && Equipt[2] != "0") <<<----What should that be o.0
into = 2;
else if (Equips[3] != null && Equipt[3] != "0") <<<----What should that be o.0
into = 3;
else if (Equipt[6] != null && Equipt[6] != "0") <<<----What should that be o.0
into = 6;
else if (Equipt[8] != null && Equipt[8] != "0") <<<----What should that be o.0
into = 8;
else
return;
string[] item = Equipt[into].Split('-');