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

  Show Posts
Pages: [1] 2 3 ... 34
1  Game Administration, Installation and Configuration / The Idea Place / Re: concerning the spelling bee on: May 17, 2019, 01:22:52 AM
Oops, I think there are several people working on the same thing? I can't test things out, as I don't own a game server. Perhaps someone of you can do the testing? Arti, Anharat and Tgtarheel, I hope you can find a manner to bundle the forces? And if this works, we would have to promote this version, I think. I think this could be a good enrichment? Thanks to you all for trying to realise this idea. Best, WW

It is a working version, I already tested on my 1.1.2, forgot to add that. Nobody hasn't replied to this thread in 120 days, so I assumed nobody worked on it. I made it yesterday afternoon since you were asking and I was curious to make it.

I will also try this.  See if it works.
2  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: White screen on login on: April 18, 2019, 07:44:25 PM
A month late, but yes, a white error screen means that there's a PHP error somewhere, and if you can find your apache error log file then it'll name the file responsible. :-)

Yep.  And usually, somewhere in the same area of the C-Panel...you can choose to have the error display directly on the white screen, instead of just a white screen.

By the way, as an aside, Central gets whitescreens all the time.
3  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: Recommended version PHP, MySQL & Apache/nginx? on: April 18, 2019, 07:42:12 PM
You needed to change it in dbconnect.php, not dbwrapper.php

This is wrong. Change what? dbconnect is the core database credentials file, dbwrapper is the lib database functions file.

If you meant my original comment, I've corrected the typo, and Smirnov appears to have edited the correct file.

OK.  I was going by what you had originally typed.

It has been some time since I, myself had to make the same modification.

You, yourself said your original post was incorrect - a typo.
4  Game Administration, Installation and Configuration / Installation and Configuration Assistance / Re: Recommended version PHP, MySQL & Apache/nginx? on: April 10, 2019, 11:46:58 PM
You needed to change it in dbconnect.php, not dbwrapper.php
5  Core Code Development Discussions / Core Development Discussion / Re: LotGD Rewrite (Daenerys) Weekly Updates on: April 05, 2019, 09:45:43 PM
can the old layouts be used with the new daenerys ?

@Aeolus : i have checked fandomkingdom before, there is a lot going on in that template :-D .
I think it does not match a fantasy setting , but then again, i don't know the Gameplay in your site, maybe its less of a fantasy thing.

I would be glad to try my luck for a skin for daenerys with a JRPG / RPG theme, and maybe for the old LOTG. There are a couple of impressive skins out there, like the one at https://www.atrahor.de/ .

Ill see if i can put some time aside :-D





That IS one hell of an awesome skin!!  Wish I could get it.
I am terrible with templates, though.  After several miserable failures...I decided to leave it in the hands of a friend who runs a different site, who has always been willing to share this stuff with me...in exchange for my looking over php code for him, and especially sql calls...and the occasional interesting unique module.
6  Modules, Themes and other customizations for your game / Races and Specialties for version 1.x.x / Re: Esper mage is Not Working For Me... on: March 29, 2019, 09:36:37 PM
You can turn on error checking to have the error displayed on the page.
Huh.  I will have to look into that.  I never had too do that on my old server...it just plain came up.

I found other errors in the EsperMage module, but easily fixable...the names of the Esper's Abilities was not displaying in fightnavs.
I solved that one on my own.
7  Modules, Themes and other customizations for your game / Races and Specialties for version 1.x.x / Re: Esper mage is Not Working For Me... on: March 25, 2019, 08:29:43 PM
A white page almost always means an error in the code. Check your error logs.
That is what I did, and how I found it.
See, I am used to a white screen that says "Parse error, unexpected ] on line 69 in module.php" or some such.

But on my new server, all i get is the white screen.  I was reading some other problems on this board and someone mentioned the error logs and I was like...DUHHHHHH....so I checked my error logs and there it was...and I found my problem before you posted this.

But thanks.  It is a good thing to remember...you DO have an error log at the server level that usually captures this stuff.

I just so seldom had to use it on the old server I literally almost forgot it was there.  LOL.
8  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: Clan Pyramids on: March 24, 2019, 11:46:49 PM
Well, it looks as if you have your problem solved.  If not, I am running Clan Pyramids on 1.1.2 and I could give you my modules as they all come from here anyway.  Let me know.
9  Modules, Themes and other customizations for your game / Races and Specialties for version 1.x.x / Esper mage is Not Working For Me... on: March 24, 2019, 11:02:14 PM
Ok, I have no idea why this is not working.

But every time I would get a place where I would have a battle (not a fight till end but only one where the specialty uses shoul show up) - I get a white screen.  So something doesn't work...but it also does not tell me what.

I am running 1.1.2

Any ideas what is happening, and why it will not work?

I have set Companions to be possible in Game settings, and set max Companions to 1.

Is this something that really WILL only work with 1.1.1 and not even with 1.1.2??  I am curious.

