DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • August 19, 2018, 06:49:02 AM
Home Forums News Downloads Login Register Advanced Search
* *
DragonPrime Menu
Resource Pages

  Show Posts
Pages: 1 2 [3] 4 5 ... 29
31  Coding Support / Coding Support Desk / Screenreader Accessibility?? on: May 04, 2018, 12:04:47 PM
OK, folks...I really could use a bit of help here...everything I have tried to do does not solve the problem...and I am at a loss here..mainly because I do NOT understand what a screenreader "sees" and what it does not "see" - and what other limitations a screenreader may place on the user...only recently did I learn that screenreader users do not use a mouse...and thus, do not point and click.

Here is where the problem is...it has to do with Dave S' Ocean Ques module...a very awesome piece of work.  I have a screenreader-user  playing on my site who is complaining because she can't get the one piece of the Royal Decree....the one which appears in a block of text, and is MEANT to be difficult.  The problem is...if you assign a hotkey to that specific word it the block of text...you make it immediately, hugely visible to sighted players, thus destroying the intent that it is supposed to be hard to find.

What I would like to do...is find a way to set, by Admin only...accounts that use a screenreader...that modules could then know...and thus function differently for those players only.  It needs to be Admin-settable only...so that sighted players cannot cheat their way through...and yet screenreader users could access this aspect.

To that end, I would like to find a way to create another Superuser Flag...one that could be set only by one with Grotto Access.  But it would need to be able to be assigned to someone BY SOMEONE WHO DOES NOT HAVE THAT FLAG...because otherwise parts of the game would be destroyed for that Admin...see my problem?

I could...if I can get there...then set up a conditional, anywhere I wanted to...that of that flag was present...a different action would occur for them than everyone else.  Thus making things more accessible for the sight-challenged...while not subtracting from the game for the sighted majority.

I have my own, very personal reasons, for wanting to include everyone.  What I don't want to do is destroy it for others in order to accomplish this.

Could anyone help me get there?

I have created a new Superuser Flag by adding the following into user.php staring at line 207
SU_SCREENREADER.    ",Player uses a screenreader".

My problem being...I can't now assign it.  because I and nobody have it.  Since I just created it.
Having the Mega User flag does not help...it still does not allow me to assign that flag to a player.

If I could get to where I COULD assign the flag I just created, that cold help me solve my problem...because then I could just set a conditional in the module...to throw up a different block of text...or even throw a navigation link...at someone if they have that flag.

Am wondering if it is possible to assign a flag to oneself...then to someone else...then take it away from yourself...and thus that player would keep it??  I don't want to screw something up here...and I am not even sure I could assign this one to myself.
32  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: Mega User Flag on: May 01, 2018, 09:18:04 AM
Given that you are the acctid of 1, you could use the following SQL statement through PHPMyAdmin. It will give you every flag besides translation tool, if I recall correctly.

UPDATE accounts SET superuser = 112984063 WHERE acctid = 1

Could I just manually change it?

Did it, thanks.

Now...would there be a way...to be able to do what I was originally TRYING to do...to be able to set a flag I, myself do not possess vis a vis screenreader usage?
Trying to find a way to increase accessibility for screenreader users without allowing non-screenreader users to use it to cheat things.
33  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Mega User Flag on: May 01, 2018, 08:12:09 AM
OK, question....how do you give yourself back the Mega User Flag if you took it away?

I thought the main admin character would be able to do this??

But now I can't do it.

What I was trying to do was to add a new Superuser Flag for Screenreader Users - thus opening certain accessibility features, and making it a global setting only Admin could set.

I was not able to set the flag after I created it.

So, brilliant me took away the Mega User flag from myself, figuring then I could give it back...and then would be able to set the new flag I had created.  Problem is now I can't gve myself back the mega user flag.

This is only on my test site.

I went into PHP MyAdmin to see if there was an easy way to do this, and I don't see it.
34  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Ocean Quest by DaveS V5.25 on: May 01, 2018, 06:44:44 AM
I wish I had the knowledge for answering all these questions. I only know that flash-based content or images etc. aren't accessible. Perhaps the developers of nvda www.nvaccess.org or the people who wrote this article could help? http://www.thisisinsider.com/how-blind-people-use-smartphones-2017-2
I understand you don't want to take away the fun for the seeing people. I only want to get the chance to participate in the fun, too. Best, WW

