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

Soccer Jam v2.07a


Post New Thread Reply   
 
Thread Tools Display Modes
EthicalHacker007
Veteran Member
Join Date: May 2014
Old 07-02-2014 , 07:35   Re: Soccer Jam v2.07a
Reply With Quote #711

Spam or what?
__________________
EthicalHacker007 is offline
TheAutomatiK
Junior Member
Join Date: Jun 2014
Old 07-02-2014 , 08:10   Re: Soccer Jam v2.07a
Reply With Quote #712

not spam bro, i really am looking for a big sponsor who can sponsor a big prize and set up hltv etc for a big fan following and branding event to coincide with the final match of brazil
TheAutomatiK is offline
arbol
Junior Member
Join Date: Sep 2013
Location: Argentina
Old 11-04-2014 , 09:15   Re: Soccer Jam v2.07a
Reply With Quote #713

http://soccermodpro.wordpress.com/history-of-soccermod/
[IMG]http://s15.************/i71r266yj/MODS_ABOUT_SOCCER.jpg[/IMG]
[IMG]http://http://************/image/t6mydrxdj/full/[/IMG]
arbol is offline
TheAutomatiK
Junior Member
Join Date: Jun 2014
Old 02-01-2015 , 02:12   Re: Soccer Jam v2.07a
Reply With Quote #714

SoccerMod pro is cool, give it a try on CS GO
TheAutomatiK is offline
danonix
Senior Member
Join Date: Dec 2012
Old 02-07-2015 , 16:32   Re: Soccer Jam v2.07a
Reply With Quote #715

Hello, finally I have found the bug, which caused Segmentation fault. It would be great if someone could help me with repairing it.
Code:
L 02/07/2015 - 19:49:41: [AMXX] Run time error 4: index out of bounds 
L 02/07/2015 - 19:49:41: [AMXX]    [0] soccerjam.sma::touchNet (line 1310)
And here is touchNet function
PHP Code:
public touchNet(ballgoalpost)
{
    
remove_task(55555)
    
    new 
team get_user_team(ballowner)
    new 
goalent GoalEnt[team]  // line 1310
    
if (goalpost != goalent && ballowner 0) {
        
        new 
Players[32
        new 
playerCountT,playerCountCT
        get_players
(PlayersplayerCountT"ce","TERRORIST")    
        
get_players(PlayersplayerCountCT"ce","CT")    
        
        if((
playerCountT>3)&&( playerCountCT>3))pop=3
        
else if((playerCountT>2)&&( playerCountCT>2)) pop=2
            
else pop=1
        
        
if(PowerPlay<pop){
            
user_slap(ballowner5)
            if(
get_speed(ball) > 10){
                new 
Float:v[3]
                
entity_get_vector(ballEV_VEC_velocityv)
                
                
v[0] = (v[0] * 0.85)
                
v[1] = (v[1] * 0.85)
                
v[2] = (v[2] * 0.85)
                
entity_set_vector(ballEV_VEC_velocityv)
                
emit_sound(ballCHAN_ITEMBALL_BOUNCE_GROUND1.0ATTN_NORM0PITCH_NORM)
            }
            new 
text[64]
            
format(text,63,"^x04*** By strzelic bramke PowerPlay musi byc minimum %i ***",pop-1)
            
            
message_begin(MSG_ONEget_user_msgid("SayText"), {0,0,0}, ballowner)
            
write_byte(ballowner)
            
write_string(text)
            
message_end()
            
ColorChat(0GREEN,"By zwiekszyc poziom power play nalezy podawac do swojej druzyny ( przycisk E )")
            
ColorChat(0GREEN,"[POWERPLAY]^x01 Musi byc^x03 %i^x01 podan miedzy zawodnikami, by strzelic gola",pop-1)
            
user_slap(ballowner5)
            return 
PLUGIN_HANDLED        
        
}
        
        
// Powerpaly ograniczenie koniec
        
        
new aname[64]
        new 
Float:netOrig[3]
        new 
netOrig2[3]
        
        
entity_get_vector(ballEV_VEC_origin,netOrig)
        new 
l
        
for(l=0;l<3;l++)
            
netOrig2[l] = floatround(netOrig[l])
        
flameWave(netOrig2)
        
netOrig2[2] = netOrig2[2]+100;
        
stworz_gol(netOrig2);
        
get_user_name(ballowner,aname,63)
        new 
frags get_user_frags(ballowner)
        
entity_set_float(ballownerEV_FL_fragsfloat(frags 10))
        
        
play_wav(0SCORED_GOAL)
        
        
/////////////////////ASSIST CODE HERE///////////
        
        
new assisters[4] = { 000}
        new 
iassisters 0
        
new ilastplayer iassistteam ]
        
        
// We just need the last player to kick the ball
        // 0 means it has passed 15 at least once
        
if ( ilastplayer == )
            
ilastplayer 15
        
else
            
ilastplayer--
        
        if ( 
assistilastplayer ] != ) {
            new 
ixbool:canaddplayerid
            
for(i=0i<16i++) {
                
// Stop if we've already found 4 assisters
                
if ( iassisters == MAX_ASSISTERS )
                    break
                
playerid assist]
                
// Skip if player is invalid
                
if ( playerid == )
                    continue
                
// Skip if kicker is counted as an assister
                
if ( playerid == assistilastplayer ] )
                    continue
                
                
canadd true
                
// Loop through each assister value
                
for(x=0x<3x++)
                    
// make sure we can add them
                
if ( playerid == assisters] ) {
                    
canadd false
                    
break
                }
                
                