I have other AW Specialties running on my site, like White and Black mage for example.

UPDATE:  Found it myself.  Line 69 in nocooldownnavs...had a close bracket where it should not have been.
10  Modules, Themes and other customizations for your game / Themes / Re: Template: Hypertext - A basic foundation for building more modern templates on: January 22, 2019, 10:36:33 PM
OK, so I downloaded it and uploaded it.  Guess I need to try looking t the code, I never have been good at templates.
11  Game Administration, Installation and Configuration / The Idea Place / Re: suggestion to create a Wonka-challenge, based on the Medallion Contest? on: January 16, 2019, 11:55:56 PM
Well in theory, just about anything is possible, you just have to know how to get there.

In answer to your initial question, yes it is possible to have more than one contest running at a time.  The better question is...how many do you want going at the same time?  Don't want to overwhelm players (yeah, I should talk, right??)

BUT...all that aside...

So...to start with, you need a player to buy access in - so you need a lace for them to do that, a village shop or a forest event...I think village shop is better.

SO...now you set a player pref to YES (bought newspaper)...now they are either able to buy the one chocolate bar per day, or find one in, say a village or forest event.

When they find one, you have an event that finds it...and checks if there is a golden ticket.

So now you set a pref for YES found a bar today.  and either YES or NO if they got a golden ticket.

If they got a ticket, then you increment a module SETTING.  When this reaches five, nobody will be able to buy in or find/buy bars.

NOW...once you have all five, then the village shop opens to the five players who have one (check for the player pref)

And then you do whatever you want inside that village shop.

So that is the basics of how you would do it...so if anyone wants to, that's a head start.
12  Coding Support / Coding Support Desk / Re: How To Reset The Prefs Of ALL Players on: January 14, 2019, 01:21:15 AM
I highly suggest copying your database + testing such things there =) if you don't have a test server.

On another note: Yes, your query looks sound, but you could drop "AND setting", if you want to reset ALL prefs. Else you just reset the setting "blah_blah_blah".

I have a test server.  I just wanted to know about this because of the setting thing.  The only value I want to reset is how many turns all players worked...that way they are not paid for turns helped on previous disasters again.
13  Coding Support / Coding Support Desk / Re: Tables Question on: January 11, 2019, 02:43:23 AM
And that is different based on the screen size of the end user, isn't it?

Sometimes. If you have a wide table and narrow view (e.g. mobile phone), then there's not overly much you can do.

But how to make the next table show up just to the right of the first one...instead of underneath?
Whatever table you're wanting align, just set the "style" attribute to "float:left" in the table'a HTML itself.

I had already said.

The other way, though not recommended, is to create a "wrapper" table and cells, and put the tables in those cells. So:

Table
Row 1
Cell 1 - Includes first table
Cell 2 - Includes second table
End row
End table

Actually, I have put a table inside of a table before.  Not sure why I did not think of it.
Just something I am tossing around as part of a new module I am trying to work on.  I thought in this case, what i am working on....a side-by-side table would be more user-friendly.  It''s not normally a format I like, either.
14  Coding Support / Coding Support Desk / Re: How To Get One Word Within A String Variable? on: January 11, 2019, 02:40:31 AM
I tried an unserialize on this.  It still came back wrong, and this time it returned an array.
So I went back to in_array - still did not work.

So, I imploded the value of the fetched variable as a comma delineated string...and all I got was a bunch of 1's separated by commas.

I am truly flummoxed here.  Nothing is getting me to where I want to be.

I looked in the case: biostat of Petra.
But I don't understand quite what is happening there.  I want to compare each thing one at a time.
I need to compare ONE AT A TIME....each possible tattoo, do they have it or not?  And then do or do not do an action accordingly.

I am not sure how I get there.

Go to http://phptester.net/ and put this in:

Code:
<?php
$s 
'a:9:{s:7:"mermaid";i:1;s:7:"rainbow";i:1;s:10:"red_dragon";i:1;s:13:"yellow_dragon";i:1;s:11:"blue_dragon";i:1;s:12:"white_dragon";i:1;s:12:"black_dragon";i:1;s:11:"gold_dragon";i:1;s:12:"green_dragon";i:1;}';
$t unserialize($s);
print 
"<pre>";
print_r($t);
print 
"<pre>";

It works. In your code, you might need to use stripslashes() first, when you get the pref.

Overthinking for what I needed to do, but thanks.  I am bookmarking that phptester page!!
15  Coding Support / Coding Support Desk / Re: How To Get One Word Within A String Variable? on: January 11, 2019, 02:38:11 AM
Thanks, Aeolus!

The = versus == thing did it.  Now I feel dumb, lol, I should have known better.

This was all I needed, the rest of it was overthinking the thing.  I just needed a check and a yes/no answer to feed an "if"

But good info to have for future reference, should I need it.  This is how I learn.  But I did look all this stuff up and read n it.
Pages: [1] 2 3 ... 34

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