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
Extended tutorial

 
Post new topic   Reply to topic Printable version
 View previous topic  Still Think There Needs To Be... Post :: Post Okay, what did I do wrong??  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:18 pm    Post subject: Extended tutorial Reply to topic Reply with quote

i understand:

  • I am not the most qulaified to write anything technical
  • A simple module tutorial is available in /doc/, but it is incomplete, and says so straightforwardly


nonetheless, here it is.
_________________
Signatures just seem so quaint.




the actual module .c file

Helicon.c - 6.56 KB
File downloaded or viewed 96 time(s)

here it is...comments please (constructive ones)

modbot tutorial.txt - 6.04 KB
File downloaded or viewed 134 time(s)
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:40
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3614
Location: Las Vegas
Offline

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

Its bad form to register a callback and don't do anything in it. I recommend just putting a SendMessage in there displaying some of the info you get in it.
Back to top
View users profile Send private message Add User to Ignore List Send email
m/b
Guest


Offline

PostPosted: Mon Apr 07, 2003 8:02 am    Post subject: Reply to topic Reply with quote

i know i know, but this isnt meant to work in and of itself... this way one can cut the callbacks one doesn't need and already have the others registered in correct form... thats the point... more is done for you than necessary
Back to top
AlphaBoB
Seasoned Helper


Gender:Gender:Male
Joined: Aug 12 2003
Posts: 140
Location: Everywhere you want to be.
Offline

PostPosted: Mon Sep 01, 2003 9:21 am    Post subject: Reply to topic Reply with quote

I get the code and all, but you said I have to compile as a .c (??) and I don't know what to compile the .c file into??

Tell me if I'm an idiot... I use Linux with the GCC compiler and in the server/bin folder there's lots of .SO files, is that what I compile into?
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
AlphaBoB
Seasoned Helper


Gender:Gender:Male
Joined: Aug 12 2003
Posts: 140
Location: Everywhere you want to be.
Offline

PostPosted: Mon Sep 01, 2003 9:23 am    Post subject: Reply to topic Reply with quote

Wait, I think I just solved my problem... a Linux DLL file is named .so (i believe) so now all I need to know is

Do you need an extra option or anything on GCC to compile into an SO file? (linux dll)
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Smong (on Linux)
Guest


Offline

PostPosted: Mon Sep 01, 2003 3:32 pm    Post subject: Reply to topic Reply with quote

Have a look at the makefile that came with Asss, you should be able to get some clues from there.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects 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: 684 page(s) served in previous 5 minutes.

phpBB Created this page in 0.657465 seconds : 33 queries executed (95.4%): GZIP compression disabled