Raised This Month: $51 Target: $400
 12% 

How to record steamid and player name at the same time?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gilmon
Senior Member
Join Date: Feb 2011
Location: China
Old 01-11-2014 , 01:07   How to record steamid and player name at the same time?
Reply With Quote #1

https://forums.alliedmods.net/showthread.php?t=213443

I need to change my own plugin fix some bug(when player changed their name re-join server everything restart from 0)

So I want to know any way record the player's steamid at the same time and fix this?

Sorry for I'm really don't want using mysql( really don't like it),thanks -__-

Last edited by gilmon; 01-11-2014 at 01:07.
gilmon is offline
Send a message via MSN to gilmon
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 01-11-2014 , 07:53   Re: How to record steamid and player name at the same time?
Reply With Quote #2

Show your KV structure?
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
Marcus_Brown001
AlliedModders Donor
Join Date: Nov 2012
Location: Illinois, United States
Old 01-11-2014 , 09:29   Re: How to record steamid and player name at the same time?
Reply With Quote #3

If you are saving a player's steam id then why should their name matter? If you join the server, leave, change your name, and rejoin, you still have the same steam id. You should be using a MySQL or SQLite database for that plugin O.o ... KeyValues are a great way to store and retrieve data, but they were never meant to be used with huge databases.
Marcus_Brown001 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 18:12.


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