That is precisely what I'd like to achieve.  I'm counting on you to help, because I have NO IDEA the limitations a screenreader imposes.  I have never used one.  You do.  That is where you can help me.

So let me tell you how it works for sighted people.  I am going to do that in a private message as it would otherwise be a spoiler.  I will tell you that you need to use a mouse, and I never knew that screenreader people do not use a mouse.

I'm glad you understand that I do not want to take away from seeing people just because screenreder users like yourself can't enjoy certain aspects...I prefer to find a way, if possible, to enable you to enjoy them too.
35  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Ocean Quest by DaveS V5.25 on: April 30, 2018, 10:15:25 AM
Thanks for the help. Now I have to find the notary. But as this is part of the game, I won't ask for help. But knowledge of the real life doesn't seem to help over here. No notary at the jail, not in the inn, not in dwellings or marriage section, ... Best and thanks for the help, but it wasn't my intention to do it this way, because as I said, it isn't meant to do it with the help of an admin. The module itself should permit the user to find it at its own. Best, WW

Normally, the modle DOES allow the player to find it on their own, but they need to be very observant.  The problem is...what you need to notice, to find it...you cannot discern with a screenreader.  And the way you describe a screenreader working (not using a mouse, for example) - means that it is probable that, with a screenreader, as written, this becomes impossible.  I am sure it was not the intent of Dave to do that...but those of us who ARE sighted often do not know what will block a screenreader.  Why would we since we have no experience using them?

This is where you can be helpful to me in terms of accessibility.  I am NEVER willing to take away from the game for the sighted...sorry...there are just some things I am not willing to do...and one of thse things is to takie away from the sighted just because the sight-challenged cannot partake.  What I am willing and would like to do...is to find solutions to allow the sight-challenged to partake in what they cannot.  If it can be done, I would do it.  but I will never take away from the sighted just because the sight-challenged cannot partake...it just isn't fair - and i do not believe in taking away from others...just because some "don't have."

I am more in favor of finding ways to increase accessibility and expand your game...rather than take away from someone else's.

To that end, as I said...the fourth piece is SUPPOSED to be hard to find.  It is NOT supposed to be impossible for those with screenreaders to find...but it appears to be.  So what is needed here is a solution to allow those who use screenreaders to complete it.

To that end....an Admin-only settable pref if a player is using a screenreader could solve this problem...it would then throw up some navigation that ONLY comes up for screenreader users...something that you CAN discern and also access.  It has to be an Admin-settable pref only, because otherwise sighted players could cheat their way to the piece...defeating the purpose intended...that one must be observant.

So it would be helpful to me, Wolfsbanewillow - if you could tell me exactly how you utilize a screenreader...what the screenreader sees and how you access functions on a screenreader.

Then I would need to determine the best way to go about setting this pref...either do it on a per-module basis...or find some way to make it a global setting.

So your input concerning screenreaders is beneficial to Admins like me who would like their game to be accessible to everyone...as much as possible.

