Stripped ProjectAlchemy Source Code

01/13/2011 02:32 hippie#631
well when i do local ip its say login into account server then it fails to connect it even shows 1 online on the gui
01/13/2011 02:36 pro4never#632
Quote:
Originally Posted by hippie View Post
ok i know im slow/late then everyone but i just got my own net bac n im tryin 2 get this setup but im not sure whut ip i need 2 put in my local one 192.0.0.0 or router ip addy or my public ip n do i need 2 open any ports in the router
Using hamachi ip is the safest bet. Then just make sure all your ports match up and you should be good to go.

Lots of people have that partial login problem but they all seem to solve it if they try some diff things so I'd suggest double checking all your ports and making sure that you haven't done something stupid like editing the ports inside the source code (again... there's a settings file for a reason lol)
01/13/2011 02:49 hippie#633
i havent touch anything inside the program not even loaded it up in vs yet cus i figured first thing i should do is get it 2 login no point in worry about working on code if i cant login. the port thing is kinda the confuseing part cus the loader is useing port 5000 and 5002 i am on an old server yet i saw a shot of the code port n its useing 9995 and 5816 so should i change those or leave them like that ?

Quote:
Originally Posted by gorgone View Post
did u have mysql correctly installed ? and Navicat too ?


public static string AuthIp = "208.96.34.46";
public static string ProxyTitle = "[ProjectAlchemy]";
public static string Version = "v1.1";
public static string Username = "root";
public static string Password = "IF UR SQL SERVER HAVE PASSWORD PUT HERE";
public static string Host = "alchemy";
public static DMapServer DmapHandler = new DMapServer();
public static Dictionary<ushort, Ending> PortBindings = new Dictionary<ushort, Ending>();
public static ushort AuthPort = 9959;
public static string ProxyIp = "HERE YR IP HAMACY OR ROUTER ";
public static string GameKey = "DR654dt34trg4UI6";
public static string GameIp = "";
public static ushort GamePort = 5816;
01/13/2011 04:25 pro4never#634
Leave them. Those are the actual server ports that the client is connecting to.

The ones in the settings and the loader is the PROXY ports/ip you are using. That way the connection loops back to the proxy and not to the tq servers.
01/13/2011 04:30 hippie#635
theres no port listed in the setting.txt file tho
01/13/2011 11:33 gorgone#636
Quote:
Originally Posted by hippie View Post
i havent touch anything inside the program not even loaded it up in vs yet cus i figured first thing i should do is get it 2 login no point in worry about working on code if i cant login. the port thing is kinda the confuseing part cus the loader is useing port 5000 and 5002 i am on an old server yet i saw a shot of the code port n its useing 9995 and 5816 so should i change those or leave them like that ?
try to debug project put on break point on Client main class at first step after try

and other break point at Connection and watch wht error give ?

f10 step by step to error...


i create a new map targheting in wpf control if is stable i ll put here :use a rendering of all maps with idea of OELABOELA and P4N (black and white) all map folder is 6 mega and WPF control is 300 x 300.
01/13/2011 21:39 hippie#637
thxns 4 the help but im not really understanding how to do that

i just want 2 know how 2 write the setting in the setting.txt file how 2 add the ports info 2 it
01/14/2011 00:32 OELABOELA#638
Okay, im working on this A* and it does take little corners now :) AIGHT RIGHT?!
01/14/2011 00:58 [GM]#639
i got a problem using gorgone's filter
Code:
Dictionary<uint, string> Filter = new Dictionary<uint, string>();
                    Dictionary<uint, Items.GroundItem> Return = new Dictionary<uint, Items.GroundItem>();
                    if (C.Looting)
                    {
                        Filter = Program.RareItem;
                    }
                    else if (C.LootMoney)
                    {
                        Filter.Add(1090020, "Money");
                        Filter.Add(1091000, "Money");
                        Filter.Add(1091010, "Money");
                        Filter.Add(1091020, "Money");
                    }
                    else if (C.LootAll)
                    {
                        Filter = null;
                    }
                    if (Filter != null)
                    {
                        foreach (Items.GroundItem Item in WholeObject.Values)
                        {
                            if (!(Program.Dontloot.ContainsKey(Item.ID)))
                            {
                                if (Filter.ContainsKey(Item.ID))
                                {
                                    Return.Add(Item.ID, Item);
                                }
                            }
                        }
                    }
                    else Return = WholeObject;
                    {

                        return [COLOR="Red"]Return[/COLOR];

                    }
the word in red says "Cannot implicitly convert type 'System.Collections.Generic.Dictionary<uint,Alchem yProxy.Items.GroundItem>' to 'bool' "
01/14/2011 01:52 pro4never#640
Well seems to me like the method itself has a bool type and yet you are trying to return a dictionary of results....
01/14/2011 02:11 [GM]#641
Quote:
Originally Posted by pro4never View Post
Well seems to me like the method itself has a bool type and yet you are trying to return a dictionary of results....
excuse me, what should i do to fix it? :confused:
01/14/2011 04:20 hippie#642
p4n how do i add ports to the setting.txt file????
01/14/2011 12:08 argon69#643
Ok, I need some help on this issue. After few XP using fs, I get dced with 1009. It seems char's real location is not synced up with server location. How do I sync up char location? I can't try to jump back to last server location either. I am thinking about shifting back to last server location... Let's see.
01/14/2011 14:06 Laur#644
can someone tell me code for hunt?:P plz
01/14/2011 16:07 vecko12#645
Quote:
Originally Posted by Laur View Post
can someone tell me code for hunt?:P plz
Another Egyptian fool...