Raised This Month: $ Target: $400
 0% 

L4DToolZ Metamod plugin (l4d1 & l4d2)


Post New Thread Reply   
 
Thread Tools Display Modes
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-02-2024 , 05:04   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1531

I can confirm this. Not working anymore. (linux)

PHP Code:
[SMChanged cvar "sv_removehumanlimit" to "1".
sv_removehumanlimit init error
[SMChanged cvar "sv_maxplayers" to "18".
sv_maxplayers init error
[SMChanged cvar "sv_removehumanlimit" to "1".
sv_removehumanlimit init error
[SMChanged cvar "sv_force_unreserved" to "1".
unreserved_ptr init error 
Still see servers with more max players, seems only Linux broken.
__________________

Last edited by finishlast; 05-02-2024 at 09:52.
finishlast is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-02-2024 , 11:28   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1532

Does it spit out any errors?
__________________
Spirit_12 is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-02-2024 , 12:34   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1533

The plugin loads but does not seem to do anything. HarryPotter tested Windows which seems to work. Maybe only Linux.

I only saw the init errors in console log.

meta list
[01] L4DToolZ (1.1.0.2) by Accelerator, Ivailosp

PHP Code:
Subtop 

Is 
"l4dtoolz" also broken for you to unlock 16-18 playersIt has signatures pointing to engine/server and matchmaking_ds.so, and all these files were updated in the update yesterday
seems he fixed it 4 hours ago, my server shows 18 slots again.

https://github.com/accelerator74/l4d...es/tag/1.1.0.2
__________________

Last edited by finishlast; 05-02-2024 at 13:20.
finishlast is offline
suptob
Junior Member
Join Date: Feb 2022
Old 05-02-2024 , 13:57   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1534

Unfortunately that did version not work for me (comes as ERROR) since I run old SM/MM due to a plugin which we do not have the source for (as the author decided not to provide source and go against the SM licence). This plugin unfortunately doesn't work on later SM versions, so we're forced to use 1.9.

SourceMod Version: 1.9.0.6295
Metamod:Source version 1.10.6

I took the l4dtoolz version from 3 years ago (2021), updated the signatures and re-compiled against MM 1.10-dev. There's no init errors anymore, will report back though if it works. I'll be testing it shortly. It's good to see the signatures are very similar to the work I was doing just now as well to get it fixed, helps me understand how these signatures are found.

Just for others if they're confused, the first byte in the signature is the signature length byte, the rest is the signature (in case you tried to search that and found nothing).
suptob is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-02-2024 , 14:01   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1535

HarryPotter said to me, that the build on Github requires GLIBC_2.34 which he doesn't have, so he has to build for older os by himself.

I tested on Ubuntu 22.04.4 LTS.

It shows 18 after server start but once you connect I get segfault now, so new version is not working for me.
__________________

Last edited by finishlast; 05-02-2024 at 14:15.
finishlast is offline
suptob
Junior Member
Join Date: Feb 2022
Old 05-02-2024 , 14:27   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1536

Quote:
Originally Posted by finishlast View Post
HarryPotter said to me, that the build on Github requires GLIBC_2.34 which he doesn't have, so he has to build for older os by himself.

I tested on Ubuntu 22.04.4 LTS.

It shows 18 after server start but once you connect I get segfault now, so new version is not working for me.
Yep, same issue here. I suspect maybe some signatures are wrong.

I'm going to debug this later this evening and get the signatures myself
suptob is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 05-02-2024 , 15:47   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1537

Try this: https://github.com/accelerator74/l4d...uns/8929387250
__________________
Accelerator is offline
suptob
Junior Member
Join Date: Feb 2022
Old 05-02-2024 , 15:58   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1538

Quote:
Originally Posted by Accelerator View Post
Thanks, I'll let you know. The server no longer sigfaults on startup.

I did a check on your diff, it looks like the original signature

Code:
\x10\x56\x53\x83\xEC\x6C\xE8\xC3\xC3\xC3\xC3\x81\xC3\xDA\xA4\x23\x00
was pointing to CBaseServer::ConnectClient(CBaseServer *, netadr_s *, int, int, int, char *, int, char *, int, int, int)

The new signature points to CBaseServer::GetMaxHumanPlayers(CBaseServer *__hidden this).

I think this will definitely work and it makes sense why it was failing, I will let you know once I get enough players if it works.

Edit: yep - it works.

> players : 9 humans, 0 bots (22 max) (not hibernating) (unreserved)

Last edited by suptob; 05-02-2024 at 16:03.
suptob is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-02-2024 , 20:41   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1539

Quote:
Originally Posted by suptob View Post
Unfortunately that did version not work for me (comes as ERROR) since I run old SM/MM due to a plugin which we do not have the source for (as the author decided not to provide source and go against the SM licence). This plugin unfortunately doesn't work on later SM versions, so we're forced to use 1.9.

SourceMod Version: 1.9.0.6295
Metamod:Source version 1.10.6
Any reason still using sorcemod 1.9 that currently unsupported ?
__________________

Last edited by HarryPotter; 05-02-2024 at 20:41.
HarryPotter is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-03-2024 , 01:35   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1540

He has a plugin that requires old sourcemod but he has got no sourcecode.

I have 18 slots now and no seg fault.

Thank you accelerator74, I think you can push a release now.
__________________
finishlast 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 17:13.


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