DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • May 19, 2013, 08:18:39 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: 1 ... 6 7 [8] 9 10   Go Down
  Print  
Author Topic: Clan Pyramids  (Read 25368 times)
0 Members and 1 Guest are viewing this topic.
Selenity
Guest
« Reply #105 on: June 20, 2008, 08:50:28 PM »

Okay. The reason we are walking through walls so fast is because we have the clan forge module. Smiley

I entered when I was from a different clan and got this message every time. I'm not sure what's causing this. The PK Tracker module isn't even working right on my site, but everything else is running just jiffy! People are exploring everywhere else because I won't let them in the pyramids because when they go into Tzeltachs, and Tzeltachs only, they run into these weird errors. The other error of the player getting "stuck" in the pyramids is solved, though.
Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #106 on: June 21, 2008, 08:41:21 PM »

Okay. The reason we are walking through walls so fast is because we have the clan forge module. Smiley

As do I, which is why I suggested, altering that code.  To make them harder, if you wish.

As for the error message, I am unable to duplicate this using 3 different chars on my test server.

Please reupload the files, and reinstall the module.  You do not need the update file, if this is a clean install, ie, pre 1.3 version never installed on your server.  That file also needs to be uninstalled straight after installation if it is used.

Edit: *files currently running bug free on 3 1.1.0 servers that I know of*

Walls are not passed through at the throne guardian, as there is nowhere else to go apart from the throne.  Therefore, that is not an error there.

As for being continuously shown the throne, with the module active, I cannot reproduce this at all. 

Note: This module is untested on 1.1.1
« Last Edit: June 21, 2008, 10:09:41 PM by Kala » Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #107 on: June 21, 2008, 10:50:32 PM »

Minor Bugfix

reuploading

this has to do with the warriors list inside the pyramids themselves, causing an empty query for the sql.
Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
kaiser
Member
Captain of the Guard
***
Offline Offline

Posts: 104


I'm such a n00b


View Profile WWW
« Reply #108 on: July 17, 2008, 09:06:10 AM »

Slight issue...sorry if I missed a pre-existing post about this:

Whenever any player enters the forest, they get the message regarding "Your clan owns all 3 pyramids etc etc" regardless if they are 1) even in a clan or 2) are in a clan but dont own any pyramids.

Is this a known bug with this module or a known conflict with another clan module?

EDIT: sorry...this is on latest 1.1.1 (shouldve mentioned that before)
« Last Edit: July 17, 2008, 09:08:07 AM by kaiser » Logged

ComfortablyDumb Relaunch
Fast days, lots of turns
http://comfortablydumb.net/logd
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #109 on: July 17, 2008, 09:16:40 AM »

in case number 2 they should receive this message

As your clan doesn't control all the pyramids, you don't receive a experience bonus

can you verify they are receiving the bonus?

in case number 1, yes this is a known bug.

in the file /clanpyramid/dohook/forest-desc.php

change the code on line 3 from

