Atom Project: The hybrid server

Page 29 of 56 FirstFirst ... 19212223242526272829303132333435363739 ... LastLast
Results 421 to 435 of 838
  1. #421
    Atomic Developer lab-hotel is offline
    MemberRank
    Apr 2007 Join Date
    261Posts
    I'm a little busy due to college and I'm having only a free day per week. I'll try to maintain the project updated.


    Sent from my iPhone using Tapatalk

  2. #422
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    Re: Atom Project: The hybrid server

    This looks amazing.

  3. #423
    JustLikeMeForNoReason Kaan2106 is offline
    MemberRank
    Nov 2007 Join Date
    282Posts

    Re: Atom Project: The hybrid server

    lab? I love you soooo much *___*

    I hope i come away from 'debbo', 'pixal evo', 'hablux' and the other shizzle :'P
    at the moment i use hygrid emulator v2 ._. it has no GUI - can u post some Screenies from ur Server? :D

  4. #424
    Atomic Developer lab-hotel is offline
    MemberRank
    Apr 2007 Join Date
    261Posts

    Re: Atom Project: The hybrid server

    Updates

    HabboRails
    - Remade the entire GUI Engine.
    - Fixed Window Flickering
    - Improved code to be ported to Mac later.
    - Fixed Window backbuffer.

    Before - LoadControlData:
    Code:
    for(int i = 0; i < keyvalue.GetMapValue().count(); i++)
        {
            std::string key = keys[i];
    
            KeyValueData kvd = keyvalue.GetMapValue().get(key);
            if(kvd.GetType() == String || kvd.GetType() == Object) // prop
            {
                if(key == "ControlName" && kvd.GetStringValue() == "Frame")
                {
                    //control = (Control*)&CreateFrame();
                    //Sleep(1000);
                    control = new CBasicFrame();
                    control->SetText("oi");
                }
                else if(key == "ControlName" && parent)
                {
                    std::string controlName = kvd.GetStringValue();
                    if(controlName == "Label")
                    {
                        control = new Label();
                    }
                    else if(controlName == "Button")
                    {
                        control = new Button();
                    }
                    else if(controlName == "TextEntry")
                    {
                        control = new TextEntry();
                    }
                    else if(controlName == "FadePanel" || controlName == "PropertySheet")
                    {
                        control = new CFadePanel();
                    }
                    else if(controlName == "ListView")
                    {
                        control = new ListView();
                    }
    
                    if(control && index != 0)
                        parent->AddControl(control);
                }
                else if(key == "ControlName?" && parent)
                {
                    //CFadePanel c;
                    Control* c = new CFadePanel();
                    //((Control*)this)->AddControl(c);
                    parent->AddControl(c);
                    c->SetLocation(Point(10, 36));
                    c->SetSize(Size(100, 100));
                    control = c;
                    //((Control*)this)->AddControl((Control*)&c);
                    ///((Control*)&frame)->AddControl((Control*)&c);
                    //((Control*)&c)->SetLocation(Point(10, 36));
                    //((Control*)&c)->SetSize(Size(100, 100));
    
                    //CFadePanel c;
                    //control = (Control*)&CFadePanel();
                    //parent->AddControl(c);
                    //c.CreateHandle(parent->hwnd);
                    //parent->AddControl((Control*)&c);
                    //control = (Control*)&c;
                    //Sleep(1000);
                }
                else if(key == "xpos" && parent && control && control->ready)
                {
                    Gdiplus::Point p = control->GetLocation();
                    control->SetLocation(Gdiplus::Point(parseInt((char*)kvd.GetStringValue().c_str()), control->Y));
                }
                else if(key == "ypos" && parent && control && control->ready)
                {
                    Gdiplus::Point p = control->GetLocation();
                    control->SetLocation(Gdiplus::Point(control->X, parseInt((char*)kvd.GetStringValue().c_str())));
                }
                else if(key == "wide" && parent && control && control->ready)
                {
                    Gdiplus::Size s = control->GetSize();
                    control->SetSize(Gdiplus::Size(parseInt((char*)kvd.GetStringValue().c_str()), s.Height));
                }
                else if(key == "visible" && control && control->ready)
                {
                    int cmd = SW_SHOWDEFAULT;
                    if(kvd.GetStringValue() == "0")
                        cmd = SW_HIDE;
                    ShowWindow(control->hwnd, cmd);
                }
                else if(key == "tall" && parent && control && control->ready)
                {
                    Gdiplus::Size s = control->GetSize();
                    control->SetSize(Gdiplus::Size(s.Width, parseInt((char*)kvd.GetStringValue().c_str())));
                }
                else if(key == "fieldName" && parent && control && control->ready)
                {
                    control->Name = kvd.GetStringValue();
                }
                /*else if(key == "textAlignment")
                {
                    ((Label*)control)->
                }*/
                if(control)
                    control->SetProperty(key, kvd);
            }
            else // subframe
            {
                Control* subcontrol = this->ParseControl(control, kvd, i);
            }
        }
    After - LoadControlData:
    Code:
    KeyValues* ourForm = kv->GetValue(pathName);
                if(ourForm)
                {
                    int controlCount = 0;
                    char** keys = ourForm->GetKeys(controlCount);
                    
                    for(int i = 0; i < controlCount; i++)
                    {
                        char* key = keys[i];
                        KeyValues* controlData = ourForm->GetValue(key);
                        if(strcmp(key, "styles") == 0)
                        {
                            delete keys[i];
                            continue;
                        }
    
                        int paramCount = 0;
                        char** params = controlData->GetKeys(paramCount);
    
                        Element* element = 0;
    
                        for(int j = 0; j < paramCount; j++)
                        {
                            char* param = params[j];
                            //char* value = controlData->GetString(param);
                            
                            if(strcmp(param, "ControlName") == 0)
                            {
                                element = this->CreateElementByName(controlData->GetString(param));
                            }
    
                            if(element)
                            {
                                element->SetProp(param, controlData->GetValue(param));
                                element->SetElementProp(param, controlData->GetValue(param));
                            }
    
                            delete [] params[j];
                        }
    
                        if(element)
                            this->AddElement(element);
    
                        delete [] params;
                        delete [] keys[i];
                    }
    
                    delete [] keys;
                }
    Still need to fix some memory leaks and make the other core controls (there's only Button, TextEntry, Label and ProgressBar)




    @Kaan2106
    I'm glad to see you like Atom, thanks.
    It has no GUI too.

  5. #425
    JustLikeMeForNoReason Kaan2106 is offline
    MemberRank
    Nov 2007 Join Date
    282Posts

    Re: Atom Project: The hybrid server

    for what is the screenshot ? i don't get it xD
    its it is memorysavinger, i'm right?
    of course i like the "Atom project" ^^

    i can't wait until release.... i've got one big problem.... i forgott everyday my password on atom XD
    Last edited by Kaan2106; 21-02-12 at 05:41 AM.

  6. #426
    Atomic Developer lab-hotel is offline
    MemberRank
    Apr 2007 Join Date
    261Posts

    Re: Atom Project: The hybrid server

    Sorry for the long time with no updates, I've been excessively playing Dota 2 working on HabboRails port for Mac OS X and the application itself, I've fixed some memory leaks and implemented a server list where hotel owners can register your servers there for free and get rating etc. On servers that use the Atom Global Login server feature, the user can login directly from HabboRails.



    On Atom, the whole RP system is missing.

  7. #427
    JustLikeMeForNoReason Kaan2106 is offline
    MemberRank
    Nov 2007 Join Date
    282Posts

    Re: Atom Project: The hybrid server

    Ouh nice nice, is your server for free or costs it some money?
    (a special giveaway for your fans?) :D

  8. #428
    Enthusiast :Scimiazzurro is offline
    MemberRank
    Mar 2010 Join Date
    43Posts

    Re: Atom Project: The hybrid server

    Quote Originally Posted by lab-hotel View Post
    Sorry for the long time with no updates, I've been excessively playing Dota 2 working on HabboRails port for Mac OS X and the application itself, I've fixed some memory leaks and implemented a server list where hotel owners can register your servers there for free and get rating etc. On servers that use the Atom Global Login server feature, the user can login directly from HabboRails.



    On Atom, the whole RP system is missing.
    What is HabboRails?

  9. #429
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    Re: Atom Project: The hybrid server

    Quote Originally Posted by :Scimiazzurro View Post
    What is HabboRails?
    Read back in the thread then you will see.

  10. #430
    Account Upgraded | Title Enabled! PR0 is offline
    MemberRank
    Mar 2007 Join Date
    1,207Posts

    Re: Atom Project: The hybrid server

    Quote Originally Posted by lab-hotel View Post
    Sorry for the long time with no updates, I've been excessively playing Dota 2 working on HabboRails port for Mac OS X and the application itself, I've fixed some memory leaks and implemented a server list where hotel owners can register your servers there for free and get rating etc. On servers that use the Atom Global Login server feature, the user can login directly from HabboRails.



    On Atom, the whole RP system is missing.
    That's a cool idea, what do you mean though the whole RP system is missing?

  11. #431
    Atomic Developer lab-hotel is offline
    MemberRank
    Apr 2007 Join Date
    261Posts
    Quote Originally Posted by PR0 View Post
    That's a cool idea, what do you mean though the whole RP system is missing?
    The role play code isn't done yet.


    Sent from my iPhone using Tapatalk

  12. #432
    Member JubaV is offline
    MemberRank
    Nov 2011 Join Date
    71Posts

    Re: Atom Project: The hybrid server

    And infoRover was a bad idea then? kk' Soon I will release it again :|

  13. #433
    Member At0m is offline
    MemberRank
    Feb 2011 Join Date
    88Posts

    Re: Atom Project: The hybrid server

    A question. The emulator is complete ?

  14. #434
    JustLikeMeForNoReason Kaan2106 is offline
    MemberRank
    Nov 2007 Join Date
    282Posts

    Re: Atom Project: The hybrid server

    At0m i think not yet :-) the whole rp-system is missing and Lab are coding some features ;)
    i hope it helped you

  15. #435
    Atomic Developer lab-hotel is offline
    MemberRank
    Apr 2007 Join Date
    261Posts
    Sorry for the long time, I've been really busy these days.

    Maybe in the next week I'll send a closed beta version of the server to some active members. (after all tested and properly working, I'll make a open beta, so don't worry if you haven't got a license)

    I'll start the role play system soon. I'll include jobs like hair cutter, policeman etc


    Sent from my iPhone using Tapatalk



Advertisement