Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-04-12 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Adding races to an existing race file without displacing players levels  (Read 254 times)

Offline Polis

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Is there a way to do it?  Currently I am running a popular wc:s server and I want to add some new races.  However on previous servers I noticed taht when you add in new races into the middle of the race file, as in low levels races, it displaces some races levels.  This is because you have to change the number of the race and that fucks it up in the user database no?  Is there a way to avoid this?

Offline kratos

  • Level 1 Trained Beginner
  • *
  • Posts: 28
Re: Adding races to an existing race file without displacing players levels
« Reply #1 on: February 28, 2008, 06:24:45 AM »
If anyone has figured this out can you please let me know also?

Offline CA.Berettonawak

  • Le renomm� m�connu...
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 3057
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Adding races to an existing race file without displacing players levels
« Reply #2 on: February 28, 2008, 08:22:08 AM »
I'm not sure i understood what you want to say.
You're telling when you change the number of the race, the players lose their lvl on that races?
If it's that. It's only cause in the database, there's not the name of the race, but only it's number. If you change it you have to change the player database.
Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.

Quote from: myself
i love tuna juice :D

Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD

Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed


Offline Real_Wolf

  • Level 7 Expert
  • *****
  • Posts: 639
Re: Adding races to an existing race file without displacing players levels
« Reply #3 on: February 28, 2008, 08:24:05 AM »
If you add the race at the end of the race file, no levels will be switched.

However that means that your perfect "higher levels are at the end" thing will be screwed up

If you really want you can go into the database and change all the numbers to their new corresponding one, personally i wouldn't care that much.
=|[K|T]|= Real Wolf


Offline killsign

  • Level 7 Expert
  • *****
  • Posts: 166
    • Clan page
Re: Adding races to an existing race file without displacing players levels
« Reply #4 on: February 29, 2008, 04:42:42 PM »
ya as far as i know the sql fill that hold the xp uses just the "1" number of the race. It doesnt go by name so if you change the "1" race to "20 and "20" to "1" then the xp for each race will have changed cause in the xp file "1" has only 22 lvl and that wont change . The xp will always stay with the number of the race at leas as far a i have found out
He who fights with monsters should look to it that he himself does not become a monster... when you gaze long into the abyss the abyss also gazes into you...

Offline Stickie

  • Level 2 Apprentice
  • **
  • Posts: 43
Re: Adding races to an existing race file without displacing players levels
« Reply #5 on: February 29, 2008, 09:05:17 PM »
It's not possible, you'll just have to add the race on the right place and change every number xD

Offline kratos

  • Level 1 Trained Beginner
  • *
  • Posts: 28
Ok.. Thanks guys.  I just didn't know if there would be an easier way to do it.  I guess our patrons will just have to go through all of the races to get to the others that they can use.

Offline killsign

  • Level 7 Expert
  • *****
  • Posts: 166
    • Clan page
ya it gets that way if you dont set up for it an advance
He who fights with monsters should look to it that he himself does not become a monster... when you gaze long into the abyss the abyss also gazes into you...