Unlike the majority of the posts recently his actually provoke some sort of discussion and gets his questions answered. He actually posts in the correct subforum, something which 99% of people seem incapable of doing (and is now a lost cause to move each thread). He actually uses a descriptive subject (which 75% of the community also seem incapable of doing). His posts are not rude.
In your opinion it's spam, maybe. In my opinion whilst it maybe occasionally a bit weird, he isn't actually doing anything wrong and I'd rather see more lerts' than some of the crap that people are throwing around at the moment.
Woz: It's a C99 thing - http://www.comeaucomputing.com/techtalk/#voidmain explains the thought process relatively well (although the bit of most relevance is probably the bit entitled "Where does the int returned from main() go?")
Hamed Sam: You're having issues with your connection to the servers - this thread probably isn't the best to ask about that, but it could be simply geographical or network distance to the server you're trying to connect to, poor connection from your ISP to various other parts of the internet (which will result in lag, as it has to travel a long way), or your ISP has decided to throttle the traffic LFS produces (can be done, and commonly LFS traffic is mis-shaped as file-sharing, etc.)
The way in which the team works makes this extremely unlikely. Of course I'm not a member of the development team, but given their past comments and behaviours it just wouldn't fit into their ideology.
It has been said that they went out on their own in order to avoid things like crunch time, etc. and by setting publically available goals they're likely to be facing crunch time over and over again.
If you're unaware crunch time is basically a no sleep marathon of programming, modelling, etc. - anything and everything just to get the product done.
The thing is when you're programming on something of any significant scale every now and then you'll come across something which was a good move when it was written, but doesn't quite work with what you now want to do with it. Even the best programmers have to refactor (significantly alter existing code) from time to time - this why programs of different versions are not always compatible with all plugins, file formats, etc. etc. For this reason it's not compatible with the work ethic of the team.
What would you rather have? A stressed out development team who quickly get fed up, or someone who is a bit more relaxed and happy in themselves? In my opinion and experience the latter provides a better product at the end of the day.
Given you can get into safe mode, it sounds like a BSOD (most likely caused by a knackered driver), but the machine is set to automatically reboot itself.
If you can get into safe mode again you can stop it from doing an automatic reboot by going into system properties (right click my computer, properties), then to advanced, settings under "start up and recovery" and untick "automatically restart". (slightly different under Vista, but it's vaguely the same place - havent got a vista vm I can test on right now atm though)
Reboot and see if you get a BSOD. If so, make a note of the first hex value (0x0123123 something), and the words in the top left of the screen (probably something like IRQ_EQUAL_TO_OR_LESS_THAN).
Alternatively if the machine was setup to write BSODs to the event logs, you can check through the system log to find out what it was.
When it freezes up, press num lock or caps lock a few times. Do they toggle on and off (light up)? If not then you most likely have a hardware crash. If you can then it's purely software and we have a whole other ball game on our hands.
Sounds like you're refering to some sort of authentication key, be it an ssh key or something else. My suggestion would be to ask your provider if your account allows you to run bandwidth intensive applications from whatever services they provide you.
1. Cut out the colours. It's annoying
2. You're either attempting to bind to an IP not present on that computer, or you're using a port which is already in use
I will repeat; If you do not understand exactly what the /ip directive does, and why you would want to use it, do not set it.
If its a web host only package, then no. If you have some sort of dedicated or virtual server, or any form of shell access, then yes. If you don't know what any of these things are then the likelihood of you having them is almost 0.
Under unix-like OS' the socket argument is "the highest numbered file descriptor, plus 1". On Windows this doesn't matter too much in my experience (most likely because I believe that the berkeley functions eventually fall back to the WSA stuff), although it does else where (see any man page for select, to explain why it should use the highest fd + 1).
The FD sets and timeval struct must be reset at each loop, the reason being that you always need to zero the fd sets to ensure you're getting data that's relevant for that select() query. It is up to the programmer to ensure that the memory is clear, select() does not do that.
The timeval struct also needs to be reset each time, because select() can and will modify it. You could delcare it outside, but I'll explain my rational below
That's a tiny implementation detail. I could've done the entire thing about 5 different ways..? The only difference that you've missed is that you need to ensure the relevant variables are zero'ed/cleared again.
Something I didn't make clear, but perhaps should've was that the tutorial was hacked together from the start of libLFS, which was itself ripped out of luaLFS, which itself was ripped out of another insim v4 project, which itself was ripped out of an insim v3 project that was written years ago - it's never been completely cleaned up since. It's not perfect, and I'm happy to admit that, but what you're picking up on here is a matter of taste. Once the loop iterates over the fact that they're redeclared is irrelevant, although some body new to C might say that it's easier to understand in the current format (because, quite frankly if someone knows the basics of C, and can read a man page, I can't see them needing this example).
You're probably right, but I've literally got in 30 minutes go, so I don't know off the top of my head. I'll check it out tomorrow morning after I've had my coffee and a good night's sleep
I had thought I'd made that clear in the comments already? (again, I've not checked, I've not had the opportunity).
Yes, but there are 2 reasons here;
1. As I've already explained when the underlying code was originally written (years ago now) that didn't exist in insim
2. It's an example of how to send a packet, which if I recall isn't given else where in the code
At the end of the day it's a really rough example, like most other code in that thread so far. If anyone wants to replace what's already written then I'm more than happy to remove posts in favour of theirs. If it were perfect then you'd see things like the global buffer, socket fd, etc. put into a central struct, the entire code modularised into functions and so on. But then it wouldn't be an example - it would be a library
I'm afraid I'm away from my home office for a few days, on company business and my laptop has died I'll be back in a few days - if I have the opportunity to tap out a response before then, on a computer I can use for personal stuff, I'll pop it in.
I have the feeling there maybe a more suitable function to use in LFS_External (Send_BFN_DeleteButton seems to apply very specifically to an IS_BFN with SubT of BFN_DEL_BTN), but I'm afraid that you'll have to wait until someone familiar with it comes along or consult the manual for LFS_External.
My guess would be that you're after something like Send_BFN_Clear.. As I say, I don't use LFS_External so I honestly wouldn't know.
tbh, I cant see any benefit to them at all, but it's here. If anyone sends me a request I just accept it to get rid of the notification, and that way I don't upset anyone
Nope - this is a limitation in InSim, not LFS_External. My only suggestion would be to select the player and then present the kick/ban/close buttons for that user only.
Yes - although I don't know the LFS_External API I can tell you that you need to send an IS_BFN, with sub type (SubT) of BFN_CLEAR, which will clear all buttons made by that insim instance.
I was wondering who she was.. cheers for clearing that up.
Back on-topic; there's nothing to stop you from using a mad hybrid of insim+outguage to acheive whats needed. However, in future versions of LFS the positioning packets reported by insim will come at a fixed interval.
I wouldn't worry about insim because that's a protocol. I'm hazy on the legals behind it, but you should just consider it open (do what you like), much like HTTP, etc. It's openly documented and you can't make any additions or changes to it since LFS the only provider. Think of it like trying to hold the rights to the entire english language - it's not really something that's done outside of solely proprietory products. If the developers wanted to close it down at a later date they could (say by applying a licence to it - which they can do, since they own the copyright).
You only need to distribute the code (under GPL2) if you do not distribute the code in any form (be it binaries, etc.). In the instance of a website you're providing a service, which means you're not distributing any code in any form, therefore you do not need to make your code available.
I'm hazy under GPL3, but I'm 89% sure it's the same, off the top of my head.
Right let me make this clear. Next to every post there is this icon. Click it and fill out the form. Blindly posting "close this thread" is not helpful breeds ill feeling and turns a thread into total spam. Mods do not roam around the forum looking for people saying "CLOSE THIS THREAD". However, we maybe online else where, and if so we will be notified and can deal with things swiftly.
To the OP, I'm not sure what discussion you wanted and I can't see this going any further than a list which is likely to match up pretty well with 99% of requests in the Improvement Suggestions subforum (handily summarised with this thread).
It's also worth considering S3 is somewhat far away in the future so anything you might want in S3 now may well be defunct by the time development starts on it.
For this post I'm removing my moderators hat. I've put it over there in the corner. These are my personal views.
Erm... personally I'd take XCnuse's comments as sarcasm from that single quoted item, but quite frankly I think you're just trying to be obtuse. I've never seen any statement or actions by nuse here that demonstrate that he believes that he knows everything and only that he's stated an opinion.
Even if he wasn't being sarcastic what's your point? Everyone here is human and is entitled to their own personal view and their own beliefs, which means everyone is allowed to be wrong.
Edit: I've just taken the opportunity to read a little of that thread and determined he wasn't being sarcastic. I'm still not understanding what your point is in this thread though?
To paraphrase myself from another post not a few days ago; time passes, things, people and circumstances change.