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

SourceMod 1.7 released!


Post New Thread Closed Thread   
 
Thread Tools Display Modes
nergal
Veteran Member
Join Date: Apr 2012
Old 02-06-2015 , 20:58   Re: SourceMod 1.7 released!
#31

Quote:
Originally Posted by Potato Uno View Post
Is it me or does the 1.7 compiler take like 2x longer to compile plugins?

For some plugins that are 4000+ lines of code it gets annoying to have to wait for the thing to compile, when it used to be instantaneous earlier.

Perhaps because it has to watch out for and check old syntax and new syntax when compiling to bytecode?
It'll probably work faster when old syntax will be deprecated for good.
__________________
nergal is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 02-06-2015 , 21:19   Re: SourceMod 1.7 released!
#32

Quote:
Originally Posted by nergal View Post
It'll probably work faster when old syntax will be deprecated for good.
Hopefully that will be never?

Because if so, that would be the end of sourcemod for me, and I'm probably not alone in that regard either. Way too many nice plugins already exist in the old syntax and the scripting forum is still mostly using old syntax.

Last edited by Potato Uno; 02-06-2015 at 21:20.
Potato Uno is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-06-2015 , 21:48   Re: SourceMod 1.7 released!
#33

Quote:
Originally Posted by Potato Uno View Post
Is it me or does the 1.7 compiler take like 2x longer to compile plugins?
Local, SM webcompiler, or Spider?
I know the new assembler is a lot slower, but it makes up for it in not being a pile of arse.

Quote:
Originally Posted by Potato Uno View Post
Hopefully that will be never?
If/when that happens, it'll be a separate compiler binary, and both will ship with SourceMod.
Maintaining binary compatibility is extremely important to us, and source code compatibility is also very important. We have had to break a minor amount source level compatibility for this release (all the new keywords, and some plugins were using completely made-up syntax that is now invalid due to conflicts with legitimate new stuff), but reserving all those keyworks now mean there won't be more problems in the future.
__________________
asherkin is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-07-2015 , 01:52   Re: SourceMod 1.7 released!
#34

lol learning the new syntax willb efun
__________________
Chdata is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 02-07-2015 , 03:18   Re: SourceMod 1.7 released!
#35

This is total noobish, but is there a performance increase in using the new syntax? Obviously I will be switching my code over to the new syntax and using that from now on, but should I need to switch over all my plugins to the new syntax for a performance increase? There is of course the benefit that a lot of the code is smaller, which means less bits, thus compiled plugins are smaller, but is that the only benefit? Thanks for indulging my curiosity.
Maxximou5 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-07-2015 , 07:08   Re: SourceMod 1.7 released!
#36

No, it compiles to exactly the same bytecode, it's just syntactic changes.
__________________

Last edited by asherkin; 02-07-2015 at 07:08.
asherkin is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 02-07-2015 , 08:36   Re: SourceMod 1.7 released!
#37

Quote:
Originally Posted by asherkin View Post
Local, SM webcompiler, or Spider?
I know the new assembler is a lot slower, but it makes up for it in not being a pile of arse.
LOL.

This is the local SM compiler that comes with sourcemod (spcomp). I haven't tested spider or webcompiler yet.

Quote:
Originally Posted by asherkin View Post
If/when that happens, it'll be a separate compiler binary, and both will ship with SourceMod.
Maintaining binary compatibility is extremely important to us, and source code compatibility is also very important.
That's exactly what I wanted to hear. Thanks!

Quote:
Originally Posted by asherkin View Post
No, it compiles to exactly the same bytecode, it's just syntactic changes.
This is another thing I wanted to know too, so that would then mean that old syntax and new syntax run at the same speed.

Compilation time is not a big deal, and I'd rather have that overhead be paid during compile time and not on the SM VM on the server.

BTW, is there any reason why SM devs took the route of having a separate binary compiler apart from the SM VM (like java does) rather than having the server JIT the source code to bytecode on runtime (like CPython does)? That is, on server boot up, compile the code to bytecode and then let the map loading begin. That would, in principle, eliminate a lot of GPL infractions, except for private commissions that run on modified sourcemods and don't obey the GPL. (Of course, it would make the server take longer to boot up, I guess.)

Probably too late to do that now but eh, worth asking anyway.

Last edited by Potato Uno; 02-07-2015 at 08:43.
Potato Uno is offline
2x CombatVet
Junior Member
Join Date: Jan 2015
Old 02-07-2015 , 10:00   Re: SourceMod 1.7 released!
#38

Officiallly????? I been had 1.7 running on my server. is there an unofficial 1.7 or something?
2x CombatVet is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-07-2015 , 10:28   Re: SourceMod 1.7 released!
#39

