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
PYTHON support

 
Post new topic   Reply to topic Printable version
 View previous topic  How do i get asss connected to a centr... Post :: Post Problem with asss 1.1.2  View next topic  
Author Message
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Sun Apr 06, 2003 8:33 pm    Post subject: PYTHON support Reply to topic Reply with quote

I remember Gremlinar mentioning updating to PYTHON module support... is this project currently in motion? I understand PYTHON has an excellent C API which would probably make this much easier.
Just checking in...

If there is absolutely no one working this please let me know, and I will*attempt* to begin cracking on it
_________________
Signatures just seem so quaint.
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Sun Apr 06, 2003 10:28 pm    Post subject: Reply to topic Reply with quote

Grel loves python, and i'll bet he'll support it before its finished for mass use. Remember, college is still in. Once college lets out, both him and i will be able to add more useless junk only 2 people would ever use.
Back to top
View users profile Send private message Add User to Ignore List Send email
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Mon Apr 07, 2003 12:59 am    Post subject: Reply to topic Reply with quote

I don't really like it that much. I like certain things about it, and others make me cringe. I'd much prefer to make Scheme the official extension language. But I have to consider my intended audience here.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
m/b
Guest


Offline

PostPosted: Mon Apr 07, 2003 9:20 am    Post subject: Reply to topic Reply with quote

ptyhon is so simple, and its actually a preffered teaching language $$$
Back to top
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Mon Apr 07, 2003 4:25 pm    Post subject: Reply to topic Reply with quote

Scheme is nice, but even less mainstream than PYTHON, your target audience considered, i would have to ask you to seriously consider PYTHON.

A side quetion: you make use of PYTHON script within the server to load the cfg, i believe (i galnced over them). Have you compiled any extension modules for that purpose? Also, at what points in the software does the program flow to PYTHON?

I am currently researching and pseudo-coding the module for PYTHON in ASSS. Please let me know if there are any portions of this project you believe are crucial as part of the ASSS whole. As always, i can make no promises, but I believe messing with the PYTHON/ C API will keep me sufficiently enthralled. icon_smile.gif More than likely what i will end up with is a c module that makes use of a python script... until i bucker up and do it right
Back to top
View users profile Send private message Add User to Ignore List
nintendo64
Seasoned Helper


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 104
Location: Dominican Republic
Offline

PostPosted: Mon Apr 07, 2003 9:27 pm    Post subject: Reply to topic Reply with quote

I agree with Python Support, i am not fluent in C or C++, python support will be a Plus here.

-nintendo64
Back to top
View users profile Send private message Add User to Ignore List
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Tue Apr 08, 2003 2:52 am    Post subject: Reply to topic Reply with quote

There's no python code in the server now. The few scripts there are only for processing things into C code that gets compiled into the server. Nothing at run time. Config files are processed by stuff written in C (app.c and config.c).

The big exception is the billing proxy, to connect to old (subbill or compatible) billers. That's written in python (only), and runs in a completely separate process from the server.

Feel free to start working on python extensions. If I like it, I might decide to include it. Be warned, though, I'm going to be pretty picky about this sort of thing, because I want it to be done right. Once it's done right, though, I'll probably start rewriting some of the simpler modules in python.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Tue Apr 08, 2003 4:22 pm    Post subject: Reply to topic Reply with quote

thats why i asked... i assumed i was not the one for the job, but i can't help but tinker with the idea. I can't make you "happy", so to speak, but i think i will mess around anyway. thanks for the info
Back to top
View users profile Send private message Add User to Ignore List
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Thu Jul 31, 2003 1:03 am    Post subject: Reply to topic Reply with quote

Quick update on this: the 1.1.0 release does have python module support. You can't do everything you can do with a C module, but you can do a lot, and it's much easier to do it than to write the equivalent in C. There are no sample modules yet.

If anyone tries it, let me know what features that you want to use are missing so I can start thinking about how to add them.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Sat Sep 13, 2003 12:02 pm    Post subject: Reply to topic Reply with quote

excellent
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
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: 51 page(s) served in previous 5 minutes.

phpBB Created this page in 0.555160 seconds : 35 queries executed (93.8%): GZIP compression disabled