Raised This Month: $99 Target: $400
 24% 

[CS:GO] PTaH - V1.0.7


Post New Thread Reply   
 
Thread Tools Display Modes
red4911
Senior Member
Join Date: Sep 2010
Location: Russia
Old 08-12-2017 , 20:38   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #71

L 08/13/2017 - 00:574: SourceMod error session started
L 08/13/2017 - 00:574: Info (map "de_dust2") (file "errors_20170813.log")
L 08/13/2017 - 00:574: [SM] Exception reported: Team index 0 is invalid
L 08/13/2017 - 00:574: [SM] Blaming: weapons.smx
L 08/13/2017 - 00:574: [SM] Call stack trace:
L 08/13/2017 - 00:574: [SM] [0] PTaH_GetItemInLoadout
L 08/13/2017 - 00:574: [SM] [1] Line 56, weapons/hooks.sp::GiveNamedItem
L 08/13/2017 - 00:574: [SM] [3] GivePlayerItem
L 08/13/2017 - 00:574: [SM] [4] Line 302, warmup.sp::GiveWeapon
red4911 is offline
komashchenko
Member
Join Date: Nov 2013
Old 08-13-2017 , 07:00   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #72

Quote:
Originally Posted by red4911 View Post
L 08/13/2017 - 00:574: SourceMod error session started
L 08/13/2017 - 00:574: Info (map "de_dust2") (file "errors_20170813.log")
L 08/13/2017 - 00:574: [SM] Exception reported: Team index 0 is invalid
L 08/13/2017 - 00:574: [SM] Blaming: weapons.smx
L 08/13/2017 - 00:574: [SM] Call stack trace:
L 08/13/2017 - 00:574: [SM] [0] PTaH_GetItemInLoadout
L 08/13/2017 - 00:574: [SM] [1] Line 56, weapons/hooks.sp::GiveNamedItem
L 08/13/2017 - 00:574: [SM] [3] GivePlayerItem
L 08/13/2017 - 00:574: [SM] [4] Line 302, warmup.sp::GiveWeapon
This a plugin error, not an extension
komashchenko is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 08-14-2017 , 20:03   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #73

Can you add two natives by two functions: GetNextBestWeapon and SwitchToNextBestWeapon? Will be great!

Last edited by keygens; 08-14-2017 at 20:04.
keygens is offline
komashchenko
Member
Join Date: Nov 2013
Old 08-15-2017 , 06:20   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #74

Quote:
Originally Posted by keygens View Post
Can you add two natives by two functions: GetNextBestWeapon and SwitchToNextBestWeapon? Will be great!
What should they do?
komashchenko is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 08-17-2017 , 06:42   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #75

Quote:
Originally Posted by komashchenko View Post
What should they do?
Switch and get next weapon, when ammo is out. Really good combination, for autoswitching and etc.
keygens is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 08-18-2017 , 10:21   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #76

guess ptah needs an update. server crashes on connect with latest sm 1.8.0 6019. if i remove ptah it works fine. @linux

edit: found issue, ptah 1.0.6 still works.

Last edited by asdfxD; 08-18-2017 at 11:57.
asdfxD is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 08-18-2017 , 11:52   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #77

I've no problems on a linux server with ptah.
__________________
Bara is offline
iBradleyy
AlliedModders Donor
Join Date: Jan 2013
Old 08-26-2017 , 21:43   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #78

Anyone know why ptah is crashing on Ubuntu 17.04, 64bit?
iBradleyy is offline
iBradleyy
AlliedModders Donor
Join Date: Jan 2013
Old 08-31-2017 , 01:58   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #79

Sorry for bumping, but does anyone know why linux crashes with https://forums.alliedmods.net/showthread.php?p=2463428?
iBradleyy is offline
komashchenko
Member
Join Date: Nov 2013
Old 09-03-2017 , 16:36   Re: [CS:GO] PTaH - V1.0.6
Reply With Quote #80

Update 1.0.7
  1. Add native
    • PTaH_GetItemDefinitionByDefIndex
    • CEconItemDefinition.GetClassName
    • CEconItemDefinition.GetCCSWeaponData
  2. PTaH_GiveNamedItemPre function changed
    function Action (int iClient, char sClassname[64], CEconItemView &Item, bool &IgnoredCEconItemView)
  3. Removed native GetStatTrakKill
  4. Updated gamedata

GetStatTrakKill
Quote:
On Linux, the function can be found through the signature, but it is not used anywhere and it is not known whether it will be long, if someone can help restore it on Windows and Linux I will be grateful
komashchenko is offline
Reply


Thread Tools
Display Modes

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 22:50.


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