Stamina

Newbie Spellweaver
Joined
Feb 4, 2007
Messages
17
Reaction score
0
How do i make infinite stamina?It's kinda annoying to sit always to recharge stamina.I want it full allways!Can someone tell me how to do this?
 
very easy
1.in character.cs find : void TimerElapsed(object source, ElapsedEventArgs e)
2.at :
Code:
 if (Action == 250)
                if (Stamina < 100)
                {
                    Stamina += 8;
                    if (Stamina > 100)
                        Stamina = 100;
                    MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                }
change the Stamina +=8; to Stamina += 100;
that means
Code:
 if (Action == 250)
                if (Stamina < 100)
                {
                    Stamina += 99;
                    if (Stamina > 100)
                        Stamina = 100;
                    MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                }
after it add:
Code:
 if (Action == 100)
                if (Stamina < 100)
                {
                    Stamina += 100;
                    if (Stamina > 100)
                        Stamina = 100;
                    MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                }
ur stamina is ready...well...this is the short way...xD but it works
 
Is working perfect if you know how to do it, try again and more carefull this time, and remmember: you need to rebuild the source after you do this.


Cya
 
another solution...more easy xD
search in character.cs for
Code:
public byte Stamina = 0;
do it
Code:
public byte Stamina = 100;
and u are done :P
 
Ya also the source have the Stamina BUG, and you can also se it on
public byte Stamina = 50;
and you will have all the time half on stamina :p
 
i use shadowco source on my sql and to rebuild source?WTF its this?:) i mean ,i am completely idiot at programming in c# c++ and programs like that
 
Back