Programming languages for MS ?

Results 1 to 3 of 3
  1. #1
    Proficient Member ByCreator is offline
    MemberRank
    Mar 2012 Join Date
    154Posts

    big grin Programming languages for MS ?

    What programming languages are used to create the PS, what programs?
    I'm about to start learning Program engineer :java,c,c#,c++,php,python,ubuntu(linux) languages.
    Thx for any help.


  2. #2
    Novice tenchi25 is offline
    MemberRank
    Apr 2020 Join Date
    3Posts

    Re: Programming languages for MS ?

    The core is written in Java with events and other things written in javascript. However what would be super handy would be to make the Localhost file read it's settings from an .ini file so it would be easier to change. That way we could remove the need to hexedit it.

  3. #3
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: Programming languages for MS ?

    Quote Originally Posted by tenchi25 View Post
    The core is written in Java with events and other things written in javascript. However what would be super handy would be to make the Localhost file read it's settings from an .ini file so it would be easier to change. That way we could remove the need to hexedit it.
    Then just write a DLL hook to do this. You can use AuthHook which has WinSock hooks to redirect the client to your IP, and then you can use built-in C++ profile functions to get the IP.

    Before hooking WinSock, we'd parse the IP from config and store it:
    PHP Code:
    const size_t uSize 20;
    char sIP[uSize];
    GetPrivateProfileStringA("Server""IP""127.0.0.1"sIPuSize"Config.ini"); 
    Then have an INI file:
    Code:
    [Server]
    IP=127.0.0.1
    Then simply get the host from the initialized IP and redirect it through the WSP_Connect hook.

    OT: If you're asking what languages they're written in here, then the most common is Java and JavaScript. Some sources like mine use Python for scripts instead of JS though. There are other sources like Vana that are C++ and LUA, and even some sources written in C#. However, if you're asking what language to write a PS in, then I would personally suggest between Java or C++.



Advertisement