Quote:
Originally Posted by 2x CombatVet View Post
Officiallly????? I been had 1.7 running on my server. is there an unofficial 1.7 or something?
You're focusing on the wrong word in "officially released". There have been progressive 1.7.0-dev builds since mid last year. This is the feature-complete, stable release of 1.7.0.
psychonic is offline
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 02-08-2015 , 17:35   Re: SourceMod 1.7 released!
#40

Hello,

since the 1.7.0 update sourcemod Linux, you can not ban a player with SourceBans:

06 "SourceBans" (1.4.11) by SourceBans Development Team

Quote:
L 02/08/2015 - 23:12:27: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:12:27: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:12:27: [SM] [0] Line 1070, sourcebans.sp::VerifyInsert()
L 02/08/2015 - 23:12:45: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:12:45: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:12:45: [SM] [0] Line 1070, sourcebans.sp::VerifyInsert()
L 02/08/2015 - 23:15:46: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:15:46: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:15:46: [SM] [0] Line 1070, sourcebans.sp::VerifyInsert()
L 02/08/2015 - 23:16:24: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:16:24: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:16:24: [SM] [0] Line 1070, sourcebans.sp::VerifyInsert()
L 02/08/2015 - 23:22:43: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:22:43: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:22:43: [SM] [0] Line 1070, sourcebans.sp::VerifyInsert()
L 02/08/2015 - 23:24:03: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:24:03: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:24:03: [SM] [0] Line 1151, sourcebans.sp::VerifyInsert()
L 02/08/2015 - 23:24:29: [SM] Native "ReadPackString" reported: DataPack operation is out of bounds.
L 02/08/2015 - 23:24:29: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 02/08/2015 - 23:24:29: [SM] [0] Line 1151, sourcebans.sp::VerifyInsert()
I use a custom menu via the file:

adminmenu_custom.txt


an excerpt:

