• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

MyAAC v0.8.13

Menu editor in the admin panel.

1588781444942.png
Layout looks slightly different in the newer version, i just don't have a screenshot to hand.
 
Last edited:
Hey boys, I have another doubt, how I refresh information from an html.twig file?
When I edit them, it doesnt show the changes :S
 
Hey boys, I have another doubt, how I refresh information from an html.twig file?
When I edit them, it doesnt show the changes :S
It will update eventually, it gets cached in your cache folder, or delete the files from the system\cache\twig folder.
When updating and testing turn the dev mode on in the config (from prod to dev).
 
It will update eventually, it gets cached in your cache folder, or delete the files from the system\cache\twig folder.
When updating and testing turn the dev mode on in the config (from prod to dev).
thanks!<3
 
@slawkens Hi, how can I set change account access to allow it to enter to Admin Panel? Need to do by changing tables, can't install again MyACC because i imported some tables from another database.
 
@slawkens Hi, how can I set change account access to allow it to enter to Admin Panel? Need to do by changing tables, can't install again MyACC because i imported some tables from another database.

You need to set web_flags in accounts table to "3".
 
Hi Slawkens,
I'm wondering where should I look to replace the ref pointers
1589750015520.png
to custom ones; without breaking everything if possible.
1589750052647.png
Is there easy way to accomplish it? Trying to get it working with this distro

(i'd say i'm newbie in php, but if you point me what/where i should think/do i should manage just fine)
 
Hi Slawkens,
I'm wondering where should I look to replace the ref pointers
View attachment 45692
to custom ones; without breaking everything if possible.
View attachment 45693
Is there easy way to accomplish it? Trying to get it working with this distro

(i'd say i'm newbie in php, but if you point me what/where i should think/do i should manage just fine)

just match up the skill numbers in game and rename in the $list switch.
 
Not sure it works correctly, unless i'm meant to switch update all SKILL_* instead.

1589809821572.png

Still shows up as old skills here; and
1589809919420.png


and the switches to either type do not work anymore. In the end they all show only level instead of skills.
1589809987355.png


unless you think that such cosmetics do not really matter.
 
Last edited:
Not sure if we understood each other correctly. I have already modified
function getSkillName($skillId, $suffix = true) with custom skill names.

I want to modify url part as well. (so /distance shows as /dexterity)
1589848006368.png

renaming "switch($list)" (line 53, and down), bugs all types out, and shows only Experience page on each url (/Faith, /Vitality etc)
 
I just tested this.


I modified these three files
Ensure the array names match.

1589872274446.png


Lua:
switch($list)
    {
        case 'fist':
            $skill = POT::SKILL_FIST;
            break;

        case 'test2':
            $skill = POT::SKILL_CLUB;
            break;

        case 'test3':
            $skill = POT::SKILL_SWORD;
            break;

        case 'test4':
            $skill = POT::SKILL_AXE;
            break;

        case 'test':
            $skill = POT::SKILL_DIST;
            break;
Lua:
$types = array(
    'experience' => 'Experience',
    'magic' => 'Magic',
    'shield' => 'Shielding',
    'test' => 'Test',
    'test2' => 'Test Two',
    'test3' => 'test Three',
    'test4' => 'Test Four',
    'fist' => 'Fist',
    'fishing' => 'Fishing',
);

Lua:
function getSkillName($skillId, $suffix = true)
case POT::SKILL_CLUB:
{
    $tmp = 'test two';
    if($suffix)
        $tmp .= ' fighting';

    return $tmp;
}
case POT::SKILL_SWORD:
{
    $tmp = 'test three';
    if($suffix)
        $tmp .= ' fighting';

    return $tmp;
}
 
that works to a point, the redir urls for highscores still point to old pages

1589904090218.png

i can manually specify the url.
1589904149187.png
that works.



i'm thinking i should modify this part? (highscores.php)
1589904537501.png
 

Attachments

Last edited:
look at my image, the white box is the url.

The second code box i posted shows the code.
 
Back
Top