Shared exp between servers

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
wheeple
Peon
Posts: 3
Joined: Sun Aug 27, 2006 5:03 pm

Shared exp between servers

Post by wheeple » Sun Aug 27, 2006 5:06 pm

I was curious if it's possible to share experience over multiple servers at once.. I would imagine you could do this with MySQL but the problem I'm having is only one server is allowed to write, so the changes on one server will reset. (I suppose I should have thought of this, woops)

So is there any way to share the exp over multiple servers?

Thanks

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Sun Aug 27, 2006 5:13 pm

Don't think so. Cause when one server saves to the database, it overwrites any data there. So, when the other server writes to the database, it would overwrite the data the other server just put in.
Image

No support via PM or Email

hyper
Peon
Posts: 1
Joined: Sun Aug 27, 2006 5:33 pm

yes

Post by hyper » Sun Aug 27, 2006 5:36 pm

I'm sure there is a way.

wheeple
Peon
Posts: 3
Joined: Sun Aug 27, 2006 5:03 pm

Post by wheeple » Mon Aug 28, 2006 4:43 am

YamiKaitou, yes.. but theres only one person with the same SteamID in each server.. so it shouldn't overwrite each other.. or am I mistaken?

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Mon Aug 28, 2006 12:58 pm

Theoretically possible. Just have both use the same MySQL table. You are correct, there can never be a case where someone with the same STEAMID is on more than one server.

I don't see any reason it wouldn't work.
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

wheeple
Peon
Posts: 3
Joined: Sun Aug 27, 2006 5:03 pm

Post by wheeple » Mon Aug 28, 2006 8:42 pm

Yea, but it won't write properly on one server.. it just resets it to the previous value. (The one that opens the MySQL connection first)

Any ideas?

User avatar
Krazy
Forum Administrator
Posts: 282
Joined: Wed Jul 06, 2005 9:40 am
Location: Dayton, Ohio
Contact:

Post by Krazy » Tue Aug 29, 2006 5:29 am

*Moved to the correct forum topic*
Website: www.djpsych.com
Image

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Tue Aug 29, 2006 7:22 am

Use MySQL, it works perfect.. I've had 6 different servers using the same DB... and Krazy has 2 (maybe 3) right now
No Support via PM

Post Reply