|
You last visited: Today at 17:48
Advertisement
[Release]: XioOnline Source code.
Discussion on [Release]: XioOnline Source code. within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
05/30/2015, 15:56
|
#46
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by marcbacor6666
i dont believed that its a **** source, kindly teach us how to fix this sir.
|
The fix is to delete the source of your computer and write your own.
It's not really a debate. Even the original creator of the source agrees it's not very good and was only really used to learn some new programming concepts.
It is NOT a source you should try to use to host a public server with or use to develop one unless you're willing to re-write large portions of it AND develop a ton of content as it currently has none.
|
|
|
05/30/2015, 19:45
|
#47
|
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
|
I don't have anything personal with you , I really appreciate a lot because you work alone on this source .
Can you explain to me what this means ? why you use foreach ? when you have the player up?
public static bool CanUse(Player Player, Consumable Type, bool IncrementCounter)
{
foreach (var E in Entries.Where(E => E.PlayerUID == Player.UID))
{
if (E.Used >= E.Allowed) return false;
if (IncrementCounter)
E.Used++;
return true;
}
switch (Type)
{
case Consumable.ExpBalls:
{
Add(Player, Type, 10, true);
break;
}
default:
{
Add(Player, Type, 1, true);
break;
}
}
return true;
}
|
|
|
05/30/2015, 21:17
|
#48
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by teroareboss1
I don't have anything personal with you , I really appreciate a lot because you work alone on this source .
Can you explain to me what this means ? why you use foreach ? when you have the player up?
public static bool CanUse(Player Player, Consumable Type, bool IncrementCounter)
{
foreach (var E in Entries.Where(E => E.PlayerUID == Player.UID))
{
if (E.Used >= E.Allowed) return false;
if (IncrementCounter)
E.Used++;
return true;
}
switch (Type)
{
case Consumable.ExpBalls:
{
Add(Player, Type, 10, true);
break;
}
default:
{
Add(Player, Type, 1, true);
break;
}
}
return true;
}
|
It's safe to delete that and write it from scratch.
I'd be more scared to see the underlying structure of that... It's implying some horrifying inheritance based on how it's written (which is of course also incorrect)
|
|
|
05/31/2015, 12:37
|
#49
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
Don't ******* PM me asking for help, Read the OP. Get a ******* brain that works and compile that **** if you want to. Otherwise, **** off.
|
|
|
05/31/2015, 15:50
|
#50
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by marcbacor6666
i dont believed that its a **** source, kindly teach us how to fix this sir.
|
I will fix it if you pay
|
|
|
05/31/2015, 19:19
|
#51
|
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
|
STUPID PEOPLE, RELEASING AND.....
|
|
|
05/31/2015, 19:32
|
#52
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
Ya, Ok. Gtfo.
//EDIT, How dare you even say that **** when you can't even debug the problem, Again Gtfo the thread. It aint for you ******.
|
|
|
05/31/2015, 21:47
|
#53
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
|
Quote:
Originally Posted by teroareboss1
I don't have anything personal with you , I really appreciate a lot because you work alone on this source .
Can you explain to me what this means ? why you use foreach ? when you have the player up?
public static bool CanUse(Player Player, Consumable Type, bool IncrementCounter)
{
foreach (var E in Entries.Where(E => E.PlayerUID == Player.UID))
{
if (E.Used >= E.Allowed) return false;
if (IncrementCounter)
E.Used++;
return true;
}
switch (Type)
{
case Consumable.ExpBalls:
{
Add(Player, Type, 10, true);
break;
}
default:
{
Add(Player, Type, 1, true);
break;
}
}
return true;
}
|
That class is not even used, thats a zombie file. This class was never finished / implemented.
|
|
|
05/31/2015, 23:07
|
#54
|
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
|
Quote:
Originally Posted by Xio.
That class is not even used, thats a zombie file. This class was never finished / implemented.
|
if is not referenced... why is there?
|
|
|
06/01/2015, 02:15
|
#55
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
|
Quote:
Originally Posted by teroareboss1
if is not referenced... why is there?
|
delete it, dont be a pain in the ***.
|
|
|
08/09/2015, 01:23
|
#56
|
elite*gold: 0
Join Date: Oct 2007
Posts: 50
Received Thanks: 0
|
I have a problem.
GameServer Console Showing Me:
(192.168.0.5) sent an invalid packet.
WTF???
|
|
|
08/09/2015, 03:12
|
#57
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
|
Quote:
Originally Posted by semil
I have a problem.
GameServer Console Showing Me:
(192.168.0.5) sent an invalid packet.
WTF???
|
Oh snap!
|
|
|
08/09/2015, 12:03
|
#58
|
elite*gold: 0
Join Date: Oct 2007
Posts: 50
Received Thanks: 0
|
lol nice help
|
|
|
08/09/2015, 15:43
|
#59
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
If you really want to fix it then you have to debug it, Overall the source is trash. It wouldn't be public if it wasn't trash.
|
|
|
02/09/2025, 12:06
|
#60
|
elite*gold: 0
Join Date: May 2015
Posts: 2
Received Thanks: 0
|
Do you still have this? Looks great. The links are dead
|
|
|
All times are GMT +1. The time now is 17:49.
|
|