-
Re: Ferret.Net
Thanks for the info Turbo.
I guess I am not looking hard enough on the ID stuff <img src="/center/images/graemlins/smile.gif" alt="" />
Its good practice for when even worse people come and try to use Ferret.net LOL!
Let me go digest what you wrote and see if I can solve my user list problem.
I still have some weirdness on global properties. I sure love the global properties, hopefully they can be tweaked a bit.
I had my server and 3 clients running all night and all automaticaly sending messages to each other. When I awoke this morning its all still running perfectly.
-
Re: Ferret.Net
Hehe yeah I guess this will need some documentation <img src="/center/images/graemlins/smile.gif" alt="" />
I'll try to figure out what's going on with the properties.
Do you know if there were any bad packets in the server after you ran it the whole night? You can show number of bad packets in the debugger by adding Ferret.Net to it.
-
Re: Ferret.Net
-Start loop "list" ClientConnectionCount("Ferret.Net") times+On loop "list"
-Client: Select connection index LoopIndex("list")
-Add line ClientConnectionName$("Ferret.Net")
Would I be doing this on the client?
I am doing something wrong --- I am not getting what I want <img src="/center/images/graemlins/frown.gif" alt="" />
Also -- When I set a counter to ClientConnectionCount( "Ferret.Net" )
It seems to be recieving the highest index number and not the number of connections? (Like I would know LOL!)
-
Re: Ferret.Net
ID could be "Unique ID" to make it more clear, but I guess it only takes one explaination then people should know the difference anyway <img src="/center/images/graemlins/smile.gif" alt="" />.
-
Re: Ferret.Net
[]Would I be doing this on the client?
I am doing something wrong --- I am not getting what I want
Also -- When I set a counter to ClientConnectionCount( "Ferret.Net" )
It seems to be recieving the highest index number and not the number of connections? (Like I would know LOL!) [/]
Yeah, it should be on the client. It might still be a bit buggy though <img src="/center/images/graemlins/smile.gif" alt="" />
And yeah, ClientConnectionCount doesn't include yourself, so you won't find your own name in that list. Do you think this should be changed?
-
Re: Ferret.Net
<<
ClientConnectionCount doesn't include yourself, so you won't find your own name in that list. Do you think this should be changed?
>>
Hmmm what do I think? I am not sure.
As long as I know to add 1 to the number it works.
So maybe keep it as it is.
We need to get some good debugers in this thread <img src="/center/images/graemlins/smile.gif" alt="" />
1/2 the time or more I think the bugs are just me not understanding what to do LOL!
-
Re: Ferret.Net
I feel like one of the worlds worst debuggers.
My method is to fumble around and try to build something but I never know if its just me doing something wrong.
Here is what I am doing to try to generate a list of the names
Only one action when events loop
-- Start Loop "parse_list" ClientConnectionCount("Ferret.Net")+1 times
On Loop "parse_list"
Action under Ferret.Net -- Client: Select connection index LoopIndex("parse_list)
Action under List box -- ClientConnectionName$( "Ferret.Net" )
-
Re: Ferret.Net
The thing is, the client you are using isn't included at all, so you can't use ClientConnectionCount("Ferret.Net")+1 times.
Maybe I should change this so connection index 0 is always the local client to avoid confusion?
There has been some problems with the connection list before, but it should show all other connections.
-
Re: Ferret.Net
Ah hmmmm,
I thinking knowing the server is not going to return the calling clients info I can work around it. Insert local name in my user list then just add all the ones from the server <img src="/center/images/graemlins/smile.gif" alt="" />
-- Edit could be user error -- Working now:
Another item that may or may not be something:
On Connect doesn't seem to trigger for the first connection connected to the server.
To help myself debug I send a message from the server: on connect
client 1 is not receiving the message but when client 2 signs on they both receive the message.
-
1 Attachment(s)
Re: Ferret.Net
Here is a new version. I'm not sure this has fixed the properties bug, but it might have.
Edit: Btw, does MMF2 crash for anyone else when opening a MFA-file after installing the patched bonus pack?