Hercules Development Centre

Forums

  1. Development Discussion

    If you have something being developed or if you're developing something that you might wish to discuss you may do so here.

    736
    posts
  2. Suggestions

    If you have a suggestion, please feel free to let us know here. Your feedback is always encouraged as it helps us maintain a better experience for all involved.

    1075
    posts
  3. Development Centre Archives

    All past suggestions and discussions pertaining to the development of Hercules can be found here.

    1540
    posts
  • Featured Topics

  • Latest Commits

  • Topics

  • Posts

    • Hey bWolfie, thanks for your answer. But that dosen't resolve the Problem. Even when I add the php-files to both folder the page is showing up as the screenshot in my first post shows. 😞     EDIT: Ah! I've done a mistake..! Here's the solution!!! 1. Add index.php file to the /fluxcp/modules/<pagename>/index.php with the code: <?php if (!defined('FLUX_ROOT')) exit; ?> 2. Add the index.php file to the /fluxcp/themes/<themename>/<pagename>/ folder and add your content: <h2>TEST RULES</h2> Hi! 3. Now if you want to add the rules like me, you have to name the folder "Rules" for example. So the index.php's are in: /fluxcp/modules/rules/index.php and /fluxcp/themes/<themename>/rules/ index.php   4. The Page can now be opened with the URL: https://myro.net/?module=rules >>>> If you name the folder something other (exp. "Download"), then you can open the page with /?module=download instead of "rules". >>>> If you rename the php file or add some others (it must not be the "index.php and can be named as you want) you need to add the &action=<phpfilename> to the URL Example: PHP Namefile in the folders (test123.php in both folders as discribed in 1 and 2), then the URL must be https://myro.net/?module=rules&action=test123   That's easy if you know what to do.   THANK YOU!!!!!
    • FluxCP needs a page in both modules\page\index.php and themes\<theme name>\page\index.php You need to do it for every theme that can be used. You can also put it in the add-ons folder which bypasses this I believe.
    • Hi there. I want to add some Pages to my website (FluxCP). The Pages-Site is Showing up and I can Add a new page:     When I click "Add" I've got the message that the page was successfully added, but it's not showing up and was not created as you can see here:   And when I now want to add a page manually (for example add the rules.php to the "pages" folder), i can open it with https://myro.net/?module=pages&action=rules ....its even showing up with the content, but only in the left upper of the site and not in the content field:     the rules.php looks like the other php-site files:   <?php if (!defined('FLUX_ROOT')) exit; ?> <h2>TEST RULES</h2> Hi! I'm using the "hurtfreev2" theme and the fluxcp with build-in cms addon etc. from here: https://github.com/rathena/FluxCP/ But the problem is also there with the default theme!!!   Whats wrong with my fluxCP and how can I fix this?   Thank you 🙂
    • Hi Wolfie, Its Ragnarok Mobile. Like this one. Will try the script you sent.. thanks!
    • What's ROM? Best way to do this is very long and not simple. Change all MvP spawns into individual scripts. Then you can use getnpctimer() to get the time left. Example: moc_pryd04,0,0,0 script Osiris_Spawn FAKE_NPC,{ OnMyMobDead: .GID = 0; initnpctimer(); end; OnTimer3600000: // wait 60 mins sleep(rand(600000)); // add 0~10 mins OnInit: .GID = monster("moc_pryd04", 0, 0, "--en--", OSIRIS, 1, sprintf("%s::OnMyMobDead", strnpcinfo(NPC_NAME))); stopnpctimer(); end; } Then make another script with the atcommand to check getnpctimer(0, "Osiris_Spawn")
  • Download Statistics

    • Files
      402
    • Comments
      105
    • Reviews
      242

    Latest File
    By DaemonSpade

    21    1