Please help... I may pull out my hair....
Moderator: General Moderators
- dragonsmistress
- Forum Commoner
- Posts: 44
- Joined: Thu Dec 18, 2008 2:03 pm
Re: Please help... I may pull out my hair....
ahhh yes, sorry again. been awhile since i posted in a forum and i forgot about the bumping of threads.
anyhow, i understand what the code is suppose to do but it's not only pulling those up. i've tried several different ways to modify it but nothing seems to be doing the trick
anyhow, i understand what the code is suppose to do but it's not only pulling those up. i've tried several different ways to modify it but nothing seems to be doing the trick
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Please help... I may pull out my hair....
So how is the app supposed to distinguish between eggs, hatchlings and everything else? What sets the two apart that you want?
- dragonsmistress
- Forum Commoner
- Posts: 44
- Joined: Thu Dec 18, 2008 2:03 pm
Re: Please help... I may pull out my hair....
The user only needs to add their eggs and hatchlings thus getting clicks to make them grow into adults. the adults don't need the clicks so they do not need to be added (: Make sense?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Please help... I may pull out my hair....
Right, but what on the dragoncave website would tell you that you are getting an adult hatchling? The way I was reading it there were eggs, hatchlings and adults. The search is pulling back only those rows marked as eggs and hatchlings. How is an adult hatchling identified on the dragoncave website?
- dragonsmistress
- Forum Commoner
- Posts: 44
- Joined: Thu Dec 18, 2008 2:03 pm
Re: Please help... I may pull out my hair....
Oh I see what you mean....it's identified the same way... I just keep getting all of them when I run the script. I dunno...
- dragonsmistress
- Forum Commoner
- Posts: 44
- Joined: Thu Dec 18, 2008 2:03 pm
Re: Please help... I may pull out my hair....
actually.... i take that back..... the word eggs and hatchlings is showing up but the images don't match what the text says.... take a look at the result here --> http://hatchingdragons.net/test3.php
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Please help... I may pull out my hair....
Ah, ok, that means that there is an issue with the regular expression. Unfortunately that is not my strong suit so I am going to have to defer to someone that is more apt to handle regex. Sorry.
- dragonsmistress
- Forum Commoner
- Posts: 44
- Joined: Thu Dec 18, 2008 2:03 pm
Re: Please help... I may pull out my hair....
No worries (: I'm headed to bed so maybe someone will have a suggestion in the morning (: Thanks so much for getting me on the right track, though!
- dragonsmistress
- Forum Commoner
- Posts: 44
- Joined: Thu Dec 18, 2008 2:03 pm
Re: Please help... I may pull out my hair....
Ok so... I have officially given up. I have been reading tutorials....asking through forums.... and I just can't figure it out ): If anyone can help...please please do so (: Otherwise I'm putting this project on the back burner ):