I’ve been playing a game called EVE online lately.
But my fun adventure is not how to play the game but hacking the game.
By some means I have almost completely decompiled the original EVE code (readable code)
This has to do with the nature of python, and my guess is that Java should have a way to convert from bytecode to readable code (maybe not)
Hacking can be illegal or unethical so I’m not going to go into too much detail about how I did it, just some interesting ways that I’ve seen it done
Trying to do multithreading in python2 is a complicated thing and that seems to be the legacy of python2.
I found out that python’s multithreading has a lock where only the thread that acquires the lock can execute the programme, and the lock must be released when the programme has finished executing.
There’s almost nothing python2 can do asynchronously.
(Of course this is just what I understand so far from my brief exposure to python2, and maybe python2 can be)
The more interesting design is the “sm”, which manages all the registered modules and then accesses the local Service via sm.getService. sm.remotesvc seems to call the server’s functionality
I am now wondering what is “SM” in jme? I found the getStateManager, and then I started reading the documentation and finally, yes, this is what I’m looking for
( yan
tells me there’s a StateManager.)
Well, it’s a little awkward, but after all the crazy stuff we’ve done to get different class to talk to each other, it turns out there’s a getStateManager
I also saw a simple database for storing game resources in the game code, and I wondered if something similar existed in jme
Most of the rest of the content is almost similar to the process of making a game in jme including the existence of a module called update in each module to make updates.
(You can leave any suggestions Thank you for your message)