JDS Posted October 23, 2007 Report Posted October 23, 2007 questions i have 1: what is better for programing (easyer / personal prefrence [why] ) 2: functions? when creating a module and you want a new function.. can you just create it without editing the core? 3: testing ASSS; do you need to have it in an arena or can you run the program source code and get a view of whats going on
Samapico Posted October 23, 2007 Report Posted October 23, 2007 1: I'd go with Visual Studio... but anything can do I guess 2: never worked with ASSS... depends what you mean by function. Functionnality, or a programmed method? 3: You need an ASSS zone to test stuff properly. I assume the core will interact with your module, so if you want to test it fully you'll need to run the whole thing.
JDS Posted October 23, 2007 Author Report Posted October 23, 2007 a new programed method not seen before
Samapico Posted October 23, 2007 Report Posted October 23, 2007 by method I was speaking of something like int myMethod(arguments){ dostuff} (I have no idea if you're familiar with programming terms...) Adding these is indeed easy...But it always depends on what you really want to do. I'm guessing if you want to modify something that is normally part of the core, then yes you'd need to edit the core
Smong Posted October 23, 2007 Report Posted October 23, 2007 I always try to make my modules as plugins that don't rely on new features in the core. Otherwise you might end up with 2 custom cores that do different things but you want to use both in the same zone, so you have to merge them which is bad in the long run. All the python modules work as plugins. However there are some things you can't do in python but you can do in C (such as looking at the raw packets, which isn't required for most modules).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now