|
You last visited: Today at 15:36
Advertisement
[FAQ] HellmouthSource
Discussion on [FAQ] HellmouthSource within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
03/25/2011, 17:42
|
#181
|
elite*gold: 0
Join Date: Jun 2008
Posts: 13
Received Thanks: 0
|
how can i get a refinary pack =X ?
|
|
|
03/25/2011, 20:58
|
#182
|
elite*gold: 0
Join Date: Feb 2006
Posts: 29
Received Thanks: 6
|
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
|
#183
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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
|
#184
|
elite*gold: 0
Join Date: Mar 2011
Posts: 78
Received Thanks: 8
|
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
|
#185
|
elite*gold: 0
Join Date: Mar 2011
Posts: 78
Received Thanks: 8
|
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
|
#186
|
elite*gold: 0
Join Date: May 2009
Posts: 45
Received Thanks: 5
|
I ignore to answer.. (Loled at your name).
And why the double post tho?
|
|
|
03/25/2011, 22:58
|
#187
|
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
|
Quote:
Originally Posted by C# Coder
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
|
#188
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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
|
#189
|
elite*gold: 0
Join Date: Sep 2010
Posts: 91
Received Thanks: 40
|
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  hope u find me a solution :P
|
|
|
03/26/2011, 09:27
|
#190
|
elite*gold: 0
Join Date: May 2009
Posts: 45
Received Thanks: 5
|
Quote:
Originally Posted by RobinHood100
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  hope u find me a solution :P
|
Enable InnoDB, How many times i must post this?
|
|
|
03/26/2011, 11:08
|
#191
|
elite*gold: 0
Join Date: Sep 2010
Posts: 91
Received Thanks: 40
|
Quote:
Originally Posted by mohamedkhaled
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
|
#192
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
Quote:
Originally Posted by RobinHood100
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
|
#193
|
elite*gold: 0
Join Date: Sep 2010
Posts: 91
Received Thanks: 40
|
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
|
#194
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
Quote:
Originally Posted by RobinHood100
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
|
#195
|
elite*gold: 0
Join Date: May 2009
Posts: 45
Received Thanks: 5
|
Quote:
Originally Posted by RobinHood100
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?!
|
|
|
All times are GMT +1. The time now is 15:36.
|
|