Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2016-08-04 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

Author Topic: Upgrade War3Source Database?  (Read 803 times)

El Diablo

  • Hero Member
  • *****
  • Posts: 1114
    • View Profile
    • War3Evo
Upgrade War3Source Database?
« on: December 22, 2014, 01:19:59 PM »
Let me know if you want the updates for War3Source Database.

There is no reason to touch it if there isn't enough people whom want this update.

If you decide you do not want this update, and something happens and valve/steam change the steam ids again, your players will be SOL.  Your players will lose everything they fought so hard for, and you might just loose your player base.  So think twice before answering.



How would this update work?

The system will first look to see if the player has a account id in the database, if he/she does not, it will look up their steam id, convert it, and save their account id to the database... so the next time it looks them up, it will use their account id instead of their steam id.


War3Evo is already running on this update.


Just reply if you want me to update the database or not.



Note: Being a Newbie again, I have no access to creating polls.


Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Seven Sins Gaming
Re: Upgrade War3Source Database?
« Reply #1 on: December 22, 2014, 03:17:43 PM »
 Your players will lose everything they fought so hard for, and you might just loose your player base.  So think twice before answering.


No need to be quite so melodramatic about it ...

I take it valve has screwed around with steam ids?  I hadn't even noticed :D
STEAM PROFILE

NEW CS:GO SERVER:

El Diablo

  • Hero Member
  • *****
  • Posts: 1114
    • View Profile
    • War3Evo
Re: Upgrade War3Source Database?
« Reply #2 on: December 22, 2014, 03:20:51 PM »
 Your players will lose everything they fought so hard for, and you might just loose your player base.  So think twice before answering.


No need to be quite so melodramatic about it ...

I take it valve has screwed around with steam ids?  I hadn't even noticed :D

I'm sorry, I should have mentioned this was a TF2 problem.

Revan

  • Hero Member
  • *****
  • Posts: 503
    • View Profile
Re: Upgrade War3Source Database?
« Reply #3 on: December 22, 2014, 06:23:59 PM »
I'm sorry, I should have mentioned this was a TF2 problem.

I'm not sure if this database change is actually required. The SM devs did a pretty good job at fixing the problem last time and they'll take care of it again if required.
#war3source on gamesurge

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2428
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: Upgrade War3Source Database?
« Reply #4 on: December 22, 2014, 11:10:55 PM »
well has it been fixed?

El Diablo

  • Hero Member
  • *****
  • Posts: 1114
    • View Profile
    • War3Evo
Re: Upgrade War3Source Database?
« Reply #5 on: December 22, 2014, 11:34:42 PM »
In Sourcemod 1.7 the GetClientAuthString will be deprecated.

/**
 * Retrieves a client's authentication string (SteamID).
 *
 * @param client      Player index.
 * @param auth         Buffer to store the client's auth string.
 * @param maxlen      Maximum length of string buffer (includes NULL terminator).
 * @param validate      Check backend validation status.
 *             DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES,
 *                 You WILL KNOW if you need to use this, MOST WILL NOT.
 * @return            True on success, false otherwise.
 * @error            If the client is not connected or the index is invalid.
 */
#pragma deprecated Use GetClientAuthId
native bool:GetClientAuthString(client, String:auth[], maxlen, bool:validate=true);


The real question is... will GetClientAuthId get the actual steam id reported by the game or the old steam id.