Quote:
Originally Posted by Mega Byte
Awesome, as you will see the C++ code is a hot mess so is the DB...
But it works I guess.
I could see V8 able to be added as scripting language to code modifications to AI or new commands in JS although it might not be as good of a fit it's quite large and bloated. There are other lightweight implementations however such as
C++ Dlls can also be loaded and unloaded at runtime by structuring them like a plugin but seems like way more effort.
LUA seems the older goto for a scripting language embedded in another C or CPP software but I don't know lua as well as JavaScript either. Pondering...
|
1) Yes the whole thing looks like a kindergarten project just put together at random.
2) Easy to get an anti-hack method into the client
3) I wouldn't recommend put C++ dlls as a plugin method if its that big of a time crunch. Just over time on a separate DB for testing purposes of course to ensure it would be efficient.
4) Lua is fun but I can make things out of JavaScript that would make the original game devs want to use it too. (Done this for several big name companies pay per script)
If anything sticking with what its got and completely reorganizing would be top priority. I also noticed that some code strings are missing for certain things. But that should be easy to fix since I know how every feature in the game works.
DukTape is good for code crunching. JS is a mess no matter which way you look at it. Even when I write my scripts I have to literally have an example of what that script actually does and what parts of it are initiated before the others so they can learn off that. Hated it. But I also work best off basic NotePad. I dont like IDEs unless it is needed. I am also trying to see if I cant bypass the loading crap dealing with SQL instead on Eclipse. It partially started up but ran into a few bugs that I am working out. Trying to convert things from their containers to their own directories for "organization". Its just going slow and I might just scrap it and load it off SQL. I wanted to see what this game actually looks like when its ran off Java instead of its basic engine.