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

Request: Compiling the cstrike w/ few changes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-15-2008 , 03:12   Request: Compiling the cstrike w/ few changes
Reply With Quote #1

I would like the cstrike module to be recompiled with the following code removed from the cs_set_user_team native.

PHP Code:
 int model params[3];
 
// Just set team. Removed check of 1-2-3, because maybe scripters want to create new teams, 4, 5 etc?
*((int *)pPlayer->pvPrivateData OFFSET_TEAM) = params[2];
if (
model != 0)
*((
int *)pPlayer->pvPrivateData OFFSET_INTERNALMODEL) = model
Secondary request: I really just need that one native. I would be even grateful if it was a custom module with just the cs_set_user_team native.

I tried to replicate it with fakemeta but when a new round starts there is 60-90% probability it will kick players with the svc_bad. But with cstrike it doesnt.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.

Last edited by Cheap_Suit; 04-15-2008 at 07:31.
Cheap_Suit is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-15-2008 , 07:21   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #2

Couldn't you use fakemeta with pdata offsets?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-15-2008 , 17:32   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #3

I've edited my main post. Re-read the last sentence.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.

Last edited by Cheap_Suit; 04-15-2008 at 17:54.
Cheap_Suit is offline
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-17-2008 , 10:31   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #4

Why would you want it to removed for :/
rudle is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-17-2008 , 15:17   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #5

Quote:
Originally Posted by Cheap_Suit View Post
PHP Code:
// Just set team. Removed check of 1-2-3, because maybe scripters want to create new teams, 4, 5 etc? 
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 04-20-2008 , 07:43   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #6

Do you need linux/win bin or both ?
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-20-2008 , 14:37   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #7

Both please! BTW, the whole code in that box needs to be removed.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 04-20-2008 , 16:40   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #8

As my dsl connection is down, i can't compile it on windows now, I'll do it tomorrow...

But here is the linux version
compile: http://www.ufbteam.com/private/roquefort_amxx_i386.so
source: http://www.ufbteam.com/private/roquefort.tar
include: http://www.ufbteam.com/private/roquefort.inc


the function name is roquefort_set_user_team and it has the same parameters as the normal one.
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Old 04-20-2008, 16:43
dangerix
This message has been deleted by dangerix. Reason: don't click when not looking *note to myself*
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-20-2008 , 22:18   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #9

Thanks, I'll wait for the windows version to test it myself.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-21-2008 , 00:23   Re: Request: Compiling the cstrike w/ few changes
Reply With Quote #10

Quote:
Originally Posted by hackziner View Post
the function name is roquefort_set_user_team
Awesome mais tu pues
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 20:22.


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