But I'm not in a clan. I have no clan forums, no sidebar for clans, nothing.Apes!!!! has been created successfully!
BUG: DEV: Clan Creation
- Ruddertail
- Promi Diplomacy ate my homework...
- Posts: 4510
- Joined: Wed May 12, 2004 11:39 pm
- Location: Chances are, playing FAF.
- Contact:
you have to join it.. clan creation isnt automatically followed by joining the clan anymore
although it does cause problems/paradoxical behavior
you can be the only one in a clan and not be leader of it.. if someone else was first to create it but never joined
i would fix it but i dont quite know how to treat it the way it was intended
although it does cause problems/paradoxical behavior
you can be the only one in a clan and not be leader of it.. if someone else was first to create it but never joined
i would fix it but i dont quite know how to treat it the way it was intended
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
Just update the player database for the player with the number $create_founder... PUT $create_founder into uclan[num]....
But somehow I need to get the whole arrey for $users in order to do that. So, how do I get $users into the function short of globaling it, wich would defeat the point of haveing this entire function, as then the admin would be made founder...
Ok, to rephrase that, I have a user number in $create_founder. I need to update the player DB for that user. How do I do that, as the updateplayerdata function doesn't seem to like the number I give it with $create_founder?
But somehow I need to get the whole arrey for $users in order to do that. So, how do I get $users into the function short of globaling it, wich would defeat the point of haveing this entire function, as then the admin would be made founder...
Ok, to rephrase that, I have a user number in $create_founder. I need to update the player DB for that user. How do I do that, as the updateplayerdata function doesn't seem to like the number I give it with $create_founder?
0===)=B=j=o=r=n==R=e=d=t=a=i=l==>
Warbands Admin
"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
Warbands Admin
"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
ok i took a look at the code and found the problem
saveUserData reads values from an array.. not by user id num
anyhow i fixed it
http://dev.staronesw.com/?source&script=lib/libclan
saveUserData reads values from an array.. not by user id num
anyhow i fixed it
http://dev.staronesw.com/?source&script=lib/libclan
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
-
Members connected in real time