[FAQ] HellmouthSource

03/25/2011 17:42 geloux#181
how can i get a refinary pack =X ?
03/25/2011 20:58 ruddy2003#182
I have seen 2-3 people ask this and not one person has helped.

How can we get are friends to connect to the server using Hamachi. I have done it like any other server and it dont seem to work. Please could someone tell us how to do this even if it is the same way.

Do we use the conquer loader for them too? IP of the database matter as its running on localhost?

I have not done this in a long time and have forgot how to do everything so help would be nice. :)

Thanks,
Ruddy2003
03/25/2011 22:09 pro4never#183
Yes, you simply need to edit the settings.txt file to use your EXTERNAL ip (or hamachi ip in this case) and then have them use conquerloader same as yourself.


The conquer loader has nothing referring to database, you're thinking of settings.txt file.
03/25/2011 22:10 C# Coder#184
Can i put this in walk.cs

Quote:
/* foreach (Client C in M.PullPlayers(M.MakeCoord(ToX, ToY, Client.Instance)))
{
if (SpawnCheck(Client, C))
{
Client.LocalClients.Add(C.UID, C);
Packets.SpawnClient(C, Client);
}
if(SpawnCheck(C, Client))
{
C.LocalClients.Add(Client.UID, Client);
Packets.SpawnClient(Client, C);
}
}
foreach (SOB S in M.PullSobs(M.MakeCoord(ToX, ToY, Client.Instance)))
{
if (S.Instance == Client.Instance && !Client.LocalSOBs.ContainsKey(S.UID))
{
Client.Send(Packets.SpawnSOB(S));
Client.LocalSOBs.Add(S.UID, S);
}
}
foreach (Npc N in M.PullNpcs(M.MakeCoord(ToX, ToY, Client.Instance)))
{
if
and this in tools.cs

Quote:
/* if (Program.ThreadDebug)
Console.WriteLine("Ground thread calling out!");
if (Dictionary.Maps.Count > 0)
{
lock (Dictionary.Maps)
{
foreach (KeyValuePair Map in Dictionary.Maps)
{
{
if (Map.Value.Items != null && Map.Value.Items.Count > 0)
{
lock (Map.Value.Items)
{
if (!(Map.Value.Items.Peek() is GroundItem))
{
Console.WriteLine("Error!! You are not storing structure 'GroundItem' in this queue!");
goto END;
}
while (Map.Value.Items.Count > 0 && DateTime.Now > ((GroundItem)Map.Value.Items.Peek()).Dropped.AddSe conds(30))
{
Console.WriteLine("Greater than time dropped!");
GroundItem Item = (GroundItem)Map.Value.Items.Dequeue();
///need to re-work the ground items system. This is old queue system I attempted and it SUCKS!
foreach (KeyValuePair Client in Dictionary.Clients)
{
if (Calculations.Distance(Item.X, Item.Y, Client.Value.X, Client.Value.Y) < 20)
{
Packets.Send(Packets.FloorItem(Item, 2), Client.Value);
if (Client.Value.LocalItems.ContainsKey(Item.UID))
Client.Value.LocalItems.Remove(Item.UID);
}
}
}
}
}
}
}
}
}
///ADD IN MONSTER DEATH AND RESPAWN CHECKS!!!
Thread.Sleep(1000);
}
catch { }*/
03/25/2011 22:18 C# Coder#185
can any one answer me if this right and can any one tell me how to make new packets for new patches
03/25/2011 22:52 mohamedkhaled#186
I ignore to answer.. (Loled at your name).
And why the double post tho?
03/25/2011 22:58 { Angelius }#187
Quote:
Originally Posted by C# Coder View Post
can any one answer me if this right and can any one tell me how to make new packets for new patches
first thing you need a thread/system timer to control the dropped items and no you cant just copy paste in walk.cs/any other file ,
and you need to read those short green lines lol

