DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • March 22, 2019, 05:46:09 PM
Home Forums News Downloads Login Register Advanced Search
* *
DragonPrime Menu
Login
 
 
Resource Pages
Search

  Show Posts
Pages: [1] 2 3 ... 26
1  Coding Support / Coding Support Desk / Re: Looking for Light Coding Help on: March 04, 2019, 07:04:13 AM
The latter. Some are written by people who don't seem to be currently active, and so that's something I am looking for assistance with as well because I am nervous to spam the DP forums for each individual mod, but there also some tweaks/edits I'd like to make to mods but am not quite sure how to do so myself, that aren't necessarily the fault of the mod or the code itself - nothing (I think) super major, things like turning x mod to a popup, moving y mod to the stat bar instead of it's current location, changes like that are the sort of thing I am talking about.

Those things seem very basic. Would not be hard for anyone to pick up.
2  Coding Support / Coding Support Desk / Re: Seeking a coder on: February 23, 2019, 03:23:59 AM
I can volunteer my help.
3  Modules, Themes and other customizations for your game / Themes / Re: Template: Hypertext - A basic foundation for building more modern templates on: January 26, 2019, 11:46:47 AM
Good to see another template not follow the '90s design pattern of organizing with tables.
4  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: Accounts not saving to db on: December 30, 2018, 01:00:33 PM
Okay, here's the log:
[30-Dec-2018 04:38:58 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136
[30-Dec-2018 04:39:05 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136
[30-Dec-2018 04:39:12 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136
[30-Dec-2018 04:39:15 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136
[30-Dec-2018 04:40:00 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136
[30-Dec-2018 04:40:17 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136
[30-Dec-2018 04:40:24 UTC] PHP Warning:  mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/feedmy5/logd.worldofarda.net/lib/dbwrapper_mysql.php on line 136


The annoying part is I entered a db username, password, db name, etc, and during the installation, it was able to connect and do it's thing, and I got passes in all of them.
But it seems that that information was not saved correctly?
What do I do from here.
Thanks.
Looks like your dbconnect.php file may exist but it is all blank. Open it up with a text editor and edit it, or delete it and restart the installation process.
5  Game Administration, Installation and Configuration / Game Administration Chat / Re: Administrators resigning and aftermath on: December 12, 2018, 01:52:18 PM
Additionally, I don't know if you would be able to help on that, but if we don't have an active Admin, is there a way to designate one without access to the Grotto? We're having hard time locating the owner of the server, therefore SQL updates are also highly unlikely to happen.

There are no methods to assign new administrators without server access, user editor or creature editor.
6  Village Square / General Discussion Area / Re: Sound in lotgd on: September 11, 2018, 06:09:47 PM
Rewriting combat to be modular and using JavaScript to handle the battle logic would be better. Popups would be annoying.
7  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Account Switcher : File Submission/Discussion on: August 26, 2018, 11:18:50 AM
I do see ONE stellar advantage to having this installed.  Admins wold thus know FOR SURE...who is whose alt...allowing misbehaving players to be appropriately sanctioned if they use alts to cheat or create drama, or stalk and harass other players....as some people DO use alts for this sort of thing.  Anyone using this module for their alts...it would become totally clear whose alt is whose.

Anyone that would cause trouble at a place is not going to register an alt like that lol. Checking ip and id are the only measures you will have - if they want to change those to stay hidden, they surely won't add a link between accounts.
8  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Account Switcher : File Submission/Discussion on: August 20, 2018, 10:58:11 AM
It looks great. Thank you. Nice touch on the antispam feature.
9  Game Administration, Installation and Configuration / The Idea Place / Re: Switch Accounts on: August 17, 2018, 12:34:38 AM
If you would do that right, you'd replace the entire login process with that, and attach characters to it. Would solve the multi-char-problem, and other numerous things.
But, you would have the replace the entire login process and so on...

Never thought of it like that, but that is still relatively easy to do anyways. I will look into making a splash page to select a character on login. I don't want to release my current version because I don't really approve of it.
10  Game Administration, Installation and Configuration / The Idea Place / Re: Switch Accounts on: June 20, 2018, 10:59:54 AM
It was brought to me as a suggestion by a player. I think they have a great idea. It would be cool if it could be a module and you could log onto one account from another without having to log off. You simply click switch account (maybe enter some info) and it goes. Kind of like how it is on Facebook.

I really like this idea.
11  Game Administration, Installation and Configuration / Game Administration Chat / Re: GDPR Privacy in the EU (and those who accept EU players) - Issues with Lotgd on: May 31, 2018, 01:10:41 AM
You use cookies, therefore you collect data. FK, for reference, uses a privacy policy.

Must have a look.  Does your privacy policy (I assume you mean a disclaimer statement) actually serve to keep you from trouble with this new law?
Privacy policies are required by law. So in a way, yes, they do keep you out of trouble.

I see your front page discloses that you have cookies.

Is that actually good enough?

Wondering if an agreement, at charactger creation that says, creating a character here means that you, the user, agree to hold harmless under any EU laws concerning data privacy.

We have external links that do use cookies, as does this site.  This game is not playable without them.

Data gathered is used only for the purposes of this game and is not disseminated or sold to any third party.

Something along those lines....
That's essentially what the new legislation requires.
12  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 26, 2018, 11:08:14 AM
Seenupdates is not set to false and I wouldnt know where to set it.  Im thinking the first $session without ['user'] needs it. Im lost really as how to fix this.

The status of the polls and changelogs is stored on the account, but the contest status is stored in the session. [...] maybe the $session['needtoviewcontest'] not being a saved variable.
13  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 20, 2018, 08:07:03 AM
I want each of the tabs other than the MOTD one, which I have called Kinks, to turn red when there is a new one. I tried to get help and it just didnt work and the person swears it will work this way and its not. I have tested it multiple times. I'll put the code below and someone can tell me where we messed up. Thanks!

Code:
$a=translate_inline("Kinks");
$b=translate_inline("Contests & Events");
$c=translate_inline("Polls");

if ($session['needtoviewcontest'] == 1)
$highlight_contests = "<a href='motd.php?op=contest' style='color:red'>$b</a>";
else
$highlight_contests = "<a href='motd.php?op=contest'>`r$b</a>";

if ($session['user']['needtoviewpolls'] == 1)
$highlight_polls = "<a href='motd.php?op=poll' style='color:red'>$c</a>";
else
$highlight_polls = "<a href='motd.php?op=poll'>`L$c</a>";

if ($session['user']['needtoviewchangelog'] == 1)
$changelog = "<a href='motd.php?op=changelog' style='color:red'>Server Updates/Enhancements</a>";
else
$changelog = "<a href='motd.php?op=changelog'>`4Server Updates/Enhancements</a>";

output("<center><big><a href='motd.php'>`5$a</a> | $highlight_contests | $highlight_polls | $changelog</big></center><br>",true);

You don't have an opening tag. PHP requires <?php at the start of each page. As Aeolus has said, there is probably an accounts table issue. There seems to be some confusion here as to what you are trying to do, between your developers. The status of the polls and changelogs is stored on the account, but the contest status is stored in the session. This would mean that the contest is probably changing with each login. There are no setters here for any of the contests, polls, or changelogs here - so we cannot help you properly. You need to include the other parts of this code, because this is clearly not where the issue lies, except for maybe the $session['needtoviewcontest'] not being a saved variable.

Also, it seems as if the changelog will be perpetually red, since the LotGD color code for red is `4 and you have style='color:red' in the if statement.
14  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: Mega User Flag on: May 01, 2018, 09:07:49 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.

Code:
UPDATE accounts SET superuser = 112984063 WHERE acctid = 1
15  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: Creature AI in Creature Database on: April 10, 2018, 08:21:28 AM
OK...so on my test server, that runs 1.1.2 there was a column in my creature database called 'creatureaiscript' which did not exist on 1.1.0

Totally have no idea what you use this for...but that is not my question here.

I was a bit lazy, and did not want to re-create all my unique monsters from my live site 1.1.0 - so what I did was drop the table from the 1.1.2 site and then imported the table from the 1.1.0 site

That seemed to work, but then I could no loner use the Creature Editor to add new monsters, I got an error about the missing column.

So using the info from the error, I created a column in the database for this and now it all works again.

My question...what is the structure of the column 'creatureaiscript' in a normal install?

For now I set it up as a VARCHAR with 120 characters, NULL by default and using latin1_swedish_ci collation....because that is how most of the other similar columns appeared to be set up.

It works, and I get to add creatures to my database using Creature Editor again.

But I'd like to actually have the correct structure on this column.  Do I have it right, or is there anything I need to change?

Again, I do not even know what you use this column FOR.

The column type is normally Text, you have the rest correct.

Thanks, I will fix that.

Now, what is this AI actually used FOR??

It is used for attaching a custom script to the creature, giving the creature buffs etc.

OOK...totally curious, then...would it be possible to use that, for example...to have a creature only attack male players?  Or only female players?  Or only a specific race...or to not attack a specific race?

Wondering kinda what the possibilities are here...

You asked that question here before.
Pages: [1] 2 3 ... 26

*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

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