Code:
if ($clan==$owned1 && $clan==$owned2 && $clan==$owned3){

to

Code:
if ($clan==$owned1 && $clan==$owned2 && $clan==$owned3 && $clan<>0){

and in the file /clanpyramid/dohook/battle-victory.php on line 3

change the code from

Code:
if ($clan==$owned1 && $clan==$owned2 && $clan==$owned3 && $u['alive']==true && ($args['type']=="forest")){

to

Code:
if ($clan==$owned1 && $clan==$owned2 && $clan==$owned3 && $clan<>0 && $u['alive']==true && ($args['type']=="forest")){
Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
kaiser
Member
Captain of the Guard
***
Offline Offline

Posts: 104


I'm such a n00b


View Profile WWW
« Reply #110 on: July 17, 2008, 09:35:55 AM »

That was PERFECT. It works brilliantly now. Thanks for such a fast response Smiley

(and yes...it WAS giving bonus when it shouldn't)
Logged

ComfortablyDumb Relaunch
Fast days, lots of turns
http://comfortablydumb.net/logd
Selenity
Guest
« Reply #111 on: July 31, 2008, 07:13:10 AM »

I'm having some more problems with the pyramids, namely the Tzeltalchs pyramid. My problem is this...Whenever I got into the pyramid, I randomly run into a wall and when I knock it down...It puts me on square @0. If I move west, I go to square @0-1 and any other way I go...I am sent back to either A13 or A1. Also, the List Warriors is not working properly. It never shows anyone in the pyramid, even if we know somebody is in them. Another problem is when I'm at the throne in Tzel, the message is that my clan has already taken down the throne...just like when your clan has already taken down a wall. I have the most updated version, as well. Some of these problems are the ones I addressed in earlier posts, so if you want any more information, please let me know.



EDIT: I think I know where the problem is...Whenever you run into a wall, it doesn't say if it is East, West, North, or South. It just says 'Hit the Wall'. So maybe the direction is being passed on. Smiley
« Last Edit: July 31, 2008, 01:30:26 PM by Selenity » Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #112 on: August 01, 2008, 04:06:15 AM »

The walls don't actually work in that way, the code passes to the specialmisc the wall's square number, then retrieves it, after breaking down the wall and defeating the guardian, it places you on that square.  I did have a similar problem reported, and am going to upload new files, that I fixed this problem in.

The problem was in the passing of the wall number to the specialmisc, it was not storing correctly.  I repeat, any problems, I need the nav to be posted, so I can see the problem, in this case, there was no wall number being passed, which showed in the nav/url, it wasn't affecting the throne, only basic walls.

Kala

Ver 1.3.2
Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
Lord Zeus
Member
Militia
**
Offline Offline

Posts: 42


God of Lightning


View Profile
« Reply #113 on: August 10, 2008, 08:27:58 PM »

its still not showing the warriors thats in the pyramid for me when you go to warrior list before you enter the pyramids
Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #114 on: August 10, 2008, 08:41:08 PM »

Edit:  The fix I posted, didn't work.

I am currently working on why it's not working.  Will update as soon as I have an answer.

Kala


New file will be updated, this is working perfectly on my test server.  I have removed the duplicate IP and ID checks from the file.
« Last Edit: August 10, 2008, 09:28:43 PM by Kala » Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
Pedro
Guest
« Reply #115 on: September 04, 2008, 03:29:01 AM »

Hi Kala,

Any word on a fix for this "known bug" with members who only have to submit an application to a clan and they get additional xp bonus, regardless of whether they are a member or not?

Ive applied the 2 code fixes in the posts above...but also noted that they were already there?? (i downloaded and installed 1.3.2)

If you need anymore info, please let me know as ive got approx. 600 people playing atm and if they discover this bug....well ill have no choice but to disable the pyramids...and then everyone will hate me Sad
Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #116 on: September 04, 2008, 05:16:10 AM »

Thanks for that Pedro, that one hadn't actually been reported before.

The fix is this (Edit: Sorry forgot, this is in clanpyramid/dohook/battle-victory.php)

change:

Code:
if ($clan==$owned1 && $clan==$owned2 && $clan==$owned3 && $clan <> 0 && $u['alive']==true && ($args['type']=="forest")){

to:

Code:
if ($clan==$owned1 && $clan==$owned2 && $clan==$owned3 && $clan <> 0 && $u['alive']==true && ($args['type']=="forest") && $session['user']['clanrank']>CLAN_APPLICANT){
« Last Edit: September 04, 2008, 05:21:57 AM by Kala » Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
Pedro
Guest
« Reply #117 on: September 04, 2008, 10:49:18 AM »

The fountain shows both in the clan halls and when you click clan options.

Im in the same boat as the original poster...

I dont see a Fountain option in either the Clan Halls or the Module Manager.

The only options for the Clan War Vault is the "pref" where i can set the ATT and DEF amounts, which ive set to 5000, and deposited 6000 into the clan war vault.

http://files.v0te4.me.uk/files/clan-settings.jpg are the clan modules i have installed.
http://files.v0te4.me.uk/files/clan-war-vault.jpg is a s/shot of what i see from user (who is a founder) point of view.

Am i missing something blindingly obvious?

Cheers,
Pedro

PS: Thanks for the fix Kala, ill let you know if its worked once ive had a chance to test it Cheesy
« Last Edit: September 04, 2008, 11:02:13 AM by Pedro » Logged
kavselj
Guest
« Reply #118 on: September 04, 2008, 11:04:17 AM »

I also found a bug with the first pyramid (one starting on T). When you encounter the wall, you can actually skip the whole destroying part. You click "Hit the wall" then "Return the pyramid". At that point you will actually be standing IN the wall with option to go either back or forward (if wall is south of you and you attack it, you can then go either north or south). That way you can skip all the walls and start attacking the throne within a minute.
Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #119 on: September 04, 2008, 05:43:26 PM »

Thank you both, I'll work on both bugs, the fountain I believe is a part of the clan-options mod, so I'll upgrade the code, to place a link in the clan halls for leaders etc, IF that mod isn't installed Smiley

I'll also try and fix the 'walls' bug, this will probably be done over the weekend, as I'll do both and upload the fixes here when they're both done.

For now Pedro, to see the vault options, delete this addhook in the clanwarvault.php file

Code:
module_addhook("clanoptions-fountain");

and change the dohook section, by moving it, so it looks like this now

Code:
case "footer-clan":
                        if ($u['clanrank'] >= CLAN_MEMBER){
                                addnav("~");
                                addnav("`^Clan War Vault","runmodule.php?module=clanwarvault");
                                addnav("`#Clan Top Donators","runmodule.php?module=clanwarvault&op=hof");
                        }
$clanid = $u['clanid'];
                        if ($u['clanrank'] >= CLAN_LEADER){
                                addnav("War Room","runmodule.php?module=clanwarvault&op=warroom");
                        }elseif ($u['clanrank'] >= CLAN_OFFICER && get_module_objpref("clans", $clanid, "allowed")==1){
                                addnav("War Room","runmodule.php?module=clanwarvault&op=warroom");
                        }
                }
                        break;

that 'should' enable the warvault in the clan halls themselves, rather than through the clan options mod.



Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
http://www.timerealms.net
http://www.legendofshrell.com
Pages: 1 ... 6 7 [8] 9 10   Go Up
  Print  
 
Jump to:  


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

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
24 Guests, 2 Users
~Ender~, Minato
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search