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

Pages: 1 ... 5 6 [7] 8 9 10   Go Down
  Print  
Author Topic: Clan Pyramids  (Read 25364 times)
0 Members and 1 Guest are viewing this topic.
ordicbm
Member
Codemeister
****
Offline Offline

Posts: 311


Bonjour a vous tous et toutes


View Profile WWW
« Reply #90 on: June 02, 2008, 11:11:34 PM »

bonjour
apres la mise a jour, j'ai cette erreur

Parse error: syntax error, unexpected '{' in /home/lddv/www/dragon/modules/clanpyramid/dohook/village-desc.php on line 10

cordialement
Logged

LOTDG en francais:
http://www.lddv.fr
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #91 on: June 02, 2008, 11:20:17 PM »

sorry,

on line 10, remove the } and replace with a ;

so it will look like

output("Who will be the first monthly Winner?");

I've been at work, I'll reupload the fixed files when I am able to later today Smiley



sol,

sur la ligne 10, enlevez le} et remplacez avec a;

donc il ressemblera

output("Who will be the first monthly Winner?");

J'ai t en train de travailler, je retlverserai les dossiers fixs quand je suis en mesure plus tard aujourd'hui Smiley
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
ordicbm
Member
Codemeister
****
Offline Offline

Posts: 311


Bonjour a vous tous et toutes


View Profile WWW
« Reply #92 on: June 03, 2008, 01:12:14 AM »

mercin cela a l'air de fonctionner
je relance le module et demande a mes joueurs de me faire remonter des problemes si il y en a encore
cordialement
Logged

LOTDG en francais:
http://www.lddv.fr
ordicbm
Member
Codemeister
****
Offline Offline

Posts: 311


Bonjour a vous tous et toutes


View Profile WWW
« Reply #93 on: June 13, 2008, 11:15:16 PM »

