Leaderboard


Popular Content

Showing content with the highest reputation since 05/23/16 in all areas

  1. 6 points
    Welcome! I have developed bot mods for call of duty for quite sometime now. Most notably for MW2. Unfortunately there were no real 'slick' way of controlling the bots, so we had to resort to 'hackish' ways of achieving even the simple task of moving a bot. But CoD4x supplies scripters with the ability to control the bots in a more natural way. Allowing us to create a much better experience for bots. You'll find that these bots function very similar to the bots you'll find in Black Ops series. SERVER DVARS: You can find the latest version over at ModDB: https://www.moddb.com/mods/bot-warfare/downloads/cod4x-bot-warfare-latest bots.zip
  2. 6 points
    CoD4 Menu Builder is a website that allows you to easily create .menu files for CoD4: Features: Create multiple MenuDef's and ItemDef's Supports for viewing menu in each aspect ratio Created rectangles, text, shaders Save and load your progress Import existing .menu files Tutorials to get you started Export .menu files ready for use in CoD4 Video demonstrating the website: I will be continuing to add new features to the website. Credits: -Easy Visit the website here: https://sheepwizard.github.io/COD4-MENU-BUILDER/ Visit the github page here: https://github.com/SheepWizard/COD4-MENU-BUILDER
  3. 6 points
    If you still run 1.7a make sure autoupdate is disabled. Until 5th February you can verify this just by restarting your server. If autoupdate is enabled you would get an update to cod4x18. If you don't intend this please install the version attached here instead. It has autoupdate removed! Running an update enabled 1.7a-server longer than to 5th February is a major security threat for your server and all users having left data on your server(Forum database etc.) including other remote services out there when your server becomes an agent of a bot-net. Attached below is a "safe" version you can install instead. cod4x17a-server-disabledupdate.zip Servers which are likely still vulnerable are: http://www.gametracker.com/search/cod4/?search_by=server_variable&search_by2=version&query=CoD4+X+1.7a+linux-i386-testing&loc=_all&sort=&order=&searchipp=50 Especially these servers which have an up-time > 15 days or used a firewall rule for blocking can be assumed to be very easy targets for possible intrusion attempts. All other 1.7a servers are still vulnerable when a xiceops_00.iwd file is missing unless attached patch is installed!
  4. 5 points
    I need your opinion, tips, recommendations on the upcoming CoD4x-WebaAdmin application. The current beta version is similar to the previous CoD4 Status version, the difference is in authentication and admins management (no steam group required). Admins have to be added manually after they sign up. Here is a list of some futures what is included for now User Authentication, local, google+, facebook (later on i will include twitter, github and steam), all accounts can be linked so if u have admin rights it doesn't matter which authentication u use Regular registered users can take screenshots via the page, this can be disabled backend or limited to x screenshots / hour If u enable screenshots for regular users they can send cheater reports with 1 click Admins with required power can check this reports and decide what happens next (ban or remove report), the user who sent the report will be informed automatically with auto messages. If we ban based on the cheater report user who sent the report will be mentioned on the cheater report page Banned players can send a ban appeal, if the admin decide to keep the ban, unban request will be disabled for that ban in future Rcon commands can be added backend with required power to execute them Admin groups can be created, deleted Users can be added as admins, we can choose on which server if we have more then 1 server usermaps images can be uploaded, deleted Realtime shoutbox for admins separated and for all registered users Some faq pages, content can be added Server rules for each server separated can be changed backend I almost forgott, screenshots Now my question(s) 1. Since node.js requires a vps/dedicated server would it be a good idea to manage game servers to via the status page, I was thinking about https://github.com/GameServerManagers/LinuxGSM We could make them play together, so if we create a game server we could also create it on the status page. We could then manage the game server via the status page (start, stop, restart etc etc). Of corse in this scenario we could make things faster since we could read everything from the log files without rcon connections. later on i could also create an admin tool like manuadmin, b3 bot and it could be also created all together with gameserver and status page with 1-2 clicks I always rented game servers host so if this is a bad idea let me know pls Ofc if u have some tips, future requests let me know in comments so we can improve this new app in the future i will share a beta version in 1-2 days here with install instructions, later on i will upload it to github
  5. 5 points
    Alright ladies and gentlemen, since I found this release topic from stormyy about his 'screenshot management tool' and finally got it running with his support I decided to write a little guide about how to set it up. I hope this helps other people and the tool becomes more popular, because it's really epic. I. Foreword The 'screenshot management tool' is a working alternative to Echelon, the known online application to perform moderation tasks on B3 supported servers. For this guide I am using the 'standalone' because I did not try the other one yet. It was set up on a Linux Debian 8 server, so don't expect a guide for windows. I am using the Apache webserver (v 2.4) and had to make it switch between multiple php versions because the website of my gamepanel does not support php 7.1 A little tutorial about how to do that is also included within this guide. To edit config files i used winscp - simply because it's easier to view the files within an editor. The tool is based on 'laravel' which means that it requires to be the root folder of your webserver. II. Requirements Server: SSH access for root and a sudo user PHP 7 or higher Composer Apache2 webserver B3: Enabled plugin: Status Enabled plugin: Chatlogger Tool: The standalone version of the tool itself: HERE The claimplayer plugin for CoD4x: HERE A modified version of nehoscreenshotuploader plugin for CoD4x: HERE III. Preparation 1. Install Composer Login with ssh to a non-root sudo user and update the package manager cache sudo apt-get update To download and run Composer you need 'curl', 'php5-cli' and 'git' sudo apt-get install curl php5-cli git You are ready to install composer now curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer Verify that Composer is correctly installed by checking it's version composer --version 2. Optional - depending on the other websites you are running - Modify apache to make it switch between multiple php versions Install php 5.6 and php7.1 fpm including dev-tools sudo apt-get -y install apt-transport-https lsb-release ca-certificates sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' sudo apt-get update sudo apt-get install libapache2-mod-fastcgi php5.6-fpm php5.6 php5.6-dev php5.6-mcrypt php5.6-mbstring php5.6-mysql php5.6-zip php5.6-gd php5.6-xml php7.1-fpm libapache2-mod-fastcgi php7.1-fpm php7.1 php7.1-dev php7.1-mbstring php7.1-mysql php7.1-zip php7.1-gd php7.1-xml php7.1-curl php7.1-intl php7.1-json php7.1-mcrypt Enable the necessary Apache modules sudo a2enmod actions sudo a2enmod fastcgi Add handlers for both version to your default Apache vhost Add this after <VirtualHost *:80> in /etc/apache2/sites-available/000-default.conf <IfModule mod_fastcgi.c> AddHandler php56-fcgi-www .php Action php56-fcgi-www /php56-fcgi-www Alias /php56-fcgi-www /usr/lib/cgi-bin/php56-fcgi-www FastCgiExternalServer /usr/lib/cgi-bin/php56-fcgi-www -socket /run/php/php5.6-fpm.sock -pass-header Authorization <Directory "/usr/lib/cgi-bin"> Require all granted </Directory> </IfModule> <IfModule mod_fastcgi.c> AddHandler php71-fcgi-www .php Action php71-fcgi-www /php71-fcgi-www Alias /php71-fcgi-www /usr/lib/cgi-bin/php71-fcgi-www FastCgiExternalServer /usr/lib/cgi-bin/php71-fcgi-www -socket /run/php/php7.1-fpm.sock -idle-timeout 1800 -pass-header Authorization <Directory "/usr/lib/cgi-bin"> Require all granted </Directory> </IfModule> <IfModule mod_fastcgi.c> <FilesMatch ".+\.ph(p[345]?|t|tml)$"> #Uncomment the SetHandler you want to use by default #SetHandler php56-fcgi-www #SetHandler php71-fcgi-www </FilesMatch> </IfModule> In the same file add a new directory definition for the site which later uses the non-default (second) php version In the default config this belongs below the part which defines the 'DocumentRoot' folder. Alias /example "/var/www/html/example/" <Directory "/var/www/html/example/"> <FilesMatch ".+\.ph(p[345]?|t|tml)$"> #Uncomment the SetHandler with the opposite php version #SetHandler php56-fcgi-www #SetHandler php71-fcgi-www </FilesMatch> </Directory> Save and restart apache service apache2 restart 3. Enable mod_rewrite for Apache Enable the modules and restart apache sudo a2enmod rewrite sudo mkdir -p /var/run/apache2 sudo chown -R www-data /var/run/apache2 sudo a2enmod actions service apache2 restart Enable the forwarding within the default Apache vhost in /etc/apache2/apache2.conf Change 'AllowOverride' from None to All <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride NONE Require all granted </Directory> 4. Download and install stormyys 'screenshot management tool' Change the directory to var/www/ cd /var/www/ Download the tool via composer as a non-root user! composer create-project stormyy/b3cod4x-standalone Update the files via composer (as a non-root user!) just in case. cd /var/www/b3cod4x-standalone composer update Depending on the user you have used to download stormyys tool you might have to change the owner/group and the permissions of the files and folders. Edit the config (hidden .env file) which is located in the root folder of b3cod4x-standalone !If your APP_NAME contains spaces you have to put it into double quotes! !DB_DATABASE is a new database which will be auto-generated - THIS IS NOT YOUR B3 DATABASE! APP_NAME="B3 Webinterface (by Stormyy)" APP_ENV=local APP_KEY=THIS_IS_AUTOGENERATED_BY_THE_TOOL APP_DEBUG=false APP_LOG_LEVEL=debug APP_URL=http://www.mywebsite.com DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=my_NEW_database_name DB_USERNAME=my_database_user DB_PASSWORD=my_database_password Migrate the required tables for the database php artisan migrate Change the DocumentRoot within the default Apache vhost config /etc/apache2/sites-available/000-default.conf to DocumentRoot /var/www/b3cod4x-standalone/public Save and restart apache service apache2 restart Move all your public files (websites, fastdl etc.) to /var/www/b3cod4x-standalone/public else they will not work anymore! 5. Optional - Adjust the permissions for the different b3 groups - This will affect the website of the tool only, not b3 in general! - Edit the config b3cod4x.php within the config folder 'screenshot' => 8, //Ability to take a screenshot 'remove' => 128, //Ability to remove server 'unban' => 32, //Ability to uban 'setrank' => 64, //Ability to set rank 'ban' => 32, //Ability to ban 'chat' => 32 //Ability to chat These are the available values - do not edit them: * Permission groups: * Superadmin = 128 * Senioradmin = 64 * Fulladmin = 32 * Admin = 16 * Moderator = 8 * Regular = 2 * User = 1 * Guest = 0 6. Download the CoD4x plugins 'claimplayer' and 'nehoscreenshotuploader' (links in II. Requirements) and upload them to the plugins folder of your server. 7. Head to your b3 plugins and edit the config for the chatlogger: Enable 'save_to_database' 8. Now edit the config of the status plugin: interval: 10 (Refreshes 10 seconds, same as the panel) enableDBsvarSaving: yes enableDBclientSaving: yes svar_table: current_svars client_table: current_clients 9. Enable the b3 plugins 'status' and 'chatlogger' within the config of your b3 bot and restart b3. IV. First use of the tool 1. Change the Admin Credentials Navigate to your website and login with the default credentials Username: admin@admin.com Password: ChangeMeFast When you are logged-in click on 'Super Admin' and 'My Account'. Change the credentials and save them. 2. Add your b3 server and follow the instructions on your screen about what to add to your server.cfg It tells you to add something similar to this to your server.cfg set nehoscreenshot_identkey your_personal_ident_key set nehoscreenshot_url "http://www.yourwebsite.com/b3/screenshot" loadplugin nehoscreenshotuploader loadplugin claimplayer 3. Once you have added the stuff to your server.cfg execute the server.cfg to load the plugins. 4. Claim your player to gain admin access The claimed player will only gain access to the admin functions when he is a member of a b3 admin group - Moderators are only able to capture and view screenshots by default - After your first login you will notice a big red panel asking you to claim your player. Click this button and you will receive a random code you have to write in chat on the server. /claimplayer 12random34and56so78on90 Copy this text, including the slash and connect to your server. Paste the text into the chat and send it. If the plugin was enabled correctly your text should not be visible. Instead a command will be executed which is visible as a colorized text bottom left. CONGRATULATIONS - YOU ARE READY TO USE THE TOOL V. Used Sources Composer install guide: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-debian-8 Multiple PHP Setup: https://packages.sury.org/php/README.txt https://medium.com/@sbuckpesch/run-multiple-php-version-on-the-same-server-using-php-fpm-and-xdebug-on-ubuntu-16-04-6a84f5b7d7ce
  6. 5 points
    I'll just leave it here... As soon as it's done.
  7. 5 points
  8. 4 points
    Rebuild from scratch by measuring each and every brush on the original strike map. Using Textures and models from Modern Warfare Remastered and WW2. Map size ~ 230mb (high res textures) Supporting all stock gamemodes. Missing pezbots waypoints tho. Download it over at: https://www.moddb.com/games/call-of-duty-4-modern-warfare/addons/mp-strike-2 http://www.cfgfactory.com/downloads/show/5c20b96bad97d Mirror: https://drive.google.com/file/d/1MEdOEB455D6OvrxT5yvtKL9imB6Ch4i9 @ Bouncepatch.com // Strike 2 - V1.0 // Steam: https://steamcommunity.com/id/dreamzyyy/ YT Preview: https://www.youtube.com/watch?v=H7AbX9JgoHc
  9. 4 points
    As many Steam gamers have noticed they got an update for Call of Duty 4 - Modern Warfare. This update was kinda breaking the game completely. Here is how to fix this patch: Download the file from this site here: https://eu.cybergamer.com/files/6412/ This is the main and original game executable from CoD4 1.7. When done locate your CoD4 installation, there are 2 ways to find it. If you know where you Steam folder is you can find it on this way: Open a new Windows Explorer Window. Go to your "Steam" folder (Which is likely in "C:\Program Files(X86)") then click on "steamapps" then "common" and then "Call of Duty 4". Here you got to your CoD4 folder. Just in case you didn't find your CoD4 folder here is another way: Open the Steam main window, then click Library, Games. Find in the left list "Call of Duty 4: Modern Warfare". Rightclick the game and choose properties. In the new window click on "Local Files" and then "Browse Local Files". Now you should be in your CoD4 folder. Since you have now your CoD4 folder locate the file iw3mp.exe. Right click onto it and chose "Delete" and confirm it. Now go to your before downloaded file then drag and drop it into your Cod4 folder. Here you should be done with the guide. A reinstallation of CoD4X shall not be necessary as it remains installed even after the Steam update. It just does not activate in case the "iw3mp.exe" file gets replaced.
  10. 4 points
    Hello everyone, We've updated our mod after a long time.I'm sorry if you had errors, but we make new stuffs and remove some stuffs! [ promodlive220 EU MOD + Flags ] [ promodlive220 EU RAW + Flags ] Developer List: JeeNNN:] CWP-Razor Night ZaGGoreC Update Notes: + MapVote System + Randompopup + AntiAFK script + New Music + Song name's + New Background + Music + New makeMod.bat + Health script - Custom Menu - AntiCamp - Font @dpj @IIIMATKO @d1zzy @JeeNNN:] @blowoff @strix @{cool.G} ingre @Klauser @Don Best regards, @Night
  11. 4 points
    This is a tutorial on how to add custom images into fx editor and use them in a map This tutorial is not on how to use the fx editor For this tutorial you should have a basic understanding of cod4 modtools Firstly create your image. Make sure that the background is transparent (unless your image is a square of something). Your image dimensions need to be a multiple of 4 e.g. 620x40 Then save it as a dds file. Next put the image you created into your cod4 directory Then go into asset manager and create a new material and name it something. I recommend putting gfx_ infront of the name Now change the materialType to effect, the surfaceType to none, the usage to <not in editor> the blendFunc to Blend (Without this the transparency in your image will show up as black. You will not need to change this if your image has no transparency) Now scroll down to colour map and click the 3 dots and select you image that you put in your cod4 directory. Under color map set it to notile and nomip bilinear Now click save in asset manager (you need to save this file to [Call of Duty 4\source_data] Now press f10 to covert the image, your cmd should look like this when done. If it doesnt read the error and see if it is something that needs to be changed in asset manager. Now open up EffectsEd Click the wand button at the top to make a new segment Now go to the visuals tab, make sure the Element type is on billboard Sprite. click the folder button, you should be in a folder called materials Next to File name change the drop down list to All files --sidenote-- If you name your material gfx_something it will show up in this list and you wont change the file settings ---- Now search for the name of your image and select it [Call of Duty 4\raw\materials] Now go to the generation tab and change the count to 1 (this means the 1 particle will show up in 1 cycle, increase this number to add more) Now go to the size tab and change the scale to 10 (this will be the size of the image change if you want) Now save your fx in your fx folder [Call of Duty 4\raw\fx] Now click play and you should see your image come up. Now mess around with the different settings to make you effect --How to add the fx to your map-- In your map .gsc file add this line in main() to load your fx level.callthiswhatever = loadFx( "yourfxnamehere" ); Here is how mine looks: Now create a thread and add your effect how ever you like, i'm going to make mine play every 5 seconds. Now go to your images folder in your cod4 directory and look find your image [Call of Duty 4\raw\images] Now copy the image iwi into your maps .iwd Now you will need to add these lines in your maps .csv to load the fx and material. material,yourmaterialname fx,yourfxname Here is how mine looks: Now build the maps fast files and enjoy your awesome fx If you need help feel free to ask Lossy, on 03 Mar 2015 - 11:38 PM, said: Also should add that if people textures end up with a white background despite having alphaTest to always then you should change it GE128 and it should work
  12. 3 points
    17.8 Release: Patched Steam stuff to override the game displayname again. Added Discord-Presence integration (Status and join over Discord) Fix for a crash exploit where you can post into any text string a bad material-handle and client will crash. This was in recent half year frequently abused by few individuals (For example Nadorix) by putting bad text into nickname or chat. Patched few issues I don't remember anymore Will now always update iw3mp.exe to allow CoD4 to use 4GByte of address space (Before only 2GByte was allowed) - Purpose is less out of memory errors. Client support for debug commands print3d(), line() and printstar() 17.9 Release: Removed a prior added issue fix for CL_CGameNeedsServerCommand: A reliable command has cycled out. Fixing this on client side did cause bad side effects.
  13. 3 points
    I am not so sure about that one. However I really hope you are right. Anyway the bug should be fixed on official github. Thank you for pointing me in the right direction.
  14. 3 points
    This plugin will allow you to write plugin in Lua, no compiling needed. Just drop into server directory and load the script file and you're done. Most suited for implementation of heavier functions that run slow in gsc script (A star for example). It is up to 10 times faster in my tests. Still early version so there may be bugs and not all functions are implemented. Should be enough to satisfy most needs, but if needed you can use lua ffi api to access structs and other functions. GitHub page
  15. 3 points
    Because there is a question about this every day I've decided to write a quick tutorial on how to make it work with the latest CoD4x version. I will assume you already had b3 working on 1.7/a, have knowledge in managing it and you have a 1.8 server installed. First download the CoD4x parser HERE and place it to your parsers directory. You must have B3 in source code to have access to parsers directory. Change your parser setting in main B3 config file to cod4x18. Next you should make a fresh B3 database as 1.8 guids are different. And you're done! It wasn't that hard was it? FAQ: Q: Do I have to enable legacyguid mode? A: No. Legacy mode must be disabled Q: Do I need B3hide plugin? A: No. B3hide is optional. Q: Do I need simplebanlist plugin? A: No. If you run more than one server it is recommended you do not use it as if you want to unban someone, you will have to do it on every server you run. If you run only 1 server it is fine to run the plugin. The players will stay banned regardless. Q: Do I need sourcebans plugin? A: No. Either run sourcebans or B3, but don't do both at the same time. Q: Does this parser work on B3 1.9.x version? A: Unknown. It was only tested with 1.10.x Q: My guids are all 0!! A: Please use the search function. There have been countless questions regarding this and it is not a B3 specific issue.
  16. 3 points
    Happy New Year everyone!! may all your hopes and dreams come true!!
  17. 3 points
    You can edit every stuff in this mod or raw.I just upload this raw to people like you guys.If you want you can make it better in future. Noone didnt open that source before me when i open that source then crazy open his source cuz everyone use it.After a 4 years i ask him for that source and he tell me i need to pay that source. After a long years we found idea how to make something and we create it togther. I hate people who want to sell something in cod4. When i start work at mods i learn by people from forums,website,videos. No need to pay something just search and try to find solve or people who can help you. I want to make something better with more people. If you want to play more years call of duty 4. We need to make something new about cheaters. We are here to help each other. Together we can solve everything. With money you will not achieve much. You will achieve more if you explain how to do it and do not charge anything with the money.If I do not know, I will ask people who know it so we are all in this forum to help each other.This whole story goes to saying that money is not the most important aid and that there are more ways to help a man than to pay him something. Best regards, @Night
  18. 3 points
    Thanks but I've never used your mod. I was only trying to get flags to work to recreate the mod for RS 2.20... anyway. Thanks
  19. 3 points
    That is your problem. Read closely: Or in other words 1. Stay away from dvars you have zero idea what they do and then cry why something isn't as by default.
  20. 3 points
    This will most likely be the final release outside of bug fixes. - Added MySQL support, all player, trueskill and mapstat data will be saved on a database. Trueskill and mapstat table name can be changed for cross server support. For advanced admins there is a "vip" and "vipexp" columns making automation of vips possible. VIP must be set to 1, vipexp is the DATETIME of vip status expiring. Once expired, VIP will automaticly change to 0 on player connection to the cod4 server. - MySQL and Trueskill are now fully optional. Server will no longer crash if you don't load the plugins. - Added option to disable wallbang ingame. Should do wonders to destroy campers who just shoot at walls with LMG. - General bugfixes. NOTE: This version requires the very latest commit on the cod4x github page. Spectating stuff in mod will not work until it is fixed in cod4x server code. It may be best for non-advanced admins to wait until stable mainstream release. Available on GitHub.
  21. 3 points
    Hello There! :D The brand new Call of Duty Frontlines FOREVER Launch Trailer was released! Mod will be released in next days! https://youtu.be/gudPpy7yR3s It's 100% compatible with COD4X and will have a COD4X patch in the future to improve the bots. Check this out! :D
  22. 3 points
    Hi peps, It's been a loooong time coming and I finally have somewhat complete release ( github ). Vast majority of planned and suggested stuff was added, however my private tests are limited so the mod might still include bugs, beware. To run the mod you need a newer version of cod4x server ( 14 Jul or later ), and a trueskill plugin ( github ). I'll upload the compiled plugin for both windows and linux soon, for those who don't know how to compile it themselves. When all bugs are fixed and all features added I will add a mysql support aswell. Enjoy.
  23. 3 points
  24. 3 points
    Play MineSweeper with your friends on Call Of Duty 4 Go here to connect: http://151.80.142.153/connect.html
  25. 3 points
    Well, if the "good" server admins as we seen here many times running everything as root, sudo not necessary.
  26. 3 points
    PlayerName is so fucking useful hud element
  27. 3 points
    Where can I download this mod? You can get it here. I get Error: bad token '#' Error. HELP!? You need bleeding-edge server version which is available here. Note that this version may be unstable. If you experience server (segfault) crash report it to said thread. Do NOT report script errors there! Do I need Trueskill plugin and where do I get it? No, this feature is optional. If you want to use it you can get it here. Do I need Mysql plugin and where do I get it? No, this feature is optional. If you want to use it you can get it here. I found a bug. What do I do? You can report it on this subforum or on my Github page. If you fixed it yourself you can open a pull request aswell.
  28. 3 points
    Hello guys, as i discussed with Ingramz earlier, after consideration the promod developers have released the official source code for promod 2.20 . View the source code @ : https://github.com/promod/promod4 Happy modding.
  29. 3 points
    Don't wonder if your "free" server will be one morning no longer be yours. Talking here about past and a bit of knowledge.
  30. 3 points
  31. 3 points
    A bit cheap don't you think? It would be hard listening to his bitching for any less than 50/hr
  32. 3 points
    Much English, Such description, Alot of Wow. Since this is in the server section, i will assume you mean adding skins to your mods, since that is the only way to enable server side skins. Download a skin from moddb or some other source .The file format for the individual skin file should be .iwi. The file will be placed at /../mod.iwd/images/yourskin.iwi. If you have a pre-compiled .iwd package, rename mod.iwd to mod.rar. Open the file with WinRar, browse to images inside the folder hierarchy Drag and drop the .iwi (skin file ) in there. Close the WinRar Window and rename mod.rar back to mod.iwd Run Server with the Mod If you want to know how to create .iwd files from scratch, as in if you do not have a pre-existing .iwd file to edit, then let me know. If you liked this answer do give it a like.
  33. 3 points
    Seems weird, check if cl_bypassMouseInput is set to 1 in your console, if so change it to 0 and see if that helps.
  34. 3 points
    To anyone who wants to play with it, enjoy. Example gsc implementation soon. Github repo
  35. 3 points
    Well it wasn't really my project to create an extractor for menu files and make it public for everyone to use as I had no own use for it. Most what you @MiKeY say is unfortunately really just true and also my view on many of the things. However when T-Max creates extractors he will create them. Even when it would be not inside CoD4X people still would just use it as soon as it is available somewhere. On the other hand there are in meantime also a lot of abandoned mods or whatever stuff out there which would great when you could make something new with it or fix or improve them. So it has always two sides. You can't. Idk why he was saying that. Good possible as I want to work with .bsp files and not with Deflate compressed cm_world and GfxWorld structures. You know with how much garbage CoD maps are packed? I just want to get rid of that. I also need it the ClipMap to generate .aas files for bots. Finally @MiKeY don't forget that you are using my own code to keep your scripts on the server and prevent people from stealing it. It was me who protected CoD4 servers from sending all kind of files people do request in download. Without that code your scripts had found a new "owner" a long time ago already.
  36. 3 points
    cod4x are community made patches. not everyone wants the new features we provide, naturally not everyone installs it on their servers. cod4x 1.7a was a much more leightweight version, where only the server was modified. the cod4x 1.8 server also needs the players to have the 1.8x client update installed. 1.8x servers are updating automatically to the latest version. 1.8x clients are showing an update button in the main menu if an update is available. please ignore the "1.7" in the console, it has not been patched. you do have the 1.8 client, 17.3 is the subversion. we do not list 1.7 or 1.7a servers anymore on the cod4x master, there is also no dedicated website for it. however, gametracker.com is a good source for it. benefits of playing on 1.8 servers are that you will encounter much less cheaters, and won't have any redirect or malicious servers there.
  37. 3 points
    sharing my script which screencapture players with above average score in _load::main() add thread userscripts\ss::init(); userscripts\ss.gsc code init() { level endon("game_ended"); while(1) { wait 480; // 8 minutes bestscore = 0; sumscore = 0; count = 0; players = getEntArray("player","classname"); for(i=0; i<players.size; i++) { if (players[i].pers["score"] > 0) { if (players[i].pers["score"] > bestscore ) { bestscore = players[i].pers["score"]; } sumscore += players[i].pers["score"]; count++; } } if (count > 0 && sumscore > 0) { averagescore = sumscore / count; countscore = bestscore - (averagescore / 2); for(i=0; i<players.size; i++) { if (players[i].pers["score"] > countscore) { if ( players[i] getGuid() != "0") { exec("getss " + players[i] getGuid()); } wait 1; } } } } }
  38. 3 points

    Version 1.0.0

    155 downloads

    _class.gsc _globallogic.gsc _menus.gsc _rank.gsc war.gsc level55.gsc
  39. 3 points
    Hello sorry for not repling to people in threads and the PM's i've been extreamly busy with life stuff so a lot a people have been asking me and posting about it here so here you go this is a simple server side script to sniper servers works with all game modes SC or HC doesn't matter and it can be edited as you like and added to any pre-existing scripts/iwd7 you have the code : sniper() { while(1) { self waittill("weapon_change", weapon); /// wait until player changes weapon to prevent class changing when they first spawn. self TakeAllWeapons(); /// clear player weapons self ClearPerks(); /// clear all player perks self SetPerk("specialty_extraammo"); /// give the player Bandolier perk self SetPerk("specialty_bulletdamage"); /// give the player Stopping Power perk self SetPerk("specialty_bulletaccuracy"); /// give the player Steady Aim perk self GiveWeapon("m40a3_mp"); /// give the player M40A3 Sniper self GiveWeapon( "remington700_mp" ); /// give the player R700 Sniper self GiveMaxAmmo("m40a3_mp"); /// give the player max ammo for M40A3 self GiveMaxAmmo( "remington700_mp" ); /// give the player max ammo for R700 setDvar("aim_automelee_enabled", 0); /// Disable Knife setDvar("player_meleeRange", 0); /// Disable Knife wait 0.05; } } You don't like the perks ? Change them here's the names for all the perks you need "specialty_weapon_c4" "specialty_specialgrenade" "specialty_weapon_rpg" "specialty_weapon_claymore" "specialty_fraggrenade" "specialty_extraammo" "specialty_detectexplosive" "specialty_bulletdamage" "specialty_armorvest" "specialty_fastreload" "specialty_rof" "specialty_twoprimaries" "specialty_gpsjammer" "specialty_explosivedamage" "specialty_longersprint" "specialty_bulletaccuracy" "specialty_pistoldeath" "specialty_grenadepulldeath" "specialty_bulletpenetration" "specialty_holdbreath" "specialty_quieter" "specialty_parabolic" you can also remove 1 or 2 perks or remove all of them ! to remove sway ( make the snipers always steady like promod ) add these : setDvar( "player_breath_gasp_lerp", "0.001" ); setDvar( "player_breath_gasp_time", "0.001" ); setDvar( "player_breath_gasp_scale", "0.001" ); self SetClientDvar( "cg_drawBreathHint", "0" ); /// to remove the hold shift hint so it look like this : sniper() { while(1) { self waittill("weapon_change", weapon); /// wait until player changes weapon to prevent class changing when they first spawn. self TakeAllWeapons(); /// clear player weapons self ClearPerks(); /// clear all player perks self SetPerk("specialty_extraammo"); /// give the player Bandolier perk self SetPerk("specialty_bulletdamage"); /// give the player Stopping Power perk self SetPerk("specialty_bulletaccuracy"); /// give the player Steady Aim perk self GiveWeapon("m40a3_mp"); /// give the player M40A3 Sniper self GiveWeapon( "remington700_mp" ); /// give the player R700 Sniper self GiveMaxAmmo("m40a3_mp"); /// give the player max ammo for M40A3 self GiveMaxAmmo( "remington700_mp" ); /// give the player max ammo for R700 setDvar("aim_automelee_enabled", 0); /// Disable Knife setDvar("player_meleeRange", 0); /// Disable Knife setDvar( "player_breath_gasp_lerp", "0.001" ); setDvar( "player_breath_gasp_time", "0.001" ); setDvar( "player_breath_gasp_scale", "0.001" ); wait 0.05; } } ok now How do you use this and where ? go to maps/mp/gametypes/_weapons.gsc ( or .gsx depends on 1.7a or 1.8x .. iwd or main_shared ) find onPlayerSpawned() and thread it there it will look something like this : onPlayerSpawned() { self endon("disconnect"); for(; { self waittill("spawned_player"); self.concussionEndTime = 0; self.hasDoneCombat = false; self thread watchWeaponUsage(); self thread watchGrenadeUsage(); self thread watchWeaponChange(); self.droppedDeathWeapon = undefined; self.tookWeaponFrom = []; self thread updateStowedWeapon(); self thread sniper(); } } now scroll to the end of the file and copy paste the code > save DONE ! Sounds too complicated for you ? in the attachments you'll find it already done (without the sway removal) with stock _weapons.gsc and the code added inside it just copy past and start the server and DONE and finally SHAME on the people who knew how to do this script and didn't help others .. but oh well it's the COD4 community after all .. Enjoy and cheers @Phantasy @postman localized_english_iw07.zip main_shared.zip
  40. 2 points
    "Your company" ROFL Get in the sea.
  41. 2 points
    Yes itโ€™s really strange lol ๐Ÿ˜‚
  42. 2 points
    init() { level.hud_Y = 0; level.hud_Y_offset = 13; thread players(); } players() { while(1) { level waittill( "connected", player ); player.killstreak = 0; //player thread headshots(); //player thread killstreak(); player thread kills(); player thread deaths(); player thread name(); player thread gtguid(); } } headshots() { self endon( "disconnect" ); level endon ("vote started"); self.hudhs = newClientHudElem(self); self.hudhs.x = 110; self.hudhs.y = level.hud_Y + (1*level.hud_Y_offset); self.hudhs.horzAlign = "left"; self.hudhs.alignx = "left"; self.hudhs.fontscale = 1.4; self.hudhs.hidewheninmenu = true; self.hudhs.label = &"^2Headshots :^1 &&1"; self.hudhs fadeOverTime(.5); self.hudhs.alpha = 1; self.hudhs.glowAlpha = 1; self.hudhs.glowColor = (0.3, 0.3, 0.3); while(isDefined(self.headshots) && isDefined(self.hudhs)) { self.hudhs setValue(self.headshots); wait .5; } } killstreak() { self endon( "disconnect" ); level endon ("vote started"); self.hudkillstreak = newClientHudElem(self); self.hudkillstreak.x = 110; self.hudkillstreak.y = level.hud_Y + (2*level.hud_Y_offset); self.hudkillstreak.alignx = "left"; self.hudkillstreak.horzAlign = "left"; self.hudkillstreak.fontscale = 1.4; self.hudkillstreak.label = &"^2Killstreak :^1 &&1"; self.hudkillstreak fadeOverTime(.5); self.hudkillstreak.hidewheninmenu = true; self.hudkillstreak.alpha = 1; self.hudkillstreak.glowAlpha = 1; self.hudkillstreak.glowColor = (0.3, 0.3, 0.3); while(isDefined(self.killstreak) && isDefined(self.hudkillstreak)) { self.hudkillstreak setValue(self.killstreak); wait .5; } } kills() { self endon("disconnect"); self.hudkills = newClientHudElem(self); self.hudkills.alignx = "left"; self.hudkills.horzAlign = "left"; self.hudkills.x = 110; self.hudkills.y = level.hud_Y + (3*level.hud_Y_offset); self.hudkills.fontscale = 1.4; self.hudkills.label = &"Kills : &&1"; self.hudkills fadeOverTime(.5); self.hudkills.hidewheninmenu = true; self.hudkills.alpha = 1; self.hudkills.glowAlpha = 1; self.hudkills.glowColor = (0.1, 0.1, 1.5); self.hudkills.color = (0.1, 0.5, 1.9); while(isDefined(self.hudkills) && isDefined(self.kills)) { self.hudkills setValue(self.kills); wait .5; } } deaths() { self endon("disconnect"); self.huddeaths = newClientHudElem(self); self.huddeaths.alignx = "left"; self.huddeaths.horzAlign = "left"; self.huddeaths.x = 110; self.huddeaths.y = level.hud_Y + (4*level.hud_Y_offset); self.huddeaths.fontscale = 1.4; self.huddeaths.label = &"Deaths : &&1"; self.huddeaths fadeOverTime(.5); self.huddeaths.hidewheninmenu = true; self.huddeaths.alpha = 1; self.huddeaths.glowAlpha = 1; self.huddeaths.glowColor = (0.1, 0.1, 1.5); self.huddeaths.color = (0.1, 0.5, 1.9); while(isDefined(self.huddeaths) && isDefined(self.deaths)) { self.huddeaths setValue(self.deaths); wait .5; } } name() { self.nameHud = NewClientHudElem(self); self.nameHud.x = 110; self.nameHud.y = level.hud_Y + (6*level.hud_Y_offset); self.nameHud.alignx = "left"; self.nameHud.horzAlign = "left"; self.nameHud.alignX = "left"; self.nameHud.alignY = "middle"; self.nameHud.fontscale = 1.4; self.nameHud setText("Player Name: ^1" +self.name); self.nameHud.hidewheninmenu = true; self.nameHud.hidewheninmenu = true; } gtguid() { self.guidHud = NewClientHudElem(self); self.guidHud.x = 110; self.guidHud.y = level.hud_Y + (7.2*level.hud_Y_offset); self.guidHud.alignx = "left"; self.guidHud.horzAlign = "left"; self.guidHud.alignX = "left"; self.guidHud.alignY = "middle"; self.guidHud.fontscale = 1.4; guid = GetSubStr(self getGuid(), self getGuid().size - 8, self getGuid().size); self.guidHud setText("GUID: ^3" + guid); self.guidHud.hidewheninmenu = true; self.guidHud.hidewheninmenu = true; } Found this...
  43. 2 points
    careful with small letters and capital letters Mods and mods it has to same both in server and in website tooo "cod4/mods/modname " and " www.whatever.com/whatever/whaterver/mods/modname " and you need specifi upto before " mods" folder only like this " www.whatever.com/whatever/whaterver/ "
  44. 2 points
  45. 2 points
    Well actually you need to ask the user for his permission so you can screenshot him. You didn't know?
  46. 2 points
    Hello, I share antiAFK and autobalance script that I started to use on my server. This is the first version, so the script can be optimized and maybe contain bugs. I'm not sure (I tested it only in promod) but the script can be used on any mod and default gametypes. I called the AutoTeamsBalancer function in the init() function of the _globallogic file: level thread AutoTeamsBalancer(); and the function AFK_Camp_Watcher in the spawnPlayer() function, always in the _globallogic file: self thread AFK_Camp_Watcher(); but it is possible to call these functions from sd.gsx, dm.gsx, etc... file in the right callback (onSpawnPlayer, init...). The AFK_Camp_Watcher function is based on the example made in the Call of Duty 4: CoD Script Handbook. This autobalance version move the 'extra' players that have the lowest score in the team. Of course you can change the sort order in the function getLowScorePlayers (for example on spawnTime) and script should work the same. You can freely use the shared code. I hope I'll help someone sharing it. Regards, arbait AFK_Camp_Watcher: #include maps\mp\_utility; #include maps\mp\gametypes\_hud_util; #include common_scripts\utility; AFK_Camp_Watcher() { level waittill("prematch_over"); self endon("death"); self endon("disconnect"); self endon("joined_spectators"); self endon("game_ended"); my_afk_camp_time = 0; have_i_been_warned = false; camp_time = 20; while( 1 ) { old_position = self.origin; old_angles = self.angles; wait 1; new_position = self.origin; new_angles = self.angles; distance = distance2d( old_position, new_position ); if( distance == 0 && old_angles == new_angles ) { my_afk_camp_time++; } else { my_afk_camp_time = 0; have_i_been_warned = false; } if( my_afk_camp_time == camp_time && !have_i_been_warned ) { self IprintLnBold("^7You appear to be ^1AFK^7!"); self IprintLnBold("^710 seconds to move!"); have_i_been_warned = true; } if( my_afk_camp_time == ( camp_time + 10 ) && have_i_been_warned ) { self IprintLnBold("^7You will be moved to spectators for ^1AFK ^7/ ^1Camping^7!"); wait 2; self.sessionteam = "spectator"; self.sessionstate = "spectator"; self [[level.spawnSpectator]](); iPrintln("^7" +self.name + " ^7was moved to spectators for ^1AFK ^7/ ^1Camping^7!"); } } } AutoTeamsBalancer: #include maps\mp\_utility; #include maps\mp\gametypes\_hud_util; #include common_scripts\utility; getTeamPlayers(team) { result = []; players = level.players; for(i = 0; i < players.size; i++) { if (isDefined(players[i]) && players[i].pers["team"] == team){ result[result.size] = players[i]; } } return result; } getLowScorePlayers(team, nPlayers) { result = []; if (team.size > 0 && nPlayers > 0 && team.size >= nPlayers) { //Sorting team by score (bubble sort algorithm @TODO optimize) for (x = 0; x < team.size; x++) { for (y = 0; y < team.size - 1; y++) { if (isDefined(team[y]) && isDefined(team[y+1]) && team[y].pers["score"] > team[y+1].pers["score"]) { temp = team[y+1]; team[y+1] = team[y]; team[y] = temp; } } } for (i = 0; i < nPlayers; i++) { if (isDefined(team[i])) { result[i] = team[i]; } } } return result; } AutoTeamsBalancer() { if(level.gametype == "dm") return; pl_change_team = []; changeteam = ""; offset = 0; while(1) { wait 20; if (isDefined(game["state"]) && game["state"] == "playing") { pl_change_team = []; changeteam = ""; offset = 0; team["axis"] = getTeamPlayers("axis"); team["allies"] = getTeamPlayers("allies"); if(team["axis"].size == team["allies"].size) continue; if(team["axis"].size < team["allies"].size) { changeteam = "axis"; offset = team["allies"].size - team["axis"].size; } else { changeteam = "allies"; offset = team["axis"].size - team["allies"].size; } if (offset < 2) continue; iPrintln("^7Teams will be balanced in 5 sec..."); wait 5; if (isDefined(game["state"]) && game["state"] == "playing") { team["axis"] = getTeamPlayers("axis"); team["allies"] = getTeamPlayers("allies"); if(team["axis"].size == team["allies"].size) { iPrintln("^7AutoBalance aborted: teams are already balanced!"); continue; } if(team["axis"].size < team["allies"].size) { changeteam = "axis"; offset = team["allies"].size - team["axis"].size; } else { changeteam = "allies"; offset = team["axis"].size - team["allies"].size; } if (offset < 2) { iPrintln("^7AutoBalance aborted: teams are already balanced!"); continue; } offset = offset / 2; pl_to_add = int(offset) - (int(offset) > offset); pl_change_team = []; bigger_team = []; if (changeteam == "allies"){ bigger_team = team["axis"]; } else { bigger_team = team["allies"]; } pl_change_team = getLowScorePlayers(bigger_team, pl_to_add); for(i = 0; i < pl_change_team.size; i++) { if(changeteam == "axis") pl_change_team[i] [[level.axis]](); else pl_change_team[i] [[level.allies]](); } iPrintln("^7Teams were balanced!"); iPrintlnbold("^7Teams were balanced!"); } } } } AntiAFK_AutoTeamsBalancer_Script.zip
  47. 2 points
    For future reference, servers running this mod (newer versions) should show up on this list.