Author Topic: MWLLrandomizer v1.2.1 (MWLL 0.5.6) - create random droplists etc.  (Read 584 times)

0 Members and 1 Guest are viewing this topic.

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Ever wanted to play a random game and wished for a random generator to pick your asset or even the map to play on? Here you go.

Instructions:
  • Run the program.
  • Make your choices and push the "Random!"-button.

Annotations:
  • If you encounter any kind of problems, please notify me.
  • "MWLLdata.ini": Az wrote a Perl-script to generate this file, thanks again! (This might be a little overkill but since the file was already available...)
  • There comes a batch-file with this program. Use it as stated in the corresponding readme.txt to generate a list of maps available on your system. Or just edit the "MWLLmaps.ini" as you wish. Each line refers to one map.
  • To create your own "prices.txt", run the command "dumpMwllPrices" in the games console and look for the file in your profile-folder.
  • If you want to change the color of the program, open up the "MWLLgroupConfig.ini" and either delete the "palette"-line (back to Windows default-skin) or enter one of these colors (you may also enter RGB-values like "#dca50f" - without the quotation marks)

Download:
MWLLrandomizer v1.2.1/0.5.6 (4.0 MB)

Preview:



PS: The software was created using Qt, a very nice and handy C++-framework.

PPS: If the file is not available, you may answer this thread or send me a PM. I will reupload it as soon as possible.

PPPS: If anybody is interested in the source-code, you may send me a PM. It's not a secret, but I would like to know about people tinkering with it.
« Last Edit: May 13, 2012, 10:18:23 AM by thEClaw »
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline -SM-SUCKER

  • Star Captain
  • ***
  • Posts: 1128
  • Karma: 80
Re: MWLLrandomizer v0.1
« Reply #1 on: January 23, 2012, 02:10:55 PM »
I got a few questions:
Can you please explain in detail how this works? I.E. does it connect you to a random server?
What asset is selected if you dont have sufficient c-bills?
And why should someone use this?

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.1
« Reply #2 on: January 23, 2012, 02:17:53 PM »
Does it connect you to a random server?
Why should it? No.

What asset is selected if you dont have sufficient c-bills?
CBills are not taken into account. I didn't want to overcomplicate things - the Mersenne Twister might have already been too much.

And why should someone use this?
Well, I know why I am using it. But I don't know if there are any other players out there whose brains function like mine. That's why I made this public.
I like to get skilled with as many variants and weapons as possible. And that won't happen by using the same vehicles over and over again. Therefore I had a real need for this kind of tool. Before I tried random numbers and other methods, but all of them were quite inconvenient.
The map-generator was only added because I participated in a couple of clan-matches lately and I see people use the same maps all the time. A non-public match is one of the few opportunities to not play a standard map but one of the beautiful community maps. Maybe somebody will think the same and stop playing Sandblasted. Or Mirage. (Unless the generator tells otherwise, of course. :P)
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline ELH_Vivicector

  • Star Captain
  • ***
  • Posts: 1028
  • Karma: 37
Re: MWLLrandomizer v0.1
« Reply #3 on: January 23, 2012, 02:28:56 PM »
Quote
But I don't know if there are any other players out there whose brains function like mine.
Yep, not similar, but close to  ;). I too like to use different assets, even not particularly effective. And about random map generation... I have made an Excel-based randomiser with map database and doubled protection against getting similar maps in a row (cause native Excel random sucks) for internal ELH tournament. Quite close  ;D

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.1
« Reply #4 on: January 23, 2012, 02:55:18 PM »
Quote
But I don't know if there are any other players out there whose brains function like mine.
Yep, not similar, but close to  ;). I too like to use different assets, even not particularly effective. And about random map generation... I have made an Excel-based randomiser with map database and doubled protection against getting similar maps in a row (cause native Excel random sucks) for internal ELH tournament. Quite close  ;D
Well, what did I expect from you guys? :D ;)

The random number generator used for this piece of software is completely overblown, but it guarantees good (pseudo-)random numbers. And it was fun to code this thing, took about an hour of time I didn't have in the first place.
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline RDL_Vitos

  • MechWarrior
  • **
  • Posts: 325
  • Karma: 21
  • RDL. Mechwarrior < TAU > (Nova Cat). Heavy arms
Re: MWLLrandomizer v0.1
« Reply #5 on: January 23, 2012, 03:15:02 PM »
For the big battles: the generator random (divided on commands) -    5 on 5  or  8 on 8

  need! :)

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.1
« Reply #6 on: January 23, 2012, 04:06:17 PM »
For the big battles: the generator random (divided on commands) -    5 on 5  or  8 on 8

  need! :)
That would include a drop calculator. And I have not coded one of these. But you can still click the button five times, or even eight times in a row! ;)

But maybe I'll add something to calculate prices for a drop. Just not right now.
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline -SM-SUCKER

  • Star Captain
  • ***
  • Posts: 1128
  • Karma: 80
