What's new

Discussion [RELEASE] *** Ven0m M0dz ProtoType.ff ***

  • Thread starter Ven0m M0dz
  • Start date
  • Views 7,989
Ven0m M0dz

Ven0m M0dz

Enthusiast
Messages
130
Reaction score
20
Points
70
Sin$
0
***Update working link and patch. Only includes +50 Challenges tho as code is too big for all challenges your gonna need like 3 disks lol. And for the above posts the other codes mentioned above are for weapons and attachments only not the challenges. My new uploaded version is for the challenges. Enjoy!

***Update working link and patch. Only includes +50 Challenges tho as code is too big for all challenges your gonna need like 3 disks lol. And for the above posts the other codes mentioned above are for weapons and attachments only not the challenges. My new uploaded version is for the challenges. Enjoy!
 
M

Mike

Contributor
Forum Addict
Messages
3,475
Reaction score
639
Points
375
Sin$
7
Script compile error.... Might try mine and release it .. I think more people care about the attachments also besides the challenges.. :rolleyes:
 
Mila Kunis

II UnLmTd III

Original Coder
Seasoned Veteran Grizzled Veteran
Messages
1,300
Reaction score
163
Points
175
Sin$
7
i like how i fix it and it he doesnt even post that and give me credit
 
Anonamous

Anonamous

Contributor
Seasoned Veteran Donator Experienced Veteran
Messages
1,749
Reaction score
540
Points
270
Sin$
7
im going to have to say that this:
Code:
self maps\_challenges_coop::statSet( "3000", 4294967296 );

cant be correct, i have put some of that in my own at one point and all it does is give you a crapload of errors.

After looking at most of the common files I have been thinking that you may have to add #include maps\_challenges_coop; at the top and use that code or add this #include mp\stats_init; at the top and use this code which will fit without modifying or shortening.

Code:
statset 3000 4294967296

I havent yet gotten to test it yet and i think im gonna give the file to a friend of mine with a JTAG to test first so I dont waste one of my disks
 
G

Ghosty Modz

Newbie
Messages
5
Reaction score
0
Points
35
Sin$
0
If anyone is doing
Cod5 10th 65 lobby
or Modded ZOmbies etc
invite o0 ghostboy 0o
or send me a msg :biggrin:
 
Sticki

Sticki

Taylor'd
Messages
1,009
Reaction score
165
Points
165
Sin$
0
Yea, ummm, thought this worked? I keep getting script compile errors. I just added some streaks on the leaderboards. Yes I did it all right
 
Ven0m M0dz

Ven0m M0dz

Enthusiast
Messages
130
Reaction score
20
Points
70
Sin$
0
im going to have to say that this:
Code:
self maps\_challenges_coop::statSet( "3000", 4294967296 );

cant be correct, i have put some of that in my own at one point and all it does is give you a crapload of errors.

After looking at most of the common files I have been thinking that you may have to add #include maps\_challenges_coop; at the top and use that code or add this #include mp\stats_init; at the top and use this code which will fit without modifying or shortening.

Code:
statset 3000 4294967296

I havent yet gotten to test it yet and i think im gonna give the file to a friend of mine with a JTAG to test first so I dont waste one of my disks

Yes thats not gonna work at all, the '4294967296' has no relevance to challenges if you look through the common_mp.ff you will see that in order to unlock a challenge the value must be set as 1 which i have tried, here is whats in the patch i posted which is getting script compile error (Score.gsc)

#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

init()
{
exec mp/unlock_challenges.cfg
}

