DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • February 18, 2018, 04:03:06 PM
Home Forums News Downloads Login Register Advanced Search
* *
DragonPrime Menu
Login
 
 
Resource Pages
Search

  Show Posts
Pages: 1 2 [3] 4 5 ... 19
31  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 14, 2018, 02:21:19 PM
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.


I have an untouched 1.1.2 DP version running now in XAMPP.

I will try it out thoroughly for you...please tell me everything you want tested.
32  Game Administration, Installation and Configuration / The Idea Place / Re: scenario's for new modules? on: January 13, 2018, 11:30:06 PM
Perhaps mailing to each other would be more handy than using message system at forum or this topic? I send you my mailadress in a private message earlier. Best, WW

You are probably right.  Let me find that email and I will send you one so that you have mine.
33  Coding Support / Coding Support Desk / Re: Require Admin Approval For Unmute?? on: January 13, 2018, 11:28:32 PM
Thanks.
I did not know to do this because I never had to in over a decade!

But at this point I have several safeguards in place and the problem seems to have resolved.

Namely, I made it so that people have to verify email addresses...only one account per email.
They have to Petition Admin to be unmuted.

I have the Cell and the ability to mute/ban players.

Additionally, I can add the IP addresses and email addresses to my Brendan Blocker.

So there are, I have found...many things I can do.  In either case, the problem seems solved for now.
34  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Pet Shop v4.0.1 (Modified) on: January 13, 2018, 02:25:58 PM
This works for me whereas the old Pets Shop module did not.

However, one weird thing I notice...no matter WHAT you set the attack to, No, Yes-Automatic or Yes-Manual - in the Pet Editor list they all show up as Attacks NO

Thinking they should show up as NO, Manual, Automatic.
35  Coding Support / Coding Support Desk / Re: Trouble With Pet Shop on 1.1.2 on: January 13, 2018, 01:11:31 PM
Try out my modified Pet Shop v4.0.1 module. Smiley

Thanks.
Checking it out now.
36  Game Administration, Installation and Configuration / The Idea Place / Re: scenario's for new modules? on: January 13, 2018, 04:56:00 AM
okay concerning spider and fight; we are using the same line. I don't know the correct proverb in English, but in Dutch we would say "on the same ???golflengte". I'll go on with writing the scenario for the fairy thing. Best, WW

OK, cool.

I do have several projects working concurrently, and most of them have nothing to do with LOTGD, but I will get this done.  Helpful if I have the scenarios written and ready to go.
37  Game Administration, Installation and Configuration / The Idea Place / Re: scenario's for new modules? on: January 10, 2018, 07:51:49 PM
I was reacting on your passage about working with the fairy in spider's web; I would like to have a fight with the spider like you have to fight Gorgon or tatoo monster; there's a fight. But on Hogwartslive, there's a challenge with 3 castles: Wyvern Keep, Castle Slaag and Draco's Dungeon; after chosing an option where to go, you sometimes come into a fight; but the game decides what's the result, you as player can't do anything. So with fairy thing: I want to have a fight in which the player can actively participate; not a fight as described in the 3 castles challenge.
You also wrote about the potions recipe notes on your game and that I had to use the notepath thing to get the recipes. Well, as I wasn't used to do this on Hogwartslive, I didn't save the notes on notepath, I thought this parts of notes would end up in my inventory or somewhere else to consult them later and to put the parts together.

I did not write the recipes module, so I had no control over that.  Best I could do was to provide players a notepad in their stats where they could save all manner of important things.

And, yes, I already intended the spider fight to be a real fight and not the three choices with random outcome that you can't control.
38  Coding Support / Coding Support Desk / Re: Module Database Tables Not Creating on: January 09, 2018, 08:21:58 PM
Having same problem with Pets myself on 1.1.2 - where is this updated version of the pets you found?
39  Coding Support / Coding Support Desk / Re: Virtual Box on: January 09, 2018, 08:17:43 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")



Ended up getting things working....on XAMPP.
40  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 09, 2018, 08:16:52 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

I managed to get a test server going in XAMPP.
The problem I had had before with it was that I needed an older version of XAMPP, the one I was trying to use came with PHP 7 and LOTGD 1.1.2 won't work on PHP 7.

So the one I got now has PHP 5.6
41  Game Administration, Installation and Configuration / The Idea Place / Re: scenario's for new modules? on: January 09, 2018, 08:15:05 PM
concerning our fairy and spider event: I prefer the fight with the spider would be a fight like fight with gorgon or other fights in forest, not a fight you don't have to duel as player (like the current freing the fairy thing). Mount and other buffs could be used, I hope? On hogwartslive there's no notepath thing, so I lost the notes. Best, WW

