Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 104 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: potential infinite loop in script...wtf?
Strid3r
General Member
Since: May 10, 2006
Posts: 128
Last: Dec 17, 2009
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Thursday, Dec. 27, 2007 06:33 am
my map loads but then it gives me this error within a couple seconds of being in the game...i've never gotten this message before

script runtime error
potential infinite loop in script

this is my GSC

main() {
maps\mp\_load::main();

}

just like in foyles tutorial, any help would be greatly appreciated. thanks

edited on Dec. 27, 2007 01:35 am by Strid3r
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Thursday, Dec. 27, 2007 08:37 am
Have you set pure to no in the create new server menu?
Did you remove any custom .iwd's from your /main folder?
Did you pull down your console and get more info about the potential infinite loop?
Type /set developer 1 in your console and try running the map again. It should give you more info about WHERE the loop might occur
Share |
RAMIDUS
General Member
Since: Aug 24, 2006
Posts: 91
Last: Nov 17, 2011
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Sunday, Aug. 24, 2008 11:20 am
Hi, I got the same error, but in SP map...are there any further suggestions or is it the same as in MP map? thx. At first, I'll try it with that command in the console and let's see
Share |
csocsi96
General Member
Since: Aug 9, 2010
Posts: 75
Last: Aug 24, 2014
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, Sep. 17, 2012 01:47 pm
Hello,

I am getting the error in the server console: potential infinite loop in script @ .... and some numbers..

and then the console just freezes and stops working. But i have 2 Computers, and tried to run the server with the same mod files on my another computer, and it started, didnt said any errors like on the other machine the infinite loop in the script. So why my first pc can't load up the server, and the second can?

PS: I tried to set the developer to 2, but the console has just frozen and didn't write any other infos where the mistake is. How to disable these error messages?
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, Sep. 17, 2012 02:20 pm
its because you dont have a wait in your loop...[eek]
Share |
csocsi96
General Member
Since: Aug 9, 2010
Posts: 75
Last: Aug 24, 2014
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 19, 2012 03:18 pm
liltc64 writes...
Quote:
its because you dont have a wait in your loop...[eek]


i know it too.. but on my another pc it works great...
Share |
csocsi96
General Member
Since: Aug 9, 2010
Posts: 75
Last: Aug 24, 2014
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 19, 2012 03:19 pm
PS: I fixed the mistake on both pcs
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 19, 2012 05:13 pm
just know when ever you get that error its always going to be that you dont have any type of wait in your loop. for loops dont need a wait, while loops need some sort of wait or your always going to get the error "potential infinite loop".
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»