Kaled_
Account Details
SteamID64 76561198136992946
SteamID3 [U:1:176727218]
SteamID32 STEAM_0:0:88363609
Country Yemen
Signed Up May 12, 2025
Last Posted May 13, 2025 at 3:12 PM
Posts 2 (0 per day)
Game Settings
In-game Sensitivity 0.92776
Windows Sensitivity 6
Raw Input 1
DPI
1600
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
#10 Saving location in local server in Q/A Help
Brimstone
con_logfile cfg/position1 needs to be con_logfile cfg/position1.log

That fixed the problem, thank you very much!

This is my script that I use currently if anyone else wants something more simple, it has regen and the ability to save one location to teleport to, I didn't want the script to unbind 5 keys every time I run it so I just removed the extra stuff and changed the bind so I can save a location with E+R and teleport with R (E and R have some gameplay actions that I will need to rebind every time after I finish practice jumping)

sv_cheats "1" 
sv_allow_wait_command "1"
mp_disable_respawn_times "1"
mp_waitingforplayers_cancel "1"

alias "regen" "impulse 101; wait 60; regen"
regen

//Offline Teleports
con_timestamp 0
con_logfile console.log

//Binds
bind r gotoPosition1
bind e +savePosition

//Code
alias +savePosition "bind r savePosition1"
alias -savePosition "bind r gotoPosition1"
alias resetLogfile "con_logfile console.log"
alias savePosition1 "con_logfile cfg/position1.log; getpos; resetLogfile;"
alias gotoPosition1 "exec position1.log"

echo "##### Listen server teleports loaded #####"
echo "#  Use <e> + <r> to save a location   #"
echo "#  Use <r> to teleport to that location #"
posted 3 months ago
#8 Saving location in local server in Q/A Help
mousiopesv_cheats "1"
sv_allow_wait_command "1"

//Offline Teleports
con_timestamp 0
con_logfile console.log

//Binds
bind F1 gotoPosition1
bind ALT +savePosition

//Code
alias +savePosition "bind F1 savePosition1"
alias -savePosition "bind F1 gotoPosition1"
alias resetLogfile "con_logfile console.log"
alias savePosition1 "con_logfile cfg/position1; getpos; resetLogfile;"
alias gotoPosition1 "impulse 101;setpos 9999 9999;wait 100;exec position1.log"

echo "##### Listen server teleports loaded #####"
echo "# Use <Alt> + <F1> to save a location #"
echo "# Use <F1> to teleport to that location #"

I tried to use this script but every time I press F1 after I press Alt + F1 to save a location I get teleported to a spot outside the map and get stuck, then I have to kill bind or noclip to unstuck myself.

The error message that appears in the console is:

'position1.log' not present; not executing.
posted 3 months ago