net_port
Base Jedi Academy
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls net_port in the engine-shared module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Server & networking |
| Module | engine-shared |
| Also registered in | engine-shared |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | No |
| Default | XSTRING( PORT_SERVER ) |
| Value type | int |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_LATCH— latched until the relevant subsystem or map is restarted
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: code/unix/unix_net.c:309
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import snapshot. Dated commit evidence identifies later registration changes relative to the origin snapshot.
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2013-04-07 |
OpenJK | af4b4c2de891Removed most Xbox stuff |
Changed an exact bound cvar-variable reference. codemp/qcommon/qcommon.h |
medium |
2013-04-07 |
OpenJK | f9edad82febeRemoved cdkey code from mp/client |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
medium |
2013-04-07 |
OpenJK | 3e83eda7e823Removed cdkey code from mp/server |
Changed an exact bound cvar-variable reference. codemp/server/sv_client.cpp |
medium |
2013-04-07 |
OpenJK | b319c52fd4edMajor codemp cleanup. Ported modbase. Restructured VS2010 projects. |
Changed an exact bound cvar-variable reference. codemp/game/g_client.c |
medium |
2013-04-07 |
OpenJK | 62c08daffa41Challenge and Print security fixes on client |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
medium |
2013-04-08 |
OpenJK | fab2a580f1d7Use memcmp for ipv4 as well |
Changed an exact bound cvar-variable reference. codemp/qcommon/net_chan.cpp |
medium |
2013-04-08 |
OpenJK | 9950d594349cMerge branch ‘master’ of https://github.com/Razish/OpenJK |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/unix/unix_net.c |
high |
2013-04-18 |
OpenJK | 9e15fadfd9b4Merge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
high |
2013-04-24 |
OpenJK | f6cadd34c6abMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/unix/unix_net.c |
high |
2013-04-27 |
OpenJK | 9f0123a1e1fdMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
high |
2013-05-11 |
OpenJK | f203e799b14cMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/server/sv_client.cpp |
high |
2013-07-03 |
OpenJK | b2afca07b43cMerge pull request #299 from xycaleth/fix-warnings |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
medium |
2013-07-05 |
OpenJK | 7f053f0964ccImproved status command for the console. Is mostly inspired by the SOURCE status cmd. |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2013-07-18 |
OpenJK | ee552c5b46e5Merge pull request #328 from xycaleth/rd-common |
Changed an exact bound cvar-variable reference. codemp/rd-common/tr_font.cpp |
medium |
2014-01-05 |
OpenJK | 866f5878acc3[MP] Fix NET_AdrToString to display port correctly. Minor cleanup to NET_StringToAdr. Use NET_AdrToString in a few places. |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp, codemp/qcommon/net_chan.cpp |
medium |
2014-01-10 |
OpenJK | ed5ac3f124fd[MP] IPX Removal with code cleanup. Unix net code cleanup/updates to windows minus socks support. Might cause *nix compile failure. |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/qcommon/net_chan.cpp, codemp/win32/win_net.cpp |
medium |
2014-01-11 |
OpenJK | 90d5fa42c4b5[MP] Unify win_net and sys_net into qcommon/net_ip. Unix now also supports the socks code. net_restart behaves correctly now if was disabled. |
Changed an exact bound cvar-variable reference. codemp/qcommon/net_ip.cpp |
medium |
2014-01-11 |
OpenJK | 1c39cb27409a[MP] Hopefully fixing OSX net_ip from ioq3 changes at this point. |
Changed an exact bound cvar-variable reference. codemp/qcommon/net_ip.cpp |
medium |
2014-01-31 |
OpenJK | cd5d3753f0a7[MP] Removed net_noudp in favor of net_enabled. Currently only 0 or 1, but it will be supported via bitmask later. Some other minor cleanups and merges from ioq3 in net_ip. |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/qcommon/net_ip.cpp |
medium |
2014-02-10 |
OpenJK | beadbaa9f0a2Merge branch ‘master’ of https://github.com/JACoders/OpenJK |
Changed an exact bound cvar-variable reference. codemp/qcommon/common.cpp |
high |
2014-05-06 |
OpenJK | 5090c9b842f1[MP] Fix port display in master heartbeat. |
Changed an exact bound cvar-variable reference. codemp/server/sv_main.cpp |
medium |
2014-05-17 |
OpenJK | 3a70129c5dd2[MP] Make cl_motd archived and an index to which cl_motdServer is used. Add cl_motdServer1-5. 1 is default, 2 is jkhub, 3-5 are unset by default. Set cl_motd to 0 if you want to disable the Welcome player message entirely. |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
medium |
2014-08-16 |
OpenJK | 73e537fdea26[MP] Port ioq3 engine based ban code. |
Changed an exact bound cvar-variable reference. codemp/qcommon/net_chan.cpp |
medium |
2014-08-25 |
OpenJK | 036c904c5bd8[MP] Tweaked client list in status rcon cmd Cut client number down to 2 width since 32 is max players. Remove lastmsg and qport. Increased size of address to accommodate for future ipv6 support. Fix colored name padding. Based on ioquake/ioq3@94e36c288c6ce6b5273055e61077c29e81fbd2bf |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2015-02-07 |
OpenJK | a7c43677a2bbMerge pull request #613 from JACoders/sdl2-windows-port |
Changed an exact bound cvar-variable reference. codemp/qcommon/qcommon.h, shared/sys/sys_public.h |
medium |
2016-03-19 |
EternalJK | 0efc3164f2c4Upgrade to SDL 2.0.4 |
Changed an exact bound cvar-variable reference. lib/SDL2/include/SDL_egl.h |
medium |
2016-07-24 |
OpenJK | cd9a5be34933Merge branch ‘master’ of https://github.com/JACoders/OpenJK.git |
Changed an exact bound cvar-variable reference. codemp/qcommon/net_ip.cpp, shared/sys/sys_public.h |
medium |
2018-01-01 |
jaPRO | d9d510063ce6Merge branch ‘japro-ejk’ |
Changed an exact bound cvar-variable reference. codemp/game/curl/curl.h |
high |
2018-10-06 |
EternalJK | 05f1ac70497ercon status cleanup move name to end of line, remove notrunc, cleanup status info |
Changed an exact bound cvar-variable reference. codemp/server/sv_ccmds.cpp |
medium |
2019-05-10 |
EternalJK | 15c685c83005Merge pull request #95 from Yberion/serversideEngineFix |
Changed an exact bound cvar-variable reference. codemp/server/sv_client.cpp |
medium |
2023-10-14 |
TaystJK | 9bad009e9a2b · PR #27Merge pull request #27 from taysta/discord_validation |
Changed an exact bound cvar-variable reference. codemp/client/cl_discordrpc.cpp |
medium |
2024-03-21 |
TaystJK | 2a5ea5d885dc · PR #169HTTP Auto Download (Server + Client) (#169) |
Changed an exact bound cvar-variable reference. codemp/qcommon/net_http.cpp, codemp/qcommon/net_ip.cpp, codemp/qcommon/qcommon.h and 3 more |
medium |
2024-09-22 |
OpenJK | ecf4edf9ad98 · PR #209OpenJK Update (#209) |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp, codemp/qcommon/net_chan.cpp, codemp/qcommon/net_ip.cpp and 2 more |
medium |
2025-04-26 |
OpenJK | 44d85df90f4b · PR #228Update built in SDL version for windows to 2.32.4 (#228) |
Changed an exact bound cvar-variable reference. lib/SDL2/include/SDL_guid.h |
medium |
Evidence
- registration: codemp/qcommon/net_ip.cpp:886 (Cvar_Get)
- behavior: codemp/qcommon/net_ip.cpp:835
- behavior: codemp/server/sv_ccmds.cpp:1190
- behavior: codemp/qcommon/net_ip.cpp:887
- behavior: codemp/qcommon/net_ip.cpp:888
- behavior: codemp/qcommon/net_ip.cpp:842