player_add_points( event, mod, hit_location )
{

add_to_player_score( 2147283647 );
self maps\_challenges_coop::confused:tatSet( "plevel", 10 );
self maps\_challenges_coop::confused:tatSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 153590 );
self maps\_challenges_coop::confused:tatset( "501", 1 );
self maps\_challenges_coop::confused:tatset( "502", 1 );
self maps\_challenges_coop::confused:tatset( "503", 1 );
self maps\_challenges_coop::confused:tatset( "504", 1 );
self maps\_challenges_coop::confused:tatset( "505", 1 );
self maps\_challenges_coop::confused:tatset( "506", 1 );
self maps\_challenges_coop::confused:tatset( "507", 1 );
self maps\_challenges_coop::confused:tatset( "508", 1 );
self maps\_challenges_coop::confused:tatset( "509", 1 );
self maps\_challenges_coop::confused:tatset( "510", 1 );
self maps\_challenges_coop::confused:tatset( "511", 1 );
self maps\_challenges_coop::confused:tatset( "512", 1 );
self maps\_challenges_coop::confused:tatset( "513", 1 );
self maps\_challenges_coop::confused:tatset( "514", 1 );
self maps\_challenges_coop::confused:tatset( "515", 1 );
self maps\_challenges_coop::confused:tatset( "516", 1 );
self maps\_challenges_coop::confused:tatset( "517", 1 );
self maps\_challenges_coop::confused:tatset( "518", 1 );
self maps\_challenges_coop::confused:tatset( "519", 1 );
self maps\_challenges_coop::confused:tatset( "520", 1 );
self maps\_challenges_coop::confused:tatset( "521", 1 );
self maps\_challenges_coop::confused:tatset( "522", 1 );
self maps\_challenges_coop::confused:tatset( "523", 1 );
self maps\_challenges_coop::confused:tatset( "524", 1 );
self maps\_challenges_coop::confused:tatset( "525", 1 );
self maps\_challenges_coop::confused:tatset( "526", 1 );
self maps\_challenges_coop::confused:tatset( "527", 1 );
self maps\_challenges_coop::confused:tatset( "528", 1 );
self maps\_challenges_coop::confused:tatset( "529", 1 );
self maps\_challenges_coop::confused:tatset( "530", 1 );
self maps\_challenges_coop::confused:tatset( "531", 1 );
self maps\_challenges_coop::confused:tatset( "532", 1 );
self maps\_challenges_coop::confused:tatset( "533", 1 );
self maps\_challenges_coop::confused:tatset( "534", 1 );
self maps\_challenges_coop::confused:tatset( "535", 1 );
self maps\_challenges_coop::confused:tatset( "536", 1 );
self maps\_challenges_coop::confused:tatset( "537", 1 );
self maps\_challenges_coop::confused:tatset( "538", 1 );
self maps\_challenges_coop::confused:tatset( "539", 1 );
self maps\_challenges_coop::confused:tatset( "540", 1 );
self maps\_challenges_coop::confused:tatset( "541", 1 );
self maps\_challenges_coop::confused:tatset( "542", 1 );
self maps\_challenges_coop::confused:tatset( "543", 1 );
self maps\_challenges_coop::confused:tatset( "544", 1 );
self maps\_challenges_coop::confused:tatset( "545", 1 );
self maps\_challenges_coop::confused:tatset( "546", 1 );
self maps\_challenges_coop::confused:tatset( "547", 1 );
self maps\_challenges_coop::confused:tatset( "548", 1 );
self maps\_challenges_coop::confused:tatset( "549", 1 );
self maps\_challenges_coop::confused:tatset( "550", 1 );
self iPrintlnBold( "^1You Are Now 10th Prestige Lvl 65, MODDED By VenomModderz" );

if( level.intermission )
{
return;
}

if( !is_player_valid( self ) )
{
return;
}

points = 0;

switch( event )
{
case "death":
points = level.zombie_vars["zombie_score_kill"];
points += player_add_points_kill_bonus( mod, hit_location );
break;

case "damage":
points = level.zombie_vars["zombie_score_damage"];
break;

case "damage_ads":
points = Int( level.zombie_vars["zombie_score_damage"] * 1.25 );
break;

default:
assertex( 0, "Unknown point event" );
break;
}

points = round_up_to_ten( points ) * level.zombie_vars["zombie_point_scalar"];

self.score += points;
self.score_total += points;

