Topic: The Forge II - Info and feedback  (Read 58367 times)

0 Members and 3 Guests are viewing this topic.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge II - Info and feedback
« Reply #340 on: October 07, 2006, 11:25:14 am »
Hi folks!

I had the chance to make a quick check-in on a trip into town. No time to collect and post stats from the last run or to answer any PMs but I'll reset the forge while I have the chance. No time for a new map for The Forge either.

I do all my DBA stuff from the windows and mysql command lines (and the MySQL Query Browser when needed). I manage the MySQL server with manual my.ini edits and restarting the service (though don't touch that stuff, I have it tweaked just so).

All the details are in the following file on Thor (I save frequently used commands in a file there):
D:\mysql_backup\backup.txt

I backup the db at the windows command prompt with a command stored in that file:
"mysqldump -u theforge theforge > D:\mysql_backup\theforge.sql -p**password-omitted-from-post**"
then zip it and date it in the file name. (e.g.: theforge_2006_10_07.zip)

The db creation/reset script is there as well:
D:\mysql_backup\Dyna2OP2552_theforge.sql
(basically stock but with some fixes not made in the current server releases and a custom database name)
I reset the db with a "\. D:\mysql_backup\Dyna2OP2552_theforge.sql" at the mysql command line.

The currently running copy of The Forge is in:
D:\Program Files\XenoCorp\The Forge
Running with the ProcessSentinel (do not move the server location).

After a reset I start the server directly, wait for a turn (a few minutes) then shut it down and run these two queries to increase the max DVs:
UPDATE MapHex SET EmpireBaseVictoryPoints=EmpireBaseVictoryPoints*2 WHERE EmpireBaseVictoryPoints < 50;
UPDATE MapHex SET CartelBaseVictoryPoints=CartelBaseVictoryPoints*2 WHERE CartelBaseVictoryPoints < 50;

My general strategy for mysql servers is posted here:
http://www.dynaverse.net/forum/index.php/topic,163361953.0.html
though it is outdated and I do things a little differently since I last updated that post.

To clean the db:
- Shut down the server (processsentinel first, then the server)
- Backup the db as described above.
- I use the following query to identify the last initially created BaseAI:
SELECT ID,WONLogon FROM servcharacter ORDER BY ID;
(The first hundred or so characters are the initially created Base AI that should not be cleaned - the first character with a WONLogon generally marks the end of the initally created AI.)
- Then I run a Query like this to gather the IDs of all the other AIs:
SELECT ID FROM servcharacter WHERE ID > XXXX AND WONLogon = '' ORDER BY ID;
(WHERE XXXX is the ID of the last initially created AI)
- I then construct a query using excel that will delete the ships for these AIs:
DELETE FROM ship WHERE Owner IN (XXX1, XXX2,...);
where XXX1, XXX2,... are all the IDs for the non-initally created AIS
Run that query on the db.
- Then I delete these AIs:
DELETE FROM servcharacter WHERE ID > XXXX AND WONLogon = '';
- Presto, db is clean! Start the server back up.
(One could probably create a single query to acheive this task but I never put the effort into it, though it shouldn;t be that hard, it would be nice to do a lean in one query. - Do not use the cleaning query in the build 37 docs: useful_scripts.sql - it does not account for initally created BaseAIs.)

I use the MySQL Query Browser for some of these tasks when it is not practical to use the commandline. (though only my own mysql user has remote access).

After the serverkit has started under the process sentinel, I usually place the kit window in such a way that I can tell if it has crashed and restarted when I login again on the remote session.

I am using a custom build of the serverkit with a few adjustments to how the database IDs are handled in consideration of he OCI as well as nullifying the "racial flavour" code in the serverkit to equalise base production probablitles for all races). So do not use a different build that does not make these allowances.

I think that about covers it! I'll try and make a quick check-in next time I get to town (can't really say when). It should be good for another four months if someone can figure out how to clean it properly. (perhaps test cleaning on a downloaded copy of the db first)

The server is back up now on the same map, back to 2273 mid start. Try not to bork it!  ;D

Have fun and stay cool guys!
Bonk

P.S. Frey has the login info for the remote desktop account The Forge is running on.

Offline FPF-Tobin Dax

  • D.Net VIP
  • Commander
  • *
  • Posts: 2719
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #341 on: October 07, 2006, 11:32:09 am »
empire level looked like feds 1st, hydrans 2nd klinks 3rd and roms 4th, last I looked with the alliance having a 3,000 econ lead. 5th and 6th went to mirak and gorn, then 7th to isc and 8th to lyrans.  Good to see you post Bonk!
Suspected leader of Prime Industries, #1 Pirate Cartel

Offline Dfly

  • Lt. Commander
  • *
  • Posts: 1735
  • Lyran Alliance Lives
