Since I'm not very familiar with Java, I have to build my extensions on actionscript, which is not that bad, but I can see how much lag it causes to my game.
But what is best for optimization?
Having a big extension file spread with different cmd parameters or having your zone loads different extension files for different situations?
Extension question - Which is best for optimization?
- mistermind
- Posts: 131
- Joined: 15 Sep 2007, 01:33
- Contact:
Extension question - Which is best for optimization?
SELECT * FROM users WHERE clue > 0
0 rows returned.
0 rows returned.
- mistermind
- Posts: 131
- Joined: 15 Sep 2007, 01:33
- Contact:
Ha. Found an answer from Lapo from way back to a similar question. Thanks blessed search, and sorry for the report before searching
To SFS it doesn't make any difference. You can use a single huge extension file, or multiple .as files that are included in the main one.
It's a matter of personal preference.
Since Actionscript is not entirely OOP and it doesn't enforce OOP I would at least divide the functions into various files grouping them by context/task etc...
SELECT * FROM users WHERE clue > 0
0 rows returned.
0 rows returned.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 96 guests