Register for your free account! | Forgot your password?

You last visited: Today at 17:48

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old 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 View Post
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.
pro4never is offline  
Thanks
1 User
Old 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;
}
teroareboss1 is offline  
Old 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 View Post
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)
pro4never is offline  
Old 05/31/2015, 12:37   #49
 
Yupmoh's Avatar
 
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.
Yupmoh is offline  
Old 05/31/2015, 15:50   #50
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by marcbacor6666 View Post
i dont believed that its a **** source, kindly teach us how to fix this sir.
I will fix it if you pay
Super Aids is offline  
Old 05/31/2015, 19:19   #51
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
STUPID PEOPLE, RELEASING AND.....
marcbacor6666 is offline  
Old 05/31/2015, 19:32   #52
 
Yupmoh's Avatar
 
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 ******.
Yupmoh is offline  
Old 05/31/2015, 21:47   #53
 
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
Quote:
Originally Posted by teroareboss1 View Post
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.
Xio. is offline  
Old 05/31/2015, 23:07   #54
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
Quote:
Originally Posted by Xio. View Post
That class is not even used, thats a zombie file. This class was never finished / implemented.
if is not referenced... why is there?
teroareboss1 is offline  
Old 06/01/2015, 02:15   #55
 
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
Quote:
Originally Posted by teroareboss1 View Post
if is not referenced... why is there?
delete it, dont be a pain in the ***.
Xio. is offline  
Thanks
2 Users
Old 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???
semil is offline  
Old 08/09/2015, 03:12   #57
 
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
Quote:
Originally Posted by semil View Post
I have a problem.
GameServer Console Showing Me:
(192.168.0.5) sent an invalid packet.

WTF???
Oh snap!
Xio. is offline  
Old 08/09/2015, 12:03   #58
 
elite*gold: 0
Join Date: Oct 2007
Posts: 50
Received Thanks: 0
lol nice help
semil is offline  
Old 08/09/2015, 15:43   #59
 
Yupmoh's Avatar
 
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.
Yupmoh is offline  
Thanks
2 Users
Old 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
smile4fun1 is offline  
Reply




All times are GMT +1. The time now is 17:49.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.