Quote:
///need to re-work the ground items system. This is old queue system I attempted and it SUCKS!
ohh and please Do Not double post,
03/25/2011 23:41 pro4never#188
Spawning of items should be done in the MovePlayer code or w/e I called it in the map class (eewee, old map system sucks ahaha)

As for removing items... you need some structure to hold all ground items including when they were dropped and then use that thread to handle removing them.

The idea for that queue system is that you could still remove things from it like a normal dictionary before they expired and it would simply organize itself based on the next item needing to be processed (vs a normal fifo queue).


So yes... don't use that queue system, it's funky and not worth using.

hell you'd be better off just using a dictionary inside map to hold map ground items and then have the thread cycle through all maps and then cycle through all the items on that map and check if it needs removal. If it does, remove from each client nearby.
03/26/2011 08:41 RobinHood100#189
Umm...Please Pro4never can u tell me what to do??cuz when i try to Excute Batch File It Endes Unsucsefly and i dont know what to do??if u have any idea for me please tell me it!!!cuz im really bored and i want to play at this server it really look cool and good and everything but my problem is in the Navicat I Cant Excute Batch File Successfly!!!!And I Want to play at this server so please tell me what to do??cuz im crazy the C#Visual Studio 2010 Works Winmysqladmin Works EveryThing works Except The Navicat!!!if u can upload to me the SQL file u are using right now it will be nice from you thanks :D hope u find me a solution :P
03/26/2011 09:27 mohamedkhaled#190
Quote:
Originally Posted by RobinHood100 View Post
Umm...Please Pro4never can u tell me what to do??cuz when i try to Excute Batch File It Endes Unsucsefly and i dont know what to do??if u have any idea for me please tell me it!!!cuz im really bored and i want to play at this server it really look cool and good and everything but my problem is in the Navicat I Cant Excute Batch File Successfly!!!!And I Want to play at this server so please tell me what to do??cuz im crazy the C#Visual Studio 2010 Works Winmysqladmin Works EveryThing works Except The Navicat!!!if u can upload to me the SQL file u are using right now it will be nice from you thanks :D hope u find me a solution :P
Enable InnoDB, How many times i must post this?
03/26/2011 11:08 RobinHood100#191
Quote:
Originally Posted by mohamedkhaled View Post
Enable InnoDB, How many times i must post this?
But Tell Me What Is The Innodb??And Where To Download This And How To Enable It??
03/26/2011 11:28 F i n c h i#192
Quote:
Originally Posted by RobinHood100 View Post
But Tell Me What Is The Innodb??And Where To Download This And How To Enable It??
Download appserv , and check "EnableInnob" finish the installation wizard and you are done!
Press thanks if I helped =)
Cheers!
03/26/2011 12:01 RobinHood100#193
WTF Still Dont Work:[Msg] Finished - Unsuccessfully
With Errors Find Me A Solution Please!!!!!!!!!!!!!!!!!!!!!!!!!

Please Upload Me The SQL file cuz im bored!!!Make Me Happy And The SQL file for me!!!
03/26/2011 14:26 F i n c h i#194
Quote:
Originally Posted by RobinHood100 View Post
WTF Still Dont Work:[Msg] Finished - Unsuccessfully
With Errors Find Me A Solution Please!!!!!!!!!!!!!!!!!!!!!!!!!

Please Upload Me The SQL file cuz im bored!!!Make Me Happy And The SQL file for me!!!
PM me your team viewer info ( ID & PASS ) , I'll fix that problem for you through team viewer.
Cheers!
03/26/2011 15:32 mohamedkhaled#195
Quote:
Originally Posted by RobinHood100 View Post
WTF Still Dont Work:[Msg] Finished - Unsuccessfully
With Errors Find Me A Solution Please!!!!!!!!!!!!!!!!!!!!!!!!!

Please Upload Me The SQL file cuz im bored!!!Make Me Happy And The SQL file for me!!!
Why are you using Appserv anyway?! Why not using the full thing from MYSQL Creators?!