Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Basic Setup Unity3d / Smartfoxserver2x

Discussion in 'Made With Unity' started by DevionGames, Sep 26, 2011.

  1. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    5.3.8

    But i have not tried the webplayer...
     
  2. Wiser

    Wiser

    Joined:
    Oct 10, 2011
    Posts:
    27
    What do you mean by room? Do you mean the lobby? or the actual entry under rooms?
     
  3. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
  4. Wiser

    Wiser

    Joined:
    Oct 10, 2011
    Posts:
    27
    in the zone configurator there is The Lobby and Simple Chat in zones and The Lobby in Rooms. I guess that is what is confusing me. Should I get rid of The Lobby Zone?
     
  5. Wiser

    Wiser

    Joined:
    Oct 10, 2011
    Posts:
    27
    Sorry its Game Lobby and Simple Chat in Zones
     
  6. Klyngo3D

    Klyngo3D

    Joined:
    Oct 12, 2011
    Posts:
    8
    i cant get this to work, im using unity 2.6.1 as im on a PowerMac G5 and unity 3 doesnt work on ppc processors.

    Basically when i load the 3d files in unity, when i double click a scene theres no gameobjects in the hierarchy.

    I Also have 2 errors in console too.. i googled the errors but couldn't find anything that coresponded with this problem.

    Assets/Standard Assets/Character Controllers/Sources/Scripts/CharacterMotor.js(2,9): UCE0001: Unknown pragma 'implicit'

    and

    Assets/Standard Assets/Character Controllers/Sources/Scripts/CharacterMotor.js(3,9): UCE0001: Unknown pragma 'downcast'


    If anyone can shed a little light on this please would be great help.

    thanks.
     
  7. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    This two scripts are not needed for the unity project, they are in the standart asset folder and i do not delete them...you can delete them...
     
  8. Klyngo3D

    Klyngo3D

    Joined:
    Oct 12, 2011
    Posts:
    8
    still doesnt work, when i open the files in unity there just assets, no gameobjects in the hierarchy with any scripts attached to them. Also i noticed upon opening the project there is no mmo.unity3d to be opened?? just files that look like they should be opened with Visual Studio or something here is a screenshot.

    http://d.pr/GtKq

    Unity 2.6.1
    PowerMac G5 DP 2.2Ghz
    10.5.8 Leopard
     
  9. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    This is right open this folder with unity...
     
  10. Klyngo3D

    Klyngo3D

    Joined:
    Oct 12, 2011
    Posts:
    8
    Well i have done that but.... when i double click a scene... no gameobjects are in hierarchy.
     
  11. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Hmm i do not know i have created this project with unity 3.3
     
  12. Wiser

    Wiser

    Joined:
    Oct 10, 2011
    Posts:
    27
    Does anyone have this working in webplayer?

    I have this setup and it runs while in the game editor. I can create an account, log in and walk around. I create a webplayer, put it on the server and it does nothing. You can't log in or register.

    Now I know that I am missing something somewhere. I just cannot figure out what. I have a crossdomain.xml in the root of the server and I changed the www configuration in the edit/projects/editor.

    Any suggestions would be welcome.
     
  13. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    have you tried this in the connect? I mean of corse before you connect...

     
  14. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    added a small price to it, because since i added this, i do not sell my main package...
     
  15. Wiser

    Wiser

    Joined:
    Oct 10, 2011
    Posts:
    27
    How do you assign the models in the character select screen. Got everything else up and running. Great job, Zerano !
     
  16. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    I think you mean the character create scene? If yes its not integrated the Character is simple placed in the scene...
     
  17. Wiser

    Wiser

    Joined:
    Oct 10, 2011
    Posts:
    27
    Yes I mean the character create screen. We bought your rpg kit, and it seems to be working in that, but it is not multiplayer. How would we integrate it in this version?
     
  18. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    you can create an array and add the model prefabs to it, and then change them if a race or class is changed:

    not tested!

    public GameObject[] models;
    public GameObject currentModel;

    private void ContolModel(RaceType type){
    switch(type){
    case RaceType.Human:
    Destroy(currentModel);
    currentModel=Instantiate(models[0]) as GameObject;
    break;

    case RaceType.Other:
    Destroy(currentModel);
    currentModel=Instantiate(models[1]) as GameObject;
    break;
    }
    }

    something like this, call it if the type is changed...
     
  19. pezz

    pezz

    Joined:
    Apr 29, 2011
    Posts:
    606
    Do you also have this in unity script?
     
  20. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    No sorry i do not use unityscript, you should not do it too :D
     
  21. Ultimation

    Ultimation

    Joined:
    Jan 25, 2011
    Posts:
    11
    Does anybody still have these files, i cant seem to get them from the provided website.

    Regards

    Ulti.
     
  22. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Yes sorry my provider lost all my data, i am rebuilding my page will be soon availible again.
     
  23. Ultimation

    Ultimation

    Joined:
    Jan 25, 2011
    Posts:
    11
    awesome, thanks alot. if you have the files to send via email, id really appreciate it.
     
  24. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
  25. KillerScripter

    KillerScripter

    Joined:
    Sep 8, 2010
    Posts:
    39
    When you will add a download to the system?
     
  26. chrisx84

    chrisx84

    Joined:
    Nov 9, 2011
    Posts:
    85
    thats why i like to know. i paid the $5.21 CAD but the link doesnt work, comes up as forbidden.
     
  27. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Sorry and thank you for telling me this, it is fixed now you can login and download it.
     
  28. chrisx84

    chrisx84

    Joined:
    Nov 9, 2011
    Posts:
    85
    woohoo ty :D im downloading it now :D cant wait to start playing with the package.
     
  29. chrisx84

    chrisx84

    Joined:
    Nov 9, 2011
    Posts:
    85
    i just tried it, even though the login screen is cool and the character create is cool, I'm having difficulties making more scenes and playing the scene is abit difficult to.
    Also i had to create a new project then import all the files from the MMO3D folder to the project folder.

    Overall its a good $5 for those who want to learn by referencing off of someone else's work.
     
  30. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Yes scene change is not integrated... i do not realy remember but the network managers should not be destroyed.

    you could add this to the manager:

    void Awake() {
    DontDestroyOnLoad(transform.gameObject);
    }

    and then look what errors you get :D

    you should also script a request to the server for changing a scene.
     
  31. chrisx84

    chrisx84

    Joined:
    Nov 9, 2011
    Posts:
    85
    grr i actualy dont know how to script, im just having fun learning and practicing how to mesh in blender.
     
  32. Flycakes

    Flycakes

    Joined:
    Jan 1, 2012
    Posts:
    3
    Hiya,

    ive perchased the basic pack from you paid by paypal instant checkout, but the payment is pending paypal say you need to click a button on the other side to agree the transfer for whatever reason :S

    i have tried emailing you though paypal and direct to no answer. the cash is out of my account but held with paypal untill you except it,

    Plese help!

    Order Number: 31
    last 4 digi on recipt: 5464
     
  33. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Okay sorry it was in £,i changed my paypal setting to accept it. You have got an email with the information to download this. I was not at home yesterday.

    Thank you for your purchase.
     
  34. Flycakes

    Flycakes

    Joined:
    Jan 1, 2012
    Posts:
    3
    Excellent!

    Downloading it now thaks for the help
     
  35. Flycakes

    Flycakes

    Joined:
    Jan 1, 2012
    Posts:
    3
    There's a serious amount of work here for 5 bucks, thanks again prob the best purchase I made in 2010!

    Out of curiosity how much is your rate for work on characters for the game? And what features in your Advanced MMO Template would help me in doing the C# bit i.e. quest's and levelling up etc.

    Thanks again
    Fly.
     
  36. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Thank you!

    But i raised the price a little bit yesterday,..I think most of the people who wanted this, already have it for free or bought it...
     
    Last edited: Jan 5, 2012
  37. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    I found the basic mmo setup guide :D It was some time ago as i wrote it...here it is: Setup
     
  38. undzie

    undzie

    Joined:
    Mar 31, 2012
    Posts:
    1
    cant access this link, "http://sigena.franken.de/~zerano/Workbench.swf",
     
  39. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
  40. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    This is very cool of you to do. We use his advanced MMO kit for those of you who havent added the rest of the MMo features you should also look into that kit.
     
  41. Hedonsoft

    Hedonsoft

    Joined:
    Jul 11, 2012
    Posts:
    168
    Having some problems connecting to my database. I'm running Wamp and SmartFoxServer2X. I configured everything as defined in the MMO.pdf but I'm unable to Register or Login. When the server is running as a service I get the unable to bind to socket error. When I stop the service and run the sfs2x-standalone.exe everything seems to run alright, no errors and it runs the test code on the database but when I run the game, register then click Login it says connecting and doesn't advance to the character creation screen.
     
  42. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Please give always errors in the sfs- console and unity.

    I can help you to setup the kit with teamviewer please write me a pm or add me on skype: tharon211

    regards zerano

    ----
    I removed this kit today from my store, because i need to recheck the smartfoxserver and unity. This kit is already old and the smartfoxserver2x and unity were updated.
     
    Last edited: Jul 19, 2012
  43. Hedonsoft

    Hedonsoft

    Joined:
    Jul 11, 2012
    Posts:
    168
    Just added you. Thanks :)
     
  44. Hedonsoft

    Hedonsoft

    Joined:
    Jul 11, 2012
    Posts:
    168
    zeron was great helping me to get it going. His work is amazing.
     
  45. DevionGames

    DevionGames

    Joined:
    Feb 22, 2010
    Posts:
    1,624
    Thank you!