Search found 57 matches

by Fishypants
13 Jan 2011, 05:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Gameplay advice concerning dynamic rooms . . .
Replies: 7
Views: 3060

Hmmm, I like that. Seems very elegant. I'm going to work on an implementation and see how it goes. I'll post what I come up with. Thanks for the ideas guys!
by Fishypants
13 Jan 2011, 03:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Gameplay advice concerning dynamic rooms . . .
Replies: 7
Views: 3060

Hey Carl, that sounds like a good approach. I'll have to take a look at that. My initial thought was upon a user leaving a room it would send a "check room count" message to the server with a room ID and the server would check how many people are in the room and if none, delete the room. N...
by Fishypants
12 Jan 2011, 14:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Gameplay advice concerning dynamic rooms . . .
Replies: 7
Views: 3060

Exactly. Well if the server is always the real owner, and someone is set to be group leader, when that person leaves maybe they are the ones responsible for either destroying the room and booting everyone out or nominating someone automatically to be next leader. Then last person on room exit delete...
by Fishypants
11 Jan 2011, 23:04
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Gameplay advice concerning dynamic rooms . . .
Replies: 7
Views: 3060

Gameplay advice concerning dynamic rooms . . .

Ok so here is the scenario I would like to create. I would like to have a main lobby where users can interact and group up into parties, then the party "leader" can go and create a mission. The mission will create a dynamic room with an instance of a particular level that each other member...
by Fishypants
30 Dec 2010, 23:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Unity 3D - Need custom login help (myUserId, myUserName)
Replies: 4
Views: 2248

Hey Apples, so I ended up having to use this: Convert.ToInt32(dataObject.Get("userId")); For some reason int.Parse() was not working for me. Would you happen to know any reasons that would cause this? Also, I'm not quite grasping what you are doing at the end of the case check: OnLogin(...
by Fishypants
30 Dec 2010, 23:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Unity 3D - Need custom login help (myUserId, myUserName)
Replies: 4
Views: 2248

The problem I am getting with that is when I try to use "get()" I have been getting the following errors: error CS1502: The best overloaded method match for `int.Parse(string)' has some invalid arguments error CS1503: Argument 1: Cannot convert type `object' to `string' I think I might be ...
by Fishypants
30 Dec 2010, 21:57
Forum: .Net / Unity3D API
Topic: m_ThreadCheck && !Thread::EqualsCurrentThreadID(m_Th
Replies: 3
Views: 5425

Thanks for the reply Thomas,
How would I go about running it in threadsafe mode?
by Fishypants
30 Dec 2010, 21:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Unity 3D - Need custom login help (myUserId, myUserName)
Replies: 4
Views: 2248

Unity 3D - Need custom login help (myUserId, myUserName)

I for the life of me cannot get this to work. I have read the docs, but they don't have a specific example of what I am trying to do (or at least that I have been able to find) I need more information about the myUserId and myUserName variables when using a custom login. Doc's say that you need to s...
by Fishypants
30 Dec 2010, 20:22
Forum: .Net / Unity3D API
Topic: m_ThreadCheck && !Thread::EqualsCurrentThreadID(m_Th
Replies: 3
Views: 5425

m_ThreadCheck && !Thread::EqualsCurrentThreadID(m_Th

Hey, I am getting this error: m_ThreadCheck && !Thread::EqualsCurrentThreadID(m_ThreadID) Error in file: ..\..\Runtime\Utilities\MemoryPool.cpp at line 117 What I am doing is basically recreating the island demo piece by piece. I have created a custom login and I get this error after I switc...
by Fishypants
27 Dec 2010, 16:08
Forum: .Net / Unity3D API
Topic: SendXtMessage problem
Replies: 7
Views: 9679

Having 2 zones is also what I've done myself.


Cool! Well as long as I am on a right track, I'm happy :D
by Fishypants
27 Dec 2010, 03:14
Forum: .Net / Unity3D API
Topic: SendXtMessage problem
Replies: 7
Views: 9679

Ok so this is my solution for now: Basically I have a Login zone, and a CreateAccount zone. Login has customLogin=true, and validates the users information against a MySQL database query. CreateAccount does not. On the main screen you can either log in, or create a new account. If you create a new a...
by Fishypants
27 Dec 2010, 00:14
Forum: .Net / Unity3D API
Topic: SendXtMessage problem
Replies: 7
Views: 9679

Hey Thomas, I believe I am having the issue you are describing, where I am logged into a zone, but not a room, yet I cannot call any zone extensions . . . This as I see it could be a problem, as I have an user account creation page in my Unity setup, where you create a new account and it submits it ...
by Fishypants
26 Dec 2010, 22:57
Forum: .Net / Unity3D API
Topic: MySQL database help needed :(
Replies: 1
Views: 4071

Ok so instead of checking if: if(sql != null) It seems that if I use: if(sql.size() > 0) It gives the correct results. Anyone know why this is? Why check for null, if checking for the size works better in this case? Still not 100% sure what the difference would be, but I am g...
by Fishypants
26 Dec 2010, 22:46
Forum: .Net / Unity3D API
Topic: MySQL database help needed :(
Replies: 1
Views: 4071

MySQL database help needed :(

Ok, so I have made a custom login for Unity. And all works good if I have: 1) Correct user name, and password. Login is good! 2) Correct user name, wrong password. Denies login. Problem arises when I have a WRONG username and or password. I am assuming that when I am querying for a user name and it ...
by Fishypants
21 Dec 2010, 07:26
Forum: SFS2X C# API
Topic: [[ NEW ]] FPS Demo!
Replies: 128
Views: 106349

Hmmm am I doing something wrong? I enabled UDP for the same port as TCP (9933), am playing the game in the editor. All seems good, I can login and create a new game. Once the game starts it says: 'Wait for respawn counter' And it just starts counting up, and up and up. It never starts. Any ideas?

Go to advanced search