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

Members Online

»
0 Active | 5 Guests
Online:

LATEST FORUM THREADS

»
water
CoD4 MP Mapping
Rainbow HELP....
CoD4 MP 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, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: potential infinite loop in script...wtf?
Strid3r
General Member
Since: May 9, 2006
Posts: 128
Last: Dec 17, 2009
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Wednesday, Dec. 26, 2007 11:33 pm
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 01: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 04: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: 70
Last: Apr 21, 2013
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, Sep. 17, 2012 06:47 am
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 07:20 am
its because you dont have a wait in your loop...[eek]
Share |
csocsi96
General Member
Since: Aug 9, 2010
Posts: 70
Last: Apr 21, 2013
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 19, 2012 08:18 am
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: 70
Last: Apr 21, 2013
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 19, 2012 08:19 am
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 10:13 am
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 Restricted Access subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

Latest Syndicated News

»
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Loadout
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...

Partners & Friends

»