// Skip if they've already been added
                
if ( canadd == false )
                    continue
                
// They didn't kick the ball last, and they haven't been added, add them
                
assistersiassisters++ ] = playerid
            
}
            
// This gives each person an assist, xp, and prints that out to them
            
new cpass
            
for(c=0c<iassistersc++) {
                
pass assisters]
                
Event_Record(passASSIST, -1EXP_ASSIST)
                
client_printpassprint_chat"%L",pass,"EXP_FOR_ASSIST",EXP_ASSIST)
            }
        }
        
iassist] = 0
        
/////////////////////ASSIST CODE HERE///////////
        
        
for(l=0l<3l++)
            
distorig[1][l] = floatround(netOrig[l])
        new 
distshot = (get_distance(distorig[0],distorig[1])/12)
        new 
gainedxp distshot EXP_GOAL
        
        format
(temp1,63,"%L",LANG_PLAYER,"SCORED_GOAL",TeamNames[team],aname,distshot)
        
client_print(0,print_console,"%s",temp1)
        
        
        if(
distshot MadeRecord[ballowner][DISTANCE])
            
Event_Record(ballownerDISTANCEdistshot0)// record distance, and make that distance exp
        
        
Event_Record(ballownerGOAL, -1gainedxp)    //zero xp for goal cause distance is what gives it.
        
        //Increase Score, and update cvar score
        
score[team]++
        switch(
team) {
            case 
1set_cvar_num("score_ct",score[team])
                case 
2set_cvar_num("score_t",score[team])
            }
        
client_print(ballowner,print_chat,"%L",ballowner,"EXP_FOR_GOAL",gainedxp,distshot)
        
        new 
oteam = (team == 1)
        
increaseTeamXP(team75)
        
increaseTeamXP(oteam50)
        
moveBall(0)
        
        new 
x
        
for(x=1x<=maxplayersx++) {
            if(
is_user_connected(x))
            {
                
Event_Record(xGOALYGoalyPoints[x], 0)
                new 
kills get_user_frags(x)
                new 
deaths cs_get_user_deaths(x)
                
setScoreInfo(x)
                if( 
deaths 0)
                    
PlayerDeaths[x] = deaths
                
if( kills 0)
                    
PlayerKills[x] = kills
            
}
        }
        
        if(
score[team] < get_pcvar_num(CVAR_SCORE)) {
            new 
random_num(0,MAX_SOUNDS-1)
            
client_cmd(0"mp3 play sound/%s"SCORED_SOUNDS[r]);
            
        }
        else {
            
winner team
            format
(scoreboard,1024,"%L",LANG_PLAYER,"TEAM_WINS",TeamNames[team])
            
set_task(1.0,"showhud_winner",0,"",0,"a",3)
        }
        
        
server_cmd("sv_restart 4")
        
    }
    else if(
goalpost == goalent) {
        
moveBall(0team)
        
client_print(ballowner,print_chat,"%L",ballowner,"CANNOT_KICK_GOAL")
    }
    return 
PLUGIN_HANDLED


Last edited by danonix; 02-07-2015 at 16:33.
danonix is offline
sandrucolazo
Junior Member
Join Date: Jun 2010
Old 11-29-2015 , 04:27   Re: Soccer Jam v2.07a
Reply With Quote #716

Hello all
I have a problem.
1)I was playing Soccerjam-Pro mod in sj_trix_zone with 5 players more in my server, then I change for the map sj_futsal(with the same mode) and appears it.
This appeared repeatedly causing lag in the users

