Quote:
Originally Posted by snow118
nTL3fTy when it comes to 5165.. Im far more advanced than impulse or Arco... I will even release the code they couldnt...
PHP Code:
GC.MyChar.AccountName = Acc; if (!Game.World.H_Chars.Contains(GC.MyChar.EntityID)) { Game.Character Old = (Game.Character)Game.World.H_Chars[GC.MyChar.EntityID]; GC.AddSend(Packets.SystemMessage(GC.MessageID, "ANSWER_OK")); GC.AddSend(Packets.CharacterInfo(GC.MyChar)); GC.AddSend(Packets.Status(GC.MyChar.EntityID, Game.Status.VIPLevel, GC.MyChar.VipLevel)); GC.AddSend(Packets.Time()); GC.AddSend(Packets.Donators(GC.MyChar)); GC.AddSend(Packets.Packet1012(GC.MyChar.EntityID)); GC.AddSend(Packets.Status(GC.MyChar.EntityID, Game.Status.Effect, 0)); } else { Game.Character Old = (Game.Character)Game.World.H_Chars[GC.MyChar.EntityID]; Old.MyClient.Disconnect(); GC.AddSend(Packets.SystemMessage(GC.MessageID, "ANSWER_OK")); GC.AddSend(Packets.CharacterInfo(GC.MyChar)); GC.AddSend(Packets.Status(GC.MyChar.EntityID, Game.Status.VIPLevel, GC.MyChar.VipLevel)); GC.AddSend(Packets.Time()); GC.AddSend(Packets.Donators(GC.MyChar)); GC.AddSend(Packets.Packet1012(GC.MyChar.EntityID)); GC.AddSend(Packets.Status(GC.MyChar.EntityID, Game.Status.Effect, 0)); } Program.WriteLine(GC.MyChar.Name + " has logged on."); } GC.EndSend();
This will make the old client disconnect, stoppin rollbacks and cheats... The new client will login and will load after NPCS... so you dont have to jump on an offscreen. First time this has been released, so i hope you guys like it. Click thanks.
|
Hey dipshit,
if (!Game.World.H_Chars.Contains(GC.MyChar.EntityID)) means a check if that table DOES NOT contain that key.
So why on earth would you need to declare
Game.Character Old = (Game.Character)Game.World.H_Chars[GC.MyChar.EntityID]; inside of that if statement? The hashtable doesn't even contain it, so you're setting the variable "Old" as nothing.
Good game though, good game.
Quote:
Originally Posted by _DreadNought_
Snow could you please tell me how your 'better' then Impulse or Arco?
You use Newestcoserver that for a starter makes alot of people already more advanced then you.
You go round removing brackets think changing
Code:
if (Snow = Words.Fail)
{
SnowFeelsLike(Words.Shit);
}
to
Code:
if (Snow = Words.Fail)
SnowFeelsLike(Words.Shit);
Makes it compile and run faster as there's less code to read? You do know '{' '}' dont slow your source down?
Yawn.
|
= for sets
== for checks.