Am not sure what you are driving at here.
42  Coding Support / Coding Support Desk / Re: Trouble With Pet Shop on 1.1.2 on: January 09, 2018, 07:56:14 PM
here is code for the install on the petshop.  I am suspecting it is not REALLY creating the database at all, just says it is...is there something wrong in the code here
Code:
function petshop_install(){
if (db_table_exists(db_prefix("pets"))) {
$sql = "Select petattack FROM ".db_prefix("pets")." LIMIT 1";
$result = mysql_query($sql);
   if (!$result) db_query("ALTER TABLE ".db_prefix("pets")." ADD `petattack` tinyint(3) NOT NULL default '0'");
   $sql = "Select attacktype FROM ".db_prefix("pets")." LIMIT 1";
$result = mysql_query($sql);
   if (!$result) db_query("ALTER TABLE ".db_prefix("pets")." ADD `attacktype` tinyint(3) NOT NULL default '0'");
   $sql = "Select mindamage FROM ".db_prefix("pets")." LIMIT 1";
$result = mysql_query($sql);
   if (!$result) db_query("ALTER TABLE ".db_prefix("pets")." ADD `mindamage` int(11) NOT NULL default '0'");
   $sql = "Select maxdamage FROM ".db_prefix("pets")." LIMIT 1";
$result = mysql_query($sql);
   if (!$result) db_query("ALTER TABLE ".db_prefix("pets")." ADD `maxdamage` int(11) NOT NULL default '0'");
   $sql = "Select petturns FROM ".db_prefix("pets")." LIMIT 1";
$result = mysql_query($sql);
   if (!$result) db_query("ALTER TABLE ".db_prefix("pets")." ADD `petturns` int(11) NOT NULL default '0'");

}else{
output("`6Installing the pets database now.`n");
output("`6Presto. Done.`n`n");
$sql = array(
"CREATE TABLE ".db_prefix("pets")." (petid INT(11) NOT NULL AUTO_INCREMENT ,petname VARCHAR(25) DEFAULT 'Unknown' NOT NULL ,petbreed TINYINT(3) DEFAULT '0' NOT NULL ,valuegold INT(11) DEFAULT '0' NOT NULL ,valuegems INT(11) DEFAULT '0' NOT NULL, upkeepgold INT(11) DEFAULT '0' NOT NULL ,upkeepgems INT(11) DEFAULT '0' NOT NULL ,petdk INT(11) DEFAULT '0' NOT NULL ,petcharm INT(11) DEFAULT '0' NOT NULL,petdesc VARCHAR(100) NOT NULL,newdaymsg VARCHAR(100) NOT NULL,villagemsg VARCHAR(100) NOT NULL,gardenmsg VARCHAR(100) NOT NULL,battlemsg VARCHAR(100) NOT NULL,petattack TINYINT(3) DEFAULT '0' NOT NULL, attacktype tinyint(3) default '0' NOT NULL, mindamage INT(11) DEFAULT '0' NOT NULL, maxdamage INT(11) DEFAULT '0' NOT NULL, petturns INT(11) DEFAULT '0' NOT NULL, PRIMARY KEY (petid)) TYPE = InnoDB;",
);
foreach ($sql as $statement) {
db_query($statement);
}
}
module_addhook("biostat");
module_addhook("village");
module_addhook("village-desc");
module_addhook("charstats");
module_addhook("superuser");
module_addhook("dragonkill");
module_addhook("training-victory");
module_addhook("training-defeat");
module_addhook("battle");
module_addhook("battle-victory");
module_addhook("battle-defeat");
module_addhook("fightnav-specialties");
module_addhook("apply-specialties");
module_addhook("newday");
module_addhook("changesetting");
module_addhook("forest");
module_addhook("gardens");
module_addhook("inn-desc");
return true;
}