Re: MWLLrandomizer v0.1
« Reply #7 on: January 23, 2012, 06:44:47 PM »
Ok, now I think I understand your programm:
It is started before you load up MWLL. Then it randomises a mech and/or a map for you.
Then you start the game, connect to a server with the map which was chosen randomly and try to play with this one asset which was chosen for you.
Am I right now?
Now it even makes sense, at least a bit.

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.2
« Reply #8 on: January 23, 2012, 06:57:37 PM »
Well, the map-tab is there only for when you are able to manipulate the server.

I do it like this: Run the program, pick a weight-class. I get "Hollander C". I go into the game, join some server, try to rank my way up so I can use the Hollander C and keep using it until I am completely bored of it.
Next scenario: I am on TS with a friend and we want to have a duel on some ToS-server. I say: "Random 'Mechs for both!" and we're good.

I updated the program. It now contains a rudimentary drop calculator and a third tab. Enter a number of players, some C-Bills, set a ton of options and generate random droplists.
I am certain that one can make the program crash with this third tab somehow. If anybody finds a way, please notify me.

PS: The droplist-tab is only guaranteed to stay below the maximum amount of C-Bills. At the moment I am lacking the right idea to improve this behavior.

PPS: Anybody willing to organize a game like that? Maybe a ten versus ten with some ridiculous rules and on-the-fly random vehicle/map-choices? :D
« Last Edit: January 23, 2012, 07:08:01 PM by thEClaw »
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.2.4
« Reply #9 on: January 24, 2012, 04:15:11 PM »
Updated! Now the droplist-generation is a lot faster, safer, prettier and ... maybe even funnier.
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Online ELH_KillThemALL

  • Recruit
  • *
  • Posts: 181
  • Karma: 14
  • Eridani Light Horse
    • Eridani Light Horse
Re: MWLLrandomizer v0.2.4
« Reply #10 on: January 25, 2012, 04:19:53 AM »
Cool and useful soft! Thanks, Claw))




Pubs are boring!© Twinkletoes
Fundrops are fun!
Planetary League will makes me into ecstasy!

Offline Snow Gibbon

  • MechWarrior
  • **
  • Posts: 330
  • Karma: 28
Re: MWLLrandomizer v0.2
« Reply #11 on: January 25, 2012, 04:51:46 AM »
PPS: Anybody willing to organize a game like that? Maybe a ten versus ten with some ridiculous rules and on-the-fly random vehicle/map-choices? :D

You're a little late, buddy.
12th Vegan Rangers - Missile spam is the best kind of spam!


Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.2.4
« Reply #12 on: January 25, 2012, 09:40:28 AM »
Knew about that game. But why couldn't it be repeated? Some very simple rules could be:

1. a supervising person generates one random list for each team and tells it to the teams
2. each team-leader may ask for a single regeneration (without the option to choose between the lists)

or

1. a supervising person generates one random list for each team and tells it to the teams
2. each team-leader may remove up to two vehicles from his list and fill the slots with whatever he wants (respecting the available C-Bills, of course)

or

1. a supervising person generates one random list for each team and tells it to the teams
2. the list is regenerated until at least 90% of the available C-Bills are used up
3. Nobody can change anything about the list.

The other game was a mirror-match, am I right? Not sure if that is as fun and interesting as two completely random teams, as the chances in a mirror-match are completely even.

--------------

I changed two little things and uploaded a new version. Now lists of up to 64 vehicles can be generated and the user has the option to not sort the droplist. (I will be using it like this: Generate a list of maybe ten medium 'Mechs before I go into a public game, each 'Mech shall only occur once and the list will not be sorted. Then I play these 'Mechs in order, switching whenever I come home for repairs or when I die. And finally I have a good reason to play the Bushwacker Prime. :P)
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.2.6
« Reply #13 on: January 25, 2012, 10:17:24 PM »
Hopefully the last update to this :P :

1. reworked the user interface, now the first two tabs are as small as they were initially (after all this shall not look like a complicated program and I didn't like all the wasted space)

2. added some more toys to the droplist-tab: two percentage-values can be set, indicating how much money should at least be left over (e.g. for ammo) and how much shall be used at least (to make the thing a little more predictable for the user)

3. added a button to minimize the window

4. fixed a bug that I have forgotten about now

EDIT: 5. fixed another bug (and made another change regardless of having promised otherwise)

Consider this 1.0, despite its name. I do not plan to think of more stuff to do with this program. Aside from maybe dye it black, to make it fit to the rest of my color-scheme. ;)
« Last Edit: January 25, 2012, 10:56:45 PM by thEClaw »
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 818
  • Karma: 52
  • Retreating...
Re: MWLLrandomizer v0.2.7 - randomize maps and vehicles
« Reply #14 on: February 07, 2012, 10:08:16 AM »
Updated for MWLL 0.5.5.
Read out weapons/vehicle stats (by Hiruma Kai)
Drop Calculator (by Snyp3r)
Edit your weapon-groups outside of MWLL (by me and Az)
Create random drop-lists (by me and, involuntarily, Az)