Re: The Forge II - Info and feedback
« Reply #342 on: October 07, 2006, 04:21:37 pm »
Hey Bonk, WB man.  How is the new job?  Getting any sleep at all after those 16+hour shifts?

Offline Dizzy

  • Captain
  • *
  • Posts: 6179
Re: The Forge II - Info and feedback
« Reply #343 on: October 08, 2006, 01:28:48 am »
I also have access... I'll ck it out and see about the DB cleans.

Offline KAT Chuut-Ritt

  • Vice Admiral
  • *
  • Posts: 26163
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #344 on: October 09, 2006, 03:07:53 am »
empire level looked like feds 1st, hydrans 2nd klinks 3rd and roms 4th, last I looked with the alliance having a 3,000 econ lead. 5th and 6th went to mirak and gorn, then 7th to isc and 8th to lyrans.  Good to see you post Bonk!

Last I looked it was Prime Industries first then the Federation at about 4900, Hydrans at about 4100, Klingons at about 2600, Mirak at about 2300, Romulansat about 1900, Gornabout 1800, ISC at about 1500, Lyrans at about 1300

Offline Dizzy

  • Captain
  • *
  • Posts: 6179
Re: The Forge II - Info and feedback
« Reply #345 on: October 09, 2006, 03:41:23 am »
With the OCI, economy doesnt matter diddly as long as each race has just a bit... er wait. Do Bases show up on the Forge's OCI shipyard?

Offline Raztax

  • Lt. Junior Grade
  • *
  • Posts: 59
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #346 on: October 15, 2006, 03:56:10 pm »
Just wondering if there is a mirror where I can download the Forge scripts? Just coming back to the game after quite a long break :)

I tried the download links at the first of this thread, but I havent been able to download any files that are hosted here, only from the mirrors. The download starts no problem, but seems to just hang in random spots and then quit (IE tosses an unexpected error message..as opposed to an expected error I guess), Firefox and Opera just hang, no error message.

So if someone would be kind enough to post a mirror link, or hey even email it to me if you would (raztax@gmail.com)

P.S. - I can't believe the communtiy for this game, no matter how long I stay away, it is still running thanks to you guys..kudos

Edit: I finaly managed to get the file after trying for most of the day..though I am getting the Firewall and unable to contact directory server error..any word on if the server is actually up or down?




« Last Edit: October 15, 2006, 06:39:13 pm by Raztax »

Offline Bartok

  • Lt. Junior Grade
  • *
  • Posts: 293
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #347 on: November 10, 2006, 08:37:08 am »
Thought I'd post a message here

Server needs a reset.  Lot of folks have been "ghosted" and can't get on - cept with a new account, which sounds like some may have gotten ghosted again.

ThanX in Advance to whomever has the "keys"


Offline [KBF]MuadDib

  • Lt. Junior Grade
  • *
  • Posts: 396
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #348 on: November 10, 2006, 08:00:48 pm »
Thought I'd post a message here

Server needs a reset.  Lot of folks have been "ghosted" and can't get on - cept with a new account, which sounds like some may have gotten ghosted again.

ThanX in Advance to whomever has the "keys"



please
Life cannot find reasons to sustain it, cannot be a source of decent mutual regard, unless each of us resolves to breathe such qualities into it.

Offline Braxton_RIP

  • Lt. Commander
  • *
  • Posts: 1073
  • Gender: Male
    • Dynaverse.net
Re: The Forge II - Info and feedback
« Reply #349 on: November 13, 2006, 02:16:05 pm »
Thought I'd post a message here

Server needs a reset.  Lot of folks have been "ghosted" and can't get on - cept with a new account, which sounds like some may have gotten ghosted again.

ThanX in Advance to whomever has the "keys"



please

Bumping this one again too.  20 ghosts and counting.
Braxton,
Old Geezer

Typical Fleet:
F-DNL, F-CB, F-CLC
Braxton's Fleet:
F-CVTCR, F-BTR, F-BTL+

Offline [KBF]MuadDib

  • Lt. Junior Grade
  • *
  • Posts: 396
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #350 on: November 14, 2006, 08:17:05 pm »
Thought I'd post a message here

Server needs a reset.  Lot of folks have been "ghosted" and can't get on - cept with a new account, which sounds like some may have gotten ghosted again.

ThanX in Advance to whomever has the "keys"



please

Bumping this one again too.  20 ghosts and counting.

geesh, you'd think we were asking for teeth to be yanked out of a mouth for as long as these posts have gone unanswered to a simple request...  8-/
Life cannot find reasons to sustain it, cannot be a source of decent mutual regard, unless each of us resolves to breathe such qualities into it.

Offline Bartok

  • Lt. Junior Grade
  • *
  • Posts: 293
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #351 on: November 14, 2006, 10:35:19 pm »
I am a bit surprised that there hasn't been ANY response from the powers that be.... even if just to say, we've heard but aren't sure of how to fix...  Honestly - a complete restart/reset might be easier than trying to clean up the existing db file(s)...  dunno....  though, i guess it could also be that there is only 1 set of keys to access things and those are.... unavailable?

