|
You last visited: Today at 10:10
Advertisement
Redux v2 - Official 5065 Classic Source
Discussion on Redux v2 - Official 5065 Classic Source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/16/2015, 14:42
|
#1831
|
elite*gold: 0
Join Date: May 2009
Posts: 5
Received Thanks: 0
|
Question:
Quote:
Originally Posted by Andrééé
Gentlemen, I found a problem to cross some bridges. You already know this bug? Otherwise, I'm reporting and would like a help troubleshooting.
Can anyone help? thx
PS: The same error occurs in versions 3.0 and 3.5.
Below is the image of the debug:
|
Response:
Quote:
Originally Posted by pro4never
It has nothing to do with the console window.
The server believes those coordinates are invalid and so it resets the client position. The client then parrots back those coordinates confirming where it is and the server ignores that response.
The issue is the map files are wrong. Delete them and re-create them from the client files and you'll be fine
|
Question again:
But how could I do that?
Someone else can help me?
|
|
|
02/16/2015, 19:00
|
#1832
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
|
Quote:
Originally Posted by Andrééé
Question:
Response:
Question again:
But how could I do that?
Someone else can help me?
|
Delete the tinymap folder and re-run the server.
|
|
|
02/16/2015, 19:56
|
#1833
|
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 57
|
I'm looking for code to check how many players alive on the current map , can anybody help me to find it??!
|
|
|
02/16/2015, 20:55
|
#1834
|
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
|
Quote:
Originally Posted by m e n a
I'm looking for code to check how many players alive on the current map , can anybody help me to find it??!
|
howmanyinmap = 0;
foreach (var player in Managers.PlayerManager.Players.Values)
{
if (player.MapID == 1043 && player.Life >= 1)
{
howmanyinmap += 1;
}
}
|
|
|
02/16/2015, 22:39
|
#1835
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
|
People should really start to use LINQ. It makes everything so much simpler. It's basically SQL style queries you can use in .net
var results = from I in PlayerManager.Players.Values where I.MapID == 1043 && I.Alive select I;
|
|
|
02/17/2015, 07:26
|
#1836
|
elite*gold: 0
Join Date: May 2009
Posts: 5
Received Thanks: 0
|
Problem when crossing bridges
Quote:
Originally Posted by turk55
Delete the tinymap folder and re-run the server.
|
It did not work. ;(
- After folder Tinymap removed. The characters not move from place.
- I copied the client's map folder to the source and did not work the same way.
Any idea how to solve this? The characters of your server can pass through the bridges without error?
|
|
|
02/18/2015, 09:16
|
#1837
|
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 57
|
Quote:
Originally Posted by pro4never
People should really start to use LINQ. It makes everything so much simpler. It's basically SQL style queries you can use in .net
var results = from I in PlayerManager.Players.Values where I.MapID == 1043 && I.Alive select I;
|
I had no idea how to use the codes you posted so I temporary used this one, and it's working.
Code:
if (PlayerManager.Players.Where(p => p.Value.MapID == 1505).Count() == 1)
|
|
|
02/20/2015, 12:44
|
#1838
|
elite*gold: 0
Join Date: May 2009
Posts: 5
Received Thanks: 0
|
Quote:
Originally Posted by Andrééé
It did not work. ;(
- After folder Tinymap removed. The characters not move from place.
- I copied the client's map folder to the source and did not work the same way.
Any idea how to solve this? The characters of your server can pass through the bridges without error?
|
Anyone can help me? i have serious problem to cross bridges. :/
The problem it would be in my client?
|
|
|
02/20/2015, 22:42
|
#1839
|
elite*gold: 0
Join Date: Feb 2015
Posts: 18
Received Thanks: 2
|
MySQL Error
I'm just wondering... what's up with this? Trying to execute the SQL file, but it seems like it's not letting it create those last 7.
Quote:
[Err] 1655 - Cannot create stored routine `DeleteCharacter`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `DeleteCharacter`(IN _uid INT unsigned)
BEGIN
DELETE FROM characters WHERE UID=_uid;
DELETE FROM items WHERE Owner=_uid;
DELETE FROM nobility WHERE UID=_uid;
DELETE FROM proficiencies WHERE owner=_uid;
DELETE FROM skills WHERE owner=_uid;
DELETE FROM associates WHERE UID=_uid;
DELETE FROM associates WHERE AssociateID=_uid;
DELETE FROM guildattr WHERE guild_id=(SELECT id from guild where leader_id=_uid);
DELETE FROM guildattr WHERE id=_uid;
DELETE FROM guild WHERE leader_id=_uid;
DELETE FROM tasks WHERE owner=_uid;
END
;
[Err] 1655 - Cannot create stored routine `DeleteGuildAttr`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `DeleteGuildAttr`(IN guildId INT unsigned)
BEGIN
DELETE FROM guildattr WHERE guild_id=guildId;
END
;
[Err] 1655 - Cannot create stored routine `DeleteUserGuildAttr`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `DeleteUserGuildAttr`(IN userId INT unsigned, IN guildId INT unsigned, IN guildRank SMALLINT unsigned)
BEGIN
DELETE FROM guildattr WHERE id=userId AND guild_id=guildId AND rank!=guildRank LIMIT 1;
END
;
[Err] 1655 - Cannot create stored routine `GetGuildMemberList`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `GetGuildMemberList`(IN guildId INT unsigned)
BEGIN
SELECT u.Name AS Name, g.rank AS Rank, u.Level AS Level, g.donate_silver AS Donation FROM guildattr AS g LEFT JOIN characters AS u ON u.UID=g.id WHERE g.guild_id=guildId && u.UID IS NOT NULL ORDER BY g.rank DESC, u.Level DESC, u.Name;
END
;
[Err] 1655 - Cannot create stored routine `GetLastItemUID`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `GetLastItemUID`()
SELECT * FROM items ORDER BY UniqueID DESC LIMIT 1
;
;
[Err] 1655 - Cannot create stored routine `GetNobilityRank`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `GetNobilityRank`(IN donationvalue BIGINT unsigned)
BEGIN
SELECT COUNT(*) FROM nobility WHERE Donation>donationvalue;
END
;
[Err] 1655 - Cannot create stored routine `NobilityPages`. Check warnings
[Err] CREATE DEFINER=`root`@`localhost` PROCEDURE `NobilityPages`()
BEGIN
SELECT * FROM nobility ORDER BY Donation DESC LIMIT 50;
END
;
[Msg] Finished - Unsuccessfully
|
|
|
|
02/20/2015, 22:55
|
#1840
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
|
Quote:
Originally Posted by Zeps255
I'm just wondering... what's up with this? Trying to execute the SQL file, but it seems like it's not letting it create those last 7.
|
You're either using the wrong version/settings for your mysql install (use the official mysql installer or xampp. Both work fine using default settings) and then make sure you're using the same options shown in the setup video when executing the backup.
I've used the backup myself on a number of different computers with various installs as well as dozens of others who have used the source int he past. I can 100% guarentee it works.
|
|
|
02/21/2015, 00:10
|
#1841
|
elite*gold: 0
Join Date: Feb 2015
Posts: 18
Received Thanks: 2
|
Quote:
Originally Posted by pro4never
You're either using the wrong version/settings for your mysql install (use the official mysql installer or xampp. Both work fine using default settings) and then make sure you're using the same options shown in the setup video when executing the backup.
I've used the backup myself on a number of different computers with various installs as well as dozens of others who have used the source int he past. I can 100% guarentee it works.
|
Yeah, it looks like I forgot to install MySQL, was running it with AppServ
Not sure if anyone else is experiencing this... Conquer freezes when ever I move my mouse, when I stop moving it, it keeps on rolling. Now I'm not sure if it's just this client or all the 5065 clients, other versions seem to be working fine. If anyone else has this problem or has fixed it, give me a heads up.
|
|
|
02/21/2015, 16:09
|
#1842
|
elite*gold: 0
Join Date: Feb 2014
Posts: 76
Received Thanks: 5
|
I added new garments with Example Id : 188915 .
and the source read it as useable item .
|
|
|
02/22/2015, 07:44
|
#1843
|
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 57
|
Quote:
Originally Posted by AhmedGfx
I added new garments with Example Id : 188915 .
and the source read it as useable item .
|
What exactly you mean, I think you meant unusable!
Well, if you meant "Unusable" there's some steps you have to do to make these Garments equip-able.
let's make sure we following the same topic we are talking about Server-side editing, Ok!
Firstly open your source and find "Managers" folder, look for "EquipmentManager.cs"
Secondly open that CS file and use Ctrl+F to find this line Add
after or before
As example I'm not sure that there any garment has this number anyway.
If I helped press Thanks, that's fun
|
|
|
02/22/2015, 09:38
|
#1844
|
elite*gold: 0
Join Date: Feb 2014
Posts: 76
Received Thanks: 5
|
Thanks , i fixed it , previously .
|
|
|
02/22/2015, 18:50
|
#1845
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
where problem?
|
|
|
All times are GMT +2. The time now is 10:10.
|
|