Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Can someone fix my problem?

Author
Message
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 11th Feb 2006 18:26
OK now i tried to make a password protected thing.
BUT it goves and error like:
"could not close nest at line 46"

what did i do wrong in my coding?

(its not done but heres the code

[href]www.freewebs.com/edromeproductions[/href]
look there for all my model packs latest updtes and other stuff!
(its not old yet)
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 11th Feb 2006 18:38
hi

I'm not sure but I skimmed over your code and it looks like you have a lot of for next loops involving the letter i. You may have missed a "next i" to close the for next loop.

it is either this or you should have an endif at the very end of your code to close the if, else, endif loop.

If this is incorrect please let me know.

BM

Our aim is to keep the loo's clean, your aim can help.
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 11th Feb 2006 19:19
sorry but both i couldn let work but i appriciate you tried to help.

[href]www.freewebs.com/edromeproductions[/href]
look there for all my model packs latest updtes and other stuff!
(its not old yet)
super skull
20
Years of Service
User Offline
Joined: 16th Jun 2004
Location: usa
Posted: 12th Feb 2006 01:24
what bigman said is the only possible answer to your problem because the error your getting is always because u didnt end a loop or you forgot to put endif if you did a multi line if statement so look over your code more carfully and i bet $999999999999999999999999999.99 that you find a unended loop of a unclosed if statment

Yskonyn
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: Netherlands
Posted: 12th Feb 2006 14:03
Go through your code slowly. Try putting down on paper how many loops you open and then how many your close.
Should make it quite clear, quite quickly.

Good luck.


Yskonyn - (Waiting for Hands On DBP Programming Vol. 1)
"It's better to wish down here you were up, then to wish up there you were down."
Mr X
18
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 12th Feb 2006 15:20 Edited at: 12th Feb 2006 15:32
I tried to find what was wrong, but couldnt (propobly I didnt try hard enough). However, I made the code easier to read. Hope it helps.



EDIT:

I did try to solve the problem by as an example adding an endif at the end, but it didnt work. And I think I removed them all, but if there is some part that not original, you know why. But Im 110 procent certain its the original code, if you dont count that I made it easier to read.
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 12th Feb 2006 16:07 Edited at: 12th Feb 2006 16:07


*yawns a sigh of relief*, man that took a while. You really should indent your code properly when you're dealing with such a large amount of it, its way easier to check for unclosed endifs, like they said it needed an endif at the end but also an endif for the if y = "y" thing. Fixed now.

On the other side of things, WOW! Thats a great replica of quake, feels just like it, you're on your way to a good game there if you start neatening up your code (it's not the most efficient way of handling everything).

Goodluck,
RUC'

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 13th Feb 2006 16:32 Edited at: 13th Feb 2006 16:34
That replica isnt mine.
i only putten it in.

the original creator is:
Johnathan Gover.

now i have to get DBPro running again.....
i deleted something and first i want to try fixing before re-installing.

ill try to get the controls easyer(as soon as i found out where)

[href]www.freewebs.com/edromeproductions[/href]
look there for all my model packs latest updtes and other stuff!
(its not old yet)
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 13th Feb 2006 18:13
Did the password system work out for you though?

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 13th Feb 2006 22:23
yes
partly.....
it was bugginf in the beginning but i changed some stuff so the bugs are gone

[href]www.freewebs.com/edromeproductions[/href]
look there for all my model packs latest updtes and other stuff!
(its not old yet)

Login to post a reply

Server time is: 2024-09-24 15:33:24
Your offset time is: 2024-09-24 15:33:24