Now obviously, on first install, it is jumping down to
Code:
}else{
output("`6Installing the pets database now.`n");
output("`6Presto. Done.`n`n");
$sql = array(
"CREATE TABLE ".db_prefix("pets")." (petid INT(11) NOT NULL AUTO_INCREMENT ,petname VARCHAR(25) DEFAULT 'Unknown' NOT NULL ,petbreed TINYINT(3) DEFAULT '0' NOT NULL ,valuegold INT(11) DEFAULT '0' NOT NULL ,valuegems INT(11) DEFAULT '0' NOT NULL, upkeepgold INT(11) DEFAULT '0' NOT NULL ,upkeepgems INT(11) DEFAULT '0' NOT NULL ,petdk INT(11) DEFAULT '0' NOT NULL ,petcharm INT(11) DEFAULT '0' NOT NULL,petdesc VARCHAR(100) NOT NULL,newdaymsg VARCHAR(100) NOT NULL,villagemsg VARCHAR(100) NOT NULL,gardenmsg VARCHAR(100) NOT NULL,battlemsg VARCHAR(100) NOT NULL,petattack TINYINT(3) DEFAULT '0' NOT NULL, attacktype tinyint(3) default '0' NOT NULL, mindamage INT(11) DEFAULT '0' NOT NULL, maxdamage INT(11) DEFAULT '0' NOT NULL, petturns INT(11) DEFAULT '0' NOT NULL, PRIMARY KEY (petid)) TYPE = InnoDB;",
);
foreach ($sql as $statement) {
db_query($statement);
}
}
module_addhook("biostat");
module_addhook("village");
module_addhook("village-desc");
module_addhook("charstats");
module_addhook("superuser");
module_addhook("dragonkill");
module_addhook("training-victory");
module_addhook("training-defeat");
module_addhook("battle");
module_addhook("battle-victory");
module_addhook("battle-defeat");
module_addhook("fightnav-specialties");
module_addhook("apply-specialties");
module_addhook("newday");
module_addhook("changesetting");
module_addhook("forest");
module_addhook("gardens");
module_addhook("inn-desc");
return true;
So whatever is wrong has to be in that section of it.
43  Coding Support / Coding Support Desk / Trouble With Pet Shop on 1.1.2 on: January 09, 2018, 07:41:27 PM
So I managed to get myself a test server, and i am slowly putting things on and fixing anything broken... So far, nothing major till now.

The Pet Shop does not work.  It did not inject the extra pets into the pets database.

It did not wrote to the database the pet when I tried to create one manually.

So i came here, and checked the original file.  There is a _macosx file, but I do not think it does anything...it is like just an extra copy of the program itself.

At any rate, I was looking for anything in the original zip that I might not have put on my own system, and I find nothing.
The pet shop shows in the village.

The pet editor shows up in the grotto

Nothing will make it add pets though.

So there are never any pets for sale.

It said, when installing, that it was creating the database table and apparently did so.  But all no avail.

I cannot seem to make pet shop run on 1.1.2 - wondering if this is a known issue with 1.1.2 or is there something else I don't seem to know about?
44  Game Administration, Installation and Configuration / The Idea Place / Re: scenario's for new modules? on: January 05, 2018, 10:19:03 PM
On your site I like the fact there are nany sections in the forest like lumber yard docks, ... that aren't on hogwartslive. I even found a kind of arena thing and perhaps this could do the trick? In the books of Harry Potter, Harry had to participate in the triwizard tournament and he had to do 3 tasks. Perhaps we could locate the thoug opponents I had in mind for the most difficult section of the forest over there, and also the more strategic events? I wish I could test out the desert. And perhaps making a module for finding pages would be great too? Now I can find gems and gold; but if I could find pages of books, magazines and newspapers etc. I could save the pages in the library and after saving enough pages I could make a newspaper, book, magzaine, .... Now I can't locate the notes of potion recipes I found on your game; it's also not dedectable if I lost them after killing the dragon, ...

OK, the ideas bubble out of you fast and furious!!

I am still trying to get a test server set up on my home computer...and working on the spider thing.

I like the idea of doing a Triwaizrd Tournament thing...for a Hogwarts-themed site, not sure how that works on a not-so-themed site.

You can't save the pages of the recipes you find in that way.  Use the Open Notepad, copy and paste the notes in there.  That is one reason I provided the Notepad on my site.
45  Coding Support / Coding Support Desk / Virtual Box on: January 05, 2018, 07:46:16 PM
Ok, so I managed, with the help of the tutorial...to get a Virtual Box on my machine, and running Ubuntu.

Now, what do I do to install the actual LOTGD on there??

I have the 1.1.2 Bugs Fixed .tar file extracted with file structure intact.  Have that now in a folder on my desktop.  Just not sure where that goes next or what to do next, never used Virtual Box before, and I do not find any specific tutorial as to how to install this on the Virtual Box now that I have it...but I have so far gotten this far...
Pages: 1 2 [3] 4 5 ... 19

*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

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