Jump to content

Acis Faction System [Unlimited Factions]


Recommended Posts

Shitcode as expected, that absurd loop to find the target function is crap, it should be

 

final Function[] functions = Functions.values();

if (id < functions.lenght)

{ //function is found do the stuff
  final Function function = Functions.values()[id];
}//

else //function not found

{

}

 

I stopped there, I doubt if anything is done correctly

Link to comment
Share on other sites

Shitcode as expected, that absurd loop to find the target function is crap, it should be

 

final Function[] functions = Functions.values();

if (id < functions.lenght)

{ //function is found do the stuff

  final Function function = Functions.values()[id];

}//

else //function not found

{

 

}

 

I stopped there, I doubt if anything is done correctly

 

I'll improve it tomorrow, consider i spended about 20-25 minute in this. 

Link to comment
Share on other sites

You just proved that you skipped the 3 lines i wrote. I said the code is not tested so please write me problems e.t.c to update it..

Also yes i saw that it load only 1 faction cause i added if instead of while. ill update it tomorrow along with reward.

 

a few positive comments were around, thats why i asked. I wasnt refering to u directly

Link to comment
Share on other sites

a few positive comments were around, thats why i asked. I wasnt refering to u directly

Yes but when you enter in a topic and owner has 2 lines read them please. Don't go directly to comment section.

Link to comment
Share on other sites

There are a lot of codes but this one is coded better and working better, i just wanted to congratulate you :)

Who care i'll sin them anyway  :-[  :good sir:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...