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

[L4D & L4D2] Mutant Tanks (v9.1, 3-20-2024)


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-23-2018 , 15:36   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #131

You have to place the super_tanks++.inc inside addons/sourcemod/scripting/include folder and use the local compiler.
__________________

Last edited by Psyk0tik; 06-23-2018 at 15:37.
Psyk0tik is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 06-23-2018 , 16:30   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #132

Hi Crasher, to report.

The JUMPER tanks are not jumping.

I checked everything and reinstalled twice,
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-23-2018 , 16:37   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #133

I tested Jumper Tank just now with a friend and we both confirmed that the Jumper Tank does jump.
__________________
Psyk0tik is offline
emsit
Member
Join Date: Apr 2015
Old 06-23-2018 , 17:05   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #134

recommended change for the menu (added menu.Selection)

PHP Code:
public Action cmdTank(int clientint args)
{
    if (!
g_cvSTEnable.BoolValue)
    {
        
ReplyToCommand(client"\x04%s\x01 Super Tanks++ is disabled."ST_PREFIX);
        return 
Plugin_Handled;
    }
    if (!
bIsValidHumanClient(client))
    {
        
ReplyToCommand(client"%s This command is to be used only in-game."ST_PREFIX);
        return 
Plugin_Handled;
    }
    if (!
bIsSystemValid(g_cvSTGameModeg_cvSTEnabledGameModesg_cvSTDisabledGameModesg_cvSTGameModeTypes))
    {
        
ReplyToCommand(client"\x04%s\x01 Game mode not supported."ST_PREFIX);
        return 
Plugin_Handled;
    }
    
char tank[32];
    
GetCmdArg(1tanksizeof(tank));
    
int type StringToInt(tank);
    if (
args 1)
    {
        
IsVoteInProgress() ? ReplyToCommand(client"\x04%s\x01 %t"ST_PREFIX"Vote in Progress") : vTankMenu(client0);
        return 
Plugin_Handled;
    }
    else if (
type 36 || args 1)
    {
        
ReplyToCommand(client"\x04%s\x01 Usage: sm_tank <type 1-36>"ST_PREFIX);
        return 
Plugin_Handled;
    }
    
vTank(clienttype);
    return 
Plugin_Handled;
}

void vTankMenu(int clientint item)
{
    
Menu mTankMenu = new Menu(iTankMenuHandler);
    
mTankMenu.SetTitle("Super Tanks++ Menu");
    
mTankMenu.AddItem("Acid Tank""Acid Tank");
    
mTankMenu.AddItem("Ammo Tank""Ammo Tank");
    
mTankMenu.AddItem("Blind Tank""Blind Tank");
    
mTankMenu.AddItem("Bomb Tank""Bomb Tank");
    
mTankMenu.AddItem("Boomer Tank""Boomer Tank");
    
mTankMenu.AddItem("Charger Tank""Charger Tank");
    
mTankMenu.AddItem("Clone Tank""Clone Tank");
    
mTankMenu.AddItem("Common Tank""Common Tank");
    
mTankMenu.AddItem("Drug Tank""Drug Tank");
    
mTankMenu.AddItem("Fire Tank""Fire Tank");
    
mTankMenu.AddItem("Flash Tank""Flash Tank");
    
mTankMenu.AddItem("Fling Tank""Fling Tank");
    
mTankMenu.AddItem("Ghost Tank""Ghost Tank");
    
mTankMenu.AddItem("Gravity Tank""Gravity Tank");
    
mTankMenu.AddItem("Heal Tank""Heal Tank");
    
mTankMenu.AddItem("Hunter Tank""Hunter Tank");
    
mTankMenu.AddItem("Hypno Tank""Hypno Tank");
    
mTankMenu.AddItem("Ice Tank""Ice Tank");
    
mTankMenu.AddItem("Idle Tank""Idle Tank");
    
mTankMenu.AddItem("Invert Tank""Invert Tank");
    
mTankMenu.AddItem("Jockey Tank""Jockey Tank");
    
mTankMenu.AddItem("Jumper Tank""Jumper Tank");
    
mTankMenu.AddItem("Meteor Tank""Meteor Tank");
    
mTankMenu.AddItem("Puke Tank""Puke Tank");
    
mTankMenu.AddItem("Restart Tank""Restart Tank");
    
mTankMenu.AddItem("Rocket Tank""Rocket Tank");
    
mTankMenu.AddItem("Shake Tank""Shake Tank");
    
mTankMenu.AddItem("Shield Tank""Shield Tank");
    
mTankMenu.AddItem("Shove Tank""Shove Tank");
    
mTankMenu.AddItem("Slug Tank""Slug Tank");
    
mTankMenu.AddItem("Smoker Tank""Smoker Tank");
    
mTankMenu.AddItem("Spitter Tank""Spitter Tank");
    
mTankMenu.AddItem("Stun Tank""Stun Tank");
    
mTankMenu.AddItem("Visual Tank""Visual Tank");
    
mTankMenu.AddItem("Warp Tank""Warp Tank");
    
mTankMenu.AddItem("Witch Tank""Witch Tank");

    
mTankMenu.DisplayAt(clientitemMENU_TIME_FOREVER);

}

