News:

Vote for WorldScape Classic here! If you vote once every hour, we'll gain more players!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tao4229

#1
One question, how do you not know how to un-IP ban someone?
#2
It's java; it should be cross-platform. Though I don't use Java, all you need is to download the runtime for it on any OS that it has a runtime for. (Probably the only benefit of using Java x.x)

As far as the native programming I've done for Mac, I can now justify why I don't use Macs. I don't even know if I want to call it 'native.' Macs make Windows look manly, with all their runtime bs. I prefer solid code, assembled at compile time, and then just run.
#3
News and Announcements / Re: What is taking so long!
December 14, 2008, 01:26:43 AM
Quote from: Ry60003333 on December 14, 2008, 12:33:45 AM
Quote from: tao4229 on December 13, 2008, 05:49:00 PM
Sorry for replying to a post like 4 months old but..

Why're you using 2 threads for the whole server? Lower threads isn't necessarily a good thing... But it depends on the computer you're hosting off of. If you have more than one processor, you gain a lot of advantages by multi-threading, but if you're on a single core, you don't gain much.
I know of a private server(not runescape) that used over 400 threads at once, without lagging at all(95 ping with 300+ people on?) but then again, I know the coder of the server and he's pr0. And I mean pr0. >_>
I'm assuming the threads you're using are the main thread, and then a thread for your sockets(if you're using async sockets, don't see why you would use blocking sockets in a server application as complex as a private server...) But meh.

I don't really know much about coding runescape servers though....
Or even much about java itself(C++/C#/C ftw?)

Personally I don't really like java. Sure it's compatible with Macs and Windows, but it doesn't give you the control over processes like a purely windows language. I've never compared the speed between .NET and java, so I can't complain there.


Overall, goodluck xD. Looking at the whateverclientthisis source(The WS classic one) to learn a bit about RS protocol atm.(Java is sortof easy to disassemble :\, along with .NET)
Its fine, I like talking about the server.
Yes, multi-threading gives performance boosts in a computer with multi-core processors. I have one thread do the work and the other thread do the IO, using Java NIO in nonblocking mode. I may make it detect the amount of cores available and then make enough threads to make use of them all. For example, in a computer with 4 cores it would make the worker thread, and three IO threads for a total of four. :D

Yea, the speed between Java and other programs made in C++ and such is really close. JIT (Just In Time) compiling is what normal JVMs use, so it compiles most of the needed code before it runs the program. Java works across multiple processors with different bit types. For example, the server could run on a 64-bit Intel processor, or a 32-bit Intel processor, or a 32-bit PowerPC processor, because the JVM is what has to be ported, not the actual program.

But C++/C# is a good choice for an MMORPG server, and I think Java is also. Its just that not many people have tried to write one in Java.

The speed difference from a native language to something like Java or C# is noticeable, but computer speeds are hella-fast anyways.
In the case of C#(or any .NET language), I just find that a lot of microsoft's methods suck. Comparing the two languages, java and C# are really similar. And I mean really...(as in syntax).

Again good luck with blitz, moving onto my third source of a Conquer(Another MMORPG) Private Server(In C#, my memory management isn't the greatest in C++ yet... Nor anything in C++ :p). Not that my second one was bad(my first one was LOL), just... so many things I could/wanted to rewrite, I just started over.
#4
News and Announcements / Re: What is taking so long!
December 13, 2008, 05:49:00 PM
Quote from: Ry60003333 on August 07, 2008, 06:54:31 PM
503 is the version. :)
All I really need is the server IP, because the server sends the MapData to the client. I'm working on my client sending any MapData I don't have on other servers to the WS Blitz server and it will automatically add it. :o

And the good part is that everyone else is using RS2E or Danno's source, and honestly both are very poorly programmed. RS2E randomly crashes or disconnects the client on loading new areas. Plus they both use one thread per client. (A computer can do more then one thing at once, each thing is called a thread.)

The new WS Blitz uses two threads for the whole server. Its built upon everything I've learned from making the old WS Blitz, and classic. This puts the old Blitz and classic both out of date. :)

I'd also like to assure you that were the farthest ahead on 503, excluding chat. ::)

Sorry for replying to a post like 4 months old but..

Why're you using 2 threads for the whole server? Lower threads isn't necessarily a good thing... But it depends on the computer you're hosting off of. If you have more than one processor, you gain a lot of advantages by multi-threading, but if you're on a single core, you don't gain much.
I know of a private server(not runescape) that used over 400 threads at once, without lagging at all(95 ping with 300+ people on?) but then again, I know the coder of the server and he's pr0. And I mean pr0. >_>
I'm assuming the threads you're using are the main thread, and then a thread for your sockets(if you're using async sockets, don't see why you would use blocking sockets in a server application as complex as a private server...) But meh.

I don't really know much about coding runescape servers though....
Or even much about java itself(C++/C#/C ftw?)

Personally I don't really like java. Sure it's compatible with Macs and Windows, but it doesn't give you the control over processes like a purely windows language. I've never compared the speed between .NET and java, so I can't complain there.


Overall, goodluck xD. Looking at the whateverclientthisis source(The WS classic one) to learn a bit about RS protocol atm.(Java is sortof easy to disassemble :\, along with .NET)
#5
General (WS) / My Worldscape Logo.
December 13, 2008, 05:12:11 PM
I got bored waiting today, so I took a screeny and made a WSBlitz logo.





Opinions/Comments/Suggestions? :x


The one on the left is Mage Omri and I am on the right(Scott3531).
#6
I'm pretty handy with photoshop, I can make one since im bored out of my mind...


Hosters annoy me. x.x
#7
Tech Support / Re: Ryan Read This Please :)
December 13, 2008, 04:03:49 PM
You can't use .bats on macs at all as far as I know.

They're windows cmd scripts.... I don't use my mac at all (as I program in .NET and a tad bit of C++, and Microsofts C++ libraries actually don't suck)so as far as I know, Macs don't have a "command" or "console" to ouput/input to.