• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Programming languages for MS ?

Junior Spellweaver
Joined
Mar 24, 2012
Messages
157
Reaction score
1
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.
 
Initiate Mage
Joined
Apr 12, 2020
Messages
3
Reaction score
0
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.
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
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:
const size_t uSize = 20;
char sIP[uSize];
GetPrivateProfileStringA("Server", "IP", "127.0.0.1", sIP, uSize, "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++.
 
Upvote 0
Back
Top