|
You last visited: Today at 07:52
Advertisement
[Release] PK Map with infinite stamina
Discussion on [Release] PK Map with infinite stamina within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
06/21/2010, 21:08
|
#1
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
[Release] PK Map with infinite stamina
Hey,
I made this in under 2 seconds so it prolly isnt right/best way to do it but it works...
Make the stamina stuff this
Code:
#region Stamina
if (Time32.Now > client.Entity.StaminaStamp.AddMilliseconds(500))
{
if (client.Entity.MapID != MAPID)
{
if (client.Entity.Action == Game.Enums.ConquerAction.Sit)
{
if (client.Entity.Stamina <= 95)
{
client.Entity.Stamina += 5;
}
}
else
{
if (client.Entity.Stamina <= 98)
{
client.Entity.Stamina += 2;
}
}
client.Entity.StaminaStamp = Time32.Now;
}
else
{
client.Entity.Stamina = 100;
}
}
#endregion
So SIMPLE!
|
|
|
06/22/2010, 00:54
|
#2
|
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
|
wheres the pk map???
|
|
|
06/22/2010, 00:59
|
#3
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
if (client.Entity.MapID != MAPID)
Replace MAPID with the map id of your choosing.
|
|
|
06/25/2010, 21:44
|
#4
|
elite*gold: 0
Join Date: Jun 2010
Posts: 258
Received Thanks: 102
|
what .cs file i put this code :S
|
|
|
06/25/2010, 22:08
|
#5
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
Program.cs for impulse's wont work for other servers.
|
|
|
06/26/2010, 11:03
|
#6
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
It can, just takes a bit of converting. Shouldn't be that hard.
|
|
|
06/26/2010, 12:18
|
#7
|
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
|
for the 5165 lotf source just go to the character step() void and find the stamina addition.... there you put an condition for the map and other fore not in the map... isn't hard... just try : D
|
|
|
06/26/2010, 14:56
|
#8
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
yeah arco I ment like THAT bit of code wont work in there.
12tails long time since ive seen a post from u
|
|
|
06/26/2010, 19:20
|
#9
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
|
Code:
#region Stamina
if (Time32.Now > client.Entity.StaminaStamp.AddMilliseconds(500))
{
if (client.Entity.MapID != PK_MAPID)
{
if (client.Entity.Action == Game.Enums.ConquerAction.Sit)
client.Entity.Stamina += 5;
else
client.Entity.Stamina += 2;
if (client.Entity.Stamina > 100)
client.Entity.Stamina = 100;
client.Entity.StaminaStamp = Time32.Now;
}
else
client.Entity.Stamina = 100;
}
#endregion
Look better like this Else, if your stamina is at 99, you will never have 100...
|
|
|
06/26/2010, 21:07
|
#10
|
elite*gold: 0
Join Date: Apr 2009
Posts: 110
Received Thanks: 32
|
^ this.
|
|
|
06/26/2010, 21:27
|
#11
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
Quote:
Originally Posted by CptSky
Code:
#region Stamina
if (Time32.Now > client.Entity.StaminaStamp.AddMilliseconds(500))
{
if (client.Entity.MapID != PK_MAPID)
{
if (client.Entity.Action == Game.Enums.ConquerAction.Sit)
client.Entity.Stamina += 5;
else
client.Entity.Stamina += 2;
if (client.Entity.Stamina > 100)
client.Entity.Stamina = 100;
client.Entity.StaminaStamp = Time32.Now;
}
else
client.Entity.Stamina = 100;
}
#endregion
Look better like this Else, if your stamina is at 99, you will never have 100...
|
Prolly I coded what I put in notepad not the source and I forget how **** looks like
|
|
|
|
Similar Threads
|
[Release] Infinite SP - x64,x32
07/22/2010 - S4 League Hacks, Bots, Cheats & Exploits - 20 Replies
Hi guys, i want release trainer of infinite sp because more users say "work only dodge_required_mp" etc...
Guide:
1. Download it
2. Open S4 and start it
3. Suspend HGWC and S4Client (Use only process explorer, CheatEngine tool has detected)
|
[Help]Infinite stamina?
01/13/2010 - CO2 Private Server - 11 Replies
How can i make my server have infinite stamina?
I'm using 5165 source
Thanks guy's!!!:handsdown::handsdown::handsdown:
|
[Release]How to FIX stamina at revive[CoEmu]
08/13/2009 - CO2 PServer Guides & Releases - 3 Replies
If work +thanks
(Use Ctrl+F for find the codes cited)
File: PacketProcessor.cs
Below it: CSocket.Client.CurrentHP = CSocket.Client.MaxHP;
Add:
CSocket.Client.CurrentStam = 100;
Below it: CSocket.Send(ConquerPacket.Status(CSocket, 2, CSocket.Client.CurrentHP, Struct.StatusTypes.Hp));
Add:
|
[RE-RELEASE] Simple Stamina code for LOFT
07/07/2009 - CO2 PServer Guides & Releases - 3 Replies
if (Splitter == "@stamina")
{
MyChar.Stamina = 100;
MyChar.MyClient.SendPacket(General.MyPackets.Vital (MyChar.UID, 9, MyChar.Stamina));
World.UpdateSpawn(MyChar);
}
|
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!
|
All times are GMT +2. The time now is 07:52.
|
|