Raised This Month: $51 Target: $400
 12% 

JailBreak Mod


Post New Thread Reply   
 
Thread Tools Display Modes
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-14-2012 , 12:01   Re: JailBreak Mod
Reply With Quote #231

when I try to add maps to my server with this plugin that i customized a bit it sais gives me an error and chrashes the server:

FATAL ERROR (shutting down): Host_Error: PF_precache_model_I: Model 'sprites/wall_puff2.spr' failed to precache because the item count is over the 512 limit. Reduce the number of brush models and/or regular models in the map to correct this.

with other maps its a v_weaponmodel that gives me the error including your rikers_island map, any idea on what might be causing this?
__________________

Last edited by makavelli; 02-14-2012 at 12:01.
makavelli is offline
Pastout
Senior Member
Join Date: Dec 2010
Location: 1337 Street LeetTown
Old 02-14-2012 , 18:16   Re: JailBreak Mod
Reply With Quote #232

Quote:
Originally Posted by makavelli View Post
when I try to add maps to my server with this plugin that i customized a bit it sais gives me an error and chrashes the server:

FATAL ERROR (shutting down): Host_Error: PF_precache_model_I: Model 'sprites/wall_puff2.spr' failed to precache because the item count is over the 512 limit. Reduce the number of brush models and/or regular models in the map to correct this.

with other maps its a v_weaponmodel that gives me the error including your rikers_island map, any idea on what might be causing this?
Well its cause of the precach limit that cs has 512 failed to precache because the item count is over the 512 limit. So with that you // or i would have to remove some models and or sprites. Or if you have any other plugin that is not necessary that has models or sprites try to remove them and if the problem still occurs then start removing models or sprites from the jailbreak
Pastout is offline
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-15-2012 , 09:07   Re: JailBreak Mod
Reply With Quote #233

Quote:
Originally Posted by Pastout View Post
Well its cause of the precach limit that cs has 512 failed to precache because the item count is over the 512 limit. So with that you // or i would have to remove some models and or sprites. Or if you have any other plugin that is not necessary that has models or sprites try to remove them and if the problem still occurs then start removing models or sprites from the jailbreak
ok i'l take a look at some plugins to see if i can remove any

precache_model sentences, thats what you mean right?
Does precache_sound also counts for this?
__________________
makavelli is offline
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-15-2012 , 09:20   Re: JailBreak Mod
Reply With Quote #234

omg pastout i love you man haha ,
I removed hatsplugin (it had like 86 models or something to precache) and now it works again, been looking on how to fix this but didnt make much progress.
thank you very much!!
__________________
makavelli is offline
nsix
Member
Join Date: Apr 2011
Old 02-15-2012 , 10:48   Re: JailBreak Mod
Reply With Quote #235

pastout this mod is amazing karma +1
__________________
nsix is offline
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-15-2012 , 15:07   Re: JailBreak Mod
Reply With Quote #236

only +1? hell, i think im gonna donate him some money for this plugin once my jb server is ready
__________________
makavelli is offline
TzK
Member
Join Date: Apr 2010
Old 02-15-2012 , 16:33   Re: JailBreak Mod
Reply With Quote #237

Can you make something like command for admins: /noct, so no players will be able to join ct team? Because, if there is no admin, so players can join ct, but if admin, he choose who will play, and after it just close way to join ct team with /noct.
__________________
Who`s batman? WAHAHAHA
TzK is offline
Send a message via Skype™ to TzK
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-16-2012 , 13:46   Re: JailBreak Mod
Reply With Quote #238

Quote:
Originally Posted by TzK View Post
Can you make something like command for admins: /noct, so no players will be able to join ct team? Because, if there is no admin, so players can join ct, but if admin, he choose who will play, and after it just close way to join ct team with /noct.
?
You can use amx_super for that, that function is in it, but what you really need is a team ratio plugin becous if the admin is not in the server and your /noct would be enabled then nobody can join ct anymore.

Do you use this jbplugin for cs or cz?
I'd sugest you use this team manager AIO from exolent, Personally I am having a bug with it so I cant use it but I need to see if other players have the same problem.
__________________
makavelli is offline
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-17-2012 , 11:31   Re: JailBreak Mod
Reply With Quote #239

1. What forward should I use best to place this in (when last ter or ct has died a random sound must play):
PHP Code:
if (fnGetCounterTerrorists() >= && fnGetTerrorists() == 0)
    {
        new 
iRandom random_num);
        switch( 
iRandom 
        {     
            case 
1client_cmd(0"mp3 play sound/whoopwhoop.mp3");
            case 
2emit_sound(0CHAN_VOICE"jailbreakendsounds/guards2.wav"1.0ATTN_NORM0PITCH_NORM);
            case 
3emit_sound(0CHAN_VOICE"jailbreakendsounds/guards4.wav"1.0ATTN_NORM0PITCH_NORM);
        }
    }
    if (
fnGetCounterTerrorists() == && fnGetTerrorists() >= 1)
    {
        new 
iRandom random_num);
        switch( 
iRandom 
        {     
            case 
1emit_sound(0CHAN_VOICE"jailbreakendsounds/prisoners1.wav"1.0ATTN_NORM0PITCH_NORM);
            case 
2emit_sound(0CHAN_VOICE"prisoners2.wav"1.0ATTN_NORM0PITCH_NORM);
            case 
3emit_sound(0CHAN_VOICE"jailbreakendsounds/prisoners4.wav"1.0ATTN_NORM0PITCH_NORM);
        }
    } 
When i put this in event roundend the sounds dont always play, also when the game is commencing 2 or 3 sounds sometimes play all together

----------------------------

2. another glitch found:

Once a ter has done a lr and they have finished and a new round started,
The cts cant get a weapon from the class menu it sais you cant get a weapon during a lr.
Can i place this in eventroundend so that the cts could get a weapon again?
PHP Code:
g_iGameType 
becous when i do this I get awarning: Warning: Tag mismatch on line 5093
PHP Code:
if(!g_iGameType == 0//line 5093
    
{
        
fnColorPrint(id"%L"LANG_SERVER"JB_DAY_M174");
        return 
PLUGIN_HANDLED;
    } 
3. how can I make it so that ct's can pickup/recieve a second weapon after they have choosen a weapon from the classmenu
__________________

Last edited by makavelli; 02-17-2012 at 11:58.
makavelli is offline
makavelli
Senior Member
Join Date: Nov 2006
Location: Belgium
Old 02-18-2012 , 08:30   Re: JailBreak Mod
Reply With Quote #240

pastout: for you fngetterrorists and counterterrorists,
I sometimes get a glitch that it doesnt count the players, is this becous its not working with i
PHP Code:
fnGetTerrorists() {
    
/* Get's the number of terrorists */
    
static iPlayers[32], iNum;
    
get_players(iPlayersiNum"ae""TERRORIST"); 
    return 
iNum;
}

fnGetCounterTerrorists() {
    
/* Get's the number of counter-terrorists */
    
static iPlayers[32], iNum;
    
get_players(iPlayersiNum"ae""CT");
    return 
iNum;

won't the glitch be gone if i do it something like this?:
PHP Code:
fnGetTerrorists() {
    
/* Get's the number of terrorists */
    
static iPlayers[32], iNumi;
    
get_players(iPlayersiNum"ae""TERRORIST"); 
    for( 
0iNumi++ )
    return 
i;
}

fnGetCounterTerrorists() {
    
/* Get's the number of counter-terrorists */
    
static iPlayers[32], iNumi;
    
get_players(iPlayersiNum"ae""CT");
    for( 
0iNumi++ )
    return 
i;

__________________
makavelli is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode