Nexgen Server Controller

Discussions about Servers
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

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 .
Image





Letylove49 aka Alicia
Buggie
Godlike
Posts: 3227
Joined: Sat Mar 21, 2020 5:32 am

Re: Nexgen Server Controller

Post by Buggie »

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
Skilled
Posts: 178
Joined: Sat Nov 30, 2019 10:56 pm

Re: Nexgen Server Controller

Post by Eternity »

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
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

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)
Image





Letylove49 aka Alicia
Eternity
Skilled
Posts: 178
Joined: Sat Nov 30, 2019 10:56 pm

Re: Nexgen Server Controller

Post by Eternity »

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
Inhuman
Posts: 812
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: Nexgen Server Controller

Post by Que »

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 mods - MVX , SSB , SmartWFL , UTCmds , BotCommands , Smart Stats , join/leave announcer , NoSmoke , UTLogin , BrightSkins , Server Tran…
*Our Servers
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

this the main defaut of this servercontroller. eacht udpate = recompile.
Image





Letylove49 aka Alicia
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

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.
Image





Letylove49 aka Alicia
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

-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.
Image





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

Re: Nexgen Server Controller

Post by Barbie »

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
"If Origin not in center it be not in center." --Buggie
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

you have forgot to add NexgenCC

EditPackages=Nexgen112
EditPackages=NexgenCC
EditPackages=SBNGTestV0

or you will unable to compiled
Image





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

Re: Nexgen Server Controller

Post by Barbie »

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

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. :)
"If Origin not in center it be not in center." --Buggie
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

Your're Welcome
Image





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

Re: Nexgen Server Controller

Post by Barbie »

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).
"If Origin not in center it be not in center." --Buggie
Letylove49
Adept
Posts: 282
Joined: Tue Feb 28, 2012 7:47 pm
Location: suisse

Re: Nexgen Server Controller

Post by Letylove49 »

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
Image





Letylove49 aka Alicia