@~iToXiiC Your code iterates from 1 to 100 even if $levelarr[$i] is equal or bigger than $exp -> Useless iterations (assuming the redundant statements aren't removed by optimization)
@~iToXiiC Your code iterates from 1 to 100 even if $levelarr[$i] is equal or bigger than $exp -> Useless iterations (assuming the redundant statements aren't removed by optimization)
Well its realy old like 1 year old i was learning PHP before ^^
@~iToXiiC Your code iterates from 1 to 100 even if $levelarr[$i] is equal or bigger than $exp -> Useless iterations (assuming the redundant statements aren't removed by optimization)
Ist ein alter Code der bei mir rumlag.
Natürlich hätte man es leichter machen können, aber wie sagt man so schön "Es führen 1000 Wege nach Rom".
[Small Code Snippet] Local Hosting for Private Server Development 06/25/2012 - CO2 PServer Guides & Releases - 2 Replies Hey everyone.
So previously, I was coming up with a few ideas on how to create a dynamic environment for development to simplify network communications (for demonstrations in random locations and such). I came up with a No-IP solution for public connections, but I don't always want my server to be public... so here's a local host solution:
// If the server is running on the local machine for development, get the
// ip address that the machine would like to use:
#region Get Local...
[Code Snippet] Save / Load Lists 03/31/2012 - C/C++ - 18 Replies Falls ihr vor der selben Problemstellung steht wie ich vor einiger Zeit ^^
Hier ist die Lösung :P
//Nur eine Beispiel Struktur die ich für ein Programm genutzt habe
typedef struct
{
char szItem ;
float fGewicht;
} sItem;
[Code Snippet] getFloatFromString [C++ 02/15/2012 - C/C++ - 5 Replies I wrote a small function for getting a float from a string.
I know that this function isn't perfect.
It isnt very hard to fix it ;)
I belive in you guys :P
using namespace std;
float getFloatFromString (char *szBuffer);
[Code Snippet]Facing Character to X , Y 10/27/2009 - Aion Hacks, Bots, Cheats & Exploits - 4 Replies Hey community,
i want to share some code snippets to you because NCsoft changed a little bit in Aion and now i want to share a new Facting to X Y method. ;)
Thanks to PharmerPhale for some help. :)
C# Code
private double RotNeeded(float X, float Y)
{