Upvote Upvoted 0 Downvote Downvoted
Saving location in local server
posted in Q/A Help
1
#1
0 Frags +

I've seen some jumpers do it on screen I was wondering how you can do it for jump maps and not needing to be on a server. Anyone know?

I've seen some jumpers do it on screen I was wondering how you can do it for jump maps and not needing to be on a server. Anyone know?
2
#2
6 Frags +

getpos and setpos, use the info you got from getpos to make a bind for setpos

getpos and setpos, use the info you got from getpos to make a bind for setpos
3
#3
3 Frags +
neon_getpos and setpos, use the info you got from getpos to make a bind for setpos

Thank you very much!

[quote=neon_]getpos and setpos, use the info you got from getpos to make a bind for setpos[/quote]
Thank you very much!
4
#4
1 Frags +

I think you need to lower height after getting the coordinates from getpos though? Otherwise you'll spawn in midair or get stuck in a ceiling. At least that's in my experience.

I think you need to lower height after getting the coordinates from getpos though? Otherwise you'll spawn in midair or get stuck in a ceiling. At least that's in my experience.
5
#5
1 Frags +

I'm pretty sure that you can download the plugins that jump servers use and do that locally (so you could do /s or /bcheck)

I'm pretty sure that you can download the plugins that jump servers use and do that locally (so you could do /s or /bcheck)
6
#6
2 Frags +
InhakeI think you need to lower height after getting the coordinates from getpos though? Otherwise you'll spawn in midair or get stuck in a ceiling. At least that's in my experience.

i think you can use setpos_exact to get around this

[quote=Inhake]I think you need to lower height after getting the coordinates from getpos though? Otherwise you'll spawn in midair or get stuck in a ceiling. At least that's in my experience.[/quote]

i think you can use setpos_exact to get around this
7
#7
4 Frags +

sv_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 #"

sv_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 #"
8
#8
-1 Frags +
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.
[quote=mousiope]sv_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 #"[/quote]

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:
[code]'position1.log' not present; not executing.[/code]
9
#9
3 Frags +
Kaled_

con_logfile cfg/position1 needs to be con_logfile cfg/position1.log

Also seems you're using a portion of the original script thats been floating around. it also features the same problem so i guess some update broke it

anyways since it's got regen and extra positions built in it's worth posting:

sv_cheats "1"
sv_allow_wait_command "1"
tf_weapon_criticals "0"
tf_damage_disablespread "1"
tf_use_fixed_weaponspreads "1"
mp_waitingforplayers_cancel "1"
mp_disable_respawn_times "1"

//Regen
give func_regenerate
bind mouse1 "+attack; impulse 101"
alias regen "give func_regenerate; alias regenloop +loop; regenloop"
alias unregen "ent_Fire !self sethealth 200; alias regenloop null"
alias regenloop "+loop"
alias +loop "impulse 101;wait 100;-loop"
alias -loop "wait 100;regenloop"
regen

echo "#### Regen activated ####"

//Offline Teleports
con_timestamp 0
con_logfile console.log

//Binds
bind F1 gotoPosition1
bind F2 gotoPosition2
bind F3 gotoPosition3
bind F4 gotoPosition4
bind F5 gotoPosition5
bind ALT +savePosition

//Code
alias +savePosition "bind F1 savePosition1; bind F2 savePosition2; bind F3 savePosition3; bind F4 savePosition4; bind F5 savePosition5"
alias -savePosition "bind F1 gotoPosition1; bind F2 gotoPosition2; bind F3 gotoPosition3; bind F4 gotoPosition4; bind F5 gotoPosition5"
alias resetLogfile "con_logfile console.log"
alias savePosition1 "con_logfile cfg/position1.log; getpos; resetLogfile;"
alias savePosition2 "con_logfile cfg/position2.log; getpos; resetLogfile;"
alias savePosition3 "con_logfile cfg/position3.log; getpos; resetLogfile;"
alias savePosition4 "con_logfile cfg/position4.log; getpos; resetLogfile;"
alias savePosition5 "con_logfile cfg/position5.log; getpos; resetLogfile;"
alias gotoPosition1 "exec position1.log"
alias gotoPosition2 "exec position2.log"
alias gotoPosition3 "exec position3.log"
alias gotoPosition4 "exec position4.log"
alias gotoPosition5 "exec position5.log"

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

// Noclip button
//bind mouse4 noclip

// Disable waiting for players and respawn times again (on demand)
//alias annoyingshit "mp_waitingforplayers_cancel 1; mp_disable_respawn_times 1"
//bind mouse3 annoyingshit

echo "#### Jumping script loaded #####"
[quote=Kaled_][/quote]

con_logfile cfg/position1 needs to be con_logfile cfg/position1.log

Also seems you're using a portion of the [url=https://jump.tf/forum/index.php?topic=687.0]original script[/url] thats been floating around. it also features the same problem so i guess some update broke it

anyways since it's got regen and extra positions built in it's worth posting:

[code]sv_cheats "1"
sv_allow_wait_command "1"
tf_weapon_criticals "0"
tf_damage_disablespread "1"
tf_use_fixed_weaponspreads "1"
mp_waitingforplayers_cancel "1"
mp_disable_respawn_times "1"

//Regen
give func_regenerate
bind mouse1 "+attack; impulse 101"
alias regen "give func_regenerate; alias regenloop +loop; regenloop"
alias unregen "ent_Fire !self sethealth 200; alias regenloop null"
alias regenloop "+loop"
alias +loop "impulse 101;wait 100;-loop"
alias -loop "wait 100;regenloop"
regen

echo "#### Regen activated ####"

//Offline Teleports
con_timestamp 0
con_logfile console.log

//Binds
bind F1 gotoPosition1
bind F2 gotoPosition2
bind F3 gotoPosition3
bind F4 gotoPosition4
bind F5 gotoPosition5
bind ALT +savePosition

//Code
alias +savePosition "bind F1 savePosition1; bind F2 savePosition2; bind F3 savePosition3; bind F4 savePosition4; bind F5 savePosition5"
alias -savePosition "bind F1 gotoPosition1; bind F2 gotoPosition2; bind F3 gotoPosition3; bind F4 gotoPosition4; bind F5 gotoPosition5"
alias resetLogfile "con_logfile console.log"
alias savePosition1 "con_logfile cfg/position1.log; getpos; resetLogfile;"
alias savePosition2 "con_logfile cfg/position2.log; getpos; resetLogfile;"
alias savePosition3 "con_logfile cfg/position3.log; getpos; resetLogfile;"
alias savePosition4 "con_logfile cfg/position4.log; getpos; resetLogfile;"
alias savePosition5 "con_logfile cfg/position5.log; getpos; resetLogfile;"
alias gotoPosition1 "exec position1.log"
alias gotoPosition2 "exec position2.log"
alias gotoPosition3 "exec position3.log"
alias gotoPosition4 "exec position4.log"
alias gotoPosition5 "exec position5.log"

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

// Noclip button
//bind mouse4 noclip

// Disable waiting for players and respawn times again (on demand)
//alias annoyingshit "mp_waitingforplayers_cancel 1; mp_disable_respawn_times 1"
//bind mouse3 annoyingshit

echo "#### Jumping script loaded #####"[/code]
10
#10
0 Frags +
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 #"
[quote=Brimstone]

con_logfile cfg/position1 needs to be con_logfile cfg/position1.log
[/quote]
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)
[code]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 #"[/code]
Please sign in through STEAM to post a comment.