Raised This Month: $ Target: $400
 0% 

[CS:S/CS:GO] SM:Conquest - Conquer flags on maps to win (Version 1.4.1, 19.11.2013)


Post New Thread Reply   
 
Thread Tools Display Modes
forepost
Junior Member
Join Date: Apr 2011
Old 04-12-2011 , 05:32   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #41

1. As I wrote above - adding "item_assaultsuit" "1" to smconquest_classes.cfg lead to server crash. Better to use another plugin te get kevlar. But I did not tried "item_kevlar" "1".

2. Good flag's location description of course necessary.But I mean another - the text TABLE on the middle bottom of the screen. After installing client's side HUD icons she is not more necessary. In the previous version of the mod (L.Duke) it was possible to switch table off using say !menu ---> switch off icons. There were 4 options (in say !menu) - 1. Choose class; 2. Buy items; 3. Display settings (to switch off score or text table); 4. Help (showing motd).
forepost is offline
EGood
Member
Join Date: Feb 2011
Location: Israel
Old 04-12-2011 , 06:11   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #42

Thanks!!! good job !!!!!!!!
EGood is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 04-12-2011 , 09:17   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #43

Open smconquest_classes.sp
Find
Code:
else if(StrEqual(sWeapon, "weapon_smokegrenade", false))
        {
            g_iPlayerGrenade[client][GRENADE_SMOKE] = GetArrayCell(hWeaponList, i+1);
            if(g_iPlayerGrenade[client][GRENADE_SMOKE] > 0)
                Client_GiveWeapon(client, sWeapon, false);
        }
After add
Code:
        else if(StrEqual(sWeapon, "item_vesthelm", false))
        {
            SetEntProp(client, Prop_Send, "m_ArmorValue", GetArrayCell(hWeaponList, i+1));
            SetEntProp(client, Prop_Send, "m_bHasHelmet", 1);
        }
        else if(StrEqual(sWeapon, "item_vest", false))
        {
            SetEntProp(client, Prop_Send, "m_ArmorValue", GetArrayCell(hWeaponList, i+1));
        }
        else if(StrEqual(sWeapon, "health", false))
        {
            Entity_SetHealth(client, GetArrayCell(hWeaponList, i+1));
        }
Compile and upload to server, after that you can add item_vest , item_vesthelm and health to classes config
example:
Code:
"PlayerClasses"
{
    "Marksman" // General Classname
    {
        "limit"    "1" // How many players in each team are allowed to use this class?
        "AWP/USP/smoke" // Different weapon set name
        {
            "weapon_awp" "30" // weapon name and how many bullets in second clip?
            "weapon_usp" "120"
            "weapon_smokegrenade" "1"
            "item_vest" "50"
            "health" "30"
        }
        "Autosniper"
        {
            "price" "8000"
            "weapon_g3sg1" "120"
            "weapon_usp" "120"
            "weapon_smokegrenade" "1"
            "item_vesthelm" "125"
        }
Attached Files
File Type: sp Get Plugin or Get Source (smconquest_classes.sp - 92 views - 19.8 KB)
File Type: smx smconquest.smx (62.8 KB, 153 views)
__________________

Last edited by KawMAN; 04-12-2011 at 14:32.
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
forepost
Junior Member
Join Date: Apr 2011
Old 04-12-2011 , 10:01   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #44

KawMAN, thank you. Will try this way. Hope it will compile without errors.
forepost is offline
bandit
Senior Member
Join Date: Jul 2009
Old 04-12-2011 , 11:58   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #45

Nice job..
If it works,please post it here for everyone else to use
Thanks KawMan

I also had a request to add speed for the classes.
Can you post that as well?

Last edited by bandit; 04-12-2011 at 12:02.
bandit is offline
Send a message via MSN to bandit
forepost
Junior Member
Join Date: Apr 2011
Old 04-12-2011 , 12:47   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #46

Suddenly, do not want to compile without any modification, many errors.
forepost is offline
rediem
SourceMod Donor
Join Date: Jul 2010
Old 04-12-2011 , 13:07   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #47

Damn, why does it has to crash all the time when people play ;( Fix pls

Last edited by rediem; 04-12-2011 at 13:13.
rediem is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 04-12-2011 , 14:29   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #48

Try to install SDKHooks 2 Beta, all plugins writed for SDKHooks 1.x should work on 2
__________________
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
forepost
Junior Member
Join Date: Apr 2011
Old 04-12-2011 , 15:40   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #49

KawMAN, thank you very much for compiled plugin!

Note: with your plugin got this -

L 04/12/2011 - 23:15:19: [SM] Displaying call stack trace for plugin "smconquest.smx":
L 04/12/2011 - 23:15:19: [SM] [0] Line 2125, D:\Serwery\wsciekle\SourceMOD\addons\sourcemo d\scripting\include\smlib/clients.inc::Client_SetScreenOverlayForAll()
L 04/12/2011 - 23:15:19: [SM] [1] Line 592, smconquest.sp::Event_OnRoundStart()

But got armor in game.

AND - weapon in game NOT SHOOTING! So funny! ;-)
Not working, back to not modified version

But, I confirm that server crash while peoples playing approx. every 20-40 minutes. (Installed MM:S 1.8.5 & SM 1.4.0 dev)
Will try new compiled + SDKHooks 2 Beta.

Last edited by forepost; 04-12-2011 at 16:18.
forepost is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 04-12-2011 , 17:32   Re: [CS:S] SM:Conquest - Conquer flags on maps to win (1.0)
Reply With Quote #50

Did anyone attach gdb to the process on linux to get a backtrace of that crash? You may want to compare the offsets for Weapon_Drop, Weapon_Switch, PostThink and StartTouch in your sdkhooks.games.txt with the ones listed in berni's awesome tool. If you're using a snapshot release of sourcemod, you should download the latest snapshot and overwrite the gamedata folder.

You really want that health and speed setting? Those classes are meant for weapon selection only initially.

How about adding that hint box display option into the clientpref !settings menu?
Adding a enable cvar would require a mapchange anyways due to the model downloads, so the way KawMAN described would do the job the same way. Anyone really needs that cvar?

Sorry for responding that late.

Quote:
Originally Posted by KawMAN View Post
I was developing same plugin (even with same flags), have some 70%
You've got anything to add? You may still want to share your plugin or merge any missing features you've already done? I'd love to see your solution, since i've got some really nasty nested arrays there;)

P.S.: You need to fix your smlib install as stated in the first post to get your compiled plugin working ;)
__________________
Peace-Maker 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 12:05.


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