Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Recent content by LifeTaker

  1. L

    [Help] Remote MSSQL Connection Fail.

    Actually I said a colon, not a semicolon :D Have you tried this? define('sql_host','USERNAME394\SQLEXPRESS:1433'); Or just: define('sql_host','USERNAME394\SQLEXPRESS'); ? Strange because I'd never had problems connecting to a MSSQL server. Can you show us your connection code? If you're...
  2. L

    [Help] Remote MSSQL Connection Fail.

    define(sql_host,'USERNAME-394\SQLEXPRESS,1433'); The port has to be separated with a colon, not a coma, and you don't even need to put it since 1433 is the default port. Oh and the 1st argument of define() expects a string, not some kind of strange constant.
  3. L

    [Help] C++ Output

    You need to pass parameters (the numbers) to the function. This way your function proto becomes: bool AvaTest(float one, float two) Also, NEVER declare variables without assigning them a value (like you did here): float one, two; Unless of course if you are sure that you will give a value...
  4. L

    [C++] Arrays

    Few explanations: unsigned : we use this mostly when we know a number can only be positive. Result is, it can store a "bigger" number (in absolute value, if you see what I mean). For example: char can store numbers from -127 to 127. unsigned char can store values from 0 to 255. So it can store...
  5. L

    [Help] C++ Output

    Use something like this, to convert the user input to lower case: string tolowercase(string original_string) { string return_string = ""; // initialize our return value for(i=0; i<original_string.size(); ++i) // loop through each character of the original string return_string =...
  6. L

    [Release] Enemy MuWeb

    I'll test it with magic quotes off when I have some time
  7. L

    [C++] Arrays

    I feel you're a bit complicating yourself. My code is fairly enough commented for you to understand how it works. #include <sstream> void AnalyzingIntegerArrayTimmyMa( void ) { unsigned int i, j, number_of_integers=0, minimum; string tmp; // will be used as a temporary var later on...
  8. L

    [Help] C++ Output

    Oh yes, once you finish learning C++ (classes, inheritance, friendship, templates, and so on), then you can directly move on to the Qt framework. You'll get to do windowed apps as soon as you start with Qt :) Btw: MS-DOS is gone since windows NT (or windows 2000, correct me), you're using the...
  9. L

    [Help] C++ Output

    Under the execute menu, there should be something like "Compile and Run". I don't see why you'd need a batch file in the first place.
  10. L

    [Help] C++ Output

    Which IDE are you using? You can use CodeBlocks or Dev-C++, they're both user-friendly and easy to use.
  11. L

    [Help] C++ Output

    if (answer == "yes" || "Yes") { // equals yes Should be if(answer == "yes" || answer == "Yes") And same with No.
  12. L

    [HTACCESS] Subdomains + Specific Directory

    Open your your httpd.conf Add those lines at the end of it (ofc replace with the correct values) <VirtualHost *:80> DocumentRoot C:\PathTo\subdomainone ServerName subdomain1.mywebsite.com </VirtualHost> <VirtualHost *:80> DocumentRoot C:\PathTo\subdomaintwo ServerName...
  13. L

    [HTACCESS] Subdomains + Specific Directory

    Google "apache virtualhost" and you'll get your answer.
  14. L

    [Release] Enemy MuWeb

    Haha I know perfectly how they work (escape GPC ' to \', " to \", and \0 to \\0, which isn't "strictly" correct sql-wise btw), and if you turn off magic quotes and website won't work, then your website isn't coded well :): Edit: wow he deleted his reply now, maybe to make me look stupid...
Back
Top