Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
error durring make
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  ball phasing Post :: Post NoXRadar  View next topic  
Author Message
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Oct 01, 2005 9:56 am    Post subject: Reply to topic Reply with quote

Syrus wrote:
3) why?

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
View users profile Send private message Add User to Ignore List Visit posters website
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sat Oct 01, 2005 2:57 pm    Post subject: Reply to topic Reply with quote

I wonder if using c++ and exception handling will work faster than using python with the same functionality.
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Oct 02, 2005 12:39 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Oct 02, 2005 10:16 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Oct 02, 2005 1:33 pm    Post subject: Reply to topic Reply with quote

I'm guessing using the JNI would be too slow?
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Oct 02, 2005 11:27 pm    Post subject: Reply to topic Reply with quote

it's not very difficult to use c++ with ASSS, just extern "C" the module function
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Oct 03, 2005 8:43 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Mon Oct 03, 2005 3:20 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 47 page(s) served in previous 5 minutes.

phpBB Created this page in 0.477200 seconds : 32 queries executed (92.9%): GZIP compression disabled