opennos login problem

08/22/2022 11:53 Singleplayer™#1
because nobody here ever asked this question i just ask it.

which IP adresses in source needs to be changed to the vps ip and which can stay on localhost?

also another problem, when users enter the username+password they just see an "reload" effect , no server list , they just get back to the login screen

please dont answer with trash like "google for it" or "use your brain" , i am a lazy sack so i just ask here
08/22/2022 13:00 FI0w#2
Packets Changed. Thats it.
08/22/2022 13:02 ZroIsHere#3
Probably the nstest change
08/22/2022 13:04 Fizo55#4
Only the master ip can remains as localhost.

About your problem with the login screen, it could be a wrong port (for example, last time u went on official if u were on FR server, the port is 4002, then, u must update it into your source)

But could be a packet problem too

Quote:
Originally Posted by ZroIsHere View Post
Probably the nstest change
NsTest packet is to show the ch list, but he said he goes back on the login screen which means it's more like the NoS0575 one
08/22/2022 13:49 ZroIsHere#5
Quote:
Originally Posted by Fizo55 View Post
Only the master ip can remains as localhost.

About your problem with the login screen, it could be a wrong port (for example, last time u went on official if u were on FR server, the port is 4002, then, u must update it into your source)

But could be a packet problem too



NsTest packet is to show the ch list, but he said he goes back on the login screen which means it's more like the NoS0575 one
He/She is using and outdated code, because i have made a localhost with the last client version and i can login perfectly
08/22/2022 15:16 Singleplayer™#6
thanks guys , ye just forgot that gf changed the login packet around 2018 , atleast i found an source where the stuff is already updated , currently doing the parse and then lets see


#edit
anyone an idea why this drops
Code:
                        if (listPortals1.Any(s => s.SourceMapId == map && s.SourceX == portal.SourceX && s.SourceY == portal.SourceY && s.DestinationMapId == portal.DestinationMapId) || _maps.All(s => s.MapId != portal.SourceMapId) || _maps.All(s => s.MapId != portal.DestinationMapId))
                        {
                            // Portal already in list
                            continue;
                        }
ArgumentNullException?
08/22/2022 16:00 FI0w#7
Quote:
Originally Posted by Singleplayer™ View Post
thanks guys , ye just forgot that gf changed the login packet around 2018 , atleast i found an source where the stuff is already updated , currently doing the parse and then lets see


#edit
anyone an idea why this drops
Code:
                        if (listPortals1.Any(s => s.SourceMapId == map && s.SourceX == portal.SourceX && s.SourceY == portal.SourceY && s.DestinationMapId == portal.DestinationMapId) || _maps.All(s => s.MapId != portal.SourceMapId) || _maps.All(s => s.MapId != portal.DestinationMapId))
                        {
                            // Portal already in list
                            continue;
                        }
ArgumentNullException?
these lists could be null.
08/22/2022 16:17 Singleplayer™#8
Quote:
Originally Posted by FI0w View Post
these lists could be null.
everyone knows that one of this values could be null but why ?
08/22/2022 16:46 ZroIsHere#9
Quote:
Originally Posted by Singleplayer™ View Post
everyone knows that one of this values could be null but why ?
Bro, relax, he just told you that some of those lists can be null. Do an

if (list1 == null || list2== null)
GiveError
break;

and you're done.

And if u are using an old source probably the maps isnt parsed in the database. Check if have
09/13/2022 17:23 redbull2905#10
Quote:
Originally Posted by Singleplayer™ View Post
thanks guys , ye just forgot that gf changed the login packet around 2018 , atleast i found an source where the stuff is already updated , currently doing the parse and then lets see


#edit
anyone an idea why this drops
Code:
                        if (listPortals1.Any(s => s.SourceMapId == map && s.SourceX == portal.SourceX && s.SourceY == portal.SourceY && s.DestinationMapId == portal.DestinationMapId) || _maps.All(s => s.MapId != portal.SourceMapId) || _maps.All(s => s.MapId != portal.DestinationMapId))
                        {
                            // Portal already in list
                            continue;
                        }
ArgumentNullException?
What source is it up to date on? I have been looking for weeks...
09/13/2022 17:56 PenguinXD#11
Quote:
Originally Posted by redbull2905 View Post
What source is it up to date on? I have been looking for weeks...
i thought u sell "the best opennos source" ? Why do you need to look for fix when u sell the best?

Edit : i even found it

[Only registered and activated users can see links. Click Here To Register...]

thats not long time ago u changed there anything. lol