Closed Daxy7 closed 1 year ago
Okay, I got some of it working, but the scripts like swaying camera and no HUD aren't there. I'll try fixing the game mode. (g_gametype from dom to sab)
Damn what happened?
It kept adding bots indefinitely
This Is Epic (I finally got it working by not using z_localserver.bat) (idk why my cpu runs so bad) (I have an i5 3330)
Okay, I got some of it working, but the scripts like swaying camera and no HUD aren't there. I'll try fixing the game mode. (g_gametype from dom to sab) 2022-11-16.07-42-40-2.mp4
You have to set dvar 'set scr_hardcore 1' in your server.cfg file in cod4x mod dir. I provided updated mod with my server.cfg file with my settings in https://drive.google.com/drive/folders/186GyQw-vKV_bFqAfxdYtRPXcxtaSnoCb?usp=share_link
video log of the errors (over 1000) 2022-11-14.06-20-51-1.mp4
first of all please download files from my provided Google Drive link with updated mod version and all files from my github repo pressing green button 'CODE' and 'Download ZIP' and extract those github files to your cod4x/mods/v01d/ dir.
https://drive.google.com/drive/folders/186GyQw-vKV_bFqAfxdYtRPXcxtaSnoCb?usp=share_link
https://github.com/upl1nk-v01d/cod4x_v01d_mod
in _callbacksetup.gsc file located in cod4x/mods/v01d/maps/mp/gametypes/ folder you have to input this line: level thread scripts\main::init();
please see the pic below:
and set args on your cod4x executable:
At least this is my way to launch cod4x mod successfully. If this helped, then please close this issue.
With +exec server.cfg and after following the steps it does this
without exec server.cfg i get this
It only executes half of each mod and fails. How do you have your cod4x_bot_warfare set up?
I uploaded my modified bot warfare code to my git repo under maps/mp/bots. You can test it by deleting your current bot warfare code and replacing by my modified one.
All of it is working now, but how do you disable the log file or add it?
On every other map round, half the scripts randomly don't run again. had to do map_restart to fix it
This script runtime error happens every time too after half minute of playing but couldn't see it due to the log file spam errors. I think this bug was occuring on your server too?
I added dvars "log_players", "log_motd" and "log_server_con" by default set to 1. Also you can set by your need in your custom.cfg file by setting to 0 ir any other value to disable. If you consider to make your own MOTDs, you can simply put "yyyy-mm-dd.log" format text file, e.g., named "2022-12-07.log" file in your [cod4x]/mods/[yourMod]/motd/ directory and then write your content in it. But then don't forget to set "log_motd" dvar to 1. Line "self _show_hint_msg(0,"buy ammo choosing weapon",1,1,1,0,1,-200,-70);" is now commented out.
video log of the errors (over 1000)
https://user-images.githubusercontent.com/91396482/201602614-3ddbf630-3981-4d9d-9e36-57a1029206a8.mp4