public 
int iTankMenuHandler(Menu menuMenuAction actionint param1int param2)
{
    switch (
action)
    {
        case 
MenuAction_Enddelete menu;
        case 
MenuAction_Select:
        {
            switch (
param2)
            {
                case 
0vTank(param11);
                case 
1vTank(param12);
                case 
2vTank(param13);
                case 
3vTank(param14);
                case 
4vTank(param15);
                case 
5vTank(param16);
                case 
6vTank(param17);
                case 
7vTank(param18);
                case 
8vTank(param19);
                case 
9vTank(param110);
                case 
10vTank(param111);
                case 
11vTank(param112);
                case 
12vTank(param113);
                case 
13vTank(param114);
                case 
14vTank(param115);
                case 
15vTank(param116);
                case 
16vTank(param117);
                case 
17vTank(param118);
                case 
18vTank(param119);
                case 
19vTank(param120);
                case 
20vTank(param121);
                case 
21vTank(param122);
                case 
22vTank(param123);
                case 
23vTank(param124);
                case 
24vTank(param125);
                case 
25vTank(param126);
                case 
26vTank(param127);
                case 
27vTank(param128);
                case 
28vTank(param129);
                case 
29vTank(param130);
                case 
30vTank(param131);
                case 
31vTank(param132);
                case 
32vTank(param133);
                case 
33vTank(param134);
                case 
34vTank(param135);
                case 
35vTank(param136);
            }
            if (
IsClientInGame(param1) && !IsClientInKickQueue(param1))
            {
                
vTankMenu(param1menu.Selection);
            }
        }
    }

__________________

emsit is offline
emsit
Member
Join Date: Apr 2015
Old 06-23-2018 , 17:43   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #135

I think the shielded tank does not work for me. I can kill him with an active shield.
__________________

emsit is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-23-2018 , 17:55   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #136

Any explosive damage will deactivate his shield. If you have explosive ammo then that will also damage him. I tested Shield Tank and he's immune to everything else when his shield is activated.
__________________
Psyk0tik is offline
FatalOE71
Member
Join Date: Jun 2018
Old 06-23-2018 , 23:10   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #137

Quote:
Originally Posted by Crasher_3637 View Post
You have to place the super_tanks++.inc inside addons/sourcemod/scripting/include folder and use the local compiler.
I have copied everything up the exact way you have it and it still say it can't read the file. Yours is the only plugin I can't compile. I get the same message every time I try to compile it, it can not read the file. Go back to an earlier version of Super Tanks it work great, but not this recent one.

This is not my first time doing this, I have tried several different ways and the error remains the same. So maybe the zip is damaged, cause I tried to download it again and get the same results.

I would love to be able to use it, just thought since you wrote it you may have an idea why it can not be read.

Last edited by FatalOE71; 06-23-2018 at 23:11.
FatalOE71 is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 06-23-2018 , 23:24   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #138

Quote:
Originally Posted by Crasher_3637 View Post
I tested Jumper Tank just now with a friend and we both confirmed that the Jumper Tank does jump.
I'll change the props to see if this is causing any error
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 06-23-2018 , 23:34   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #139

L 06/24/2018 - 01:08:24: [SM] Call stack trace:
L 06/24/2018 - 01:08:24: [SM] [0] GetEntPropVector
L 06/24/2018 - 01:08:24: [SM] [1] Line 1997, super_tanks++.sp::vFakeJump
L 06/24/2018 - 01:08:24: [SM] [2] Line 3287, super_tanks++.sp::tTimerJump
L 06/24/2018 - 01:08:25: [SM] Exception reported: Property "m_vecVelocity" not found (entity 4/player)
L 06/24/2018 - 01:08:25: [SM] Blaming: super_tanks++.smx
L 06/24/2018 - 01:08:25: [SM] Call stack trace:
L 06/24/2018 - 01:08:25: [SM] [0] GetEntPropVector
L 06/24/2018 - 01:08:25: [SM] [1] Line 1997, super_tanks++.sp::vFakeJump
L 06/24/2018 - 01:08:25: [SM] [2] Line 3287, super_tanks++.sp::tTimerJump
L 06/24/2018 - 01:08:26: [SM] Exception reported: Property "m_vecVelocity" not found (entity 4/player)
L 06/24/2018 - 01:08:26: [SM] Blaming: super_tanks++.smx
L 06/24/2018 - 01:08:26: [SM] Call stack trace:
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-24-2018 , 02:09   Re: [L4D & L4D2] Super Tanks++ (v8.11, 06-22-2018)
Reply With Quote #140

I'm not finished with v8.12 but you can download it from the GitHub repository to see if it still gives you those errors. I moved a line of code around since that seemed to be what was causing them. It'll take me awhile to actually finish v8.12 but I did optimize a lot of the code and added emsit's suggestion a few posts above about menu.Selection. As always, if you encounter any bugs/errors/issues, feel free to post here, private message me, or file an issue on the GitHub repo. And if you want to make a pull request (suggest some code changes, etc.), feel free to do so.

Super Tanks++ is far from perfect but I'm hoping that you guys can help me iron out all the bugs we can find. I have a ton of new ideas for the plugin (including the combination ideas from Super Tanks+ like Boss, Goliath, Trap, etc.) so this plugin is far from being a finished product.
__________________
Psyk0tik 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 07:31.


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