Posts: 1,047
Threads: 23
Joined: Jun 2009
Quote:
Originally Posted by ******
If you do learn a little bit about networking you will realise that the statement about "sockets" in your statement makes no sense - a socket is an IP/PORT combination, and is OS agnostic.
As for client-side plugins, we really need a plugin architecture for those too, so clients only install one program and servers can specify which client-side plugins to run, avoiding the need for players to do anything extra. There would need to be security on the system, but that can be done through a central authorisation server. I might have to look in to this actually - it would make vastly better streamers and existing plugins could be fit to it's architecture. It would also mean a better means of distribution of mods etc.
|
Would be nice to manage, like every client sided plugin would have a mutex or something and the server could disable and enable specified mutexes'
and for the tcp server and tcp client... do you have a nice link (except ******.com or any other search engines) where some tuts are located about c++ networking?
Posts: 586
Threads: 16
Joined: Mar 2008
Reputation:
0
I'd like to have that ^
I've tried developing something like it but i never got finished with either side of it, Unfortunately i lost the source for that..
Posts: 1,478
Threads: 17
Joined: Oct 2007
Reputation:
0
This won't be popular with a client-side program, but good luck anyway.
I'm gonna wait til SA-MP itself developes these functions. These have been suggested lots of times though but for some reason they're not added. Wish they'd listen to the players a bit more though not just at beta tests.
Posts: 1,047
Threads: 23
Joined: Jun 2009
Quote:
Originally Posted by Karlip
This won't be popular with a client-side program, but good luck anyway.
I'm gonna wait til SA-MP itself developes these functions. These have been suggested lots of times though but for some reason they're not added. Wish they'd listen to the players a bit more though not just at beta tests.
|
They won't develop sa-mp until Kalcynkas' money is going to drop.. When he runs out of money he will make new contracts (with other companies like serverffs, why do you think the hosted tab was introduced?), and on sa-mp.com you will see "current development: xxx", but for now we are on our own so I think I have to get my ass up and start learning c++ as hard as possible ;]
Posts: 344
Threads: 12
Joined: Sep 2010
Reputation:
0
Nice plugin! Helped me a lot!
Posts: 106
Threads: 11
Joined: Jul 2010
Reputation:
0
Maybe you can make public OnPlayerPressKey ?
Posts: 1,047
Threads: 23
Joined: Jun 2009
okay people I am not able to find any easy&good server<->client examples and hooking to game so for now I cannot build the client app... ;/
Posts: 544
Threads: 120
Joined: Aug 2010
Reputation:
0
Is there a linux verison>?
Posts: 1,047
Threads: 23
Joined: Jun 2009
Quote:
Originally Posted by Kyosaur
This should be a clear indication that you are no where near ready to be messing with server/clients!
I agree btw, you are choosing the hard way indeed. You might become a good programmer one day like you say, but it wont be any time soon if you continue on your current path! You need to start at the bottom and work your way up so you actually understand what it is you're doing. Age and lessons arent even a factor.
|
If I only had an IT teacher where I could discuss my problems, (and we were at the stage of learning Java or C++) then I think it would be easier to manage any programming language, or am I wrong?
And yes I think I have to read through 10 000 lessons and tuts.
I think I will start reading through
http://www.cplusplus.com/doc/tutorial/ <- I don't know how much time it takes, but if I will actually understand everithing what will I be able to do? :P or should I choose a better site for tuts? :>
Posts: 20
Threads: 0
Joined: May 2011
Tutorials are generally for those who already know the topic very good and want to expand their knowledge, but if you do not know the basics then you need a book.
Posts: 1,047
Threads: 23
Joined: Jun 2009
okay so I should avoid tutorials for now and get a copy of "C++: A Beginner's Guide, Second Edition" (?)
:P
Sorry for the offtopic but relax guys, cmon the forum would be boring if we did not discuss or help each other
Posts: 434
Threads: 80
Joined: Oct 2008
Reputation:
0
only for window? No linux one?
EDIT: sorry i di'nt saw previous post.
Posts: 372
Threads: 37
Joined: Jul 2007
Reputation:
0
Ah I could have found this very useful in Linux. IF someone gets a Linux type of version running that was similar to this I would appreciate it. Oh and thanks anyway OP even though I don't use Windows.
Posts: 2,557
Threads: 77
Joined: Nov 2010
Reputation:
0
Read books to program or something liked to a game is completely antagonized. Gamers don't read book :3
Posts: 8
Threads: 0
Joined: Aug 2010
Reputation:
0
It is only server plugin? o_O