Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 59 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII Mapping
Mapping, modeling, scripting, skinning and all forms of editing for the game Soldier of Fortune II
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: CODE DUMP WOO
earocool~rb
General Member
Since: Dec 23, 2006
Posts: 82
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Wednesday, Nov. 1, 2006 01:31 pm
Can someone help me with scanning files..? and looking at their sizes..??
Coz i want to make a ext_data/SOF2.wpn file scanner witch scans the server-sided SOF2.wpn file (the size) and then he scans the client his ext_data/SOF2.wpn file. and if its not the same size the player gets kicked/banned?

i will also post here the anticheating code and file for the anticheating system that i have made. i have got only a prlbem with kicking and banning the player someone have got a clue to ban a player..?

Greets EaroCooL
Share |
sweatingbullets~rb
General Member
Since: Dec 23, 2006
Posts: 79
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Wednesday, Nov. 1, 2006 08:19 pm
Quote
Can someone help me with scanning files..? and looking at their sizes..??

len = trap_FS_FOpenFile( file, &f, FS_READ_TEXT );  ???

Quote

Coz i want to make a ext_data/SOF2.wpn file scanner witch scans the server-sided SOF2.wpn file (the size) and then he scans the client his ext_data/SOF2.wpn file. and if its not the same size the player gets kicked/banned?


Why do you care what the client wpn file size is? You could try an md5 check or something similar. You can find samples of these checks all over.  I think rocmod even has one if you rather take the easy way out like so many seem to do :s10:.

Quote

i have got only a prlbem with kicking and banning the player someone have got a clue to ban a player..?


Get the players ip, append it to an external file, and kick 'em.  That simple.
Share |
earocool~rb
General Member
Since: Dec 23, 2006
Posts: 82
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Wednesday, Nov. 1, 2006 09:14 pm
but then its also cleint sided, (in rocmod then) and i want it to have it server-sided.

as for kicking its works only for banning not :S
i will post here the code when i have got time to look into it.
greets earocool.
Share |
infrequent~rb
General Member
Since: Dec 23, 2006
Posts: 119
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Mapping
Posted: Wednesday, Nov. 1, 2006 09:33 pm
Quote (earocool @ Nov. 02 2006, 2:31 am)
scans the client his ext_data/SOF2.wpn file. and if its not the same size the player gets kicked/banned?

Why do you care about the clients wpn file ????
Share |
XYZ~rb
General Member
Since: Dec 23, 2006
Posts: 54
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Thursday, Nov. 2, 2006 01:50 am
cos he is new to this. we where all interested in saving the world one day :)
Share |
earocool~rb
General Member
Since: Dec 23, 2006
Posts: 82
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Thursday, Nov. 2, 2006 05:42 pm
coz when you change in the client .wpn file everything like accuracy, inaccuracy, etc.

you get the that into the server. try it i would say.

So can anyone help me with mkaing this..?
i have started to make this only i dont know where i need to put the function/code in.

PS: i will upload my ja_cmds.c file and my ja_anticheat.c file ( Packed ) to my host and post the download link here for the 1.00 modder or for the gold modders, thanks to g.killer for his work/adding all the client cmds into the ja_cmds.c.
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»