Adblock breaks this site

World List Generator, Like FAWG [Source]

Discussion in 'Archives' started by Covey, May 10, 2007.

  1. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    World List Generator, Like FAWG [Source]

    I noticed the Sticky for the World Prefix never gets updated so this program should calm down most of the people who are too lazy to get the prefixes themselves.
    This is a basic version of Freddy's Advanced World Generator [FAWG]. Instead of having so many options of what to output the file and data as. It just outputs it in a Visual Basic 6.0 Module file called "mdlWorlds".
    It's also open source so (if your are smart enough) you can turn this into a decent Generator like FAWG. I'm too lazy to do it and have enough program to code and update at the moment.

    If you wish to Download my Generator its attached so feel free ^_^. If you use it in your project give me credit where credit is due.
    If you just want to use it to Generate worlds you will have to compile it yourself, as i didn't include the .exe File.

    Here is an example of what the output file looks like (mdlWorlds.bas):
    Code:
    Private Function GetPrefix(World As Integer) As String
        Select Case World
            Case 1: GetPrefix = "ul7"
            Case 2: GetPrefix = "ul8"
            Case 3: GetPrefix = "sl1"
            Case 4: GetPrefix = "po4"
            Case 5: GetPrefix = "po5"
            Case 6: GetPrefix = "sl10"
            Case 7: GetPrefix = "above2"
            Case 8: GetPrefix = "above3"
            Case 9: GetPrefix = "above4"
            Case 10: GetPrefix = "jolt7"
            Case 11: GetPrefix = "jolt8"
            Case 12: GetPrefix = "jolt9"
            Case 13: GetPrefix = "nl3"
            Case 14: GetPrefix = "nl4"
            Case 15: GetPrefix = "mn2"
            Case 16: GetPrefix = "mn3"
            Case 17: GetPrefix = "nav1"
            Case 18: GetPrefix = "nav2"
            Case 19: GetPrefix = "nl7"
            Case 20: GetPrefix = "nl8"
            Case 21: GetPrefix = "nl11"
            Case 22: GetPrefix = "nl1"
            Case 23: GetPrefix = "mn4"
            Case 24: GetPrefix = "mn5"
            Case 25: GetPrefix = "nl12"
            Case 26: GetPrefix = "ul5"
            Case 27: GetPrefix = "nl5"
            Case 28: GetPrefix = "nl6"
            Case 29: GetPrefix = "ul6"
            Case 30: GetPrefix = "po7"
            Case 31: GetPrefix = "po8"
            Case 32: GetPrefix = "ul1"
            Case 33: GetPrefix = "at1"
            Case 34: GetPrefix = "at2"
            Case 35: GetPrefix = "at3"
            Case 36: GetPrefix = "at4"
            Case 37: GetPrefix = "nav3"
            Case 38: GetPrefix = "ny9"
            Case 39: GetPrefix = "ny10"
            Case 40: GetPrefix = "ny11"
            Case 41: GetPrefix = "ny12"
            Case 42: GetPrefix = "po2"
            Case 43: GetPrefix = "sl11"
            Case 44: GetPrefix = "at6"
            Case 45: GetPrefix = "ny13"
            Case 46: GetPrefix = "ny14"
            Case 47: GetPrefix = "above5"
            Case 48: GetPrefix = "above6"
            Case 49: GetPrefix = "Offline"
            Case 50: GetPrefix = "ams2"
            Case 51: GetPrefix = "ams3"
            Case 52: GetPrefix = "ams4"
            Case 53: GetPrefix = "ams7"
            Case 54: GetPrefix = "ams8"
            Case 55: GetPrefix = "ch1"
            Case 56: GetPrefix = "nl10"
            Case 57: GetPrefix = "ch3"
            Case 58: GetPrefix = "ch4"
            Case 59: GetPrefix = "ch5"
            Case 60: GetPrefix = "ch6"
            Case 61: GetPrefix = "se1"
            Case 62: GetPrefix = "se2"
            Case 63: GetPrefix = "se3"
            Case 64: GetPrefix = "se4"
            Case 65: GetPrefix = "se5"
            Case 66: GetPrefix = "se6"
            Case 67: GetPrefix = "jolt10"
            Case 68: GetPrefix = "jolt11"
            Case 69: GetPrefix = "jolt12"
            Case 70: GetPrefix = "po6"
            Case 71: GetPrefix = "mn7"
            Case 72: GetPrefix = "nav9"
            Case 73: GetPrefix = "sl2"
            Case 74: GetPrefix = "sl3"
            Case 75: GetPrefix = "sl4"
            Case 76: GetPrefix = "sl5"
            Case 77: GetPrefix = "sl6"
            Case 78: GetPrefix = "sl7"
            Case 79: GetPrefix = "sl8"
            Case 80: GetPrefix = "jolt1"
            Case 81: GetPrefix = "jolt2"
            Case 82: GetPrefix = "jolt3"
            Case 83: GetPrefix = "jolt4"
            Case 84: GetPrefix = "jolt5"
            Case 85: GetPrefix = "ny1"
            Case 86: GetPrefix = "ny2"
            Case 87: GetPrefix = "ny4"
            Case 88: GetPrefix = "ny5"
            Case 89: GetPrefix = "Offline"
            Case 90: GetPrefix = "ny7"
            Case 91: GetPrefix = "ny8"
            Case 92: GetPrefix = "nl9"
            Case 93: GetPrefix = "mi1"
            Case 94: GetPrefix = "mi2"
            Case 95: GetPrefix = "mi3"
            Case 96: GetPrefix = "mi4"
            Case 97: GetPrefix = "mi5"
            Case 98: GetPrefix = "mi6"
            Case 99: GetPrefix = "mi7"
            Case 100: GetPrefix = "ul3"
            Case 101: GetPrefix = "at7"
            Case 102: GetPrefix = "at8"
            Case 103: GetPrefix = "at9"
            Case 104: GetPrefix = "at10"
            Case 105: GetPrefix = "mn8"
            Case 106: GetPrefix = "mn9"
            Case 107: GetPrefix = "au1"
            Case 108: GetPrefix = "au2"
            Case 109: GetPrefix = "au3"
            Case 110: GetPrefix = "au4"
            Case 111: GetPrefix = "au5"
            Case 112: GetPrefix = "au6"
            Case 113: GetPrefix = "nav4"
            Case 114: GetPrefix = "nav5"
            Case 115: GetPrefix = "nav6"
            Case 116: GetPrefix = "nav7"
            Case 117: GetPrefix = "swe1"
            Case 118: GetPrefix = "swe2"
            Case 119: GetPrefix = "swe3"
            Case 120: GetPrefix = "swe4"
            Case 121: GetPrefix = "swe5"
            Case 122: GetPrefix = "Offline"
            Case 123: GetPrefix = "Offline"
            Case 124: GetPrefix = "swe8"
            Case 125: GetPrefix = "va1"
            Case 126: GetPrefix = "va2"
            Case 127: GetPrefix = "va3"
            Case 128: GetPrefix = "va4"
            Case 129: GetPrefix = "va5"
            Case 130: GetPrefix = "va6"
            Case 131: GetPrefix = "va7"
            Case 132: GetPrefix = "va8"
            Case 133: GetPrefix = "hel1"
            Case 134: GetPrefix = "hel2"
            Case 135: GetPrefix = "hel3"
            Case 136: GetPrefix = "hel4"
            Case 137: GetPrefix = "hel5"
            Case 138: GetPrefix = "hel6"
        End Select
    End Function
    
     

    Attached Files:

  2. 17th Alley

    17th Alley Forum Addict

    Joined:
    Jan 25, 2007
    Posts:
    290
    Referrals:
    0
    Sythe Gold:
    0
    World List Generator, Like FAWG [Source]

    Thx. Maybe ill use this someday, im learning my first language. Its VB 6.0, ive read 4 pages on it and ive already written a glitchy proggie, so hopefully ill someday be like Covey, the Master of VB

    Oh well, good job. ;)
     
  3. speljohan

    speljohan Guru
    Visual Basic Programmers

    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0
    World List Generator, Like FAWG [Source]

    move on to vb.net instead :) become like Covey in the future. he's learning vb.net instead as well ;)
     
  4. dodge

    dodge Active Member
    Banned

    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5
    World List Generator, Like FAWG [Source]

    you guys shoud try speljohan's RS2 lib or mine they are 100% .net 2.0 and working perfect and no need or any prefix or any of that
     
  5. Swan

    Swan When They Cry...
    Retired Global Moderator

    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner
    World List Generator, Like FAWG [Source]

    I'll love it when this is converted to C++, otherwise good job! :D
     
  6. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    World List Generator, Like FAWG [Source]

    i'm making it have afew more options then ill release that under this same thread. It will be closer to fawg then.
     
  7. joewnn

    joewnn Guru
    Banned

    Joined:
    Apr 21, 2005
    Posts:
    1,500
    Referrals:
    0
    Sythe Gold:
    0
    World List Generator, Like FAWG [Source]

    Convert it to .NET and make it threaded.
     
  8. dodge

    dodge Active Member
    Banned

    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5
    World List Generator, Like FAWG [Source]

    that is already done, check my post and sample about that

     
  9. joewnn

    joewnn Guru
    Banned

    Joined:
    Apr 21, 2005
    Posts:
    1,500
    Referrals:
    0
    Sythe Gold:
    0
    World List Generator, Like FAWG [Source]

    Nah I mean covey should do it so he can learn about threading. It is really useful.
     
  10. dodge

    dodge Active Member
    Banned

    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5
    World List Generator, Like FAWG [Source]

    yea covey you can do it! :p you can do it all night! :D
     
  11. Cruel__Machine

    Cruel__Machine Guest

    Referrals:
    100
    World List Generator, Like FAWG [Source]

    Hah ya.
    But with the updated world list there is no need for a thread since it parses so quickly. :p
    But if you mean purely as a learning experience, then that'd be good.
    Or you could thread it in VB6 and hope it doesn't crash. haha ;)
     
  12. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    World List Generator, Like FAWG [Source]

    threading?
     
< Selling a lvl 39! Good skillz! | Lvl 48 Range With Cbt 39 For Sale!!! >


 
 
Adblock breaks this site