L 11/27/2015 - 23:13:26: [ENGINE] Invalid player 0 (not in-game)
L 11/27/2015 - 23:13:26: [AMXX] Displaying debug trace (plugin "Sj-Pro.amxx")
L 11/27/2015 - 23:13:26: [AMXX] Run time error 10: native error (native "entity_range")
L 11/27/2015 - 23:13:26: [AMXX] [0] float.inc:perator>(Float:,Float (line 13
L 11/27/2015 - 23:13:26: [AMXX] [1] Sj-Pro.sma::client_PreThink (line 3057)

*Before I had activated the debug in the plugin

How can I resolve this issue?
Thanks a lot for ur response.
sandrucolazo is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 08-21-2016 , 09:49   Re: Soccer Jam v2.07a
Reply With Quote #717

how to disable knife kill ?
Godofwar is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 08-23-2016 , 14:04   Re: Soccer Jam v2.07a
Reply With Quote #718

No One can give me a Answer or help`?
Godofwar is offline
Neon123
Senior Member
Join Date: Jan 2016
Old 10-12-2016 , 01:25   Re: Soccer Jam v2.07a
Reply With Quote #719

how to spawn the ball in the first round
Neon123 is offline
davidkoh007
Junior Member
Join Date: Mar 2015
Old 07-03-2017 , 11:16  
Reply With Quote #720

SoccerJamPlus Public
Original by OneEyed, continued support by Doondook & DK.
current version: 2.1.1

Hi, since this plugin's official support has been discontinued long time ago, Doondook has been constantly updating the tournament mod for professional european SJ community. After he left I've fixed a couple of things, implemented bunch of stuff and optimized the code for a public version. The result is a stable mod with a lot of stuff implemented and pretty much all known bugs fixed.


Fixed Bugs:

- spectator bug causing crash;
- own goal upon shooting in an own net while changing team;
- trolls shooting ball at rooftop at soccerjam map (artificial block enitity);
- turbo bug (jumping and spamming turbo = no slow down);
- voting for extending map at game end resulting in a map without ball for x minutes;
- player getting blocked by texture at soccerjam.bsp (soccerjam2017.bsp fixed version of the original map);
- ball missing after goal is scored and every player from a certain team is dead;
- ball missing at first round.


New Stuff:

- Admin menu - Contains MULTIBALL, GLOBAL CHAT ON/OFF, TRAINING MODE (command showbriefing in console);
- Anti Hunt (sj_lamedist);
- Anti Lame;
- Round End Blocker;
- Ball rotating animation;
- Team colours ball trail (for colours check config sj_plus_public.cfg);
- Map Chooser (sj_mapchooser, map list in sj_plus_maps.ini);
- AFK Manager (sj_afk_enable);
- Instant AutoTeam Balance;
- Anti Fps abuse (sj_antideveloper);
- Global HP regeneration (sj_regen);
- Skills reseting option;
- More statistics tracked & ability to check stats during game;
- Implemented speed-o-meter;
- Showing game score in game description;
- Alien timer.

Config Files:

- sj_plus_config.cfg - check for further customizations
- sj_plus_maps.ini - mapchooser's custom map list


Lang Files:

- sj_plus_motd.txt
- sj_plus_hud.txt


Code:
*		Console CMDS:	
*		- showbriefing - shows SJ admin menu
*		- amx_restart - restarts server
*		
*		Chat CMDS:
*		- .reset - reset your skills
*		- .skills [player] - show [player's] skills
*		- .stats [player] - show [player's] stats
*		- .whois - show everyone's country
*		- rtv - rock the vote
*		- .spec - change team to spectators
*		- .cam - toggle camera view
*		- [mapname] - nominate your desired map to be shown on next mapvote
*		
*		Console CVARS:
* 		- sj_multiball (20) - amount of the balls for "multiball" command
* 		     		      (32 balls is the limit to prevent server crashes);
* 		- sj_lamedist (90) - max distance to the opposite goals as far you can score,
* 		    		    if there is no opponents in alien zone in moment of shoot;
*		- sj_antideveloper (0) - enables antideveloper, warns & kicks player if his fps_override or developer is set to 1;
*		- sj_regen (0) - enables global HP regeneration;
*		- sj_blockspray (0) - blocks impulse 201 (spray logo);
* 		- sj_alienmin (10.0) - minimal damage done by alien;
* 		- sj_alienmax (12.0) - maximum damage done by alien;	
*		- sj_mapchooser (1) - enables SJ mapchooser - example syntax in sj_plus_maps.ini. Use this one since majority of different mapchoosers don't work right with SJ mods.
*		- sj_afk_enable (1) - AFK kicker ON/OFF
*			- sj_afk_transfer_time (12) - 12*5 (=60) seconds to transfer AFK player spec
*			- sj_afk_kick_time (24) - 24*5 seconds to kick AFK player from server
*			- sj_afk_kick_players (10) - minimum number of players required to be present on server to start kicking AFK players
*		- sj_score - winning score (public mode only);
*		- sj_scoret - current Terrorists score;
*		- sj_scorect - current Counter-Terrorists score;
* 		- sj_idleball (30.0) - idle ball time in seconds.

Installation:

1) Download soccerjamplus.zip at https://github.com/davidkohout/SoccerjamPlusPublic (The plugin can't be posted and compiled here because of custom include files).
2) Copy & Paste (& Overwrite) all files from soccerjamplus folder on your server.
3) Enable soccerjam+.amxx in plugins.ini and disable unecessary plugins - AFK Kicker, AntiFps Abuse, Map Chooser, Camera Changer, Round End Blocker (= fake team bots) - all of these are included in the soccerjam+ plugin.
4) Restart server from CONTROL PANEL & Enjoy!


- The .zip file contains all models, sounds, recommended maps, compiled plugin, .sma file with used include files, config & lang files, and latest GEOIP+ by Arkshine;

- AMXModX version 1.8.2 and latest GEOIP+ module required.

- If you wish to compile locally, please make sure to use the provided include files and AMXX version 1.8.2.

Last edited by davidkoh007; 08-30-2018 at 13:28.
davidkoh007 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 08:23.


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