Still would be nice to hear from someone who's connected to the box(es) either physically or remotely in some capacity...

Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5696
  • Gender: Male
    • XenoCorp.Net
Re: The Forge II - Info and feedback
« Reply #352 on: November 14, 2006, 10:58:21 pm »
Okay, I am a bit surprised no one PM'ed me regarding this.

It's only due to Kehakoul's vigilance and letting me know on D.Net teamspeak - where I happen to usually be, or one of my upper command staff is (all the info for the D.Net teamspeak server is posted) almost every night .

Sooooo, I have restarted the server. I've also reviewed Bonks instructions, and I'm going to contact our own Max Torps to see if he feels comfortable doing some stuff ;)

Server is back up, sorry about the inconvenience, and remember - you CAN PM me. I get an email. I check email several times a day.

Regards.
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.


Offline [KBF]MuadDib

  • Lt. Junior Grade
  • *
  • Posts: 396
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #353 on: November 15, 2006, 01:26:20 am »
you CAN PM me. I get an email. I check email several times a day.

good to know...

THANK YOU!!!

would love to see the new missions and/or the beta's if you can swing it...
Life cannot find reasons to sustain it, cannot be a source of decent mutual regard, unless each of us resolves to breathe such qualities into it.

Offline KBFLordKrueg

  • Commander
  • *
  • Posts: 3733
  • KBF CO
Re: The Forge II - Info and feedback
« Reply #354 on: November 15, 2006, 07:30:54 pm »
Okay, I am a bit surprised no one PM'ed me regarding this.

It's only due to Kehakoul's vigilance and letting me know on D.Net teamspeak - where I happen to usually be, or one of my upper command staff is (all the info for the D.Net teamspeak server is posted) almost every night .

Sooooo, I have restarted the server. I've also reviewed Bonks instructions, and I'm going to contact our own Max Torps to see if he feels comfortable doing some stuff ;)

Server is back up, sorry about the inconvenience, and remember - you CAN PM me. I get an email. I check email several times a day.

Regards.

Dang...and I should of thought of that, too. I even have your Email... :banghead:
That'll be the last time last time I rely on that other admin who is supposed to be "holding the keys" for such a thing... :P
Now...if I could just get you to figure out why I'm STILL getting that @#!%&* firewall message despite reinstalls, checking every setting a hundred times, etc. I'd be one happy Klingon...
Lord Krueg
KBF CO
We are the Dead

Offline Bartok

  • Lt. Junior Grade
  • *
  • Posts: 293
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #355 on: November 16, 2006, 02:37:50 pm »
Krueg - I'm really sorry to hear you're still having problems w/firewall message.  I in fact have just started getting them... though played fine up till getting ghosted yesterday.  Frey restarted the server, but now i'm gettin firewall message... hopefully this will clear of it's own


Offline SFCspoonman

  • An original Beta tester
  • Lt. Junior Grade
  • *
  • Posts: 7
  • Gender: Male
Re: The Forge II - Info and feedback
« Reply #356 on: November 16, 2006, 02:42:59 pm »
I am also getting the firewall message.  Been trying on and off to get on for weeks now it seems.   I have changed nothing with the game or my system, so Im thinking its something on the server end. 

However I have just been switched to comcast...  Does  my IP changing have any effect?



SFCspoonman

"A Closed mouth gathers no foot." Mark Twain

Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5696
  • Gender: Male
    • XenoCorp.Net
Re: The Forge II - Info and feedback
« Reply #357 on: November 16, 2006, 08:42:25 pm »
Shouldn't if your on a comcast IP.

Send me a PM if you are getting the firewall message, and I'll see if I can track down anything on my end.

Regards,
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.


Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5696
  • Gender: Male
    • XenoCorp.Net
Re: The Forge II - Info and feedback
« Reply #358 on: November 16, 2006, 08:43:52 pm »
The Forge is back up after maint of all D.Net servers today.

Let me know if anyone is having any other problems. I'll check DNS tomorrow to make sure all the records are correct, etc. for the Directory services.

Also, the MONITOR page should be working again. I've been having issues with it updating regularly, but I'm going to fix that tomorrow too.

Regards,
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.


Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5696
  • Gender: Male
    • XenoCorp.Net
Re: The Forge II - Info and feedback
« Reply #359 on: November 16, 2006, 09:27:37 pm »
Okay, I've added The Forge to the MONITOR page, it'll now be displayed there if it's down.

You can access the monitor here:

http://monitor.dynaverse.net

OR

Go to the Frontpage of Dynaverse.Net, then click on the Server Information tab, Server Monitor.

If you click on THOR.XENOCORP.NET, you'll see there a listing for The Forge.


Regards,
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.