Raised This Month: $ Target: $400
 0% 

[ANY] Store by Zephyrus [1.1 - 03.01.2016]


Post New Thread Reply   
 
Thread Tools Display Modes
mikey548
Junior Member
Join Date: Nov 2014
Old 09-25-2016 , 10:07   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #871

hey iam noob in scripting can anyone maybe the bunnyhop like abner bunnyhop with boost a bit when u jump so it's not so bad

#if defined STANDALONE_BUILD
#include <sourcemod>
#include <sdktools>

#include <store>
#include <zephstocks>

new bool:GAME_TF2 = false;
#endif

#if defined STANDALONE_BUILD
public OnPluginStart()
#else
public Bunnyhop_OnPluginStart()
#endif
{
#if defined STANDALONE_BUILD
// TF2 is unsupported
new String:m_szGameDir[32];
GetGameFolderName(m_szGameDir, sizeof(m_szGameDir));
if(strcmp(m_szGameDir, "tf")==0)
GAME_TF2 = true;
#endif
Store_RegisterHandler("bunnyhop", "", Bunnyhop_OnMapStart, Bunnyhop_Reset, Bunnyhop_Config, Bunnyhop_Equip, Bunnyhop_Remove, true);
}

public Bunnyhop_OnMapStart()
{
}

public Bunnyhop_Reset()
{
}

public Bunnyhop_Config(&Handle:kv, itemid)
{
Store_SetDataIndex(itemid, 0);
return true;
}

public Bunnyhop_Equip(client, id)
{
return -1;
}

public Bunnyhop_Remove(client, id)
{
}

#if defined STANDALONE_BUILD
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
#else
public Action:Bunnyhop_OnPlayerRunCmd(client, &buttons)
#endif
{
new m_iEquipped = Store_GetEquippedItem(client, "bunnyhop");
if(m_iEquipped < 0)
return Plugin_Continue;

new m_iWater = GetEntProp(client, Prop_Data, "m_nWaterLevel");
if (IsPlayerAlive(client))
if (buttons & IN_JUMP)
if (m_iWater <= 1)
if (!(GetEntityMoveType(client) & MOVETYPE_LADDER))
{
if(!GAME_TF2)
SetEntPropFloat(client, Prop_Send, "m_flStamina", 0.0);
if (!(GetEntityFlags(client) & FL_ONGROUND))
buttons &= ~IN_JUMP;
}

return Plugin_Continue;
}
mikey548 is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 09-25-2016 , 11:09   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #872

Quote:
Originally Posted by mikey548 View Post
hey iam noob in scripting can anyone maybe the bunnyhop like abner bunnyhop with boost a bit when u jump so it's not so bad
Please put you code in code blocks please! Its the Hashtag Button under Advanced Post Options

Last edited by TrappaTroopa; 09-25-2016 at 11:11.
TrappaTroopa is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 09-25-2016 , 21:09   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #873

Quote:
Originally Posted by redwerewolf View Post
Actually, these worked fine to me, except one thing: it doenst change the color's name, always staying with the team color.

I think is related with the chat_processor.cfg you have with your plugin, since it changes the player's name color based on a team.
__________________

Last edited by Hallucinogenic Troll; 09-25-2016 at 21:14. Reason: Ignore the PS, I think is related with another plugin.
Hallucinogenic Troll is offline
AndrewJackson
Junior Member
Join Date: Apr 2016
Old 09-26-2016 , 07:30   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #874

Quote:
Originally Posted by Hallucinogenic Troll View Post
Actually, these worked fine to me, except one thing: it doenst change the color's name, always staying with the team color.

I think is related with the chat_processor.cfg you have with your plugin, since it changes the player's name color based on a team.
If you happen to be using ckSurf, chat and name colors won't work from the store with either chat processor because of the surf plugins conflicting built-in chat processor. You have the option to disable surf's chat processing but you end up seeing regularly used commands in chat like !restart and !stage instead of them being filtered out.
AndrewJackson is offline
exiter
Junior Member
Join Date: Aug 2016
Old 09-26-2016 , 07:56   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #875

I have some issue's when i try to edit the store items in the cfg file:
- if i delete some items almost the whole store in game will be deleted
- if i try to add something it doesn't appear in the store menu ingame
- the player models doesn't show in the store at all.
exiter is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 09-26-2016 , 08:14   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #876

Quote:
Originally Posted by exiter View Post
I have some issue's when i try to edit the store items in the cfg file:
- if i delete some items almost the whole store in game will be deleted
- if i try to add something it doesn't appear in the store menu ingame
- the player models doesn't show in the store at all.
Post your item's config file here. Use Code Blocks please. You either have a missing bracket or a missing Quote messing things up. Remember you MUST reboot the store after editing items.txt. Reloading the store plugin won't cut it.
TrappaTroopa is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 09-26-2016 , 11:53   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #877

