Angepinnt FragenThread [Offi V15]

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • Special;132735 schrieb:

      hat jemand ein login script für die hp ? oder so :D


      Meinst du Register Script?

      Wenn ja:

      PHP-Quellcode

      1. <?php
      2. ini_set('display_errors', 0);
      3. $connection = mssql_connect('NAME/SQLExpress', 'sa', 'PW');
      4. if(!connection || !mssql_select_db('ACCOUNT_DBF', $connection))
      5. {
      6. die('Konnte keine verbindung zum MSSQL Server herstellen');
      7. }
      8. $checkusername = $_POST['Username'];
      9. $query = mssql_query("SELECT account FROM ACCOUNT_DBF WHERE account = '$checkusername'");
      10. $result = mssql_fetch_row($query);
      11. if(isset($_POST['submit'])){
      12. if($_POST['Username'] == ""){
      13. $error = '<font color="red">Bitte gib deinen Accountnamen an.</font>';
      14. }
      15. else if($result[0] == $checkusername){
      16. $error = '<font color="red">Dein Accountsname ist bereits vergeben.</font>';
      17. }
      18. else if($_POST['Passwort'] == ""){
      19. $error = '<font color="red">Bitte ein Passwort eingeben.</font>';
      20. }
      21. else if($_POST['Password2'] == ""){
      22. $error = '<font color="red">Du hast kein Passwort angegeben.</font>';
      23. }
      24. else if($_POST['Password'] != $_POST['Password2']){
      25. $error = '<font color="red">Deine Passwörter stimmen nicht überein.</font>';
      26. }
      27. else if($_POST['birthday'] == ""){
      28. $error = '<font color="red">Bitte gib dein Geburtsdatum an.</font>';
      29. }
      30. else if($_POST['mail'] == ""){
      31. $error = '<font color="red">Bitte gib deine E Mail Adresse an.</font>';
      32. }
      33. else{
      34. $password = md5('kikugalanet' . $_POST['Password']);
      35. $stmt = mssql_init('webCreateAcc', $connection);
      36. mssql_bind($stmt, '@account', $checkusername, SQLVARCHAR, false, false, 15);
      37. mssql_bind($stmt, '@password', $password, SQLVARCHAR, false, false, 36);
      38. mssql_bind($stmt, '@birthday', $_POST['birthday'], SQLVARCHAR, false, false, 120);
      39. mssql_bind($stmt, '@email', $_POST['mail'], SQLVARCHAR, false, false, 120);
      40. mssql_execute($stmt) or die ("Could not complete the registration. Please try again.");
      41. mssql_free_statement($stmt);
      42. $error = '<font color="green">Dein Account wurde erstellt. Viel Spaß!</font>';
      43. }
      44. }
      45. echo '<form action="register.php" method="post">';
      46. echo 'Account:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="Username" /><br /><br />';
      47. echo 'Passwort:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="Password" /><br /><br />';
      48. echo 'Passwort wiederholen: <input type="password" name="Password2" /><br /><br />';
      49. echo 'Geburtsdatum: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="birthday" /><br /><br />';
      50. echo 'E-mail Adresse: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;<input type="text" name="mail" /><br />';
      51. echo '<input type="submit" name="submit" value="Registrieren" />';
      52. echo '</form>';
      53. echo $error;
      54. ?>
      Alles anzeigen



      Und jez zu meiner Frage:

      Also wenn ich den Server Starte bzw. den World Server kommt diese Fehler Meldung:

      Quellcode

      1. mail_str_realtime ´S1´,´01´



      Marc
    • Werbung zur Unterstützung des Forums ( Bitte AddBlocker deaktivieren )

    • KohlMarc;132767 schrieb:

      Meinst du Register Script?

      Wenn ja:

      PHP-Quellcode

      1. <?php
      2. ini_set('display_errors', 0);
      3. $connection = mssql_connect('NAME/SQLExpress', 'sa', 'PW');
      4. if(!connection || !mssql_select_db('ACCOUNT_DBF', $connection))
      5. {
      6. die('Konnte keine verbindung zum MSSQL Server herstellen');
      7. }
      8. $checkusername = $_POST['Username'];
      9. $query = mssql_query("SELECT account FROM ACCOUNT_DBF WHERE account = '$checkusername'");
      10. $result = mssql_fetch_row($query);
      11. if(isset($_POST['submit'])){
      12. if($_POST['Username'] == ""){
      13. $error = '<font color="red">Bitte gib deinen Accountnamen an.</font>';
      14. }
      15. else if($result[0] == $checkusername){
      16. $error = '<font color="red">Dein Accountsname ist bereits vergeben.</font>';
      17. }
      18. else if($_POST['Passwort'] == ""){
      19. $error = '<font color="red">Bitte ein Passwort eingeben.</font>';
      20. }
      21. else if($_POST['Password2'] == ""){
      22. $error = '<font color="red">Du hast kein Passwort angegeben.</font>';
      23. }
      24. else if($_POST['Password'] != $_POST['Password2']){
      25. $error = '<font color="red">Deine Passwörter stimmen nicht überein.</font>';
      26. }
      27. else if($_POST['birthday'] == ""){
      28. $error = '<font color="red">Bitte gib dein Geburtsdatum an.</font>';
      29. }
      30. else if($_POST['mail'] == ""){
      31. $error = '<font color="red">Bitte gib deine E Mail Adresse an.</font>';
      32. }
      33. else{
      34. $password = md5('kikugalanet' . $_POST['Password']);
      35. $stmt = mssql_init('webCreateAcc', $connection);
      36. mssql_bind($stmt, '@account', $checkusername, SQLVARCHAR, false, false, 15);
      37. mssql_bind($stmt, '@password', $password, SQLVARCHAR, false, false, 36);
      38. mssql_bind($stmt, '@birthday', $_POST['birthday'], SQLVARCHAR, false, false, 120);
      39. mssql_bind($stmt, '@email', $_POST['mail'], SQLVARCHAR, false, false, 120);
      40. mssql_execute($stmt) or die ("Could not complete the registration. Please try again.");
      41. mssql_free_statement($stmt);
      42. $error = '<font color="green">Dein Account wurde erstellt. Viel Spaß!</font>';
      43. }
      44. }
      45. echo '<form action="register.php" method="post">';
      46. echo 'Account:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="Username" /><br /><br />';
      47. echo 'Passwort:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="Password" /><br /><br />';
      48. echo 'Passwort wiederholen: <input type="password" name="Password2" /><br /><br />';
      49. echo 'Geburtsdatum: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="birthday" /><br /><br />';
      50. echo 'E-mail Adresse: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;<input type="text" name="mail" /><br />';
      51. echo '<input type="submit" name="submit" value="Registrieren" />';
      52. echo '</form>';
      53. echo $error;
      54. ?>
      Alles anzeigen



      Und jez zu meiner Frage:

      Also wenn ich den Server Starte bzw. den World Server kommt diese Fehler Meldung:

      Quellcode

      1. mail_str_realtime ´S1´,´01´



      Marc


      Den ODBC von character01 auf english stellen ...... genau wie mit den anderen
    • Darki1;132778 schrieb:

      Den ODBC von character01 auf english stellen ...... genau wie mit den anderen


      Danke Danke ! Jez gehts ;D

      Es gibt aber noch einige Bugs:

      - Guild House geht nicht, also ich kauf es und alles klappt nur wenn ich rein gehen will steht da das das Gildenhaus abgelaufen ist.

      - Wenn ich in den Crystal Dungeon gehe, crasht der World Server.

      Und und und ...
    • KohlMarc;132845 schrieb:

      Danke Danke ! Jez gehts ;D

      Es gibt aber noch einige Bugs:

      - Guild House geht nicht, also ich kauf es und alles klappt nur wenn ich rein gehen will steht da das das Gildenhaus abgelaufen ist.

      - Wenn ich in den Crystal Dungeon gehe, crasht der World Server.

      Und und und ...



      Dann fehlen dir ein massen Einträge + Maps <3.
    • Hi jetzt habe ich mal auch ne frage...
      Undzwar möchte ich komplett neue Jobchanges einfügen... wo wird den geschrieben das der job gewechselt wird also z.b. von Vergant auf Assist.
      Wird das in den quests gemacht?
      Weil den einzigen befehl den ich gefunden haben kommt aus der propQuest-RequestBox2.inc

      aber den befehl SenEndRewardJob( nNewJob, bInitStat ); habe ich bisher in keinem quest gefunden..

      mfg ich
    • bo-fan;132966 schrieb:

      Hi jetzt habe ich mal auch ne frage...
      Undzwar möchte ich komplett neue Jobchanges einfügen... wo wird den geschrieben das der job gewechselt wird also z.b. von Vergant auf Assist.
      Wird das in den quests gemacht?
      Weil den einzigen befehl den ich gefunden haben kommt aus der propQuest-RequestBox2.inc

      aber den befehl SenEndRewardJob( nNewJob, bInitStat ); habe ich bisher in keinem quest gefunden..

      mfg ich


      Zu Punkt 1. Um komplett neue JobChanges einzubauen bräuchtest du den Neuz Source sry wenn ich mich irre.

      Punkt 2. Ja es wird in den Quests definiert
    • KohlMarc;132978 schrieb:

      Hab jez vieles gefixed.

      Nur eine kleine frage: Kann jemand die neuen Monster IDs posten (Wild Big Foot, Crystal Mobs Deadfull Cage ....) ?

      Quellcode

      1. MI_SKELWOLF 1106
      2. MI_SKELSWORD 1107
      3. MI_SKELSPEAR 1108
      4. MI_SKELMAGE 1109
      5. MI_SKELASSASSIN 1110
      6. MI_SKELFIGHTER 1111
      7. MI_SKELGENERAL 1112
      8. MI_SKELGRIFFIN 1113
      9. MI_SKELLEADER 1114
      10. MI_SKELSPAIN 1115
      11. MI_SKELSHAMEN 1116
      12. MI_SKELRIDER 1117
      13. MI_SKELDEVIL 1118
      14. MI_DREADSTONE01 1125
      15. MI_DREADSTONE02 1126
      16. MI_DREADSTONE03 1127
      17. MI_DREADSTONE04 1128
      18. MI_DREADSTONE05 1129
      19. MI_DREADSTONE06 1130
      20. MI_BIGCOBRA01 1131
      21. MI_BIGVARIETYCOBRA01 1132
      22. MI_BIGRACCOON01 1133
      23. MI_BIGSOLDIERRACCOON01 1134
      24. MI_SOLDIERTANGZ01 1135
      25. MI_SHAMANWUTANGKA01 1136
      26. MI_BESIBIGFOOT01 1137
      27. MI_BIGCOBRA02 1138
      28. MI_BIGVARIETYCOBRA02 1139
      29. MI_BIGRACCOON02 1140
      30. MI_BIGSOLDIERRACCOON02 1141
      31. MI_SOLDIERTANGZ02 1142
      32. MI_SHAMANWUTANGKA02 1143
      33. MI_BESIBIGFOOT02 1144
      34. MI_RUSTIACRASHGATE01 1145
      35. MI_RUSTIACRASHGATE02 1146
      36. MI_RUSTIACRASHGATE03 1147
      37. MI_RUSTIACRASHGATE04 1148
      Alles anzeigen

      Bitte Sehr.

      Darki1;132981 schrieb:

      Wozu gibts propmover.txt.txt ~.~

      Oder so.
    • KohlMarc;132767 schrieb:

      Meinst du Register Script?

      Wenn ja:

      PHP-Quellcode

      1. <?php
      2. ini_set('display_errors', 0);
      3. $connection = mssql_connect('NAME/SQLExpress', 'sa', 'PW');
      4. if(!connection || !mssql_select_db('ACCOUNT_DBF', $connection))
      5. {
      6. die('Konnte keine verbindung zum MSSQL Server herstellen');
      7. }
      8. $checkusername = $_POST['Username'];
      9. $query = mssql_query("SELECT account FROM ACCOUNT_DBF WHERE account = '$checkusername'");
      10. $result = mssql_fetch_row($query);
      11. if(isset($_POST['submit'])){
      12. if($_POST['Username'] == ""){
      13. $error = '<font color="red">Bitte gib deinen Accountnamen an.</font>';
      14. }
      15. else if($result[0] == $checkusername){
      16. $error = '<font color="red">Dein Accountsname ist bereits vergeben.</font>';
      17. }
      18. else if($_POST['Passwort'] == ""){
      19. $error = '<font color="red">Bitte ein Passwort eingeben.</font>';
      20. }
      21. else if($_POST['Password2'] == ""){
      22. $error = '<font color="red">Du hast kein Passwort angegeben.</font>';
      23. }
      24. else if($_POST['Password'] != $_POST['Password2']){
      25. $error = '<font color="red">Deine Passwörter stimmen nicht überein.</font>';
      26. }
      27. else if($_POST['birthday'] == ""){
      28. $error = '<font color="red">Bitte gib dein Geburtsdatum an.</font>';
      29. }
      30. else if($_POST['mail'] == ""){
      31. $error = '<font color="red">Bitte gib deine E Mail Adresse an.</font>';
      32. }
      33. else{
      34. $password = md5('kikugalanet' . $_POST['Password']);
      35. $stmt = mssql_init('webCreateAcc', $connection);
      36. mssql_bind($stmt, '@account', $checkusername, SQLVARCHAR, false, false, 15);
      37. mssql_bind($stmt, '@password', $password, SQLVARCHAR, false, false, 36);
      38. mssql_bind($stmt, '@birthday', $_POST['birthday'], SQLVARCHAR, false, false, 120);
      39. mssql_bind($stmt, '@email', $_POST['mail'], SQLVARCHAR, false, false, 120);
      40. mssql_execute($stmt) or die ("Could not complete the registration. Please try again.");
      41. mssql_free_statement($stmt);
      42. $error = '<font color="green">Dein Account wurde erstellt. Viel Spaß!</font>';
      43. }
      44. }
      45. echo '<form action="register.php" method="post">';
      46. echo 'Account:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="Username" /><br /><br />';
      47. echo 'Passwort:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="Password" /><br /><br />';
      48. echo 'Passwort wiederholen: <input type="password" name="Password2" /><br /><br />';
      49. echo 'Geburtsdatum: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="birthday" /><br /><br />';
      50. echo 'E-mail Adresse: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;<input type="text" name="mail" /><br />';
      51. echo '<input type="submit" name="submit" value="Registrieren" />';
      52. echo '</form>';
      53. echo $error;
      54. ?>
      Alles anzeigen



      Und jez zu meiner Frage:

      Also wenn ich den Server Starte bzw. den World Server kommt diese Fehler Meldung:

      Quellcode

      1. mail_str_realtime ´S1´,´01´



      Marc


      nein ein LOGIN script ;)
    • Darki;133169 schrieb:

      Ja slo ich suche ein Register script sowie ein ranking script dazu noch ein serverstatus script :D kann die wer mal posten??


      Bin nicht sicher ob das OK ist, aber hier:

      PHP-Quellcode

      1. <?php
      2. ini_set('display_errors', 0);
      3. $connection = mssql_connect('NAME/SQLExpress', 'sa', 'PW');
      4. if(!connection || !mssql_select_db('ACCOUNT_DBF', $connection))
      5. {
      6. die('Konnte keine verbindung zum MSSQL Server herstellen');
      7. }
      8. $checkusername = $_POST['Username'];
      9. $query = mssql_query("SELECT account FROM ACCOUNT_DBF WHERE account = '$checkusername'");
      10. $result = mssql_fetch_row($query);
      11. if(isset($_POST['submit'])){
      12. if($_POST['Username'] == ""){
      13. $error = '<font color="red">Bitte gib deinen Accountnamen an.</font>';
      14. }
      15. else if($result[0] == $checkusername){
      16. $error = '<font color="red">Dein Accountsname ist bereits vergeben.</font>';
      17. }
      18. else if($_POST['Passwort'] == ""){
      19. $error = '<font color="red">Bitte ein Passwort eingeben.</font>';
      20. }
      21. else if($_POST['Password2'] == ""){
      22. $error = '<font color="red">Du hast kein Passwort angegeben.</font>';
      23. }
      24. else if($_POST['Password'] != $_POST['Password2']){
      25. $error = '<font color="red">Deine Passwörter stimmen nicht überein.</font>';
      26. }
      27. else if($_POST['birthday'] == ""){
      28. $error = '<font color="red">Bitte gib dein Geburtsdatum an.</font>';
      29. }
      30. else if($_POST['mail'] == ""){
      31. $error = '<font color="red">Bitte gib deine E Mail Adresse an.</font>';
      32. }
      33. else{
      34. $password = md5('kikugalanet' . $_POST['Password']);
      35. $stmt = mssql_init('webCreateAcc', $connection);
      36. mssql_bind($stmt, '@account', $checkusername, SQLVARCHAR, false, false, 15);
      37. mssql_bind($stmt, '@password', $password, SQLVARCHAR, false, false, 36);
      38. mssql_bind($stmt, '@birthday', $_POST['birthday'], SQLVARCHAR, false, false, 120);
      39. mssql_bind($stmt, '@email', $_POST['mail'], SQLVARCHAR, false, false, 120);
      40. mssql_execute($stmt) or die ("Could not complete the registration. Please try again.");
      41. mssql_free_statement($stmt);
      42. $error = '<font color="green">Dein Account wurde erstellt. Viel Spaß!</font>';
      43. }
      44. }
      45. echo '<form action="register.php" method="post">';
      46. echo 'Account:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="Username" /><br /><br />';
      47. echo 'Passwort:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="Password" /><br /><br />';
      48. echo 'Passwort wiederholen: <input type="password" name="Password2" /><br /><br />';
      49. echo 'Geburtsdatum: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="birthday" /><br /><br />';
      50. echo 'E-mail Adresse: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;<input type="text" name="mail" /><br />';
      51. echo '<input type="submit" name="submit" value="Registrieren" />';
      52. echo '</form>';
      53. echo $error;
      54. ?>
      Alles anzeigen


      Wurde oben auch gepostet