Search found 127 matches

by mistermind
30 Jun 2013, 16:12
Forum: Job offers and requests
Topic: Need A SFS Licensor
Replies: 2
Views: 8029

Re: Need A SFS Licensor

sent you a pm
by mistermind
21 Jun 2012, 03:49
Forum: Server Side Extension Development
Topic: SQL Alias Column Names not working??
Replies: 6
Views: 11101

Re:

Check this post -> http://www.smartfoxserver.com/forums/viewtopic.php?p=3612#3612 I had the same problem recently so I just wanted to drop a word here. The solution lapo gave on that post might definitely help you the way it did me. My problem was even stranger: On local tests, connected to a datab...
by mistermind
10 May 2011, 20:40
Forum: SFS2X Questions
Topic: SmartFoxServer 2X Release Candidate 2
Replies: 50
Views: 75223

For those who were still having problems with the patch, here are some extra " dummy" explanation (basically because it happened to me too lol): You have to extract the zip content (aka, the folder within the zip file) inside your sfs installation folder, and not the sfs2x folder inside of...
by mistermind
07 Dec 2010, 23:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: quick question about config.xml load
Replies: 1
Views: 4384

nvm my question (again lol)
sfs.loadConfig("http://www.mywebsite/config.xml") works just fine ;)
by mistermind
07 Dec 2010, 23:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: quick question about config.xml load
Replies: 1
Views: 4384

quick question about config.xml load

Hey there, I've been trying to find an answer by searching, but couldn't get one. How am I suppose to load config.xml from cross domains (the client one, using sfs.loadConfig)? Adding a http address to it doesn't work sfs.loadConfig("http://www.mywebsite/config.xml") I mean, I unde...
by mistermind
07 Dec 2010, 18:57
Forum: Server Side Extension Development
Topic: javaExtensions folder issue
Replies: 1
Views: 4618

nvm, found the solution right here:
viewtopic.php?t=1878&highlight=javaextensions
by mistermind
07 Dec 2010, 18:16
Forum: Server Side Extension Development
Topic: javaExtensions folder issue
Replies: 1
Views: 4618

javaExtensions folder issue

Hey there, I've already figured that the javaExtensions folder is not by default a class path on the start.bat (which I previously discussed in my tutorial here: http://www.smartfoxserver.com/forums/viewtopic.php?t=8656) But how can I have this folder as a class path when I have SFS running as a ser...
by mistermind
08 Oct 2010, 15:57
Forum: Server Side Extension Development
Topic: using writeFile to write binary data
Replies: 2
Views: 5651

ow yeah :D
thats why I made this tutorial:
viewtopic.php?t=8656

It pretty much does what you mentioned. I even posted a java class ready to be used.

YOU enjoy! :lol:
by mistermind
07 Oct 2010, 19:15
Forum: Server Side Extension Development
Topic: [TUTORIAL] Custom image upload with Java Objects
Replies: 2
Views: 44304

[TUTORIAL] Custom image upload with Java Objects

Hey guys, instead of just replying to my previous upload questions, I thought it would be better if I post how I actually did it :) This tutorial will guide you to how not only upload an image to the server using nothing more then your smartfoxserver server extension, but it will also let you manipu...
by mistermind
06 Oct 2010, 22:03
Forum: Server Side Extension Development
Topic: Change the upload default folder
Replies: 1
Views: 4579

Found a solution to question 1 :D There is a file under \Smartfox\Server\webserver\webapps\default called Upload.py. There you will find this line: self.uploadDir = "./webserver/webapps/default/uploads/" As you can see its related to a local path. Just change to a different local path in y...
by mistermind
06 Oct 2010, 18:21
Forum: Server Side Extension Development
Topic: using writeFile to write binary data
Replies: 2
Views: 5651

using writeFile to write binary data

Hi there, I got a tricky one here: I'm trying to create a jpg file in the server by using the _server.writeFile. I'm converting the ByteArray to Base64 on the client, sending it via JSON to the server, then converting it back to binary by decoding it. _server.writeFile("c:\\test64.jpg"...
by mistermind
05 Oct 2010, 21:25
Forum: Server Side Extension Development
Topic: Change the upload default folder
Replies: 1
Views: 4579

Change the upload default folder

Hi there. Is it possible to change the default directory where the files are uploaded to a custom folder (say, a folder located in the website)? If not, does anyone knows a way I can move a recent uploaded file from webserver/webapps/default/uploads/ to my own custom location after I trigger the eve...
by mistermind
28 Sep 2010, 04:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: MissingExtensionException occurs sometimes, where...
Replies: 5
Views: 7293

Humm I actually have this happening to my server (the most popular warning from the server actually) by creating a room and attaching the xtClass to it from the server itself: var roomObj = new Object(); roomObj.name = roomName; roomObj.isGame = true; roomObj.maxU = 2; roomObj.xtName = "...
by mistermind
28 Aug 2010, 03:55
Forum: Server Side Extension Development
Topic: Array.sort(function)
Replies: 2
Views: 6147

Humm from the looks of it you are using AS1 Extensions right? Well AS1 is actually just Javascript. A quick search on google and I found this: http://www.kirupa.com/forum/showthread.php?t=325522 (It seems someone was also missing the sortOn on JS) and this: http://www.javascriptkit.com/javatutors/ar...
by mistermind
28 Aug 2010, 03:47
Forum: Server Side Extension Development
Topic: reload extension
Replies: 4
Views: 7550

Interesting in deed. Yeah he never actually mentioned why hehe. Well like I said, the only problem I had so far was messing up with the logic of scheduled tasks in the init method from the zone extension. Other then that, dynamic room extensions changes seem to work just fine, specially because they...

Go to advanced search