Nexgen Server Controller

Discussions about Servers
Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Mon Apr 11, 2022 7:25 pm

Buggie wrote:
Sat Apr 09, 2022 7:45 pm
Sp0ngeb0b wrote:
Tue Mar 29, 2022 7:10 pm
Highlighting the names regardless of the presence of whitespaces around them was intentional I believe. This does not restrict mutators/mods to follow a specific pattern when writing player names and e.g. allows for usage in possessive case ('s) or any other form languages may provide (language localization was part of Nexgen's original design). I guess this was a tradeoff where flexibility was prefered over possible miscolorings. Unfortunately, there is no other way to detect player names in messages, as you have to work with the bare string. From my experience, these miscoloring occur almost exclusively where players use a very short name and/or generic name. Especially the former are not really desired names you want players to have anyway, so you might want to consider preventing such short names with an additional mutator or something similar I guess.
Not need whitespaces. Just ensure it is "word boundary" in terms of regex. It fit for cut almost all false positioves.

Automatically merged

If someone make full list of requested changes (mostly fixes or smal improvement, not total conversions) Then i can look into it on free time and built something like 112M version.

Automatically merged

Letylove49 wrote: Unofficial release by Letylove49
Nexgen112N - Contains slight modifications of the core Nexgen controller package. Note that this requires different plugin packages!
Is sources of your changes for 112N somewhere availaible?
the changelog of 112B to 112O Nexgen112O has never been relasese to the plublic because this versiion was private , The MHA server use 112M because 112O was unstable on MHA server
=== NEXGEN v1.12O ( Private) ===============================================================

-Added-ValidatePlayerName option
kick a player who use a nick who is on the restricted name and a window will ask him to change it) the admins will too getthis windows).

-Added ComptuternameHash
Nexgen checks the -nameof the pc if it finds an id or an ip that is in the list of banned (allows to dectect a player who will try to bypass his ban)
when you ban a player the name of the player’s pc is stored in Nexgen.ini.

Addded -Option to display or not kill and team kill ( to be tested in dm or ctf with real players) (does not work for bots)
this works perfectly for MH mode.

=== NEXGEN v1.12N ( Public Relaese) ===============================================================