Quote:
"Commands"
{
"Gestion des Joueurs"
{
"admin" "sm_unban"

"Ban Player"
{
"admin" "sm_unban"
"cmd" "sm_ban #1 #2 #3"
"execute" "player"
"1"
{
"type" "player"
"method" "name"
"title" "Selection du joueur"
}
"2"
{
"type" "list"
"title" "Temps du ban"
"1" "10"
"1." "10 mins"
"2" "30"
"2." "30 mins"
"3" "60"
"3." "1 Heure"
"4" "240"
"4." "4 Heures"
"5" "1440"
"5." "1 Jour"
"6" "10080"
"6." "1 Semaine"
"7" "0"
"7." "Permanent"
}
"3"
{
"type" "list"
"title" "Raison du ban"
"1" "AFK"
"1." "AFK"
"2" "NO PUB and RCT"
"2." "NO PUB and RCT"
"3" "Insults"
"3." "Insults"
"4" "Ping too high"
"4." "Ping too high"
"5" "Ignoring Admin"
"5." "Ignoring Admin"
"6" "Inappropriate Name"
"6." "Inappropriate Name"
"7" "Spamming Mic/Chat"
"7." "Spamming Mic/Chat"
"8" "Inappropriate Spray"
"8." "Inappropriate Spray"
"9" "Inappropriate Language"
"9." "Inappropriate Language"
"10" "Cheat Aimbot"
"10." "Cheat AimBot"
"11" "Cheat Wallhack"
"11." "Cheat Wallhack"
"12" "Cheat General Exploit"
"12." "Cheat General Exploit"
"13" "Exploit Bug"
"13." "Exploit Bug"
}
I also have error with another plugin:
Quote:
02/08/2015 - 18:54:02: SourceMod error session started
L 02/08/2015 - 18:54:02: Info (map "workshop/225392244/awp_lego_2_acedv2") (file "errors_20150208.log")
L 02/08/2015 - 18:54:02: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 18:54:02: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 18:54:02: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 18:54:02: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 19:10:51: Error log file session closed.
L 02/08/2015 - 19:10:51: SourceMod error session started
L 02/08/2015 - 19:10:51: Info (map "workshop/288106812/de_westwood") (file "errors_20150208.log")
L 02/08/2015 - 19:10:51: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 19:10:51: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 19:10:51: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 19:10:51: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 19:27:14: Error log file session closed.
L 02/08/2015 - 19:27:14: SourceMod error session started
L 02/08/2015 - 19:27:14: Info (map "workshop/183511193/aim_ak47_colt") (file "errors_20150208.log")
L 02/08/2015 - 19:27:14: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 19:27:14: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 19:27:14: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 19:27:14: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 19:43:42: Error log file session closed.
L 02/08/2015 - 19:43:42: SourceMod error session started
L 02/08/2015 - 19:43:42: Info (map "workshop/206257481/aim_ak47") (file "errors_20150208.log")
L 02/08/2015 - 19:43:42: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 19:43:42: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 19:43:42: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 19:43:42: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 20:05:48: Error log file session closed.
L 02/08/2015 - 20:05:49: SourceMod error session started
L 02/08/2015 - 20:05:49: Info (map "workshop/206257481/aim_ak47") (file "errors_20150208.log")
L 02/08/2015 - 20:05:49: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 20:05:49: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 20:05:49: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 20:05:49: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 20:22:11: Error log file session closed.
L 02/08/2015 - 20:22:12: SourceMod error session started
L 02/08/2015 - 20:22:12: Info (map "workshop/183511193/aim_ak47_colt") (file "errors_20150208.log")
L 02/08/2015 - 20:22:12: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 20:22:12: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 20:22:12: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 20:22:12: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 208:53: Error log file session closed.
L 02/08/2015 - 208:53: SourceMod error session started
L 02/08/2015 - 208:53: Info (map "workshop/206257481/aim_ak47") (file "errors_20150208.log")
L 02/08/2015 - 208:53: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 208:53: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 208:53: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 208:53: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 20:55:24: Error log file session closed.
L 02/08/2015 - 20:55:24: SourceMod error session started
L 02/08/2015 - 20:55:24: Info (map "workshop/183511193/aim_ak47_colt") (file "errors_20150208.log")
L 02/08/2015 - 20:55:24: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 20:55:24: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 20:55:24: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 20:55:24: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 21:12:45: Error log file session closed.
L 02/08/2015 - 21:12:46: SourceMod error session started
L 02/08/2015 - 21:12:46: Info (map "workshop/200209139/$2000$_csgo") (file "errors_20150208.log")
L 02/08/2015 - 21:12:46: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 21:12:46: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 21:12:46: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 21:12:46: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 21:29:14: Error log file session closed.
L 02/08/2015 - 21:29:14: SourceMod error session started
L 02/08/2015 - 21:29:14: Info (map "workshop/359198549/awp_tower_dev") (file "errors_20150208.log")
L 02/08/2015 - 21:29:14: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 21:29:14: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 21:29:14: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 21:29:14: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 21:45:54: Error log file session closed.
L 02/08/2015 - 21:45:54: SourceMod error session started
L 02/08/2015 - 21:45:54: Info (map "workshop/122521875/fy_pool_day") (file "errors_20150208.log")
L 02/08/2015 - 21:45:54: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 21:45:54: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 21:45:54: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 21:45:54: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 22:02:26: Error log file session closed.
L 02/08/2015 - 22:02:26: SourceMod error session started
L 02/08/2015 - 22:02:26: Info (map "workshop/125671998/aim_map") (file "errors_20150208.log")
L 02/08/2015 - 22:02:26: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 22:02:26: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 22:02:26: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 22:02:26: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 22:21:43: Error log file session closed.
L 02/08/2015 - 22:21:43: SourceMod error session started
L 02/08/2015 - 22:21:43: Info (map "workshop/125671998/aim_map") (file "errors_20150208.log")
L 02/08/2015 - 22:21:43: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 22:21:43: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 22:21:43: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 22:21:43: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 228:11: Error log file session closed.
L 02/08/2015 - 228:12: SourceMod error session started
L 02/08/2015 - 228:12: Info (map "workshop/200209139/$2000$_csgo") (file "errors_20150208.log")
L 02/08/2015 - 228:12: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 228:12: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 228:12: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 228:12: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 22:54:42: Error log file session closed.
L 02/08/2015 - 22:54:43: SourceMod error session started
L 02/08/2015 - 22:54:43: Info (map "workshop/386310474/aim_phosphor") (file "errors_20150208.log")
L 02/08/2015 - 22:54:43: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 22:54:43: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 22:54:43: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 22:54:43: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()
L 02/08/2015 - 23:11:24: Error log file session closed.
L 02/08/2015 - 23:11:25: SourceMod error session started
L 02/08/2015 - 23:11:25: Info (map "workshop/213583302/aim_deagle7k") (file "errors_20150208.log")
L 02/08/2015 - 23:11:25: [SM] Native "OpenDirectory" reported: Invalid file path
L 02/08/2015 - 23:11:25: [SM] Displaying call stack trace for plugin "servercleanup.smx":
L 02/08/2015 - 23:11:25: [SM] [0] Line 451, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::CleanServer()
L 02/08/2015 - 23:11:25: [SM] [1] Line 200, /home/groups/alliedmodders/forums/files/3/8/6/4/9/55638.attach::OnConfigsExecuted()

Last edited by CenT; 02-08-2015 at 17:37.
CenT is offline
Closed Thread


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 20:45.


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