Private Server Info and Support Thread

12/17/2014 15:19 Kadhras_TR#1276
Good job
12/17/2014 21:21 LEJYONER(DS)#1277
Hi Guys , How Add Apis and Zeus Drone ?

[Only registered and activated users can see links. Click Here To Register...]
12/17/2014 23:55 lCulito#1278
Quote:
Originally Posted by LEJYONER(DS) View Post
Hi Guys , How Add Apis and Zeus Drone ?

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

All it's based on packets... you need send correct packets.


12/18/2014 08:49 cryz35#1279
Quote:
Originally Posted by lCulito View Post
Code:
            try
                {
                    Parallel.ForEach(Users, Pair =>
                    {
                        this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-2" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                    });
                    foreach (var Pair in Users)
                    {
                        if (Pair.Key != userId)
                            this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                        {
                }
            }
                }
            catch (Exception)
            { }
Pretty good code :( ... empty brackets are the best :eek:
12/18/2014 10:46 GeneraleFox#1280
Serve closed for ever?
12/18/2014 12:35 LEJYONER(DS)#1281
Quote:
Originally Posted by lCulito View Post
[Only registered and activated users can see links. Click Here To Register...]

All it's based on packets... you need send correct packets.


Big Thanks But Where To Paste ?
12/18/2014 16:17 th0rex#1282
Quote:
Originally Posted by lCulito View Post
Code:
            try
                {
                    Parallel.ForEach(Users, Pair =>
                    {
                        this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-2" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                    });
                    foreach (var Pair in Users)
                    {
                        if (Pair.Key != userId)
                            this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                        {
                }
            }
                }
            catch (Exception)
            { }
That code is slow. At least the first packet which is send. Why you do a lookup in the dictionary everytime when you could get a reference to that object only once ?
12/18/2014 16:26 Requi#1283
Quote:
Originally Posted by LEJYONER(DS) View Post
Big Thanks But Where To Paste ?
Don't copy&paste if you want a (good) server. Learn coding and stop asking for c&p. It's very annoying.
12/18/2014 17:33 LEJYONER(DS)#1284
Quote:
Originally Posted by Requi View Post
Don't copy&paste if you want a (good) server. Learn coding and stop asking for c&p. It's very annoying.
Thanks Requi...
12/18/2014 21:14 lCulito#1285
LEJYONER, i only give you an example of code... i don't meet your code... u need learn to code, thanks for critique the code but isn't my code, i only find the code for help to LEJYONER...
12/19/2014 21:05 bazhanyuk#1286
Guys, need help. I'm working on abilities for goliath, but I got problem. For example I want that when I play on Solace I have button with ability of solace and when on Diminisher with it ability etc. But how to do that?
12/19/2014 21:34 manulaiko3.0#1287
Quote:
Originally Posted by bazhanyuk View Post
Guys, need help. I'm working on abilities for goliath, but I got problem. For example I want that when I play on Solace I have button with ability of solace and when on Diminisher with it ability etc. But how to do that?
If I remember well the packet was something like
Code:
send("0|A|SD|"+ skillDesign); //skillDesign: [1-5]
Maybe I'm wrong.

See you!
12/20/2014 18:42 SYSTEMEWAR#1288
Hi,

You know the packets for update attack ( red ships or white ) and packets of map into the group system ??

Best regards
12/20/2014 20:50 king[amg]ua#1289
anybody know packet for "precision targeter" tech?
12/21/2014 10:49 BotorCrime#1290
Hi xD
Who Can help me with client 6.3.1 ^^ ?