The Christmas tree ID

04/11/2010 16:12 zTREME#16
Quote:
Originally Posted by Paralyzer[GM] View Post
Well I suppose I say thanks to you all ;)

Also I am gonna try copy AcidCo as I do have permission to go ahead and try along as I don't use the name "Acid" or "AcidCo" and about me releasing it, That's gonna be months.
before stealing acid, maybe you should ask ulti, k?
04/11/2010 16:36 PeTe Ninja#17
he can't steal acid.. ill crash it if he tries using acidco for the name.
04/11/2010 16:48 zTREME#18
Quote:
Originally Posted by PeTe Ninja View Post
he can't steal acid.. ill crash it if he tries using acidco for the name.
But that acid estox, isn't it a stealed version or what?
:confused::confused::confused:
04/11/2010 17:00 PeTe Ninja#19
gosh... no ones got acidco source that is publi there.. if uw an to correct me.. correct me with proof.. acidco estox sucks dick.
04/11/2010 18:06 zTREME#20
Quote:
Originally Posted by PeTe Ninja View Post
gosh... no ones got acidco source that is publi there.. if uw an to correct me.. correct me with proof.. acidco estox sucks dick.
HAHA, i know noone got it, but i thought they copied everything they had 100pct. Cuz i haven't played there :P
04/11/2010 19:36 -impulse-#21
Quote:
Originally Posted by UniqueSandwich View Post
Oh c'mon. Are you seriously trying to copy AcidCo's every single details? Well, Your server will fail suddenly as happened to AcidCo.

