Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

Talk:Maximim Number of Loops Performed

From DDO wiki
Jump to navigation Jump to search
Forums: Index > Help desk > Maximim Number of Loops Performed


I Attempted to add greensteel weapons to the list but when I hit preview it went messy and claimed to many loops performed...help please D:

Edit:

on Sandbox/Phaaze the problem is better but not fixed it still breaks near the bottom but it is getting betterPhaaze (ContributionsMessage) 15:11, March 9, 2013 (EST) Phaaze (ContributionsMessage) 09:08, March 8, 2013 (EST)

Phaaze, I dont mind taking a peek at what may be causing the problem. I would suggest to make a sandbox page Sandbox/Phaaze and dump there what code is causing the problem. If you're unable to save, enclose the code in tags, and I'll try to check it out and give some input.

-Joe

Joenuts (ContributionsMessage) 09:59, March 8, 2013 (EST)
That has something to do with what I have put into a template. Please add them again, hit save, and then revert your edit so I can track down which template is causing the issue and I will fix it for you. Worst case, I may have to email Xevo (Contribs • Message) to increase the number of loops allowed.


Edit: I'm betting that Meta template  T:Scase is causing the issue. I currently have it set up so that if an incoming word has a space, it loops through and finds each separate word. Then, I have it set up to run another loop to capitalize and output the words it finds... Let me have a little time to see if I can merge those two loops into one so that it cuts the number of loops on a page in half. I'm also going to research more about Extension:Loops to see what else I can do to reduce future problems. If I can figure out how to make the template know how may loops are running per call to a template, I can use that to prevent an endless loop in a specific call and not affect other calls. Then, max loops could be increased greatly. —11:27, March 8, 2013 (EST)

ShoeMaker (Contributions  Message) 10:21, March 8, 2013 (EST)
Okay, I have modified T:Scase after confirming it was the source of the maxloop issue so that it uses half as many loops, and the page loads more than twice as far down. I've sent Xevo (Contribs • Message) an email requesting he set:
ExtLoops::$maxLoops=250;
This should clear up the immediate issue. I'm also making efforts to create other circumvention to not have to raise the max loops any higher than that by fixing the issue with the way the extension counts the loops.
ShoeMaker (Contributions  Message) 15:56, March 8, 2013 (EST)