bonjour
je suis dsol de revenir encore, mais, il y a pleins de petits bugs ce qui fait que j'ai du enelever le module
le dernier bug, dans praxiln,(enfin je crois que c'est celle ci) est , quand on frappe le mur du trone  il se regenre, restant entre 25000 et 23500 hits pour etre dtruit
j'ai pour le moment enlever le module et re installer la version 1.1 qui me pose moins de souci
cordialement
Logged

LOTDG en francais:
http://www.lddv.fr
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #94 on: June 16, 2008, 09:10:42 PM »

Sorry, My mistake.

Prazlynx is the only pyramid which any clan can steal from another and uses the 'owning' clans id not the players.

/modules/clanpyramid/walls3_func.php

Line 79 should be

Code:
$hp = get_module_objpref("clans",$owned3,$wall,"clanpyramid");

not

Code:
$hp = get_module_objpref("clans",$clanid,$wall,"clanpyramid");
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
Selenity
Guest
« Reply #95 on: June 20, 2008, 02:24:24 PM »

So I installed an unedited version of this module on my server...and we're having problems. People are getting stuck in the pyramids, and every page there is an odd number like:

2111
~ ~ ~ Fight ~ ~ ~
You have encountered Nehebkau which lunges at you with Staffs and Rods!


Another problem we encountered is that the Throne Guardian's HP rose instead of falling with hits.
Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #96 on: June 20, 2008, 07:11:35 PM »

I have submitted the updated files for uploading.

The random number was me forgetting to remove a bugchecking output, which should now be moved.

In future, I need as much information as possible.  WHICH PYRAMID is a minimum requirement for me to fix things.

I don't wish to seem rude, but with many files, it is necessary for me to track errors down.

Selenity, try the new version.  The uneditted previous downloaded version, will not work properly as can be seen above by the various bug reports from ordicbm, who I thank for supplying the requested information and reporting them as they appeared.
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
Selenity
Guest
« Reply #97 on: June 20, 2008, 07:22:28 PM »

They were getting stuck in all of them, actually. For example, in  Tzeltalchs, they would get to the Throne Guardian and they would defeat it, then it wouldn't give them credit for defeating the Guardian, it'd just let them keep moving and they would have their spots at -@1 and -@2.

And in Chexralmins and Prazlynx the Guardians would gain HP instead of losing it when they are hit.

EDIT for new version:

I just fought in Tzeltalchs and I found a wall/guardian on square E13 and after I fought him I got:

You are on @0

UPDATE: I have now deactivated the upgrade for the pyramids module.

Now, in the same pyramid, I'm on D8 and fighting and after the battle I get...You are on @0
« Last Edit: June 20, 2008, 07:31:24 PM by Selenity » Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #98 on: June 20, 2008, 07:34:03 PM »

The upgrade module wasn't required unless you were upgrading from a pre 1.3 version.  It required installation then uninstallation before the pyramids were installed, as it edits the old preferences and removes old and unused one's. I'll take a look at the other.

What would be helpful, is the exact URL where it misbehaves.  Makes it easier to track Smiley
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
Selenity
Guest
« Reply #99 on: June 20, 2008, 07:40:31 PM »

Still in Tzeltachs. This one was at least kinda near the throne. I choose Guardian Fight and when I finish and hit continue I get:

http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=move&move=return&wall=&p=1&c=289-213958


« Last Edit: June 20, 2008, 07:46:29 PM by Selenity » Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #100 on: June 20, 2008, 07:59:20 PM »

Looks like one of the wall valuess isn't being passed, will take me a little while to go through this and find that, as it's passed to the array before the fight.  Anything further that you can think of that will help ie direction you were travelling (North, South, East or West) will help Smiley

Thankies Smiley
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
Selenity
Guest
« Reply #101 on: June 20, 2008, 08:09:41 PM »

Okies I'll go in and try it again and give you exactly everything I do. ^^

Well that was odd. When I did it this time, it was perfectly normal!!

Oh, and I keep getting a message of Your Clan Walls are now 25000 whenever I capture a pyramid. I suppose that's reseting the hp of the walls?
« Last Edit: June 20, 2008, 08:14:25 PM by Selenity » Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #102 on: June 20, 2008, 08:15:57 PM »

Is that 2500 or 25000?

25000 is the minimum wall hp, and as the warvault allows you to up that to a higher figure, it outputs what your walls are set to.
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
Selenity
Guest
« Reply #103 on: June 20, 2008, 08:20:07 PM »

Yeah it was 25000, mis typed, lol.

Prazlynx is working fine now.

Okay here we go again...just deactivated them and now I first enter the Tzeltachs pyramid and the throne is right there on A1!

On http://dragonprime.net/index.php?action=post;topic=7319.90;num_replies=102
You are on A1
You have found the throne door
There is a wall to the north, that way is blocked.

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=wall&hit=throne&p=1&c=159-221616
Your clan helps you by boosting your attack by 35
You hit the wall for 66955 damage, the wall crumbles in front of you

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=move&move=throneg&p=1&wall=&c=160-221734
You move through the wall, only to be confronted by the Throne Guardian

The next page it showed it had already been taken, and the player got the same thing...I've told them to stay out until I say so now.


UPDATE:

Okay so I got back into Tzeltachs.

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=move&move=entry1&p=1&c=215-222233
You are on A1
You have found the throne door
There is a wall to the north, that way is blocked.

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=wall&hit=throne&p=1&c=216-222236
Your clan helps you by boosting your attack by 35
You hit the wall for 44770 damage, the wall crumbles in front of you

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=move&move=throneg&p=1&wall=&c=217-222330
You move through the wall, only to be confronted by the Throne Guardian

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=attack&f=3&p=1&c=218-222343
Fighting the Throne Guardian. Page looks fine.


On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=fight&auto=full&c=219-222408
Have defeated guardian

On http://www.dragonlunacy.com/runmodule.php?module=clanpyramid&op=move&move=thronec&p=1&c=220-222436
    
You have captured the Pyramid in the name of your clan


You receive 3 Clan Points

Your clans walls are 25000

And I go back to the village via the villagenav.

« Last Edit: June 20, 2008, 08:25:47 PM by Selenity » Logged
Kala
Codemeister
****
Offline Offline

Posts: 479

Who Me?


View Profile WWW
« Reply #104 on: June 20, 2008, 08:43:41 PM »

Ok so the first time a pyramid is entered, for some reason (yet to track this bug down), it's an auto take.  So just to clarify whats happening

If someone enters the pyramid from another clan, can they then go through the normal process of taking down walls and finding the throne? If so, they are working ok, if not, then I'll track that down and see whats causing it.  The module is running as is, on a friends site with multiple players and she has no reportable bugs since the above fixes were added to the code.

IF you find that your server has players with lots of atk/def then the walls will crumble very fast, leading to walk through in one hit walls.

You may like to modify the attack and defence formula found within the walls_func of each pyramid, until you find a nice balance.  I won't support that formula recalculation, as the one in place seem's fine with lower atk/def players.

Code:
$aa=$tatk*0.45;
$adam=e_rand($aa,$tatk);
$dd=$watk*0.25;
$d=e_rand($dd,$watk);
$damage = ($adam-$d)*5;

is the code you would need to modify in each pyramid, to stop walk through walls.  I suggest the following

Code:
$aa=$tatk*0.45;
$adam=(e_rand($aa,$tatk))*0.5;
$dd=$watk*0.25;
$d=(e_rand($dd,$watk)*0.5);
$damage = ($adam-$d)*5;

try modifying just the e_rand multiplier for attack and defense.  The above code, halves current values.
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 ... 5 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
21 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search