Posts: 545
Threads: 4
Joined: Dec 2006
Reputation:
0
why not if your mode already uses dini and your wanting so save friends
Posts: 654
Threads: 20
Joined: Jul 2009
Reputation:
0
There is a better way... don't use dini
Posts: 160
Threads: 23
Joined: Sep 2008
Reputation:
0
Not quite, no.
I've tried modifying it a bit aswell.
No work.
I've tried with timers changing the code a little, but still no change.
The nametag won't show up.
I'm thinking to change it to another way, so that nametags won't show up at all, but in the chat it will change the name: Stranger, to his current name - if he's a friend.
That should be possible somehow, and i will attempt to use this code you've given me to help me to get started with.
Posts: 6
Threads: 0
Joined: May 2010
Reputation:
0
I think you need more practice with this script,
also try to make some other stuff.
Posts: 482
Threads: 3
Joined: Dec 2009
Reputation:
0
Yes try learning more about scripting to continue with this script
Posts: 1,498
Threads: 19
Joined: Jun 2009
Reputation:
0
This is better done with MySQL (its easier and faster in the longrun aswell).
You could create a users table and a friends table, which would contain symbolic links to the friends ID.
IE:
table users
username | userID | money
table friends
userID | targetID
Example implementation
table users
joe | 0 | 1000
bob | 1 | 2000
sky | 2 | 500
table friends
0 | 2
2 | 1
Therefore, Joe is friends with sky, bob is friends with sky, sky has two friends, likewise the other two only have one. This is much easier done than said in MySQL, it could be made in under an hour if you know what your doing.
Posts: 482
Threads: 3
Joined: Dec 2009
Reputation:
0
Hmmmm Nice Ilinx
Good Work
I Suggest U Use Ilinx Idea Its Better And Easier
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by iLinx
This is better done with MySQL (its easier and faster in the longrun aswell).
You could create a users table and a friends table, which would contain symbolic links to the friends ID.
IE:
table users
username | userID | money
table friends
userID | targetID
Example implementation
table users
joe | 0 | 1000
bob | 1 | 2000
sky | 2 | 500
table friends
0 | 2
2 | 1
Therefore, Joe is friends with sky, bob is friends with sky, sky has two friends, likewise the other two only have one. This is much easier done than said in MySQL, it could be made in under an hour if you know what your doing.
|
This would be the best thing to do, simply because it's a) more efficient and b) more easy to handle, it'll be understandably more difficult to create for a newbie, but I suppose it is pretty much a learning curve.
Posts: 160
Threads: 23
Joined: Sep 2008
Reputation:
0
Sounds pretty cool.
Any ideas of how i could get to start with such thing?
I've never tried mySQL before though.
About scripting, then i can't really attempt to learn more as it is now.
I'm about to be at the end part of my script. Just finishing up some stuff, and this is one of them.
I appreciate your answers, everyone.