[Release]: XioOnline Source code.

05/30/2015 15:56 pro4never#46
Quote:
Originally Posted by marcbacor6666 View Post
i dont believed that its a shit 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 teroareboss1#47
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 pro4never#48
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)
05/31/2015 12:37 Yupmoh#49
Don't fucking PM me asking for help, Read the OP. Get a fucking brain that works and compile that shit if you want to. Otherwise, Fuck off.
05/31/2015 15:50 Super Aids#50
Quote:
Originally Posted by marcbacor6666 View Post
i dont believed that its a shit source, kindly teach us how to fix this sir.
I will fix it if you pay
05/31/2015 19:19 marcbacor6666#51
STUPID PEOPLE, RELEASING AND.....
05/31/2015 19:32 Yupmoh#52
Ya, Ok. Gtfo.

//EDIT, How dare you even say that shit when you can't even debug the problem, Again Gtfo the thread. It aint for you retard.
05/31/2015 21:47 Xio.#53
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.
05/31/2015 23:07 teroareboss1#54
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?
06/01/2015 02:15 Xio.#55
Quote:
Originally Posted by teroareboss1 View Post
if is not referenced... why is there?
delete it, dont be a pain in the ass.
08/09/2015 01:23 semil#56
I have a problem.
GameServer Console Showing Me:
(192.168.0.5) sent an invalid packet.

WTF???
08/09/2015 03:12 Xio.#57
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!
08/09/2015 12:03 semil#58
lol nice help
08/09/2015 15:43 Yupmoh#59
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 smile4fun1#60
Do you still have this? Looks great. The links are dead