Now...I believe there IS already a pref in the Ocean Quest which sets for screenreaders because of the graphical interface.  I do not know if I want to tie to that pref, just because it is player-accessible, thus would allow players to cheat.
36  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Ocean Quest by DaveS V5.25 on: April 30, 2018, 12:18:58 AM
Yesterday evening (it is now 8:30 in the morning over here, I tried to check if I have indeed that 4th piece of the decree. But I'm not sure about what I saw: I could not board the Korinth anymore, it seems all the fish I hauled in was gone, I had to buy all the fishing equipment again, I could pay the iou's again. The only thing I can think of is the following:

If you managed it to give me the missing piece of the decree, I hope it doesn't matter in which order you collect the pieces. If this is the case and that one piece of the decree must be collected as the first one, it's possible I must start from zero again. But I even can't check as Trandor keeps on pretending he has an empty glass, although I paid for all rounds of drinks. So I can't see what happened, what is the current situation.

Besides all I wrote above it's not meant to be happening that the admin of the game has to deliver that piece. If that piece of the decree can be found like the others and is not presented as an image only (or by using another inaccessible method that makes it invisible for screenreader users), all players are the same for the game. If I have to do it all over and am started from zero, this is a bit frustrating and disappointing. I wish I could see what's the current situation. When I look in my backpack I can't find this out, only Trandor can tell, but the last time I checked, he keeps on pretending his glass was empty.

Best, WW

 am sorry I can do no more.  Working with allprefs is a pain in the ass.  The only thing I could do at this point is to wipe your allprefs clean, and you'd have to start from scratch.  Then if you want to give me a password ito your account so I could sign in as you, I could get you the one piece you have a hard tie getting because of your screenreader.  That is all I can do at this point and I will if you want.  Allprefs was a terrible idea, should just use regular prefs that are easier for Admins to alter when needed.  If he had, it would have been very very easy to just give you the one piece you needed.  But that isn't how he coded it.

And sorry about the whole thing with this module not being all thrat screenreader friendly.  I could think up a few ways to address this...but not at the cost of ruining it for sighted players.

It is SUPPOSED to be hard...so hooking a hotkey to it would make it way too easy for sighted people to find it.

As I said, my one possible solution would be to make it so that there was an Admin-settable pref for those who use screenreaders that for them and them only, another way would come up.  And only Admin-settable so that sighted players would not use the setting to cheat their way to the piece.

If you want me to get that one piece for you, I recommend you change your password, then give me a password to log in as you.  I could get the piece and log back out.  Then you can log in and re-set your password to whatever it was before.  Let me know.
37  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Ocean Quest by DaveS V5.25 on: April 29, 2018, 10:32:38 AM
Dear, I am not an admin, just a player who's playing the ocean quest on a website. I read the comments that some of you can't find the 4th piece of the decree. I asked the admin of de website on which I play and she told me where to look for it.
when I click on the link "ocean quest" I see a link "hints". When I activate this "hints"-link I see the text "this could be a good example of a hint" or something like that. But besides this text I don't see anything. Is the hint that's given an image of something or an image of a text? If yes, this is invisible to screenreader users, I'm afraid. Such hints are thus useless for screenreader users. The admin of the game confirmed that it's an image of that 4th piece of the decree. I can't find the word COASTER so I can't click nor activate it. I suppose that, when the image had an alt tag, I could find the word "coaster" and try to activate it. Screenreader users don't use the mouse, they use routing keys on a brailledisplay (if they are blind) or space bar or enter key of the keyboard. Partially sighted users sometimes use the mouse, but I only can tell you how I try to play or surf the web (as I'm blind and not partially sighted). If you want to test things out, nvda is an open-source screenreader you can use for free: www.nvaccess.org Leave the mouse alone for a session, use tab-key to navigate the web, enter or space bar to activate links etc. By doing so, you can test out if something is clickable or not, visible for screenreader users or not (if voice of screenreader doesn't tell what's on a certain place, you probably used content that it can't interprete). Thanks for looking at this and if you can fix this issue or tell me how I can fetch that 4th piece of that decree, I would be very thankfull. Best, WW

Problem being...it's supposed to be hard to find.  So if we assigned a hotkey to it, thenit would make it dead obvious to sighted players.  I am not sure there is a way to make it screenreader-accessible while also making it NOT dead obvious to sighted players.

I will go in and just GIVE you the fourth piece.

Okay...so this thing users allprefs...being as Dave coded it, I am not surprised.  I thus looked at the allprefs, to see how it recorded that you had the other pieces.  I then copied the code for a piece, and added to your allprefs the code I THINK will give you that fourth piece.  So you should have it now.  Please let me know, via YOM, ingame, if you now have the fourth piece.

There is more to getting on the Luckstar than that, so I am not gonna spoil it.  BUT you should have all four pieces...so try to board the Luckstar with what you have, you should get a clue as to what to do next.  If you have all four pieces, they will tell you something new you were not told before...that is how you will know you have all four pieces.  Please let me know if you do.  I do NOT want to alter this module in a way that would ruin it for sighted players, by making that fourth piece dead obvious.  Thus I just gave you the fourth piece, since you explained to me how it would be virtually impossible for one to get that fourth piece when using a screenreader...I do not want the fact of a screenreader to impede one's ability to play and enjoy the game.

I don't know that there s a way to address this, as I said...without making the thing dead obvious.

One possible would be to have a user pref in the module that could be Admin-set only...that would indicate the player uses a screenreader...and then have the hotkey show up ONLY for those set to screenreadrer user by an Admin.  But I am just spitballing an idea here on this...

In that same vein...perhaps an addnav to "Examine The Coaster" could be added for screenreader users...using the pref I mentioned that would be Admin-Settable only....thus preventing sighted players from cheating their way to the fourth piece. It is SUPPOSED to be difficult.  It should NOT, however, be inaccessible to screenreader users, and if I am reading you correctly, as it is now, it IS inaccessible for screenreader users.
38  Game Administration, Installation and Configuration / The Idea Place / Re: concerning the core module "oldman.php" on: April 28, 2018, 11:31:32 PM
I surely would be happy with an expansion of this module in which I can fight the old necromancer that is stealing gold and permanent hitpoints from me. This is impossible with current module. He even kills you after stealing money, without any option for you as player to defend or interact. So, a fighting option included into this module would be great, I think. Prizes? A permanent hp or more would be great, a permanent attack and defense point would also be great. I also could suggest prizes that can be defined by an admin: if dragon egg hunt is included in the game: finding an egg and possibility to destroy it would be nice; getting a voucher would be nice too. Just some thoughts. Best, WW

Will keep these in mind.  I am looking at ways to fool around with the oldman module, actually,  don't like it myself when you can just get killed with no chance to defend yourself because of a random number generator.
39  Game Administration, Installation and Configuration / The Idea Place / Re: concerning the core module "oldman.php" on: April 28, 2018, 06:34:07 PM
Actually have been looking into the oldman module.  One thing I'd like to add is a chance to fight him...he turns out to NOT be an old man after all but some kind of powerful evil wizard, and you can fight him for some awesome prize I have yet to determine.
40  Game Administration, Installation and Configuration / The Idea Place / Re: ideas for expansion/additions to Sicha's apple shop on: April 28, 2018, 07:50:42 AM
Dear Sichae and others, I like the Sichae's apple shop very much. I find it a pitty that I can't find apples in the forest or earn an apple from your shop. I was thinking of the following expansions or additions:

1: an apple orchard: Sicha threathens me with a knife, because she thinks I stole an apple from her (when I buy a blue apple). But why don't you make this possible? In the online arena module I can enter the garden of a witch. But what if there's a random event in the forest in which  I can enter a walled fruit orchard with several kinds of apple trees in it? This offers several options:
a: the player simply steals an apple (let player chose action, not automated action): Sichae finds out and punishes you: some bad alignment, lose some hitpoints;
b: player sees Sichae at work and asks politely if he/she can get an apple. Sichae tells you that you can earn an apple by helping her (spend x turns) or by finding an extremely rare apple seed for golden apples. If player accepts this, the admin can chose: or an apple voucher so that player can buy same number of apples (as if player hadn't bought some already that day) or Sichae simply tosses an apple to player (same results as if player had bought one in the shop).
c: player steals an apple and Sichae donesn't notice it. player gets some bad alignment and apple delivers same result as if player had bought one in shop.

2: an apple orchard (not as event in forest but as option in the shop:
Sichae shows you her apple orchard and tells you she always can use some help in the orchard. If you help, you lose some turns (like in industry park) but you earn an extra apple.

3: Sicha has a bad day:
Sicha looks not pleased and if player asks why, she tells you:
a:  she's trying to ??produce a new kind of apples: golden apples. She knows they exist, but she didn't manage it to grow the tree: crossing kinds doesn't result in the golden apple. She tells you in country far away the trees with golden apples are available, but she hasn't the seeds for growing them. If you accept the quest to fetch some seeds for her, she'll promises you some extra apples when you return with the seeds.

b: she found out someone stole one of her newly created golden apples. She asks you to guard the garden and find out who stole the apple. If player accepts and can find out who stole the golden apple (and even retrieve it), player also get a reward.

I don't know if these additions/expansions are possible nor if you are interested? I also don't know if Sichae himself is still active on the website and coding for lotgd?

Best, WW

Sounds like what you suggest is an entire rewrite of the module.  I do not think Chris Vorndran is coding for LOTGD anymore.  This suggestion appears to be far more involved than I feel like attempting.  I am still in the process of testing things for my eventual transition to a 1.1.2 site for my live game.  Several new things have been done there.  I just released one of those modules last night, and another is coming here shortly, it appears to be just about fully tested out and working.  This...as I said...appears more involved than I personally am willing to become...partly due to time constraints, and partly due to the fact that this is not my original module, and I am not all that hip to making MAJOR "improvements" to other people's modules, normally, unless it also serves another purpose I am trying to accomplish on my own site, like my own personal overhaul of the Mayor's House, originally done by Robert.  Most of what I did is site-specific, and much of what I did is hard-coded so it would not plug-and-play, but anyone who wants a look at that is free to contact me.
41  Coding Support / Coding Support Desk / Why Doesn't Fire-Breather Dragon Tat Work On 1.1.2? on: April 26, 2018, 09:47:18 PM
I have researched the topic before posting.  I have the correct buff.  I have the Dragon Tat.  But the fire-breather will not show for me, even when I have the tat and go to the shop with the correct buff activated.

No idea why.
42  Game Administration, Installation and Configuration / The Idea Place / Re: concerning the core module "oldman.php" on: April 23, 2018, 04:33:45 PM
To the Daenerys members: what do you think about enriching the oldman module with some interaction possibilities? Another possibility of interaction besides these I mentioned earlier: if player has the forest goat with him/her and meets the old man, the old man could tell the player he's looking for its lost goat. You offer the goat you have to him. And if goat module would be updated with suggestions I made: find an old donkey or something else the old man has lost and help him to find it. Refusing help =punishment. What do you think about these suggestions? Best, WW

From a coding perspective, this would not be difficult.  Simply have a variable to capture a pref from the goat module, whether or not the player has the goat, and if yes, trigger the other possible encounter - you could also have a condition set where it checks if the goat module is active or not, thus the goat module would not be required, but would enhance the module if an Admin so chose to install both.

So, from a coding perspective this would not be terribly difficult, I don't think.
43  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Yggdrasil, The Tree Of Life on: April 22, 2018, 11:37:24 AM
I like these ideas. Odin and Ramius are thus defined as each other's nemesises by this module, and eventually could be used for capturing phoenix/fairydragon for Ramius, and Gargoyle for Odin? Just a thought. Best, WW

Except that, on MY site, I have no interest in tying the Fairy Dragon to this...and no intention of using the Gargoyle, ever.

Incidentally, did you know that gargoyles are NOT actually symbols of or agents of evil...quite the opposite, actually.
44  Game Administration, Installation and Configuration / The Idea Place / Re: ideas concerning the Gargoyle module and eventual enrichment to Stonehenge modul on: April 22, 2018, 11:35:57 AM
I only can describe what I saw concerning the phoenix, gargoyle isn't available on that game, unfortunately, I would use the gargoyle thing if I were the admin of that game (but I'm not):

phoenix: it's not really immortal, but after dying it rebirths as a baby and it has to grow up. You don't lose it after a dragonkill or Voldemort encounter; the only way you'll lose it is when your good alignment (phoenix only stay if you're good) decreases with 15; suppose you found the phoenix with 3000 good alignment and for a reason you lose 20 alignment or you kill dragon/voldemort before reaching at least 3015 good alignment, the phoenix will be gone after ve'ing.

I don't know what's the case with fairydragon or gargoyle?

But I understand your thoughts.

Best, WW

Well, on my site, the Fairy Dragon dies with old age...unless you figure out how to make him immortal first.  And it ca be done.  Once made immortal, you will always have the Fairy Dragon, you will never lose him to old age nor to a dragon kill.

I cannot comment if another site has a different means of handling this other than the immortality feature mine uses.
45  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Yggdrasil, The Tree Of Life on: April 22, 2018, 10:08:28 AM
I like this module and the tweaks that penalise good players giving to Ramius and bad players giving to Ygdrasil. It also gives the admin of the game the possibility to create a counterpart to Ramius. Best, WW

That was part of the intent when I created this.  The other part of my intent, which this serves...was to anable those currently good wishing to go evil...a way to do so...and vice versa, those Evil wishing to go Good would have another avenue to get there.

Allows for players to work to change their alignment is they so choose to.

Obviously Evil players are not "rewarded" for giving to Ramius as it is EXPECTED...and good players not rewarded for giving to Odin/Yggdrasil for the same reason...it is expected.

One tweak I might make, in hindsight...would be to, on new day, penalize good players who did NOT give to Odin/Yggdrasil for NOT giving...and penalize Evil players who did not give to Ramius.  Thus there results a possible benefit in being Neutral.

That last bit was just me thinking out load and documenting the thought in case I should decide to pursue this idea with the module I "created" - though this was truly more a conversion of the Ramius' Crystals thing in the first place, with the reward/penalty to alignment my addition.  It was originally done in order to place more things in Valhalla, because, at one time, there was not much to DO in Valhalla.  Players complained about it...and it also led to Admins under-utilizing the Valhalla module, which I liked.  So I undertook rewriting several Shades modules to make them work in Valhalla.  My first-ever coding project, actually.  And totally a reverse-engineering of what other coders had already authored.
Pages: 1 2 [3] 4 5 ... 29

DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
24 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search