Age | Commit message (Collapse) | Author |
|
Revert "Add a generic "JoinServer" function (#693)" as it causes issues with MAD due to duplicated server join logic as discussed on Discord
This reverts commit e4b3cc7d3ee17488053cae24c8a8c981dbe95eab.
|
|
This parameter is a leftover of a previous refactor, and isn't used anywhere in the function.
|
|
Adds a function that allows the client to join a server from a `ServerInfo` struct.
This also changes the server browser to use this function.
|
|
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel-side; with this, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
|
|
Use the proper function instead of NSReloadMods on join
|
|
|
|
UI integration for the mod downloading feature. Feature activation locked behind a convar.
|
|
Script component of plugins v3. See launcher PR for more info.
https://github.com/R2Northstar/NorthstarLauncher/pull/472
|
|
As currently Northstar does not support launching into vanilla.
|
|
`INVALID_REF` errors were being caused by trying to get the item image for weapon skins.
If a mod (e.g. moreskins) added new skins, the client equipped one, and then the mod is disabled, the client now has bad persistence.
This is mostly handled fine by the game, except for weapon skins. This PR prevents the crash, and resets the bad persistence to default.
|
|
|
|
|
|
Removes some convars we don't need at all
|
|
Currently, we don't do anything with origin auth failure, meaning the next request just fails, and we get not particularly relevant error messages (player not found, invalid masterserver token)
|
|
Commented out instead of fully removing
|
|
|
|
Add missing break statement
|
|
which the callback was triggered (#688)
What's the point of this
|
|
This also can't hurt right?
---------
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
|
|
* disable RequiredOnClient mods properly
* better disabling logic
|
|
* Add Mod Settings
* Make rounding optional
* Add recursive search
* too much shit
Add custom buttons, expand menu further, sanitize display names, cleanup, add more descriptive errors and throw them early, rework slightly func params
* Remove Test Stuff
* Clean-Up
* Revert mod version change
* Replace GetIndex with PureModulo
better, more understandable version of the function.
* Fix Slider bug
* Fix Localization
* Add eject quotes (#527)
* Upload cl_titan_cockpit.nut
* Add eject string in script
* Moved to client
* index issue + removed else so always returns
* Apply suggestions from code review
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Rest of the suggestions
because github makes me want to cry
* Commit suggestions from review
GitHub really hates batching suggestions
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Update localization
* Update Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut
From ASpoonPlaysGames
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Update Northstar.Client/mod.json
From ASpoonPlaysames
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Update Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut
From ASpoonPlaysGames
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Delete cl_titan_cockpit.nut
* Apply suggestions from Spoon's code review
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Formatting for ModSettings + Remove Base Northstar Settings (#1)
* fix formatting
* add newline
* formatting part 1
* formatting part 2
* formatting again
Co-authored-by: EladNLG <e1lad8955@gmail.com>
* reset vmt (#2)
* reset vmt
* formatting
* more formatting
* Fixes, color modification
* Fix Image behind button & make image clickable
using a hack because imagepanels don't get click events and i hate them
* Formatting Fixes The First
* Apply suggestions from Spoon's review
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Formatting Fixes The Second
* Fix reset popup appearing when not clicking on button
* Fix only being able to type 1 char at a time
* Fix more bugs
- never being able to get out of modsettings dialogs
- setting duplication glitch
* Fix alignment
* add no results/mods (need localization)
* he forgor :(
make addmodsettingsbutton global
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
* Clean up (thanks @uniboi)
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
* forgot to add this too
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
* Mod settings submenus (#4)
* allow for submenu closing
* hide reset vgui on buttons
* My code got GECKO'd
gecko suggestions
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
* uniboi fixing his own mistakes moment + more prints removed (thanks @uniboi)
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
* aaaaaaaa
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
* rename ms_slider
* add a newline
* add temporary aliases
* fix aliases and localization
* update button width for categories
* fix resets accessing out of bounds index
* allow unicode search
* use correct index variable
* update function names
---------
Co-authored-by: JMM889901 <41163714+JMM889901@users.noreply.github.com>
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
Co-authored-by: uniboi <plurals@autism.exposed>
Co-authored-by: uniboi <kami.0.katze@gmail.com>
|
|
|
|
* Unlock bountyhunt in mode select menu
* Initial push
* Go through bank functions
* Bug spotting
* dissolve droppods faster
* better camp hack solution
* Revert wave start to 1st wave
* Small formatting cleanup
* Limit score to max playlist allows
* Try to make ai camps work
* Potentially fix winner not being set
* metal pipe falling sound effect
* Acteally document change
* Better fix for match not properly ending
* Add MVP dialogue (#631)
* MVP dialogue and small audio fix
* maybe better AI movement
* revert accidental change
* Remove comment about a already fixed issue
* Revert froce assault point waitsignal
* Don't reward player for ejecting
* Don't reward for killing player npc titan
* Don't allow titans to run banking thread
* Bored npcs cleanup logic
* Remove lefover whitespace changes
* Metal pipe falling sound 2x
* One day my brain will start properly functioning
* Include reapers in bored check
* Add bored check to other droppod func
* Revert testing change
* Fix typo
* Remove debug prints
* Debug log stuck AI for future navmesh debugging
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Fix formatting
* [BH] Lock scores after game end (#635)
* stop awarding score after game is ended
---------
Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
|
|
* move to native structs
* add connect callbacks
* update native functions register
* trigger callbacks on double click
* use suggestions
|
|
* Also show masterserver error for server connections
It's already used for self auth and is available for both, but we
currently only show it for the former.
* Don't localize server connection errors
It never fully worked, and it's more useful to have non-localized
detailed error messages.
* Don't prepend NS_SERVERBROWSER_CONNECTIONFAILED to server conn err msg
The message always contains something like it, and it's always right
after a connectiom anyways.
* NSGetAuthFailReason always returns a string, so don't make it untyped
|
|
* test
* Update cl_presence.nut
* Update Northstar.Client/mod/scripts/vscripts/presence/ui_presence.nut
* Apply suggestions from code review
* New scripts
* fix playlist and add native funcs to build
* remove snake cases from GameStateStruct
* I forgor
---------
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
|
|
|
|
|
|
* Fix chat messages when dead
* Spoons fix was better
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
|
|
* fixes chat messages being send twice
* OCD is a real issue
|
|
* Replace latency column with region
in serverbrowser
* Add English and German localisation
* Mark remaining localisations as TODOs
* Enable filtering by region using search field
* Update tchinese translation for display server region in serverbrowser (#484)
* Add French translation
* Add Japanese translation
* Add Portuguese translation
* Add Russian translation
* Add Spanish translation
* Add Italian translation
* Add Mexican Spanish translation
|
|
* fix for CHudChat_ProcessMessageStartThread not working in native
* remove unneeded NSSetupChathooksClient callback
* fix for CServerGameDLL_ProcessMessageStartThread not working in native
* remove unneeded NSSetupChathooksServer callback
* remove root table setting for ServerToClientStringCommands_Init
* remove unneeded ServerToClientStringCommands_Init callback
* remove global function
|
|
|
|
|
|
* Upload cl_titan_cockpit.nut
* Add eject string in script
* Moved to client
* index issue + removed else so always returns
* Apply suggestions from code review
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* Rest of the suggestions
because github makes me want to cry
* Commit suggestions from review
GitHub really hates batching suggestions
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
|
|
|
|
|
|
* rework mouse capture handling
* small improvement to comment
* move to new script file
* refactor to use only the capturePanel
* refactor part 2
* github please commit everything
* remove non-implemented global function
* cleanup
* rename variable
* formatting and a comment
* run callbacks for menus
* update comment accordingly
* small formatting change
* slight refactor to avoid duplicate code
* improve comment
* pass correct parameters
* newline at end of file :)
|
|
scoreboard (#522)
* restore hud_takesshots functionality to take screenshots of scoreboard
automatically
* fixup some formatting
|
|
* Add files via upload
* Added Getter functions
* typo lol
* Update cl_minimap.gnut
* Mode select updated
RegisterPlaylistBannerImage and GetPlaylistBannerImage had initially been in another file but that file is not present in r2northstar/client, not much point adding the entirety of menu_playlist here since for a few lines, this also wont modify mixtape but i don't think mixtape menu is used anywhere in northstar
* Added rui since basic image cant handle callsigns
added
```
NextModeImageCallsign //For calling card icons
{
ControlName RuiPanel
// xpos -12
ypos -12
wide 480
tall 240
visible 1
scaleImage 1
zpos 2
pin_to_sibling NextModeImageFrame
pin_corner_to_sibling BOTTOM
pin_to_sibling_corner BOTTOM
rui "ui/callsign_icon_button.rpak" //For callsign mode images
}
```
* Revert "Added rui since basic image cant handle callsigns"
This reverts commit b2623ec41ca944fc0ac3386ae0346464da07a8b3.
* Revert "Mode select updated"
This reverts commit 2c6f430775c84ef252402b6b447b01fd394459a9.
|
|
* fix mod list overflow
* better offset validation
|
|
* Change modlist interface
* add the settings file
* new current mod enabled indicator
* Only show requiredOnClient warning when required
* filter by required on client status
* fix ONLY_REQUIRED instead of ONLY_NOT_REQUIRED
* update list slider position when reopening
* colorblind colors
* convar for reversed list and allow unicode search
* better colors for the blind
* Update filtered modlist after changing mod status
* fix some things
* mod enabled color blind icon
* move enabled icon
|
|
* Serverside polls
* reset table so mods can wait for response
* large message
* popup message
* announcement
* info
* status
* fix uniboi crash
* no need to return id
* among
* typo
* Formatting
* bruh
* takyon doesn't know how to finish a review
* Formatting
* Do you not know how to finish a review or what
* You should look at gamemode_aitdm for some funky formatting :)
* Formatting
* Formatting
* Finally a good suggestion
* fix client misinterpreting assets
|
|
|
|
* Dependent commit
* Add english localization
* Update northstar_client_localisation_mspanish.txt
* Add more localizations
* Update northstar_client_localisation_spanish.txt
* Adhere to code style
|
|
|
|
* Create main.menu
for showing NS version on title screen
* Display Northstar version on main menu.
Pulling data from Northstar.Custom, now the version of Northstar is displayed on the main menu, above the Respawn logo.
* Get version data from Northstar.Client instead of Northstar.Custom
* formatted main.menu
|
|
* Add default sort method
* Do gecko's change
* Fixed it
* Set default sort mode when opening browser
* Update Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
* remove trailing space
<3 gecko
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
|
|
* Skyshow
* Attrition score stuff
* DropShip and DropPod spawn funcs
* Attrition intro
* Reaper spawn func
* Attrition assault point logic
* Cleanup
* Match logic + basic spawn algo
* Fix crash
* Improve ai ?
* Add AI weapon setter funcs
* Bounty hunt score basics
* code cleanup
* add cleanup for bored ai
* fix issue with failedChecks not being reset properly in cleanup
* more cleanup
* stop ai spawns on epilogue
* don't run aitdm spawning code if we don't have ains/nms
* Fix missing nodes crash
* initial bounty hunt stuff
* oops forgot to push this
* me when i'm a competent developer
* formatting and such
* cap score + proper mp_rise spawns fix
* Better squad handler
* comment reaper out; needs to be checked out
* Fix crash site crash
* reapers
* minor visual change is what Id call this
* bh basic damage scoring
* going to push this so there's a base to work with, still doesn't work
* fix funny suicide bug :)
* I hate crash site + score funnies
* comlpex skill issue
* final score fix, lets hope so
* Hacked spectre fix
* 1p npc executions fix
* stalkers
* Archer Grunts :)
* minor fixing
* Skyshow
* Attrition score stuff
* DropShip and DropPod spawn funcs
* Attrition intro
* Reaper spawn func
* Attrition assault point logic
* Cleanup
* Match logic + basic spawn algo
* Fix crash
* Improve ai ?
* Add AI weapon setter funcs
* Bounty hunt score basics
* code cleanup
* add cleanup for bored ai
* fix issue with failedChecks not being reset properly in cleanup
* more cleanup
* stop ai spawns on epilogue
* don't run aitdm spawning code if we don't have ains/nms
* Fix missing nodes crash
* initial bounty hunt stuff
* oops forgot to push this
* me when i'm a competent developer
* formatting and such
* cap score + proper mp_rise spawns fix
* Better squad handler
* comment reaper out; needs to be checked out
* Fix crash site crash
* reapers
* minor visual change is what Id call this
* bh basic damage scoring
* going to push this so there's a base to work with, still doesn't work
* fix funny suicide bug :)
* I hate crash site + score funnies
* comlpex skill issue
* final score fix, lets hope so
* Hacked spectre fix
* 1p npc executions fix
* stalkers
* Archer Grunts :)
* minor fixing
* Unlock attrition in mode select menu
* move archer grunts settings
Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
|
|
works fine
|