DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • February 17, 2018, 11:16:05 PM
Home Forums News Downloads Login Register Advanced Search
* *
DragonPrime Menu
Login
 
 
Resource Pages
Search

  Show Posts
Pages: [1] 2 3 ... 14
1  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: February 04, 2018, 12:49:01 AM
I think I attached it in this thread "charrestore".
But I fixed minor things, mostly a search bug which did not show any chars saved if you leave the email address.

The very same actually, just minor modifications.

It works on my site well, I already restored a few.
And I like it  better w/o user email - you don't have to dally around "I can't tell you what email that char was made", because you simply don't know anymore Cheesy
2  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: January 28, 2018, 04:57:07 AM
You can try to get the module working Smiley

Mostly try deleting or expiring a char, then it should be in the save directoy on the file system. It should now feature a sha1-hashed email.

If it doesn't generate a character copy, something might be not working.

I've had no time to work on the module - busy at work atm.
3  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: January 07, 2018, 02:46:25 PM
Quick response in here:

Mhm, platform overview (I think you're using webspace).

You know:
webserver/webspace <-- FTP to get on it and drop files
database <-- you go to a phpmadmin and import/export, right?
domain <-- you do a setup on a web frontend for that

that's the foundation you will build in a virtualbox. it will provide above, though you may need to install the necessary software and do a bit of configuration.
Most should be installed, but I'll mention the software
webspace <-- install apache2 to provide a webserver, put your files in /var/www/html
database <--- install mysql and phpmyadmin (best as an ubuntu package via APT or if you downloaded a desktop ubuntu, from the desktop, package management)
domain <-- you have none, but you should be able to work on IP basis (virtualbox assigns a net)

Yes, it's a lot if you've never done things like it, but it's really helpful. Cheesy
4  Coding Support / Coding Support Desk / Re: Virtual Box on: January 07, 2018, 02:34:01 PM
You can either use a shared folder (much like when you insert a CD, it should be mounted to /media) and install it like you would install it on webserver.
It's really the very same, you just have the server in that box.

As alternative, SSH should be pre-installed and you could use WIN-SCP to connect to the IP of the machine (linux command "ifconfig")

5  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: January 04, 2018, 10:54:39 AM
@account deletion
yes, you need to have something so it will be wiped when you restore stuff from a backup.
or you never do backups... well, that solves it too.

@virtualbox
very very lengthy thing if you do this the first time.
there are guides:
http://www.thelinuxdaily.com/2010/02/how-to-setup-a-pre-built-virtualbox-guest-image-tutorialguide/
i.e.

6  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: January 01, 2018, 09:04:26 AM
You need to i.e. have the function to "forget" a user and remove the mail address from you db - this does lotgd if you allow (which you now must) user deletion by user.

BUT

You then have to have the "right to forget"-stuff, which means you need to have (this is my theory and solution) a list of account-ids of those who did that.
IF you have server backups / database backups (which is strongly recommended) you have to have a function to filter the ones out that said "forget me".

I solved this with mysql triggers for now (check a table accounts_never_restore and then delete all accounts with those IDs if they exist).
I still need the function for the user to trigger this. Point is: if somebody throws a fit and hits the button... that's it. No recovery. Gone. Forever.
A lot of users want a restoral after fits. Cheesy
7  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: December 31, 2017, 07:36:39 AM
First thing:
Setup a test server.
(Like I told in the other thread, with xampp or another suite).
Virtualbox is free and you need the knowledge to run a decent lotgd site.
I know, a lot of trouble... but... you're a service provider now =)

@"right to be forgotten"

I think the best way is to use stored procedures.
They can trigger automatically if needed and will be carried in the database directly.
I will use a new table "accounts_never_restore" to reflect the account ids.
8  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: December 31, 2017, 03:30:55 AM
Run it on a test server and see what pops up Smiley
I think minor changes in the sql statements really.
9  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: December 29, 2017, 03:33:36 AM
Stephen.Kise did explain the issue well.

Quote
Well, then.  Until and if I could get that working...is there a way to have EU players either state that they do not wish to invoke that right...at least till I get it working...or would I need to not accept new players from EU?

You would need to block the EU completely on IP basis. So yes, it would affect current players. There is no legacy clause.

Quote
I sorta doubt the EU cops would be real huge in going after a two-bit game operator that doesn't have a pot to pee in and is in America anyway, but, all the same, the law is the law, and I need to know how I can comply...I am assuming your moduie, Nightborn....won't work with 1.1.0 that I am running?
Not out of the box, I would assume. I think a few things are only needed in my edited version, so you'd need to strip that out.
Assembly required.

Quote
I am NOT ready for an upgrade yet.
The GDPR was finalized and went "live" in 2016. Most people (like me) wait(ed) the 2 years grace period until it had the fines live.

It doesn't matter if you're ready, technically except for an IP block, this is coming.
It also affects any form of service (forums, wikis, etc) you provide where people can make accounts.
I horribly saw in my forum birthdays are also saved (because, why not). So I have to fix that too. Either just disallow or I have to manually clean up.

Not that funnily also DP itself is affected. Tongue I believe Talisman does backups (or their hoster), so you need the "forget me" function.
in SMF, to my knowledge, there is no such thing yet out-of-the-box.
10  LotGD Around the World - Language and Translation Support / Version 1.x.x spezielle Fragen / Re: 25 Module: Fertigkeitensystem on: December 29, 2017, 03:27:39 AM
Ich verweise auf meinen Kommentar von vor 5 Jahren.

Im PHP kann man fr den Apache display_errors aktivieren (das geht auch per .htaccess notfalls) und wohin loggen, so hat man auch Fehler, auf die User stoen:

aus meiner .htaccess
50 php_flag display_errors on
53
54 #Auto
55 php_flag log_errors on
56 php_value error_log  /var/www/html/PHP_errors.txt
11  LotGD Around the World - Language and Translation Support / Version 1.x.x spezielle Fragen / Re: Mailprobleme on: December 29, 2017, 03:25:21 AM
Hi,

1. das wird in PHP eingestellt, nicht lotgd. out-of-the-box ist das localhost. schau deine php.ini am  besten an (apache konfiguration)
2. create.php... eine Textsuche wrde ich immer probieren, die hilft enorm schnell.

if ($emailverification!=""){
                     $subj = translate_mail("LoGD Account Verification",0);
                      $msg = translate_mail(array("Login name: %s `n`nIn order to verify your account, you will need to click on the link below.`n`n http://%s?op=val&id=%s `n`nThanks for playing!",$shortname,
                        ($_SERVER['SERVER_NAME'].($_SERVER['SERVER_PORT'] == 80?"":":".$_SERVER['SERVER_PORT']).$_SERVER['SCRIPT_NAME']),
                        $emailverification),
                        0);
                     mail($email,$subj,str_replace("`n","\n",$msg),"From: ".getsetting("gameadminemail","postmaster@localhost.com"));
                     output("`4An email was sent to `\$%s`4 to validate your address.  Click the link in the email to activate your account.`0`n`n", $email);
12  Game Administration, Installation and Configuration / Game Administration Chat / Re: PHP 7?? on: December 27, 2017, 12:23:14 PM
No need to waste money.

I recommend installing http://virtualbox.org/ (free) and grabbing a suiting image you want at https://virtualboxes.org/images/

Alternatively, if you want more comfort, you can install a https://www.apachefriends.org/de/index.html (XAMPP) though they have now "MariaDB" ... because Oracly bought MySQL I think.

13  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: December 27, 2017, 12:12:50 PM
It states there he procedure must be "automatically" if I remember correctly.
So... no.
You have to have it in the software.

If you save the data one moment longer than necessary, you're technically breaking the regulation (hence I did put that into the module)
14  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: December 27, 2017, 09:20:05 AM
I think I have the charrestore ready now.

Issue is the stored email, but a hash serves as well for people to claim ownership. You can restore the char and then manually replace the mail if the token matches.

* replaced emailaddress with a sha512 hash (varchar128 in the db is exactly right)
* added a salt as setting (FILL BEFORE HASHING!)
* added a mail notification when a char is deleted/expires and is stored.
* added a convert function for legacy stuff. it will convert all your old chars and put the hash in

DISCLAIMER:
Somebody with an untouched 1.1.2 dp edition could edit it please, I think I built a few things in (replaceemail?) in core that don't exist.
I have also changed some stuff in the charrestore (I believe I added the mail search in the first place).
Please BACKUP and then TEST.
15  Game Administration, Installation and Configuration / Game Administration Chat / Re: PHP 7?? on: December 27, 2017, 12:37:39 AM
Can I just throw my 2 cents in?

Best take the latest version (or your version, if you have extensive core edits), put it on a PHP7 testserver, install all your stuff (or import a database backup) and see what errors pop up.

Only way to make sure.
Yes, it will be a lot of small and larger stuff possibly, but that's the only way there is.

Along that, if you can share whatever changes were necessary, the community would be thankful.

(I'm on PHP 5.5.9 atm on ubuntu 14.04. but will upgrade to the next LTS and then most likely php7 somewhere next year).
Pages: [1] 2 3 ... 14

*
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
30 Guests, 1 User
TGTarheel
Home Forums News Downloads Login Register Advanced Search