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

SourceMod 1.6 released!


Post New Thread Closed Thread   
 
Thread Tools Display Modes
ys24ys
Junior Member
Join Date: Nov 2013
Old 07-08-2014 , 08:42   Re: SourceMod 1.6 released!
#51

Quote:
Originally Posted by psychonic View Post
What are the errors? It's possible that the game received updates that broke support after it was added, but no one has reported issues with it until now.
[SERVER broken]
#include <sdkhooks>

[Does not work]
*new Target = GetClientAimTarget(Client, false);
decl String:Name[128];
GetEntityClassname(Target, Name, sizeof(Name));
PrintToChat(Client, "%s", Name);

*SetHudTextParams(0.02, 0.94, 1.0, 255, 255, 255, 255);
ShowHudText(Client, -1, "Text");

*decl String:szText[192];
Format(szText, sizeof(szText), "Text : %s", InputText);
new Handle:hBuffer = StartMessageOne("KeyHintText", Client);
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer, szText);
EndMessage();

[This mode is not supported]
*TeleportEntity(Client, vTarget, NULL_VECTOR, NULL_VECTOR);

*GivePlayerItem(Client, "weapon_mp5k");

[SDKTOOLS Error]
-------- Mapchange to cx_auroraestates ---------
Error log file session closed.
[SDKTOOLS] Could not locate FireOutput - Disabling detour
[SDKTOOLS] Failed to find PlayerRunCmd offset - OnPlayerRunCmd foward disabled.

1.7.0 and 1.6.1 look all the same symptoms.
[Windows Server] metamod to the latest version.

Last edited by ys24ys; 07-08-2014 at 08:56.
ys24ys is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 07-08-2014 , 09:29   Re: SourceMod 1.6 released!
#52

1.7 is the definition of experimental, you'll likely have all sorts of plugin compiling issues with it. Everyone should be using 1.6.
__________________
VoiDeD is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-08-2014 , 09:46   Re: SourceMod 1.6 released!
#53

Quote:
Originally Posted by L33TGaming View Post
N34U-EUUU-**** 52 minutes ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1307 + 0x0]
TJVQ-FVRU-**** 53 minutes ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1307 + 0x0]
NSJC-NRKV-**** 54 minutes ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1307 + 0x0]
45OM-YNTW-*** 56 minutes ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
RTQF-KY23-**** 57 minutes ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
T6CJ-PXEV-**** 1 hour ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
QQQ2-42KA-**** 1 hour ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
SBJR-Q7IN-**** 1 hour ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
LJY2-AG5D-**** 1 hour ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
M7TN-25NM-**** 1 hour ago sdkhooks.ext.2.csgo.dll!SDKHooks::Hook_Spawn( ) [extension.cpp:1313 + 0x3]
As a hack around crashing, hook an entity of the same typw outside of the callback.
KyleS is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-08-2014 , 12:26   Re: SourceMod 1.6 released!
#54

Quote:
Originally Posted by ys24ys View Post
[SERVER broken]
#include <sdkhooks>

[Does not work]
*new Target = GetClientAimTarget(Client, false);
decl String:Name[128];
GetEntityClassname(Target, Name, sizeof(Name));
PrintToChat(Client, "%s", Name);

*SetHudTextParams(0.02, 0.94, 1.0, 255, 255, 255, 255);
ShowHudText(Client, -1, "Text");

*decl String:szText[192];
Format(szText, sizeof(szText), "Text : %s", InputText);
new Handle:hBuffer = StartMessageOne("KeyHintText", Client);
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer, szText);
EndMessage();

[This mode is not supported]
*TeleportEntity(Client, vTarget, NULL_VECTOR, NULL_VECTOR);

*GivePlayerItem(Client, "weapon_mp5k");

[SDKTOOLS Error]
-------- Mapchange to cx_auroraestates ---------
Error log file session closed.
[SDKTOOLS] Could not locate FireOutput - Disabling detour
[SDKTOOLS] Failed to find PlayerRunCmd offset - OnPlayerRunCmd foward disabled.

1.7.0 and 1.6.1 look all the same symptoms.
[Windows Server] metamod to the latest version.
Thanks. It looks like a game update did break Contagion support. I'll update SM for it again when time permits.
psychonic is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-08-2014 , 17:22   Re: SourceMod 1.6 released!
#55

I'm seeing some weird errors popping up with SM 1.6. For instance, I just saw this:

PHP Code:
L 07/08/2014 16:19:04: [SMPlugin encountered error 10Invalid instruction
L 07
/08/2014 16:19:04: [SMDisplaying call stack trace for plugin "prophunt.smx":
L 07/08/2014 16:19:04: [SM]   [0]  Line 932C:\Projects\SourceMod\plugins\prophunt\addons\sourcemod\scripting\prophunt.sp::ForceSwitchTeams() 
Line 932 is this:

Code:
	if (ShouldSwitchTeams())
which is a method call that returns a bool defined slightly farther down.

I should probably note that this is in a DHooks GameRules callback, since I've been seeing issues with DHooks GameRules callbacks crashing the server on shutdown.

Edit: Also seeing Invalid Memory Access periodically pop up also on function calls.

I shouldn't have to mention that these were working fine under SM 1.5.4's last builds.

Edit 2: This seemed to start when I set "DisableJIT" "yes" in core.cfg when trying to trace down issues with DHooks and forgot to switch it back.

Moral of the story?
Don't set DisableJIT "yes"
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-11-2014 at 16:46.
Powerlord is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 07-08-2014 , 18:51   Re: SourceMod 1.6 released!
#56

I've been eliminating some errors I've had with recompiling with the latest SM version 1.6.1 (latest snapshot)..not sure if its something major or just something that should have been done from time to time anyway.
Horsedick is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 07-08-2014 , 20:43   Re: SourceMod 1.6 released!
#57

Quote:
Originally Posted by KyleS View Post
As a hack around crashing, hook an entity of the same typw outside of the callback.
I don't really understand, can you please explain how to get your results? Sorry I'm just know the very basics of sourcemod.
L33TGaming is offline
Lob (UK
Veteran Member
Join Date: Jun 2009
Old 07-10-2014 , 07:00   Re: SourceMod 1.6 released!
#58

Hi Guys,

Just to let you know that i have had to remove this 1.6 release from my TF2 Server. I updated yesterday and the Server was then experiencing continuous lag problems even when it was empty. I tested it again this morning and it was still having the same problems. I reverted back to the previous snapshot that i was using ( Snapshot 1.5.4-git4088 ) and all was perfect and stable again with no lag at all. Server is running on Windows Server 2003. I have reverted back to that snapshot on all my Servers now just to be on the safe side.

Not sure what the cause is but i just thought i had better report it anyway in case anyone else is having a similar problem etc.

Thanks

- Lob (UK)

Last edited by Lob (UK; 07-10-2014 at 07:01.
Lob (UK is offline
ys24ys
Junior Member
Join Date: Nov 2013
Old 07-10-2014 , 17:22   Re: SourceMod 1.6 released!
#59

Quote:
Originally Posted by psychonic View Post
Thanks. It looks like a game update did break Contagion support. I'll update SM for it again when time permits.
Thanks!
ys24ys is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-11-2014 , 16:52   Re: SourceMod 1.6 released!
#60

As I've pointed out on the SourceMod bugtracker, the 1.6.0 zips have the wrong languages.cfg in them. I'm hoping a new version will be posted somewhere here so we can just toss it into our sourcemod/configs folder... there are new languages not present in the 1.5.x version (such as "ua").
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-11-2014 at 16:53.
Powerlord is offline
Closed Thread



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 09:39.


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