Jump to content

Ayaka

Bronze
  • Posts

    288
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Everything posted by Ayaka

  1. From what I see, i would say the detection on Baidu is false positive.
  2. If you want to turn off all deprecated warnings including them from mysql_* you have to add: error_reporting(E_ALL ^ E_DEPRECATED); in a global php file (config.php for example). Attention: By updating your php version to 7 or higher, your mysql querys will not working anymore. So make sure to update your deprecated code before updating your system (in the future).
  3. Give it a last try: Type netsh winsock reset and press Enter. Type netsh int ip reset and press Enter. Type ipconfig /release and press Enter. Type ipconfig /renew and press Enter. Type ipconfig /flushdns and press Enter. and maybe this netsh advfirewall set allprofiles state off because of your hint with the firewall program. (dont forget to turn it on again after check) [Hidden Content]
  4. 8 adapter, i have only 3. You have a lot of configuration O,o I don't have that much knowledge to figure out what exactly the problem is. But this is the right way. Maybe someone read this and can help you. Im out, sorry.
  5. hm try to get more informations about your connection. I think that this is a DNS configuration problem on your machine OR your router. Type ipconfig /all and route print -4 in your CMD. Maybe there you can see some strange entries.
  6. Strange behavior. What happens when ping an ip via cmd? Is this working by the first try? Edit: connected via WLAN or LAN?
  7. Maybe you are using outdated credentials for RDP? WinKey + R and run rundll32.exe keymgr.dll,KRShowKeyMgr i bet there is a lot of old stuff. Delete all and restart your machine.
  8. maybe not the /usr/src/best_source/Srcs/Server/game/src (joke ) Is this all?: gmake[1]: *** [dep] Error 127 gmake[1]: Leaving directory `/usr/src/best_source/Srcs/Server/game/src' gmake: *** [all] Error 2
  9. nice! If you want to create a new password use this instead of md5 generator: [Hidden Content] Note: Edit your thread and mark it as solved to let other people know that this is successful answered and for a better overview in general.
  10. md5? isnt it MySQL Password() ? *676243218923905CF94CB52A3C9D3EB30CE8E20D
  11. in general: [Hidden Content] So what is the error? Or do you have row, column mapping or charset problems? What exactly is the problem? Do you have define an XML Schema?
  12. ok thats strange, i was so sure that this is working xD I would check if this is really the right place to change code. Whats happen if you change the "[" and "]" like: "%s<Prestige %d>" if the output isn't <Prestige 1>EbeEbe then this function isn't rendering for your output.
  13. from reading this [Hidden Content] i think this is the solution. %s is a character string (name) and %d a signed integer (level) so i changed the position in the first snprintf function. Hope this works, never coded in C++. i can only write php but from a logical point of view it should work: if (pCharacterInstance->GetPrestigeLevel() < PRESTIGE_MAX) snprintf(szNameTextTail, sizeof(szNameTextTail), "%s[Prestige %d]", pCharacterInstance->GetNameString(), pCharacterInstance->GetPrestigeLevel()); else snprintf(szNameTextTail, sizeof(szNameTextTail), "%s[Prestige Master]", pCharacterInstance->GetNameString());
  14. indeed the wrong category. You posted this in "Releases > Programming". Next time -> questions in "Metin2 > Questions and Answers" Read for more informations:
  15. So if you don't need to learn anything from someone like me i will give you a hint to learn the meaning yourself. Take a look to your whole database structure and you will see that there is something named "hotbackup". Now image that a backup performed on data while the database is actively online and accessible to users. magic!
  16. You should really learn how to use tags the right way before starting a thread. Edit:// i appreciate the downvote. Now you got it - thats the important point.
  17. First of all: This can't work because ids can only exist once! If you want to do such things you have to give the divs classes! So, I would do that with jQuery. It is just a lot easier for beginner than native JavaScript like you did. If you want to show/hide divs with its own toggle button (dynamically) you can do it like i did here: I used "data" Attribute for trigger the related div. The coole thing is, that you can place your div wherever you want and it works on several divs if you want. Just use the class which is used in the data Attribute for one or more divs. Shoud be easy to understand: <button class="toggleButton" data-toggle="div1">Show</button> <div class="toggleDiv div1">First Container</div>
  18. Google this. There is a solution but i dont want to link to the well known crappy board
  19. Then read the whole thread! Client for example:
  20. I don't know much about technical in this case but it sounds like a permission problem on windows. You are not allowed to execute cmd.exe. Maybe check administrator privileges? Control Panel > All Control Panel Items > User Accounts > Change UAC settings
  21. Problem solved. It was the variable type. if someone else will have this problem be sure to convert all variables into integer if your column type is int! /* you can to that this way */ intval($var); /* or like this */ (int)$var PS: Keep in mind that .PolluX was removing the value for vnum in the query, which was AUTO_INCREMENT and part of fixing this issue:
  22. ok i just didnt read the whole code section but i noticed something wrong so please fix that first: $boni0 = ($_POST['boni0']>=0 && $_POST['boni0']<=255) ? $_POST['boni0'] : '0'; $boni1 = ($_POST['boni1']>=0 && $_POST['boni1']<=255) ? $_POST['boni1'] : '0'; $boni2 = ($_POST['boni2']>=0 && $_POST['boni2']<=255) ? $_POST['boni2'] : '0'; $boni3 = ($_POST['boni3']>=0 && $_POST['boni3']<=255) ? $_POST['boni3'] : '0'; $boni4 = ($_POST['boni4']>=0 && $_POST['boni4']<=255) ? $_POST['boni4'] : '0'; $boni5 = ($_POST['boni5']>=0 && $_POST['boni5']<=255) ? $_POST['boni5'] : '0'; $boni6 = ($_POST['boni6']>=0 && $_POST['boni6']<=255) ? $_POST['boni6'] : '0'; in this if statements is the else part not an integer because you put 0 into '0'. Try it like this: $boni0 = ($_POST['boni0']>=0 && $_POST['boni0']<=255) ? $_POST['boni0'] : 0; $boni1 = ($_POST['boni1']>=0 && $_POST['boni1']<=255) ? $_POST['boni1'] : 0; $boni2 = ($_POST['boni2']>=0 && $_POST['boni2']<=255) ? $_POST['boni2'] : 0; $boni3 = ($_POST['boni3']>=0 && $_POST['boni3']<=255) ? $_POST['boni3'] : 0; $boni4 = ($_POST['boni4']>=0 && $_POST['boni4']<=255) ? $_POST['boni4'] : 0; $boni5 = ($_POST['boni5']>=0 && $_POST['boni5']<=255) ? $_POST['boni5'] : 0; $boni6 = ($_POST['boni6']>=0 && $_POST['boni6']<=255) ? $_POST['boni6'] : 0; same for $boniv0, $boniv1, $boniv2, $boniv3, $boniv4, $boniv5 and $boniv6 you can check every input with this to avoid strings: var_dump(is_int($var));
  23. i can have a look but please post your current script to see what you have done by now.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.