Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter FataLogic

    (@fatalogic)

    @tim

    thanks for the replies!
    the level manager works fine now.~~ time to test on other stuffs then.
    it is sad to see that the race system is not there anymore:D.

    about the template for %DefXP%, %AttHP% etc you could put up a page/tab on the WPRPG plugin that’s accessible from wp-admin, it might be named “calculation setting”.

    Inside the “calculation setting” there are forms that the user can edit, eg.

    Defense XP : —the form that can be edited is here, it may even have default value such as: “(%DefXP% * %DefLVL% *.5) + %DefXP%” —

    Attack XP: —the form that can be edited is here—

    Attack Damage: —the form—
    etc…

    What do you think? Just a suggestion though.

    Anyway, I am using myCreds instead of cubepoints, so I might not be able to help you run a test on the bank….sorry bout this>.<

    Thread Starter FataLogic

    (@fatalogic)

    Problems solved! Thanks Tim and dblegendz. Hopefully WP approve that plugin asap. Some testers might get confused when they see that there is no attack button in the user list! lol.

    Thread Starter FataLogic

    (@fatalogic)

    @dbzlegenz
    Hmm, the problem is in the attack module. Without the attack module, members can not attack but the redirection works. If the attack module plugin is installed, members can attack, but they can view other members profile.

    Is there any new version of the attack module plugin?

    Thread Starter FataLogic

    (@fatalogic)

    Ah, okay, I just found out how it happens:
    There are 3 plugins related to WPRPG installed on my blog:
    1. the 1.0.10+ version of WPRPG that I got from here.
    2. the attack module I got from here: https://ezrpgproject.net/index.php?app=core&module=attach&section=attach&attach_id=162
    3. the ….gold module? that I also got from here: https://ezrpgproject.net/index.php?app=core&module=attach&section=attach&attach_id=163

    When I remove the attack module, the profile works fine, it doesn’t redirect to “/wp-admin”, that means the problem is in that module. I will go and see if I can do anything about it~~:D

    Thread Starter FataLogic

    (@fatalogic)

    Ah, indeed I was still using the version that’s less than 1.0.10! You update it real fast!~~

    Now let’s see if the HP replenishment works fine~~:D (will report back to you).

    About the redirection to “https://domainname.com/fight/wp-admin/profile.php?user_id=x&#8221;: Hmmm, I didn’t code it that way. I will go code it and remove the “/wp-admin” part then, but not sure where (which file) I should look for it, let’s see if I can find the file and edit it myself:P

    Thread Starter FataLogic

    (@fatalogic)

    And ah! The HP replenishment works now. Just that…it also add 1 life to the ones with maximum HP~~

    Thread Starter FataLogic

    (@fatalogic)

    I myself believe that this is actually the problem with my template theme. Soooo what I did:
    1. Deleted every child page of “Game”
    2. Created “parent page” for “fight” with [list_players], “hospital” with [wprpg_hospital], and “info” with [view_profile]
    3. Put the fight, hospital, and info links on “Game”

    It works now, but for some reason there is nothing yet for hospital and info in my case
    https://fatalogy.com/game/

    Thread Starter FataLogic

    (@fatalogic)

    Tested the newest version, and here is what happened to me:
    1. I make new pages under my “GAME” page, made “FIGHT” page with [list_players] under “GAME” , made “HOSPITAL” page with [wprpg_hospital] under “GAME”, made “PROFILE” page with [view_profile] under “GAME”

    https://fatalogy.com/game/

    And turns out it doesn’t work.

    2. I tried going to my wp-admin, and then went to wp-rpg setting module to change the Profile page, but it doesn’t want to change to my “PROFILE” page, it keeps coming back to “GAME” instead of “PROFILE”

    Thread Starter FataLogic

    (@fatalogic)

    @dblegendz

    I installed the hospital module and for some reason I can not activate it. I thought it is still in development LOL.

    how do you activate that Hospital function in your blog?

    Thread Starter FataLogic

    (@fatalogic)

    @tim

    thanks for your answer~~

    about this wp-cron function, which part of the wordpress-rpg.php code that corresponds to this function? is it this part?:

    public function wpRPG_RegisterSettings() {
            // Add options to database if they don't already exist
            add_option('wpRPG_rpg_installed', "0", "", "yes");
            if (get_option('wpRPG_last_cron') == null) {
                update_option('wpRPG_last_cron', time());
            } elseif (get_option('wpRPG_last_cron') == false) {
                add_option('wpRPG_last_cron', time(), "", "yes");
            }
            if (get_option('wpRPG_next_cron') == null) {
                update_option('wpRPG_next_cron', (time() - (time() % 1800) + 1800));
            } elseif (get_option('wpRPG_next_cron') == false) {
                add_option('wpRPG_next_cron', (time() - (time() % 1800) + 1800), "", "yes");
            }
            // Register settings that this form is allowed to update
            register_setting('rpg_settings', 'wpRPG_rpg_installed');
            register_setting('rpg_settings', 'wpRPG_last_cron');
            register_setting('rpg_settings', 'wpRPG_next_cron');
    Thread Starter FataLogic

    (@fatalogic)

    @dbzlegends

    https://fatalogy.com/game
    I put the game test there~~ as you can see there, even after 30 minutes, the HP doesn’t replenish….
    please share your website too if you are testing it, would like to see some reference here~~ thanks!

    Thread Starter FataLogic

    (@fatalogic)

    Cron job is usually something that’s set up in the cpanel, but nowadays, I don’t think you have to do cron jobs from cpanel anymore. I am thinking that you could actually tell the cpanel to do cron job on a PHP file to replenish the HP….

    Ah! I didn’t notice that there is already a limit to how many times you can attack someone for a day! It would be nice if I could edit that….

    Well
    I will be happy to test and help out as much as I can.
    I think it is indeed a good project.
    SMF,PHPBB, etc have RPG plugin already, it is time for wordpress to have one too!

Viewing 12 replies - 1 through 12 (of 12 total)