Quote:
Originally Posted by AndrewJackson View Post
If you happen to be using ckSurf, chat and name colors won't work from the store with either chat processor because of the surf plugins conflicting built-in chat processor. You have the option to disable surf's chat processing but you end up seeing regularly used commands in chat like !restart and !stage instead of them being filtered out.
Well, at least with the ckSurf I didn't have any problems with the SCP until now, but the problem that happened was when I used Shavit's 1.5b bhop timer.
But I believe it can be fixed and it's not a big deal with my servers.
__________________
Hallucinogenic Troll is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 09-26-2016 , 13:55   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #878

Quote:
Originally Posted by TrappaTroopa View Post
Can anyone help me? I have a lot of stuff on my fastdl. Everythings work except some files are not downloading to clients even tho they are on the fastdl. I have tried precaching them with S-Downloader but they still are not being sent to clients. Essentially Evey file is triplicated below so there aren't a lot of files not being downloading. There are 60 lines below but only 20 files.

Code:
Downloading http://104.238.137.94/csgo/materials/Models/Jason278/Ironman/demomask.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/Models/Jason278/Ironman/demomask.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/Models/Jason278/Ironman/demomask.vtf.
Error downloading http://104.238.137.94/csgo/materials/Models/Jason278/Ironman/demomask.vtf
Downloading http://104.238.137.94/csgo/models/fo3_ironman_mask.dx90.vtx.bz2.
Error downloading http://104.238.137.94/csgo/models/fo3_ironman_mask.dx90.vtx.bz2
Downloading http://104.238.137.94/csgo/models/fo3_ironman_mask.dx90.vtx.
Error downloading http://104.238.137.94/csgo/models/fo3_ironman_mask.dx90.vtx
Downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahat.vmt.bz2.
Error downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahat.vmt.bz2
Downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahat.vmt.
Error downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahat.vmt
Downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahateye.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahateye.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahateye.vtf.
Error downloading http://104.238.137.94/csgo/materials/models/pikahat/Pikahateye.vtf
Downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatmouth.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatmouth.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatmouth.vtf.
Error downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatmouth.vtf
Downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatcheecks.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatcheecks.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatcheecks.vtf.
Error downloading http://104.238.137.94/csgo/materials/models/Pikahat/Pikahatcheecks.vtf
Downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mipzugh.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mipzugh.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mipzugh.vtf.
Error downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mipzugh.vtf
Downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mizugoroueye222.vmt.bz2.
Error downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mizugoroueye222.vmt.bz2
Downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mizugoroueye222.vmt.
Error downloading http://104.238.137.94/csgo/materials/models/mudhatk/Mizugoroueye222.vmt
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.phy.bz2.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.phy.bz2
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.phy.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.phy
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.sw.vtx.bz2.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.sw.vtx.bz2
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.sw.vtx.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.sw.vtx
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx80.vtx.bz2.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx80.vtx.bz2
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx80.vtx.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx80.vtx
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx90.vtx.bz2.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx90.vtx.bz2
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx90.vtx.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.dx90.vtx
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.xbox.vtx.bz2.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.xbox.vtx.bz2
Downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.xbox.vtx.
Error downloading http://104.238.137.94/csgo/models/anime_patron/animepatr.xbox.vtx
Downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet.vtf.
Error downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet.vtf
Downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet_normal.vtf.bz2.
Error downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet_normal.vtf.bz2
Downloading http://104.238.137.94/csgo/materials/Models/headcrab_classic/headcrabsheet_normal.vtf
Can I get some help? It takes like an extra 10 seconds every map change because of these files. Even though the paths and filenames dont have any Capital Letters, Console thinks otherwise and the files fail to download.
TrappaTroopa is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-26-2016 , 15:03   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #879

Quote:
Originally Posted by TrappaTroopa View Post
Can I get some help? It takes like an extra 10 seconds every map change because of these files. Even though the paths and filenames dont have any Capital Letters, Console thinks otherwise and the files fail to download.
Somewhere capitals are being specified. Check everything; items.txt, downloads.ini (if you use it), etc. It's failing to download because the specified directories do not exist (Models does not exist, models does however).
sneaK is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 09-30-2016 , 07:08   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #880

got some error box lately ... hmmm any notice, seems like store not auto precache sometime ?
__________________
nguyenbaodanh 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 20:29.


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