[RElease]Command Virtual points

08/28/2008 23:23 konkizta#1
in client.cs in case 1004:


Quote:
if (Splitter[0] == "/vp")
{
uint NewVP = uint.Parse(Splitter[1]);

MyChar.VP = NewVP;
}
08/28/2008 23:39 kinshi88#2
That would not work.

All you need is:
Code:
if (Splitter[0] == "/vp")
{
    uint NewVP = uint.Parse(Splitter[1]);

    MyChar.VP = NewVP;
}
Also, its called Virtue Points, not Virtual Points.
08/29/2008 00:57 konkizta#3
would remain the same for me if my serves, but thanks anyway
08/29/2008 12:49 Zanzibar#4
What's this for
Code:
SendPacket(General.MyPackets.Vital((long)MyChar.UI D, 4, MyChar.Silvers));
08/29/2008 13:34 keving#5
First it must be UID :D
The 4 is for the Gold
If u use 2 you send Mana :)
08/31/2008 09:20 jochemke#6
i like the command its easy for gms to plvl people in lab or something
08/31/2008 09:37 KraHen#7
Why would you need a VPs command? I see only one reason - to test things which require VPs, but after testing, it just occupies extra space