Author |
Message |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Oct 01, 2005 9:56 am Post subject: |
 |
|
|
|
Because if you're planning on writing modules, they should be in Python, since Python will not crash the server. The pre-written fg_wz and fg_turf (warzone and turf) are also written in python already. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sun Oct 02, 2005 12:39 am Post subject: |
 |
|
|
|
It would probably be a bit faster, but Python is a great scripting language anyway. It's much, much easier just to throw something together in Python than to use C++. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sun Oct 02, 2005 10:16 am Post subject: |
 |
|
|
|
I agree. Mostly because it's very difficult to use C++ in ASSS.
If you meant C, then I find that hard to believe. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sun Oct 02, 2005 1:33 pm Post subject: |
 |
|
|
|
I'm guessing using the JNI would be too slow? _________________
 |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Sun Oct 02, 2005 11:27 pm Post subject: |
 |
|
|
|
it's not very difficult to use c++ with ASSS, just extern "C" the module function |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Oct 03, 2005 8:43 am Post subject: |
 |
|
|
|
I tried that, but I ran in to some other errors. I forget what they were now. I was able to get some helper functions in C++, but never a whole module. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Mon Oct 03, 2005 3:20 pm Post subject: |
 |
|
|
|
you just need to cast everything. Like when you're getting the chat interface in the module function do
chat = (Ichat*)mm->getInterface(...);
I've made several modules in c++ |
|
Back to top |
|
 |
|