Jump to content

CedGauche

Members
  • Posts

    117
  • Joined

  • Last visited

Everything posted by CedGauche

  1. Okay, this is my module now: And this is the function: But the error is the same again: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'spiel4' does not have a method 'card_results.tpl' in /var/www/web1112/html/va/core/classes/MainController.class.php on line 218 Sorry for my questions, this is complete new for me and I am not an native english speaker
  2. Ok, thx.. is still need some help, how do I create the second function in the module?
  3. Hi, I want to include some sub tpl files, these tpl files are in the same directory as the index file (poker.tpl): This is the module: When I start the game it works fine, but when the game wants to start it's included tpl, I get an error: This is the code inside the poker.tpl for the include: I am working on this for hours now..thx for help
  4. Okay, thx for the information! But I was more searching for a va intern module
  5. Are there still any plans for a stock market module? We are intereseted, perhaps we can program a module together?
  6. No just stock, the only addon we use is your bonus landing system (http://forum.phpvms.net/topic/7921-bonus-your-pilot-skill/)
  7. Hey, every time when we reject a pirep the pilot lost about 30% of his total money. How can we fix that? thx
  8. no, it doesn't work, perhaps it's my fault, I hadn't enought time to check it out.
  9. Yes, we have a custom acars and before every flight a pilot has to klick yes or no, if his flight was on IVAO. I had coded a script that check this in the admin menu, if his flight was online (IVAO Tracker). thx for your help parkho.
  10. Hi, yes for sure, this is a part of the log: and this is the class for the pirep_details, i am sure the logfile is in there:
  11. I just added it after the pilotbonus option. But I think it's the right variable. So I don't know whats the problem.
  12. Hi, thx for the help, but it dosen't work, no pilot get's a bonus. Also I have added ";" after $FindIvao = strpos($pirep_details->log,IVAO), cause without I get an error. Perhaps "$pirep_details->log" is the wrong variable?
  13. Is it possible to give bonus to a pilot, if the pireplog contains a string like "IVAO"? I had coded something, but every pilot get the IVAO bonus money after accepting the Pirep, also the offline pilots. This was my code:
  14. Hi, this is the code: I guess the code is uncomment. When I try to login with an retired test account, there is the message,the account is retired and no access. Perfect But when I never log out from the page and the session cookie is still active, I can acces the page with an retired account.
  15. Hey, we have some inactive / retired users, they are still online and writing airmails and downloading stuff etc. I guess they have cookies or autologin-sessions. How can we solve that? thx
  16. Again we have this problem, I don't know what to do: Fatal error: Uncaught exception 'Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's message inbox on 09/01/2015', '23', '1441093324')' at line 2' in /var/www/web1112/html/va/core/common/MailData.class.php:92 Stack trace: #0 /var/www/web1112/html/va/core/modules/Mail/Mail.php(138): MailData::send_new_mail('94', '1', 'Monatsbericht A...', 'You received a ...', 23, 1441093324) #1 /var/www/web1112/html/va/core/modules/Mail/Mail.php(38): Mail->send() #2 [internal function]: Mail->index() #3 /var/www/web1112/html/va/core/classes/MainController.class.php(218): call_user_func_array(Array, Array) #4 /var/www/web1112/html/va/index.php(60): MainController::RunAllActions() #5 {main} thrown in /var/www/web1112/html/va/core/common/MailData.class.phpon line 92
  17. We have the same issue, I found nothing to fix it
  18. Thanks for this code! We also use it, but we have a problem. In our Fleet is a helicopter with the aircraft id 5, this 'aircraft' is not allowed to gain bonus. We use this code: But still the helicopter pilots earn bonus, what is wrong?
  19. you have to edit the routesmap module or the local config to enter a number to show the routes
  20. just enter your va adress/index.php/routemap
  21. Hi, i try to use the API for the pilot stats Show pie chart for all of the aircraft flown by a certain pilot. AircraftFlownGraph() But i get this error: Fatal error: Class 'googleChart' not found in /var/www/web1112/html/va/core/common/StatsData.class.php on line 383
  22. Thanks is there also a pie chart that counts just the flights per aircraft and not the hours?
×
×
  • Create New...