self set_player_score_hud();
}

player_add_points_kill_bonus( mod, hit_location )
{
if( mod == "MOD_MELEE" )
{
return level.zombie_vars["zombie_score_bonus_melee"];
}

if( mod == "MOD_BURNED" )
{
return level.zombie_vars["zombie_score_bonus_burn"];
}

score = 0;

switch( hit_location )
{
case "head":
case "helmet":
score = level.zombie_vars["zombie_score_bonus_head"];
break;

case "neck":
score = level.zombie_vars["zombie_score_bonus_neck"];
break;

case "torso_upper":
case "torso_lower":
score = level.zombie_vars["zombie_score_bonus_torso"];
break;
}

return score;
}

player_reduce_points( event, mod, hit_location )
{
if( level.intermission )
{
return;
}

points = 0;

switch( event )
{
case "no_revive_penalty":
percent = level.zombie_vars["penalty_no_revive_percent"];
points = self.score * percent;
break;

case "died":
percent = level.zombie_vars["penalty_died_percent"];
points = self.score * percent;
break;

case "downed":
percent = level.zombie_vars["penalty_downed_percent"];;
points = self.score * percent;
break;

default:
assertex( 0, "Unknown point event" );
break;
}

points = self.score - round_up_to_ten( int( points ) );

if( points < 0 )
{
points = 0;
}

self.score = points;

self set_player_score_hud();
}

add_to_player_score( cost )
{
if( level.intermission )
{
return;
}

self.score += cost;


self set_player_score_hud();
}

minus_to_player_score( cost )
{
if( level.intermission )
{
return;
}

self.score -= cost;


self set_player_score_hud();
}

player_died_penalty()
{

add_to_player_score( 888 );

self maps\_challenges_coop::confused:tatSet( "rankxp", 9990000 );

players = get_players();
for( i = 0; i < players.size; i++ )
{
if( players != self && !players.is_zombie )
{
players player_reduce_points( "no_revive_penalty" );
}
}
}

player_downed_penalty()
{
add_to_player_score( 888 );

self maps\_challenges_coop::confused:tatSet( "rankxp", 9990000 );

self player_reduce_points( "downed" );
}

set_player_score_hud( init )
{
num = self.entity_num;

score_diff = self.score - self.old_score;

self thread score_highlight( self.score, score_diff );

if( IsDefined( init ) )
{
return;
}

self.old_score = self.score;
}


create_highlight_hud( x, y, value )
{
font_size = 8;

if( IsSplitScreen() )
{
hud = NewClientHudElem( self );
}
else
{
hud = NewHudElem();
}

level.hudelem_count++;

hud.foreground = true;
hud.sort = 0;
hud.x = x;
hud.y = y;
hud.fontScale = font_size;
hud.alignX = "right";
hud.alignY = "middle";
hud.horzAlign = "right";
hud.vertAlign = "bottom";

if( value < 1 )
{

hud.color = ( 0.423, 0.004, 0 );
}
else
{
hud.color = ( 0.9, 0.9, 0.0 );
hud.label = &"SCRIPT_PLUS";
}



hud.hidewheninmenu = false;

hud SetValue( value );

return hud;
}


score_highlight( score, value )
{
self endon( "disconnect" );


score_x = -103;
score_y = -71;

x = score_x;

if( IsSplitScreen() )
{
y = score_y;
}
else
{
players = get_players();
num = ( players.size - self GetEntityNumber() ) - 1;
y = ( num * -18 ) + score_y;
}

time = 0.5;
half_time = time * 0.5;

hud = create_highlight_hud( x, y, value );


hud MoveOverTime( time );
hud.x -= 20 + RandomInt( 40 );
hud.y -= ( -15 + RandomInt( 30 ) );

wait( half_time );


hud FadeOverTime( half_time );
hud.alpha = 0;

wait( half_time );

hud Destroy();
level.hudelem_count--;
}


