Raised This Month: $ Target: $400
 0% 

change from save in ip field to the name one


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wiri
Junior Member
Join Date: Aug 2006
Old 08-04-2006 , 15:23   change from save in ip field to the name one
Reply With Quote #1

(I'm using linux) in mysql, how can i save the xp using the name field as the key that can't be chaged.. cuz in the pc it saves the xp on the server (playing lan), but when i change the name for other person the xp is still the same.. mysql modify the name on the same ip.. how can i do that.. to get the xp by the names and not by the ip... i want that the db create a new field with the same ip but a different name.. and not that modifies the name on the same ip's field.. i hope i make a point..
wiri is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 08-04-2006 , 16:07   Re: change from save in ip field to the name one
Reply With Quote #2

Why would you want to do that ?
Then you could just change your name to the playername with the most xp...

In order to make it allow only one person to use a specific name, would require a seperate plugin. And you'd have to change the whole mysql part of SuperHero Mod.
__________________
//ShadowLeader - 123
123 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-04-2006 , 17:18   Re: change from save in ip field to the name one
Reply With Quote #3

there is no name saving
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
wiri
Junior Member
Join Date: Aug 2006
Old 08-05-2006 , 09:07   Re: change from save in ip field to the name one
Reply With Quote #4

We are playing in Cyber Cafe, it is the reason for this change, when we play in other pc, we get the player's xp and powers who was playing there.
wiri is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 08-05-2006 , 09:24   Re: change from save in ip field to the name one
Reply With Quote #5

Dude...
That wouldn't help.
If you want it to save by name, you will either have to link the name to a steamID, else everyone can get the top ranked players XP.
e.g.
wiri has 1000xp
123 has 500xp

I can just change my name to wiri, and I'll get your XP.

But as JTP said there is no name saving.
__________________
//ShadowLeader - 123
123 is offline
wiri
Junior Member
Join Date: Aug 2006
Old 08-05-2006 , 18:00   Re: change from save in ip field to the name one
Reply With Quote #6

Muchas gracias por su ayuda (Thanks for you help, excuse my English )
William Larreal
wiri is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode