|
You last visited: Today at 23:19
Advertisement
[Guide] Stamina Bug fix
Discussion on [Guide] Stamina Bug fix within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
09/24/2008, 03:07
|
#1
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
[Guide] Stamina Bug fix
Hi.. here is a guide to help u fix stamina bug
Open Character.cs and find
Quote:
|
public void Revive(bool Tele)
|
Inside that code, you'll see
Quote:
|
Teleport(revp[1], revp[2], revp[3]);
|
Above that add
Quote:
A few lines down and you'll see
Quote:
Above that add
Quote:
Stamina = 100;
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
|
Now open up 'Client.cs' and find
Quote:
Under
Quote:
Add
Quote:
You now have the stamina bug fixed  Just Thanks for my contribution!
|
|
|
09/24/2008, 04:43
|
#2
|
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
|
lovely thanks
|
|
|
09/24/2008, 06:11
|
#3
|
elite*gold: 0
Join Date: Sep 2008
Posts: 92
Received Thanks: 21
|
thx so much
|
|
|
09/24/2008, 09:52
|
#4
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
why would you want full stamina on revive?
ctrl+f for "xpcircle +=" until you get to the function where it actually adds to xpcircle (should be called ADDXPC), there, add
if (Stamina < 100) Stamina += 3;
if (Stamina > 100) Stamina == 100;
then follow up with:
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
|
|
|
09/24/2008, 09:59
|
#5
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
If your server laggs it would have no effect :P
|
|
|
01/24/2009, 16:06
|
#6
|
elite*gold: 0
Join Date: Jan 2009
Posts: 112
Received Thanks: 1
|
can u upload these files coz it didnt work for me
|
|
|
01/31/2009, 03:38
|
#7
|
elite*gold: 0
Join Date: Jul 2007
Posts: 105
Received Thanks: 45
|
idk , i think i did everything right, but it didnt work , So look at what i did and c if there is some thing wrong
Code:
public void Revive(bool Tele)
{
if (Alive)
return;
if (Tele)
{
foreach (ushort[] revp in DataBase.RevPoints)
{
if (revp[0] == LocMap)
{
Stamina = 100;
Teleport(revp[1], revp[2], revp[3]);
break;
}
}
}
and . . . .
Code:
}
CurHP = MaxHP;
Alive = true;
MyClient.SendPacket(General.MyPackets.Status1(UID, 0));
MyClient.SendPacket(General.MyPackets.Status3(UID));
MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
MyClient.SendPacket(General.MyPackets.CharacterInfo(this));
SendEquips(false);
BlueName = false;
MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
Stamina = 100;
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
World.UpdateSpawn(this);
DeathSent = false;
}
and . . . .
Code:
case 94:
{
MyChar.Revive(true);
MyChar.Stamina = 100;
break;
}
am w8ing the answer
|
|
|
04/20/2009, 01:41
|
#8
|
elite*gold: 0
Join Date: Apr 2007
Posts: 46
Received Thanks: 0
|
PERFECT!!! WORKED
|
|
|
07/10/2009, 07:01
|
#9
|
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 99
|
******* useless release...K first of all ****** the very first thing you said doesn't even work...YOU CAN'T FIND public void Revive(bool Tele) because it doesn't exist you dumb ****
|
|
|
07/10/2009, 07:04
|
#10
|
elite*gold: 20
Join Date: May 2008
Posts: 1,103
Received Thanks: 254
|
Quote:
Originally Posted by Jay1029
******* useless release...K first of all ****** the very first thing you said doesn't even work...YOU CAN'T FIND public void Revive(bool Tele) because it doesn't exist you dumb ****
|
Reported?
|
|
|
07/10/2009, 07:14
|
#11
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
Quote:
Originally Posted by Pete1990
Reported?
|
Yes,
Please do not flame.. This is for LOTF and is a very old post.. Actually it does work.. I used it back then..
|
|
|
07/18/2009, 05:13
|
#12
|
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 99
|
Well...When i search the first thing she wants us to find It doesn't come up...looked everywhere lol, even tried few other sources to prove myself right.
|
|
|
07/18/2009, 05:14
|
#13
|
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
|
You looking in right .cs file?
|
|
|
07/18/2009, 05:23
|
#14
|
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 99
|
Respect! Got this done. I was more noob before resulting in my failure to add this code. But i did it  meaning? I R l3ss n00p!
//edit: Last time I was searching there was always a space after the line I was looking for. There was this time too but I noticed. That's why it wasn't showing up before.
|
|
|
07/20/2009, 17:20
|
#15
|
elite*gold: 0
Join Date: Oct 2008
Posts: 20
Received Thanks: 0
|
+k thx alot
|
|
|
 |
|
Similar Threads
|
[Tipp] Stamina Up + Stamina
10/15/2010 - WarRock Guides, Tutorials & Modifications - 7 Replies
Hallo Leute ,
ich möchte euch ein kleinen bisschen über die Vorteile der Stamina erklären.
Stamina
Stamina , heißt Ausdauer , und ist in Warrock wichtig , denn dadruch kann man meißt dem Gegner ausweichen , oder vor ihm flüchten.
Stamina ist auch wichtig um einen geplanten Überraschungsangriff zu erstellen.
Da dieser sehr hilfreich ist , und ihr beim 1. erfolgreichen Überraschungsangriff es auch merken werdet ;)
|
Stamina
03/23/2010 - WarRock - 5 Replies
Ich habe eine frage weil in dne meisten Hacks die ich habe kommt Stamina vor was bringt Stamina?
|
WTS Necklance of fortune (Stamina 3) + Flying Ring (Stamina 3) Cyprius
04/02/2009 - Archlord Trading - 0 Replies
Hi all,
WTS Necklance of fortune (Stamina 3) + Flying Ring (Stamina 3)
Each one 20€, i accept only paypal and €,
if someone interesetet pm me thanks!
The items are on Cyprius!
|
stamina bar....
06/25/2007 - Conquer Online 2 - 4 Replies
hi guys i was just thinking bout it while i was lvingmy firedoes anyone kno a way of editing the stamina bar so that we dont hav to sit and be able to automatically use meditate orspirit heal or is this server sided? well if u do can u plz post would save alot of time ty 8^)... (save alot of time on skills example: guard lving, meditation ...etc.
|
All times are GMT +1. The time now is 23:20.
|
|