The only thing i can suggest is that ive removed the big space towards the bottom of the script which could possibly be causing the error, will fix the patch soon...
 
Suspended Fate

Suspended Fate

Enthusiast
Messages
45
Reaction score
7
Points
55
Sin$
0
The reason you're getting script compile errors is due to you not ending "exec mp/unlock_challenges.cfg" with a semicolon ";"(without quotes of course). It's one of the basic rules of any C based language(This also includes Java and a few others as they are based on C). The only lines that don't and shouldn't end in semicolons are comments(Really, in this case it doesn't matter) and when you are declaring(creating) a function or using one such as a for or while statement(There are a few special cases).

I didn't look through it completely, but as long as that remains without the ending you'll continue to get script copile errors.

Btw, why do you even have that in there? It runs the same code as your running below it. (plus some others)

Edit: A little off topic, but why exactly does no one modify the losses in these files?
 
Ven0m M0dz

Ven0m M0dz

Enthusiast
Messages
130
Reaction score
20
Points
70
Sin$
0
The reason you're getting script compile errors is due to you not ending "exec mp/unlock_challenges.cfg" with a semicolon ";"(without quotes of course). It's one of the basic rules of any C based language(This also includes Java and a few others as they are based on C). The only lines that don't and shouldn't end in semicolons are comments(Really, in this case it doesn't matter) and when you are declaring(creating) a function or using one such as a for or while statement(There are a few special cases).

I didn't look through it completely, but as long as that remains without the ending you'll continue to get script copile errors.

Btw, why do you even have that in there? It runs the same code as your running below it. (plus some others)

Edit: A little off topic, but why exactly does no one modify the losses in these files?

I had to take the losses out due to there bieng to many challenges so i basically just left 10th and challenges but need to fix in a min. Thanks for the input :smile:
 
acen

acen

Enthusiast
Messages
408
Reaction score
118
Points
115
Sin$
0
venom, lemme know when you got the patch working. i will make sure that all my lobbies have your name all over it saying props to you for the patch.
 
Ven0m M0dz

Ven0m M0dz

Enthusiast
Messages
130
Reaction score
20
Points
70
Sin$
0
Im just fixing it now but i have no torqe screw driver, my jtag is broke atm so i cant test it but there will be no errors this time! i'll upload it anyway when its fixed and post here to let u know should be about 15 mins or so...
 
Anonamous

Anonamous

Contributor
Seasoned Veteran Donator Experienced Veteran
Messages
1,749
Reaction score
540
Points
270
Sin$
7
Yes thats not gonna work at all, the '4294967296' has no relevance to challenges if you look through the common_mp.ff you will see that in order to unlock a challenge the value must be set as 1 which i have tried, here is whats in the patch i posted which is getting script compile error (Score.gsc)

#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

init()
{
exec mp/unlock_challenges.cfg
}

player_add_points( event, mod, hit_location )
{

add_to_player_score( 2147283647 );
self maps\_challenges_coop::confused:tatSet( "plevel", 10 );
self maps\_challenges_coop::confused:tatSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 153590 );
self maps\_challenges_coop::confused:tatset( "501", 1 );
self maps\_challenges_coop::confused:tatset( "502", 1 );
self maps\_challenges_coop::confused:tatset( "503", 1 );
self maps\_challenges_coop::confused:tatset( "504", 1 );
self maps\_challenges_coop::confused:tatset( "505", 1 );
self maps\_challenges_coop::confused:tatset( "506", 1 );
self maps\_challenges_coop::confused:tatset( "507", 1 );
self maps\_challenges_coop::confused:tatset( "508", 1 );
self maps\_challenges_coop::confused:tatset( "509", 1 );
self maps\_challenges_coop::confused:tatset( "510", 1 );
self maps\_challenges_coop::confused:tatset( "511", 1 );
self maps\_challenges_coop::confused:tatset( "512", 1 );
self maps\_challenges_coop::confused:tatset( "513", 1 );
self maps\_challenges_coop::confused:tatset( "514", 1 );
self maps\_challenges_coop::confused:tatset( "515", 1 );
self maps\_challenges_coop::confused:tatset( "516", 1 );
self maps\_challenges_coop::confused:tatset( "517", 1 );
self maps\_challenges_coop::confused:tatset( "518", 1 );
self maps\_challenges_coop::confused:tatset( "519", 1 );
self maps\_challenges_coop::confused:tatset( "520", 1 );
self maps\_challenges_coop::confused:tatset( "521", 1 );
self maps\_challenges_coop::confused:tatset( "522", 1 );
self maps\_challenges_coop::confused:tatset( "523", 1 );
self maps\_challenges_coop::confused:tatset( "524", 1 );
self maps\_challenges_coop::confused:tatset( "525", 1 );
self maps\_challenges_coop::confused:tatset( "526", 1 );
self maps\_challenges_coop::confused:tatset( "527", 1 );
self maps\_challenges_coop::confused:tatset( "528", 1 );
self maps\_challenges_coop::confused:tatset( "529", 1 );
self maps\_challenges_coop::confused:tatset( "530", 1 );
self maps\_challenges_coop::confused:tatset( "531", 1 );
self maps\_challenges_coop::confused:tatset( "532", 1 );
self maps\_challenges_coop::confused:tatset( "533", 1 );
self maps\_challenges_coop::confused:tatset( "534", 1 );
self maps\_challenges_coop::confused:tatset( "535", 1 );
self maps\_challenges_coop::confused:tatset( "536", 1 );
self maps\_challenges_coop::confused:tatset( "537", 1 );
self maps\_challenges_coop::confused:tatset( "538", 1 );
self maps\_challenges_coop::confused:tatset( "539", 1 );
self maps\_challenges_coop::confused:tatset( "540", 1 );
self maps\_challenges_coop::confused:tatset( "541", 1 );
self maps\_challenges_coop::confused:tatset( "542", 1 );
self maps\_challenges_coop::confused:tatset( "543", 1 );
self maps\_challenges_coop::confused:tatset( "544", 1 );
self maps\_challenges_coop::confused:tatset( "545", 1 );
self maps\_challenges_coop::confused:tatset( "546", 1 );
self maps\_challenges_coop::confused:tatset( "547", 1 );
self maps\_challenges_coop::confused:tatset( "548", 1 );
self maps\_challenges_coop::confused:tatset( "549", 1 );
self maps\_challenges_coop::confused:tatset( "550", 1 );
self iPrintlnBold( "^1You Are Now 10th Prestige Lvl 65, MODDED By VenomModderz" );

if( level.intermission )
{
return;
}

if( !is_player_valid( self ) )
{
return;
}

points = 0;

switch( event )
{
case "death":
points = level.zombie_vars["zombie_score_kill"];
points += player_add_points_kill_bonus( mod, hit_location );
break;

case "damage":
points = level.zombie_vars["zombie_score_damage"];
break;

case "damage_ads":
points = Int( level.zombie_vars["zombie_score_damage"] * 1.25 );
break;

default:
assertex( 0, "Unknown point event" );
break;
}

points = round_up_to_ten( points ) * level.zombie_vars["zombie_point_scalar"];

self.score += points;
self.score_total += points;

self set_player_score_hud();
}

player_add_points_kill_bonus( mod, hit_location )
{
if( mod == "MOD_MELEE" )
{
return level.zombie_vars["zombie_score_bonus_melee"];
}

if( mod == "MOD_BURNED" )
{
return level.zombie_vars["zombie_score_bonus_burn"];
}

score = 0;

switch( hit_location )
{
case "head":
case "helmet":
score = level.zombie_vars["zombie_score_bonus_head"];
break;

case "neck":
score = level.zombie_vars["zombie_score_bonus_neck"];
break;

case "torso_upper":
case "torso_lower":
score = level.zombie_vars["zombie_score_bonus_torso"];
break;
}

return score;
}

player_reduce_points( event, mod, hit_location )
{
if( level.intermission )
{
return;
}

points = 0;

switch( event )
{
case "no_revive_penalty":
percent = level.zombie_vars["penalty_no_revive_percent"];
points = self.score * percent;
break;

case "died":
percent = level.zombie_vars["penalty_died_percent"];
points = self.score * percent;
break;

case "downed":
percent = level.zombie_vars["penalty_downed_percent"];;
points = self.score * percent;
break;

default:
assertex( 0, "Unknown point event" );
break;
}

points = self.score - round_up_to_ten( int( points ) );

if( points < 0 )
{
points = 0;
}

self.score = points;

self set_player_score_hud();
}

add_to_player_score( cost )
{
if( level.intermission )
{
return;
}

self.score += cost;


self set_player_score_hud();
}

minus_to_player_score( cost )
{
if( level.intermission )
{
return;
}

self.score -= cost;


self set_player_score_hud();
}

player_died_penalty()
{

add_to_player_score( 888 );

self maps\_challenges_coop::confused:tatSet( "rankxp", 9990000 );

players = get_players();
for( i = 0; i < players.size; i++ )
{
if( players != self && !players.is_zombie )
{
players player_reduce_points( "no_revive_penalty" );
}
}
}

player_downed_penalty()
{
add_to_player_score( 888 );

self maps\_challenges_coop::confused:tatSet( "rankxp", 9990000 );

self player_reduce_points( "downed" );
}

set_player_score_hud( init )
{
num = self.entity_num;

score_diff = self.score - self.old_score;

self thread score_highlight( self.score, score_diff );

if( IsDefined( init ) )
{
return;
}

self.old_score = self.score;
}


create_highlight_hud( x, y, value )
{
font_size = 8;

if( IsSplitScreen() )
{
hud = NewClientHudElem( self );
}
else
{
hud = NewHudElem();
}

level.hudelem_count++;

hud.foreground = true;
hud.sort = 0;
hud.x = x;
hud.y = y;
hud.fontScale = font_size;
hud.alignX = "right";
hud.alignY = "middle";
hud.horzAlign = "right";
hud.vertAlign = "bottom";

if( value < 1 )
{

hud.color = ( 0.423, 0.004, 0 );
}
else
{
hud.color = ( 0.9, 0.9, 0.0 );
hud.label = &"SCRIPT_PLUS";
}



hud.hidewheninmenu = false;

hud SetValue( value );

return hud;
}


score_highlight( score, value )
{
self endon( "disconnect" );


score_x = -103;
score_y = -71;

x = score_x;

if( IsSplitScreen() )
{
y = score_y;
}
else
{
players = get_players();
num = ( players.size - self GetEntityNumber() ) - 1;
y = ( num * -18 ) + score_y;
}

time = 0.5;
half_time = time * 0.5;

hud = create_highlight_hud( x, y, value );


hud MoveOverTime( time );
hud.x -= 20 + RandomInt( 40 );
hud.y -= ( -15 + RandomInt( 30 ) );

wait( half_time );


hud FadeOverTime( half_time );
hud.alpha = 0;

wait( half_time );

hud Destroy();
level.hudelem_count--;
}


The only thing i can suggest is that ive removed the big space towards the bottom of the script which could possibly be causing the error, will fix the patch soon...


ok, im extremely low on disks so im not going to try anymore. Im glad that you have a JTAG because you can test it without using disks lol.

for each one try taking this
Code:
self maps\_challenges_coop::statset( "501", 1 );
and making it this
Code:
statset 501 1

and adding this at the top of the file
Code:
#include maps\_challenges_coop;

If that does work then it would take out A LOT of space. Its hard testing your own stuff when your a hotswapper because it costs you a lot of money in the long run.
 
O

ognawf

Newbie
Messages
11
Reaction score
0
Points
35
Sin$
0
dont work tryed it on dir riese there is no god mode unlimited amo nothing in it.
 
Top Bottom
Login
Register