Post: Anyone define this freeze?
09-11-2015, 11:08 PM #1
JustFuSiOn
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); I went back to fixing ZL for my menu, I think I've done it apart from the fact that the game freezes on map start.
I don't mean the black screen because the orange loading bar at the bottom gets almost half way before freeze. Anyone know why?

I have 3 gscs:
_development_dvars
_rank (now removed)
_shellshock

Edit: The freeze only happens when I inject multiple gscs and if script helps theres a bit below

THIS IS NOT A BAD SYNTAX AS THE GAME STARTS WITH 1 GSC

Edit 2: I've got to a point that the maps startup background loads then it gets to "Awaiting game state 0..." then freezes, this started happening once I removed _rank.gsc
(adsbygoogle = window.adsbygoogle || []).push({});
09-11-2015, 11:24 PM #2
Originally posted by xFuSiOnMODzZ View Post
I went back to fixing ZL for my menu, I think I've done it apart from the fact that the game freezes on map start.
I don't mean the black screen because the orange loading bar at the bottom gets almost half way before freeze. Anyone know why?

If it means anything I have 3 gscs:
_development_dvars
_rank
_shellshock


You're not going to get any help if you don't provide any code (snippets)
09-12-2015, 06:54 AM #3
JustFuSiOn
Are you high?
Originally posted by FeverDEX View Post
You're not going to get any help if you don't provide any code (snippets)


How am I supposed to provide code if I don't know why it happens? All I can think of is this

init()
{
if(!(getDvar("customgametype" == "zombieland")))
{
setDvar("customgametype", " Predator");
}
if(getDvar("customgametype" == "Predator"))
{
Then the stuff I need for my menu in init is here

Edit: read the edit on the original thread
09-12-2015, 03:29 PM #4
Originally posted by xFuSiOnMODzZ View Post
How am I supposed to provide code if I don't know why it happens? All I can think of is this

init()
{
if(!(getDvar("customgametype" == "zombieland")))
{
setDvar("customgametype", " Predator");
}
if(getDvar("customgametype" == "Predator"))
{
Then the stuff I need for my menu in init is here

Edit: read the edit on the original thread


There's quite a few problems with that code there.

    
init()
{
if(!(getDvar("customgametype") == "zombieland"))
{
setDvar("customgametype", " Predator");
}
if(getDvar("customgametype") == "Predator")
{
//stuff
}


Your parenthesis were in the wrong place
09-13-2015, 11:43 AM #5
JustFuSiOn
Are you high?
Originally posted by Spork View Post
There's quite a few problems with that code there.

    
init()
{
if(!(getDvar("customgametype") == "zombieland"))
{
setDvar("customgametype", " Predator");
}
if(getDvar("customgametype") == "Predator")
{
//stuff
}


Your parenthesis were in the wrong place


Still freezes, do you know what causes this kind of freeze? I'm pretty sure its not a bad syntax
09-13-2015, 01:29 PM #6
Patrick
League Champion
Originally posted by xFuSiOnMODzZ View Post
Still freezes, do you know what causes this kind of freeze? I'm pretty sure its not a bad syntax


download black ops 2 on pc and test it, it tells you the error Winky Winky

The following user thanked Patrick for this useful post:

JustFuSiOn
09-13-2015, 02:15 PM #7
JustFuSiOn
Are you high?
Originally posted by 32085
download black ops 2 on pc and test it, it tells you the error Winky Winky


Does it have a log file or something or does it just kick you to the main menu?
09-13-2015, 02:17 PM #8
jwm614
NextGenUpdate Elite
Originally posted by xFuSiOnMODzZ View Post
I went back to fixing ZL for my menu, I think I've done it apart from the fact that the game freezes on map start.
I don't mean the black screen because the orange loading bar at the bottom gets almost half way before freeze. Anyone know why?

I have 3 gscs:
_development_dvars
_rank
_shellshock

Edit: The freeze only happens when I inject multiple gscs and if script helps theres a bit below

THIS IS NOT A BAD SYNTAX AS THE GAME STARTS WITH 1 GSC


It could b a variety of things from the first gsc is too big
Not including right
Function that's not there
09-13-2015, 02:29 PM #9
JustFuSiOn
Are you high?
Originally posted by jwm614 View Post
It could b a variety of things from the first gsc is too big
Not including right
Function that's not there


Functions are there but what's the max gsc file size then?
09-13-2015, 07:00 PM #10
jwm614
NextGenUpdate Elite
Originally posted by xFuSiOnMODzZ View Post
Functions are there but what's the max gsc file size then?


Well with gsc studios you have a couple hundred kb
But with my injector you have a lot more cuz I use up space that rpc uses an my checks the size to make sure it will fit but if not it will jump to next spot in mem

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo