Posts: 109
Threads: 19
Joined: Jun 2015
Reputation:
0
I got A script which have 4 game modes (Gonna be more xD), To be exactly it's a Mini-Missions Script. I'm using a Login/Register System in a FS. So is there any way to change the game mode w/o re-loading the FS? So the players won't have to login again.
Posts: 1,773
Threads: 47
Joined: Jan 2015
Reputation:
0
Have a auto-login system. Check if IP. is same and the leave time and current time have a little gap, then auto login the user.
Posts: 578
Threads: 40
Joined: Dec 2016
Or.. you can just add your login system to the gamemode and then load filterscripts per mode?
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
Well by default filterscripts aren't reloaded by changemode or gmx
If you admin system is inside a filterscript then there shouldn't be a problem
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by Meller
Or.. you can just add your login system to the gamemode and then load filterscripts per mode?
|
Quote:
Originally Posted by mongi
Didn't Work.
|
Didn't work when you tried it...
Make PVars on the gamemode, use the filterscript to add rewards, or information back to the gamemode.
Using SVars to track the mini games stage, and making sure to have the gamemode checking one of those to know when it has finished, and unload the filterscript.
When initially loading the filterscripts, they could again use an SVar to show they are there, and declare the title/version of the mode itself, to the gamemode. Then, once that's been added, they can then unload themselves depending on what they are really for.
Quote:
Originally Posted by Nero_3D
Well by default filterscripts aren't reloaded by changemode or gmx
If you admin system is inside a filterscript then there shouldn't be a problem
|
This could be something else to look at in terms of methods I mention above.
Posts: 109
Threads: 19
Joined: Jun 2015
Reputation:
0
Any way I made it by comparing the IP, and if the re-connection delay is less than 3mns he will be auto logged in.
Thanks for the help every body.
Case Locked.