Raised This Month: $32 Target: $400
 8% 

Oil (engine dll/so hacks)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 06-07-2008 , 14:55   Oil (engine dll/so hacks)
Reply With Quote #1

Obsolete

Oil
engine dll/so hacks

UPDATE June 10, 2008:
New function signature for orangebox/windows update.

UPDATE June 9, 2008:
Added versions for the original engine. I don't have an AMD server, so if someone who has CSS (or another non-orangebox engine mod) could confirm that it works on AMD I would appreciate it.

Current features:Screenshot:
(see the first line)



Credits:
This plugin is a result of a discussion I had with pRED which led to me being able to move my detours from Window's system calls into the game engine memory so that it would work on Linux also. Big thanks (as always!) to BAILOPAN and the rest of the MMS team.

Readme:
Quote:
********************************************* **********************************
Oil
by L. Duke


********************************************* **********************************
INSTALLATION INSTRUCTIONS
********************************************* **********************************


1. Place oil_mm.dll (or oil_i486.so on linux) in this directory:

addons/oil/bin/

2. Open addons/metamod/metaplugins.ini and add this line to the file

addons/oil/bin/oil_mm



********************************************* **********************************
CONSOLE COMMANDS/CVARS
********************************************* **********************************

oil_version
- plugin version

oil_addslot
- add 1 slot to server status response? (1=yes 0=no)
Problems:
As always, post problems in this thread.

Changelist:

1.4
- updated Windows/OB function signature for TF2 update
1.3
- new function signature for TF2 update (orangebox/windows)
1.2
- added original engine versions
1.1
- fixed Windows version crashing on some servers
1.0
- initial release

Download:
Attached Files
File Type: zip oil_1.3.zip (189.8 KB, 516 views)
File Type: zip oil_1.4.zip (189.9 KB, 1187 views)
__________________
"Good grammar is essential, Robin."
- Batman

Last edited by L. Duke; 01-05-2009 at 16:33.
L. Duke is offline
Fredd
Veteran Member
Join Date: Jul 2007
Old 06-07-2008 , 15:21   Re: Oil (engine dll/so hacks)
Reply With Quote #2

nice, is this meant to only work for tf2? because from what i see is that you only zipped one build type and the screen shot is for tf2...some people might probably find this useful for other games that use the original box that is it works on it
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 06-07-2008 , 16:00   Re: Oil (engine dll/so hacks)
Reply With Quote #3

Yes, it is only for Orangebox games which is currently TF2 and DODS beta. CSS will be OrangeBox soon so I don't know if I'll compile a non-orangebox version.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 06-07-2008 , 19:16   Re: Oil (engine dll/so hacks)
Reply With Quote #4

Thanks for this, now these selfish clans arent the only ones with this type of plugin.
__________________

DontWannaName is offline
WoZeR
Donor
Join Date: Nov 2007
Old 06-07-2008 , 20:45   Re: Oil (engine dll/so hacks)
Reply With Quote #5

The plugin works, but the ingame server query shows a full 32 players server as 0/1 and when someone leaves it shows 0/2. But the Steam Client out of game browser works fine.
WoZeR is offline
WoZeR
Donor
Join Date: Nov 2007
Old 06-07-2008 , 22:38   Re: Oil (engine dll/so hacks)
Reply With Quote #6

The plugin is crashing. Attached are two mdmp's.
http://www.3-pg.com/hosting/wozer/oilcrash.zip

Last edited by WoZeR; 06-07-2008 at 22:41.
WoZeR is offline
Nephyrin
SourceMod Donor
Join Date: Mar 2008
Old 06-08-2008 , 04:16   Re: Oil (engine dll/so hacks)
Reply With Quote #7

Quote:
Originally Posted by DontWannaName View Post
Thanks for this, now these selfish clans arent the only ones with this type of plugin.
I'm not selfish! T_T

And we don't use 33 slot for reserve purposes. 32/33 breaks autojoin and is a huge annoyance for pubbers trying to find a good server. They'll stop trying your server if it pulls them to a loading screen with a 'server is full' error.

the whole 33/33 thing is just epeen waving by a few of the people that can make said mods.

- Neph
Nephyrin is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 06-08-2008 , 06:09   Re: Oil (engine dll/so hacks)
Reply With Quote #8

I have to agree with this, it's really annoying to join a server, and then get kicked out of it because of the reserved slots, it's only an advantage for admins. But what would be useful is, to restrict the slot+1 feature to people with a specific IP only. So if the server knows you, then you see +1 slot in the list to be able to connect to the server and use your reserved slot.

Btw., is there a source code to this available ?
berni is offline
1nsane
SourceMod Donor
Join Date: Sep 2005
Old 06-08-2008 , 14:14   Re: Oil (engine dll/so hacks)
Reply With Quote #9

Quote:
Originally Posted by Nephyrin View Post
I'm not selfish! T_T

And we don't use 33 slot for reserve purposes. 32/33 breaks autojoin and is a huge annoyance for pubbers trying to find a good server. They'll stop trying your server if it pulls them to a loading screen with a 'server is full' error.

the whole 33/33 thing is just epeen waving by a few of the people that can make said mods.

- Neph
Yes exactly, this plugin is evil, At least to pubbers


33 is way better

Quote:
Originally Posted by berni View Post
I have to agree with this, it's really annoying to join a server, and then get kicked out of it because of the reserved slots, it's only an advantage for admins. But what would be useful is, to restrict the slot+1 feature to people with a specific IP only. So if the server knows you, then you see +1 slot in the list to be able to connect to the server and use your reserved slot.

Btw., is there a source code to this available ?
Simple..Don't join servers like that.

Also the +1 based on IP thing could easily get out of date (IP changes, etc) and people would first need to join the server for the server itself to know that they have a reserve.
1nsane is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 06-08-2008 , 16:46   Re: Oil (engine dll/so hacks)
Reply With Quote #10

Quote:
Originally Posted by WoZeR View Post
The plugin is crashing. Attached are two mdmp's.
http://www.3-pg.com/hosting/wozer/oilcrash.zip
Thanks WoZeR. I located the crash and completely replaced the code where it is occurring (on Windows). The updated version is in the first post.

Quote:
Originally Posted by WoZeR View Post
The plugin works, but the ingame server query shows a full 32 players server as 0/1 and when someone leaves it shows 0/2. But the Steam Client out of game browser works fine.
Check the new version. My ingame browser shows 0/25 on a 24 player and 0/33 on a 32 player.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke 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 11:05.


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