Jump to content

quad

Advanced members
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by quad

  1. totally my bad here. I was moving from EU to the UK due to start of my studies, which johan was aware of tbh, but anyway. took me 2 weeks until I sorted everything out. Website was functional but buggy. If there's anything I can still do, please let me know.
  2. I am sorry to disappoint you but sadly Zankza passed away earlier this year. This server is owned by someone else.
  3. $id = 0; if (isset($_GET['buy'])) { $id = (int)filter_input(INPUT_GET, 'buy'); // should return 1 in your case } then, you can create your own function to return item data. function GetItemData($id) { $con = ...; // initialize your db connection $query = 'SELECT name, quota, whateveryourneed FROM table WHERE id=$id'; // execute sql query $stmt->$con->prepare($query); $stmt->execute(); return $stmt->fetchAll(); } In your php file you have your param (buy) and your function to gather data (GetItemData), so you use it together. $data = GetItemData($id); Then you pass it to your template file and display it. if ($data) { echo $data['name']; }
  4. let me know how you exactly want it to work, I'll try to help.
  5. and if you're trying to use it only on specific monsters, then add a condition: local monster = GetChaID(dead) if monster == monster_id then --addmoney end
  6. do not forget they must have fixed all known (and possibly unknown) memory leaks.
  7. I believe you can either study structure and using assembly edit & add different features or you can try to compile one and work with it.
  8. Check files for SendExchangeData(), SendExchangeDataX().
  9. Привет! Такая проблема: скомпилировал сервер, все отлично. Клиент взял 1.36, поменял версию в гейме, удостоверился, что используется порт 1973. Проверил StringSet на birth place, проверил gateserver и birth_place.lua При создании персонажа выдает ошибку: "Illegal Birth place". В чём может быть проблема? И еще, если кто-то работал с сурсами, может быть подскажете, где менять лимиты (итеминфо и т.д.), пытался найти, но безуспешно. Спасибо.
  10. quad

    Programming Task

    Hey there, I'm really unsure since no parameters are passed and idk how it would brute force without knowing what length to use. They should reply soon with the answers and I'll post them here, might be interesting for someone perhaps.
  11. quad

    Programming Task

    I have removed tags. Also, description clearly states 'questions and discussions related to programming', for the record, it does not say a word that my question has to be top-related. And, I have never tagged you, so I'm not sure why you're being aggressive, as it couldn't even bother you. Besides, I can notice a couple more questions with zero relation to this game, so you might consider leaving some comments out there, too. In case anyone's interested, the above mentioned program was used to brute force. Topic can be closed. Have a good day, MI :)
  12. Hey, If anybody has a clue an explanation would be highly appreciated. This is a task I need to finish to apply to uni ;o We investigate the behavior of an unknown program. Different parts of program are written in different programming languages and source codes aren't equipped with any comments. We have found that one of the most important and more often executable code part is the following for (j=0; j<K; j=j+1) run_dlx(); where K is given as a fixed (integer) parameter. The procedure run_dlx() is an external procedure which can't provide any parameters when called, but only a start signal. Default value of K is 10. For K=10 the program running time is 6.534 seconds. When we changed K=20, the running time was 41.32 seconds. When we changed K=30, it seemed us that program does not finish its work at all and we terminated it. Therefore, we tested for K=25, for which the running time was 18 minutes and 41 seconds. For K=0 the running time was 6.5 seconds. Finally, we decided to test once more for K=30 and decided to wait more patiently a little bit longer - the running time was 9 hours and 54 minutes. To be sure of the results we obtained, we decided to repeat all the experiments - for all K values 0, 10, 20, 25 and 30. In all cases we got the same results (running times) as for previous trials. Tasks: Please explain, what might be the reason that for high K values the program running time is extremely long. Please explain, what we can conclude about the behavior and features of procedure run_dlx() having the above-mentioned testing data. Try to evaluate program running time for K=40 and K=50 and additionally for K=15. Thanks!
  13. well, you remove item from inventory and then move it to the temporary bag by using AddItemX function (if I remember correctly). also, there should be a premade function to check if specific item is inside temp bag.
  14. assuming you use pkosite, there's specific cache time set up for online num. as for the updater, we definitely need more info on which one you use as well as your configuration files. btw, if I remember correctly, when using pkosite, gm accounts do not count in (you have to edit sql query).
  15. I can make it for you depending on how much you're willing to pay. My skype.
  16. quad

    Zankza Died irl.

    can't say much in this case, life is an unpredictable thing. RIP Zankza.
  17. Не стоить верить всему тому, что они пишут спорить и доказывать что-то не буду. пусть будет так, как говорите Вы.
  18. Не 2x. Когда с ними работал, он писал мне, что нашли 1.38 где-то.
  19. Я ближе к вечеру напишу.
  20. Привет, Было бы неплохо, можно по скайпу, если удобно
  21. Привет! Подскажите, пожалуйста, может кто-то уже делал. Интересует система автоматической оплаты с WebMoney. Я делал такое с PayPal при помощи IPN, а вот как это реализовать через вебмани всё не могу понять.
  22. quad

    New Server

    what type of server would it be worth to work on? to be brief, none of the mentioned (if you're talking about income).
×
×
  • Create New...