On Topic: Those steeds were not a npc. It's totally coded by Ultimation and i don't think you can do them aswell. Good Luck.
Is it too hard use a entity spawn packet or what? All you need to do is
PHP Code:
void SpawnSomeMinion(Character User)
{
Character char = new Character();
char.Name "Minion";
Item i = new Item();
i.UID 123123;//some random number
i.ID 300000;//not sure if it's right steed's id
i.Plus 12;
char.Equips = new Equipment();
char.Equips.Steed i;
char.StaEff.Add(StatusEffectEn.Ride);
char.Body 2001;
char.Avatar 215;
char.Loc = new Location();
char.Loc.Map User.Loc.Map;
char.Loc.User.Loc.X;
char.Loc.User.Loc.Y;
User.MyClient.AddSend(Packets.SpawnEntity(char));

Here is your code for Ultimation's hard work on adding some random entities.

Quote:
Originally Posted by zTREME View Post
to make the steeds, you will have to make them like the bot you can play with.
I doubt you can make a server like acid, without alot more knowledge of c#.
Knowledge for what? :S
Well probably, since you say that he needs more knowledge, you are the one who needs more knowledge, since ACO was nothing more than a PVP server which means(low ping, all skills, nice attack calcs, stability). As for it patch 5200+, I do agree with you...you really need some more knowledge.

Quote:
Originally Posted by PeTe Ninja View Post
trees are easy.
Then why don't you post some way to spawn that tree, if it's easy? Because I highly doubt you can spawn a tree.

Quote:
Originally Posted by .Arco View Post
AI ftw?
Artificial inteligence for what? For some entity that sits and that's it? Woah, to make that you really need a lot AI.

Quote:
Originally Posted by UniqueSandwich View Post
I'd like to use that one but mine is a unique sandwich. Maybe i'll use another cute avatars, i don't know. Thanks anyways.

Christmas Trees are "Dynamic" Npcs. ZING. It's not really hard to put it in.
They are named SOB or terrain npcs, not dynamic npcs.
04/11/2010 19:56 zTREME#22
Quote:
Originally Posted by -impulse- View Post
Is it too hard use a entity spawn packet or what? All you need to do is
PHP Code:
void SpawnSomeMinion(Character User)
{
Character char = new Character();
char.Name "Minion";
Item i = new Item();
i.UID 123123;//some random number
i.ID 300000;//not sure if it's right steed's id
i.Plus 12;
char.Equips = new Equipment();
char.Equips.Steed i;
char.StaEff.Add(StatusEffectEn.Ride);
char.Body 2001;
char.Avatar 215;
char.Loc = new Location();
char.Loc.Map User.Loc.Map;
char.Loc.User.Loc.X;
char.Loc.User.Loc.Y;
User.MyClient.AddSend(Packets.SpawnEntity(char));

Here is your code for Ultimation's hard work on adding some random entities.


Knowledge for what? :S
Well probably, since you say that he needs more knowledge, you are the one who needs more knowledge, since ACO was nothing more than a PVP server which means(low ping, all skills, nice attack calcs, stability). As for it patch 5200+, I do agree with you...you really need some more knowledge.


Then why don't you post some way to spawn that tree, if it's easy? Because I highly doubt you can spawn a tree.



Artificial inteligence for what? For some entity that sits and that's it? Woah, to make that you really need a lot AI.



They are named SOB or terrain npcs, not dynamic npcs.
Emm, i meant he needed more knowledge.
04/11/2010 20:11 PeTe Ninja#23
Quote:
Originally Posted by -impulse- View Post
Is it too hard use a entity spawn packet or what? All you need to do is
PHP Code:
void SpawnSomeMinion(Character User)
{
Character char = new Character();
char.Name "Minion";
Item i = new Item();
i.UID 123123;//some random number
i.ID 300000;//not sure if it's right steed's id
i.Plus 12;
char.Equips = new Equipment();
char.Equips.Steed i;
char.StaEff.Add(StatusEffectEn.Ride);
char.Body 2001;
char.Avatar 215;
char.Loc = new Location();
char.Loc.Map User.Loc.Map;
char.Loc.User.Loc.X;
char.Loc.User.Loc.Y;
User.MyClient.AddSend(Packets.SpawnEntity(char));

Here is your code for Ultimation's hard work on adding some random entities.


Knowledge for what? :S
Well probably, since you say that he needs more knowledge, you are the one who needs more knowledge, since ACO was nothing more than a PVP server which means(low ping, all skills, nice attack calcs, stability). As for it patch 5200+, I do agree with you...you really need some more knowledge.


Then why don't you post some way to spawn that tree, if it's easy? Because I highly doubt you can spawn a tree.



Artificial inteligence for what? For some entity that sits and that's it? Woah, to make that you really need a lot AI.



They are named SOB or terrain npcs, not dynamic npcs.
for lotf 5017 which is what i use once ina w hile..

the type is the tree id and do sobtype 1 and it spawns ><
04/11/2010 20:13 Paralyzer[GM]#24
Code:
[COLOR=#000000][COLOR=#0000BB]void SpawnSomeMinion[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]Character User[/COLOR][COLOR=#007700]) 
{ 
[/COLOR][COLOR=#0000BB]Character char [/COLOR][COLOR=#007700]= new [/COLOR][COLOR=#0000BB]Character[/COLOR][COLOR=#007700](); 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Name [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#DD0000]"Minion"[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]Item i [/COLOR][COLOR=#007700]= new [/COLOR][COLOR=#0000BB]Item[/COLOR][COLOR=#007700](); 
[/COLOR][COLOR=#0000BB]i[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]UID [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]123123[/COLOR][COLOR=#007700];[/COLOR][COLOR=#FF8000]//some random number 
[/COLOR][COLOR=#0000BB]i[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]ID [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]300000[/COLOR][COLOR=#007700];[/COLOR][COLOR=#FF8000]//not sure if it's right steed's id 
[/COLOR][COLOR=#0000BB]i[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Plus [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]12[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Equips [/COLOR][COLOR=#007700]= new [/COLOR][COLOR=#0000BB]Equipment[/COLOR][COLOR=#007700](); 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Equips[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Steed [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]i[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]StaEff[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Add[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]StatusEffectEn[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Ride[/COLOR][COLOR=#007700]); 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Body [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]2001[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Avatar [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]215[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc [/COLOR][COLOR=#007700]= new [/COLOR][COLOR=#0000BB]Location[/COLOR][COLOR=#007700](); 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Map [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]User[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Map[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]X [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]User[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]X[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Y [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]User[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Loc[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]Y[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]User[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]MyClient[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]AddSend[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]Packets[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]SpawnEntity[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]char[/COLOR][COLOR=#007700])); 
}  

[/COLOR][/COLOR]

Yup I am a noob where do I add it ?
04/11/2010 20:25 PeTe Ninja#25
FFS!
04/11/2010 20:37 Paralyzer[GM]#26
Well I added it into World.cs with the other void spawns and I get errors

Code:
           [COLOR=Red]Character char = new Character(); [/COLOR]
           char.[COLOR=Red]Name [/COLOR]= "Minion"; 
           Item i = new Item(); 
           i.UID = 123123;//some random number 
           i.ID = 300000;//not sure if it's right steed's id 
           i.Plus = 12; 
           char.[COLOR=Red]Equips[/COLOR] = new Equipment(); 
           char.[COLOR=Red]Equips[/COLOR].Steed = i; 
           char.[COLOR=Red]StaEff[/COLOR].Add(StatusEffectEn.Ride); 
           char.[COLOR=Red]Body[/COLOR] = 2001; 
           char.[COLOR=Red]Avata[/COLOR]r = 215; 
           char.[COLOR=Red]Loc[/COLOR] = new Location(); 
           char.[COLOR=Red]Loc.Map[/COLOR] = User.Loc.Map; 
           char.[COLOR=Red]Loc.X[/COLOR] = User.Loc.X; 
           char.[COLOR=Red]Loc.Y[/COLOR] = User.Loc.Y; 
           User.MyClient.AddSend(Packets.SpawnEntity(char)); 
           }
So I asked this to be sure I added it in the right place

also I added it under
Code:
        public static void Spawn(NPC M)
        {
            try
            {
                COPacket P;
                if (M.CurHP == 0)
                    P = Packets.SpawnNPC(M);
                else
                    P = Packets.SpawnNPCWithHP(M);
                foreach (Character CC in H_Chars.Values)
                    if (CC.Loc.Map == M.Loc.Map && MyMath.InBox(M.Loc.X, M.Loc.Y, CC.Loc.X, CC.Loc.Y, 13))
                    {
                        CC.MyClient.AddSend(P);
                    }
            }
            catch { }
        }
and I made
Code:
void SpawnSomeMinion(Character User)
to
Code:
public static void SpawnSomeMinion(Character User)
04/11/2010 22:36 -NewDawn-#27
this is what I did...
Code:
Program.WriteLine("      Spawning Vole...");
                                    Game.Character User = new Character();
                                    User = GC.MyChar;
                                    Character Char = new Character(); 
                                    Char.Name = "Vole"; 
                                    Item i = new Item(); 
                                    i.UID = 999999;//some random number 
                                    i.ID = 300000;//not sure if it's right steed's id 
                                    i.Plus = 12; 
                                    Char.Equips = new Equipment(); 
                                    Char.Equips.Steed = i; 
                                    Char.StatEff.Add(StatusEffectEn.Ride); 
                                    Char.Body = 2001; 
                                    Char.Avatar = 215; 
                                    Char.Loc = new Location(); 
                                    Char.Loc.Map = 1002; 
                                    Char.Loc.X = 440; 
                                    Char.Loc.Y = 379; 
                                    [COLOR="Red"]User.MyClient.AddSend(Packets.SpawnEntity(Char));[/COLOR]
                                    Program.WriteLine("      Vole has logged on.");
My code makes Vole spawn when I log on...
so it's located in GameWorker.cs

The error I'm getting is the red.
It's syntactically correct but doesn't work.
I have a feeling we're missing information to put into the statement.
04/11/2010 23:09 Paralyzer[GM]#28
where did you add it in gameworker.cs ?