i dd reply, and gratz for ur new timer:DQuote:
Well ur gettin pro :p and can you have a look at the pm i sent you about how to call a timer? Please
i just canceled the 2nd hit orderQuote:
wut was the code to fix the double fb hit?
actually u will need two lines , one on the TheDb.cs which u should assign the effect value to the Myclient.mychar.effectQuote:
What code in the Login.cs?
Cuz i do this and its wrong :
as the signator says ddnt decide yet , may be i will go to save profs , or what u think?Quote:
so samehvan what are you planin on to work on next... lol
thats sound good take your time. your doing goodQuote:
i dd reply, and gratz for ur new timer:D
i just canceled the 2nd hit order
actually u will need to line , one on the TheDb.cs which u should assign the effect value to the Myclient.mychar.effect
simthing like that
Charr.Effect = CharacterInfo.ReadValue("Character", "effect");
then the line to show the effect at login.cs like that
WorldHandler.Effect(TheClient.MyChar,TheClient.MyC har.Effect);
and u can save it too at character.cs ---> savechar func
as the signator says ddnt decide yet , may be i will go to save profs , or what u think?
Quote:
i dd reply, and gratz for ur new timer:D
i just canceled the 2nd hit order
actually u will need two lines , one on the TheDb.cs which u should assign the effect value to the Myclient.mychar.effect
simthing like that
Charr.Effect = CharacterInfo.ReadValue("Character", "effect");
then the line to show the effect at login.cs like that
WorldHandler.Effect(TheClient.MyChar,TheClient.MyC har.Effect);
and u can save it too at character.cs ---> savechar func
as the signator says ddnt decide yet , may be i will go to save profs , or what u think?
I guess you answered part of my question but where is the code that disables the PK in twin city? I can probably mess with it and get rid of it. TY to anyone who answers the question .Quote:
Oh sam i have a question for you, well you may have noticed that your non pk code didnt work as well as we'd hoped lol, you can go to another map put pk on and come back, so is there a code to disable skills? I can't figure it out will u take a look when u get a chance?
Thanks
Oh i didn't see your question its in packethandler.cs:Quote:
I guess you answered part of my question but where is the code that disables the PK in twin city? I can probably mess with it and get rid of it. TY to anyone who answers the question .
Yours will say 1002 for the first map id i don't know if you can remove the full thing i havnt tried i only changed the map id.Quote:
case 96:
{
if ((AClient.MyChar.PosMap) == 1010 || (AClient.MyChar.PosMap) == 1036)
{
//ThePackets.SendMsg(TheClient.MessageId, "SYSTEM", TheClient.MyChar.CharName, "Srry No PK Here.", 2000);
break;
}
byte pkmode = Data[12];
byte[] pack = ThePackets.GeneralData((long)(AClient.MyChar.UID), pkmode, 0, 0, 96);
AClient.SendPacket(pack);
AClient.MyChar.PKMode = pkmode;
// Console.WriteLine("Packet - PKMode");
break;
}
and basically i'd just like to know how to make it one timer instead of one timer for every player.Quote:
public Timer SaveTimer