Jump to content

Archived

This topic is now archived and is closed to further replies.

  • 0
ImportBot

Changing Databases need help

Question

Originally Posted by xloneshadowx*:

 

So I am running both servers off of separate databases but it has come to my attention that its better to combine them which I think it is. So I want to move all my info for the L.A database to the N.Y database and both servers run the same plugins. Without losing stats of players can someone explain how to do this? I also have two seperate websites for VIP slotmanager and BFAdmincp. Thanks in advance. i attached what plugins I run

https://gyazo.com/22490f980af57e0848e0768a22ed5797


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Recommended Posts

Originally Posted by maxdralle*:

 

player stats:

i dont know. i think its too much work, quasi impossible to do.

 

 

vip slot manager:

yes, it is possible to put 2 vip slot manager databases into one database.

 

option 1: one global vip list valid for all gameservers (a vip is valid on all gameserver with the same remaining time)

 

option 2: seperate the vips in different groups (a vip can be a vip on gameserver #1 for 5 days, and on gameserver #2 for 8 days)

 

do you want option 1 or option 2?

option 2 would be easierto to merge...


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Well so far I put the info from adkats and stat logger to match the n.y database and that seems to be all good. but adkats is showing server id 1 for both


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

I mean if theres no problems with running them on different databases seeing that vip slot manager and bfadmincp are up and running i'll just keep it the same then


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by maxdralle*:

 

you can try. like i said, i am not sure but i think it is quasi impossible to marge the stats and adakts infos...

 

i would recommend, that you just connect the 2. server with the db from the main server. in this case, you will lose all player stats / history from server 2. of course you can export all active bans from 2. server and import to the main db.

 

maybe the dev ColColonCleaner or ty_ger07 has a better solution because i am more the guy for any vip slot plugin questions.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

ok, thank you I will look into this more maybe I'll just let it go. Well my next question does have to do with VIP but I'll post that question in adkats forum. Thank You for your help


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Well in adkats challenge system I would like a reward that can work with your vsm


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Ah, this is what you're trying to do. Is there no way to manage VIPs using the BFACP? Usually people just create a VIP role in AdKats (it duplicates 'default guest' when you make a new role) and assign the reserved slot group to it in section 4-2. Then when you want to give someone a reserved slot outside of the game, you just add them as a user with the VIP role and an expiration date. After the date passes they will be sent back down to the guest role.

 

If you want automated reserved slot management via another plugin, say, proconrulz, you make proconrulz say the line "/reserved playername reason" and that will call into AdKats to reserved slot them. / in front of a message hides it in chat.

 

Either way for any of the reserved slot stuff to work you need to turn on the feed in AdKats, which means that any changes in the reserved slots made by other plugins are going to be blown away. AdKats doesn't read in from the reserved slot list, it just pushes to it and overwrites it.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Yes, thank you that explained some info I needed there. The VSM is just very easy to manage that's why I was trying to work with it. I'm gonna try what you just explained. Ok just checked there is a way to use BFACP and create the role etc. Would be a little easier using vsm thats why I was hoping for your challenge system to be able to just have an optioion for a reward as a VIP to go to VSM. Maybe a future update, if any in this old old game lol, I'm just trying to run fun servers so this game don't die probably doing more then what I should at this point but it's a good learning expierence.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Yes, thank you that explained some info I needed there. The VSM is just very easy to manage that's why I was trying to work with it. I'm gonna try what you just explained. Ok just checked there is a way to use BFACP and create the role etc. Would be a little easier using vsm thats why I was hoping for your challenge system to be able to just have an optioion for a reward as a VIP to go to VSM. Maybe a future update, if any in this old old game lol, I'm just trying to run fun servers so this game don't die probably doing more then what I should at this point but it's a good learning expierence.

I would normally say that I could just add a custom message to winners in AdKats so that vsm could detect that, but then you'd lose all the features of the !perks command AND the additive perks on top of existing time when you win.

 

I'm in the same boat in terms of time spent vs reward with AdKats lately. It's a 6000 hour time investment at this point, so this late in the game i'm weary about making larger changes.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by maxdralle*:

 

I would normally say that I could just add a custom message to winners in AdKats so that vsm could detect that...

this sounds good! it will work. if someone wins the adkats challenge, then adkats just need to send in the public ingame chat the hidden msg: "/vsm-addvip PLAYERNAME +DAYS" (eg /vsm-addvip SniperBen +3). vsm plugin will do the rest...

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

this sounds good! it will work. if someone wins the adkats challenge, then adkats just need to send in the public ingame chat the hidden msg: "/vsm-addvip PLAYERNAME +DAYS" (eg /vsm-addvip SniperBen +3). vsm plugin will do the rest...

Is that command something I add or has to be done to adkats by Col.?

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

It would need to be something that I add to the plugin, right now it doesn't do that.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

It would need to be something that I add to the plugin, right now it doesn't do that.

Ok I didn't know if that was a command I was supposed to put. No problem I can work around this thanks for all the help again guys

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

It would need to be something that I add to the plugin, right now it doesn't do that.

Col. just asking is this something you are going to add? I'm just asking because I'm about to remove the VSM and change the way things work and don't want to get everything changed then find out you just added that feature lol.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Col. just asking is this something you are going to add? I'm just asking because I'm about to remove the VSM and change the way things work and don't want to get everything changed then find out you just added that feature lol.

No i'm not planning to put time into it.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

I would normally say that I could just add a custom message to winners in AdKats so that vsm could detect that, but then you'd lose all the features of the !perks command AND the additive perks on top of existing time when you win.

 

I'm in the same boat in terms of time spent vs reward with AdKats lately. It's a 6000 hour time investment at this point, so this late in the game i'm weary about making larger changes.

Ok no problem so what I need to do is when they get assigned reserved slot from winning I can make a role called VIP then how do I connect that role to whom ever wins a challenge?

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Ok no problem so what I need to do is when they get assigned reserved slot from winning I can make a role called VIP then how do I connect that role to whom ever wins a challenge?

You don't need to, that's just for your manual VIP status. Once you turn on the reserved slot feed everything should start working as intended. There are like 5 different ways someone can get a reserved slot, the plugin funnels them all into one master list and pushes that to the server.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

No i'm not planning to put time into it.

Ok so when they win they go to the special player reserved slot group I see them there and the exp. date. I make a new role called VIP and give it autobalance,reserved slot, !lead !switchme !killme everything a VIP should have. Then in order to get those players to the VIP role I still have to manually add them correct? So if 7 people in a day win i have to manually add them by user? Am I right? and then !perks would show them what they all have.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Ok so when they win they go to the special player reserved slot group I see them there and the exp. date. I make a new role called VIP and give it autobalance,reserved slot, !lead !switchme !killme everything a VIP should have. Then in order to get those players to the VIP role I still have to manually add them correct? So if 7 people in a day win i have to manually add them by user? Am I right? and then !perks would show them what they all have.

Ah, you want people who win to also have access to commands, not just manual vips, that's something new. That's something a bunch of people might want so I'll add that.

They will be in the command settings section.

Reserved slot grants access to squad lead command

Reserved slot grants access to self-move command

Reserved slot grants access to self-kill command

 

I don't want to automatically do role switching. This is because if someone has a higher power level role (say VIP++) and wins a challenge, they could be shunted back down a level to the normal VIP role when they win. I could add some math checks on this around power level but then we get into the weeds with confirming both roles actually have the commands they should be able to access and a bunch of other garbage. Having the command access be based on reserved slot should be the cleanest.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Ah, you want people who win to also have access to commands, not just manual vips, that's something new. That's something a bunch of people might want so I'll add that.

They will be in the command settings section.

Reserved slot grants access to squad lead command

Reserved slot grants access to self-move command

Reserved slot grants access to self-kill command

 

I don't want to automatically do role switching. This is because if someone has a higher power level role (say VIP++) and wins a challenge, they could be shunted back down a level to the normal VIP role when they win. I could add some math checks on this around power level but then we get into the weeds with confirming both roles actually have the commands they should be able to access and a bunch of other garbage. Having the command access be based on reserved slot should be the cleanest.

Yessss! lol that is what i need so i dont have to basically babysit the list and watch when someone wins to manuaul add them that would be perfect Col. I mean I have one level of VIP's they get autobalace whitelist and reserved slot whitelist with the commands of !lead,!switchme,and !killme.. let me know when you get it done so I can add it please if thats what you are doing.i'll throw another donation in the pot for this.. it's late in the game i agree but trying to do what i can to make games fun so people keep playing.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Yessss! lol that is what i need so i dont have to basically babysit the list and watch when someone wins to manuaul add them that would be perfect Col. I mean I have one level of VIP's they get autobalace whitelist and reserved slot whitelist with the commands of !lead,!switchme,and !killme.. let me know when you get it done so I can add it please if thats what you are doing.i'll throw another donation in the pot for this.. it's late in the game i agree but trying to do what i can to make games fun so people keep playing.

I'll work on it this week, probably closer to the weekend though.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

I'll work on it this week, probably closer to the weekend though.

Awesome Thanks Col.!

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Added a prototype version, completely untested. Let me know if it works. /pupdate to grab.

 

https://github.com/AdKats/AdKats/com...8_diff=unified

Loaded up the file, turned the commands on tried them they worked and no error messages. This will work I will let you know if any issues arise but so far so good. Thank you

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Loaded up the file, turned the commands on tried them they worked and no error messages. This will work I will let you know if any issues arise but so far so good. Thank you

Cool. With those settings enabled anyone who is in the verbose reserved slot listing should be able to use those commands.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Cool. With those settings enabled anyone who is in the verbose reserved slot listing should be able to use those commands.

Step right up Col. It could be you!! lol. Thanks again man

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Cool. With those settings enabled anyone who is in the verbose reserved slot listing should be able to use those commands.

Only thing I noticied is if they hit !perks it does not show them !lead !switchme !killme

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by ColColonCleaner*:

 

Only thing I noticied is if they hit !perks it does not show them !lead !switchme !killme

Ah, I didn't add that part. If i have time tomorrow i'll add that in.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by xloneshadowx*:

 

Ah, I didn't add that part. If i have time tomorrow i'll add that in.

Ok no problem

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites



  • Our picks

    • Hi All,

      So I've been thinking about doing something like this for a while but I always talked myself out of it. I want to get some feedback on this idea and how many would think about using it if it was offered.

      In the past I know how hard it was for some users to get a MySQL database going and running the BFACP (since it's a bit requirement heavy in some cases). What I would be doing is offering to manage both of these for you.

      If enough interest was shown in something like this I would definitely think about doing it. Of course, I also know the risks I would be taking in something like this, but to list what I would be offering I guess is this.

      MySQL Hosting


      Daily backups of the database to a remote site & option to download it yourself.


      No limit on how big your database can be (within reason).




      BFACP Hosting (If running AdKats on your layers)


      This would run the newest version (v3.0)


      Will still be available to run on your own hardware


      Will have extra features that are not available for an open source setup (still need to think of good things )


      Able to use your own domain name with the proper DNS setup.




      Both Above



      Please let me know what you think of this idea and vote in the poll. Again not confirming anything like this will happen but if I get enough interest from the community for something like this then please let me know.

      Disclaimer: This will NOT be something affiliated with MyRCON but will be ran through it in terms of a payment processor.
      • 10 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.