=== NEXGEN v1.12M ( Private) ==============================================================================================================================
-Fixed bug on tournamentmod with UTPure when the game is forced to start by an admin without the nomber required of players.(readyflags) (Required Nexgen Extension)
-added : New Right : Limited administrator ( you will need to create a new Nexgen.ini because the privilegehas been changed .
-Changed 512 slots for ban instead 128.

=== NEXGEN v1.12L ( Public Relase) ===============================================================
-Only recompiling for compatibility with NexgenPlus100L
=== NEXGEN v1.12K ( Public Release) ===============================================================

=== NEXGEN v1.12J ( Private) ===============================================================
-Fixed bug with the kick for Match (the player is not banned any more forever has the end of the match)

=== NEXGEN v1.12I ( Private) ===============================================================
-Changed-Times-out 20 dryness instead of 50
=== NEXGEN v1.12H ( Public Release) ===============================================================

=== NEXGEN v1.12G ( Private) ===============================================================
-Added:-the Administrator message is of return in the Moderator panel

=== NEXGEN v1.12F ( Private) ===============================================================
-Added :-The name of the administrator who has to issued the Ban is available for the user Level7 or RootAdmin
Bans can be to modify only by the administrator who have issued it or being to modify by a Level7 administrator or root Administrator
-Added :Kickmatch option (allows to kick a player until the end of the match
-Added :-BannerName :In the popup when you are banned the name of the administrator who issued it will be display.
-Added :ServerAutoBan function for WMessagehack (for more information to ask has Bob of)

A big thanks for Feralidragon of the Gopostal.com site for his assistance.

=== NEXGEN v1.12D (Public Relase ( with MHA Logo)) ===============================================================

=== NEXGEN v1.12C ( Private) ==============================================================================

-Added :-Chatlog Pannnel to see what the players say. (more more required to open the console if you to miss a message)
-Changed:-Hud color modifer for the text and Playerlocation for more readable.

PlayerName = Team color
PlayerLocation = Cyan
Text = Green

=== NEXGEN v1.12B ( Private) ===============================================================
-Changed:Times-out 50 dryness with the bond of 20
-Changed:AccountType max 30 instead of 10
-Changed:Messages in Cyan instead of Orange.
-Fixed :Hud is now compatible with the setting of ut same in MonsterHunt mod
The message of instruction of the MOD monsterhunt are now to normally Displayed

Many thanks to BoB des DU for their kind authorization to include the following functions of NexgenMH in Nexgen112 MHA editon:
- BannerName
-Autoserverban
-ValaditePlayerName
-ComputerNameHash
-Fixing Hud for MH Mod
-ChatLog
i thinks we shoulde creat a 113 version since the work on sponbgebob with the fix necessry
for Monsternhunt info message. i have already fixed it .
<[MHA]>Letylove49 aka Shado170

Buggie
Godlike
Posts: 1483
Joined: Sat Mar 21, 2020 5:32 am

Re: Nexgen Server Controller

Post by Buggie » Mon Apr 11, 2022 7:40 pm

Letylove49 wrote:
Mon Apr 11, 2022 7:25 pm
...
I mostly ask about sources with your changes. if no, i will start work from 112N and all your changes will be lost or you need merge all stuff by self.

Eternity
Experienced
Posts: 103
Joined: Sat Nov 30, 2019 10:56 pm

Re: Nexgen Server Controller

Post by Eternity » Mon Apr 11, 2022 8:22 pm

Is version 112 - the latest Nexgen version, considering its further editions by another developers?
There is also v212 (MH edition) existing and being used by some servers, supposedly it was forked from some version of original Nexgen (not sure from which one exactly). If it is correct, and if it was forked from the latest v112, then it might be worth to start the work from that v212...

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Mon Apr 11, 2022 8:30 pm

Nexgen112 is the latest version by the original Author
NexgenMH211 is a private version develloped par Destination Unreal
Nexgen112BTo 112O are the MHA edtion for the team MHA and has been release to the pulic lastest version 112N (Letylove49)
Nexgen112KB this verision is a private version that i have done for Pizzi and Killerbee for Online Multigamiing (Letylove49)
<[MHA]>Letylove49 aka Shado170

Eternity
Experienced
Posts: 103
Joined: Sat Nov 30, 2019 10:56 pm

Re: Nexgen Server Controller

Post by Eternity » Mon Apr 11, 2022 9:04 pm

Thanks for information.
So the one latest version we should currently use is 112N.

I will look forward for the next versions to test them in MH servers...

User avatar
Que
Masterful
Posts: 512
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: Nexgen Server Controller

Post by Que » Tue Apr 12, 2022 12:49 am

only problem with any newer versions of Nexgen is that many other mods will need to be re-compiled as well

Code: Select all

DefaultActor[1]=Nexgen112N.NexgenActor
DefaultActor[2]=NexgenPlayerLookupDataBase.NexgenPlayerLookupDataBase
DefaultActor[3]=NexgenPlayerLookup202N.NexgenPlayerLookup
DefaultActor[4]=NexgenACEExt12_2N.NexgenACEExt
DefaultActor[5]=NexgenPlus100N.NXPMain
DefaultActor[6]=NexgenABM201N.NexgenABMMain
DefaultActor[7]=NexgenMsgLimiter100N.NexgenMsgLimiter
DefaultActor[8]=;NexgenATB.NexgenATB
DefaultActor[9]=NexgenSSB.NexgenSSB
DefaultActor[24]=NexgenCBFixN.NXMain
for example.
*Join our Discord Here.*
Our most popular mods - MVX , SSB , SmartWFL , UTCmds
Show
~Our Servers~

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Tue Apr 12, 2022 6:33 pm

this the main defaut of this servercontroller. eacht udpate = recompile.
<[MHA]>Letylove49 aka Shado170

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Sun Apr 24, 2022 5:50 pm

Que wrote:
Tue Apr 12, 2022 12:49 am
only problem with any newer versions of Nexgen is that many other mods will need to be re-compiled as well

Code: Select all

DefaultActor[1]=Nexgen112N.NexgenActor
DefaultActor[2]=NexgenPlayerLookupDataBase.NexgenPlayerLookupDataBase
DefaultActor[3]=NexgenPlayerLookup202N.NexgenPlayerLookup
DefaultActor[4]=NexgenACEExt12_2N.NexgenACEExt
DefaultActor[5]=NexgenPlus100N.NXPMain
DefaultActor[6]=NexgenABM201N.NexgenABMMain
[quote]DefaultActor[7]=NexgenMsgLimiter100N.NexgenMsgLimiter[/quote]  this a private plugin ??   i have nevers see it
DefaultActor[8]=;NexgenATB.NexgenATB
DefaultActor[9]=NexgenSSB.NexgenSSB
DefaultActor[24]=NexgenCBFixN.NXMain
for example.
<[MHA]>Letylove49 aka Shado170

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Thu May 12, 2022 5:40 pm

-Fixed bug on tournamentmod with UTPure when the game is forced to start by an admin without the nomber required of players.(readyflags) (Required Nexgen Extension)

this bug can be fixed vby the plugin Clickboard fix. (

if you use Ulitmatenewnet you must have this fix for force the game on tournament mod to start or you will unable to get the flag on CTF game type.
<[MHA]>Letylove49 aka Shado170

User avatar
Barbie
Godlike
Posts: 2393
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Nexgen Server Controller

Post by Barbie » Mon Jun 06, 2022 8:59 am

Is there any description how to realize a "plugin"? I had a look at "NexgenGLS106.u" but that looks like duplicated code to me.
Or is it just expanding class'NexgenPlugin'?

Automatically merged

I tried with file SBNGTest.uc

Code: Select all

class SBNGTest extends NexgenPlugin;
with the Makefile.ini

Code: Select all

[Engine.Engine]
EditorEngine=Editor.EditorEngine

[Editor.EditorEngine]
CacheSizeMegs=128
EditPackages=Nexgen112
EditPackages=SBNGTestV0

[Core.System]
Paths=*.u
Paths=../Maps/*.unr
Paths=../Textures/*.utx
Paths=../Sounds/*.uax
Paths=../Music/*.umx
and got
=======================================
ucc.exe: UnrealOS execution environment
Copyright 1999 Epic Games Inc
=======================================

--------------------Nexgen112--------------------
Analyzing...
Can't find files matching ..\Nexgen112\Classes\*.uc

History:

Exiting due to error
Error: An UCC error occured
Also inserting this line
#exec OBJ LOAD file="Nexgen112.u"
into SBNGTest.uc didn't change the result. And yes, Nexgen112.u is in UT's System directory. :noidea
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Mon Jun 06, 2022 7:40 pm

you have forgot to add NexgenCC

EditPackages=Nexgen112
EditPackages=NexgenCC
EditPackages=SBNGTestV0

or you will unable to compiled
<[MHA]>Letylove49 aka Shado170

User avatar
Barbie
Godlike
Posts: 2393
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Nexgen Server Controller

Post by Barbie » Mon Jun 06, 2022 8:24 pm

Sorry, same result. According to the error message UCC tries to compile Nexgen112.
make.ini
Show

Code: Select all

[Engine.Engine]
EditorEngine=Editor.EditorEngine

[Editor.EditorEngine]
CacheSizeMegs=128
EditPackages=Nexgen112
EditPackages=NexgenCC
EditPackages=SBNGProtectPlayerNameV0


[Core.System]
Paths=*.u
Paths=3rd/*.u
Paths=../Maps/*.unr
Paths=../Textures/*.utx
Paths=../Sounds/*.uax
Paths=../Music/*.umx

Automatically merged

Wait... I also have to add NexgenCC.u to the SYSTEM directory - and now it works, thanks. :)
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Mon Jun 06, 2022 10:16 pm

Your're Welcome
<[MHA]>Letylove49 aka Shado170

User avatar
Barbie
Godlike
Posts: 2393
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Nexgen Server Controller

Post by Barbie » Tue Jun 07, 2022 11:05 am

Maybe a bug in "Nexgen112N.u":
Denying a login with NexgenPlugin.checkLogin() produces Access Nones at client side:

Code: Select all

class SBNGTest extends NexgenPlugin;

/***************************************************************************************************
 *
 *  $DESCRIPTION  Called when a client is attempting to login. This allows to plugin to accept or
 *                reject the login request. If the function returns false the login request will be
 *                rejected (player will be disconnected). Please make sure the reason parameter
 *                is set in that case, as it will be written to the log.
 *  $PARAM        client      Client that is requesting to login to the server.
 *  $PARAM        rejectType  Reject type identification code.
 *  $PARAM        reason      Message describing why the login is rejected.
 *  $PARAM        popupWindowClass  Class name of the popup window that is to be shown at the client.
 *  $PARAM        popupArgs         Optional arguments for the popup window. Note you may have to
 *                                  explicitly reset them if you change the popupWindowClass.
 *  $REQUIRE      client != none
 *  $RETURN       True if the login request is accepted, false if it should be rejected.
 *  $ENSURE       result == false ? new.reason != "" : true
 *
 **************************************************************************************************/
function bool checkLogin(NexgenClient client, out name rejectType, out string reason, out string popupWindowClass, out string popupArgs[6]) {
	reason = "Server not available";
	return false;
}
UnrealTournament.log wrote:...
ScriptLog: CCS-->
ScriptLog: VER--> 3.4.8
ScriptWarning: NexgenHUDWrapperT MH-LoyalMartians.NexgenHUDWrapperT0 (Function Nexgen112N.NexgenHUDWrapperT.PostRender:0150) Accessed None 'Client'
ScriptWarning: NexgenHUDWrapperT MH-LoyalMartians.NexgenHUDWrapperT0 (Function Nexgen112N.NexgenHUDWrapperT.PostRender:01C7) Accessed None 'Client'
ScriptWarning: NexgenHUD MH-LoyalMartians.NexgenHUD0 (Function Nexgen112N.NexgenHUD.getServerState:0039) Accessed None 'lng'
ScriptWarning: NexgenHUD MH-LoyalMartians.NexgenHUD0 (Function Nexgen112N.NexgenHUD.getClientState:0059) Accessed None 'lng'
Also it should be mentioned in the function description, WHERE the reason is logged - at client, at server or at both (my tests showed that it is logged at server only).
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Letylove49
Experienced
Posts: 117
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: <[MHA]>Admin
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 » Tue Jun 07, 2022 7:12 pm

i dont know what do this bug sorry

for your function checklogin you are able to compile it. bexause this funtion diffère from original
<[MHA]>Letylove49 aka Shado170