Raised This Month: $32 Target: $400
 8% 

[CS:GO] Simple Ball Plugin (Soccerjam)


Post New Thread Reply   
 
Thread Tools Display Modes
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 01-09-2017 , 18:50   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #41

hi, after some requests to add your plugins features to MyJailbreak, I thought it would be better to add warden support to your plugin.
I just added warden access for the !ball menu and disabled the add & remove button for warden. So admin can add/remove the ball on every map and warden can only reset the ball (after a goal).
This works with eccas, ESK0, zipcores & MyJailbreak warden.
I haven't fixed or looked deeper into the server crash bug.
Attached Files
File Type: sp Get Plugin or Get Source (sm_ball_warden.sp - 372 views - 13.3 KB)
File Type: smx sm_ball_warden.smx (14.1 KB, 350 views)
__________________
coding & free software
shanapu is offline
trofimos
Junior Member
Join Date: Oct 2011
Location: localhost, Greece
Old 01-11-2017 , 01:18   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #42

Tested this plugin today, but when i try to spawn the ball it crashes the server. Segmentation fault with no info to share.
trofimos is offline
SHAREN
Senior Member
Join Date: Dec 2011
Old 01-27-2017 , 08:00   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #43

1)
Code:
)weapons/hegrenade/he_bounce-1.wav
should be replaced by
Code:
~)weapons/hegrenade/he_bounce-1.wav
that there was no sound grenades

2)
Crash
1. Add Ball
2. Remove Ball
3. sm plugins reload sm_ball
4. Add Ball ------> server crashed

Last edited by SHAREN; 01-27-2017 at 12:27.
SHAREN is offline
Send a message via Skype™ to SHAREN
wjrrr
AlliedModders Donor
Join Date: May 2017
Old 09-21-2017 , 16:20   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #44



what? help me please.
wjrrr is offline
ichiballs
Member
Join Date: Oct 2016
Old 10-27-2017 , 09:19   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #45

The only thing that happens when i type !ball is that it prints this in chat "[SM] Ball Plugin by mottzi."...No menu or anything else, any ideas? i added version 1.2
ichiballs is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 03-29-2018 , 20:23   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #46

same
Zyten is offline
eryk172
Member
Join Date: Aug 2013
Old 03-30-2018 , 09:01   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #47

@ichiballs You must add flag "ADMFLAG_BAN". Ummunited don't work
eryk172 is offline
TheBreaker777
New Member
Join Date: Sep 2018
Old 09-25-2018 , 12:55   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #48

Nice plugin and its working fine , but I'm wondering is there a plugin for football doors net's. I mean that on some maps with this plugin when the ball go in the football door it doesn't return the ball to the center and if there is no wall behind the door , the ball go away. I know a good plugin for ball and nets but it's for cs 1.6 and I'm wondering is there a plugin for the football door nets for cs go. If someone knows such a plugin please share it.
TheBreaker777 is offline
cristian20042
AlliedModders Donor
Join Date: Jun 2016
Location: Romania
Old 06-04-2019 , 15:16   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #49

Might be very late for me doing this, but I looked into the plugin and seems like it works if you put RespawnBall() after closing the handle, which makes sense because the coords aren't created yet and the ball can't spawn. I hope I helped, and have a great day

Here is the code change:

From:

PHP Code:
    char szMap[50]
    
GetCurrentMap(szMapsizeof szMap)
    
    if(
KvJumpToKey(ConfigTreeszMaptrue))
    {
        
float fOrigin[3]
        
GetPlayerEyeViewPoint(param1fOrigin)
        
fOrigin[2] += 20.0

        KvSetFloat
(ConfigTree"x"fOrigin[0])
        
KvSetFloat(ConfigTree"y"fOrigin[1])
        
KvSetFloat(ConfigTree"z"fOrigin[2])
        
        
g_BallSpawnOrigin fOrigin
        g_BallSpawnExists 
true

        RespawnBall
() //This is the problem
    
}
    
    
KvRewind(ConfigTree)
    
KeyValuesToFile(ConfigTreeszPathConfig)
    
    
CloseHandle(ConfigTree
PHP Code:
    char szMap[50]
    
GetCurrentMap(szMapsizeof szMap)
    
    if(
KvJumpToKey(ConfigTreeszMaptrue))
    {
        
float fOrigin[3]
        
GetPlayerEyeViewPoint(param1fOrigin)
        
fOrigin[2] += 20.0

        KvSetFloat
(ConfigTree"x"fOrigin[0])
        
KvSetFloat(ConfigTree"y"fOrigin[1])
        
KvSetFloat(ConfigTree"z"fOrigin[2])
        
        
g_BallSpawnOrigin fOrigin
        g_BallSpawnExists 
true
    
}
    
    
KvRewind(ConfigTree)
    
KeyValuesToFile(ConfigTreeszPathConfig)
    
    
CloseHandle(ConfigTree)
    
    
RespawnBall() //Move it here and the problem is fixed 
__________________
Steam - https://steamcommunity.com/id/sniperheroofficialu/
Discord - SniperHero#8545
cristian20042 is offline
jugule
AlliedModders Donor
Join Date: Apr 2020
Old 05-14-2020 , 20:46   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
Reply With Quote #50

the server sometimes crash when I create the ball.
jugule 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 11:11.


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