The online racing simulator
Searching in All forums
(407 results)
vane
S3 licensed
what kind of clock is it? led number bits? lcd calculator like screen or a open lcd screen? if it was like a calculator screen you probably wouldnt be able to because it would have things like pm and am built into it, if its a open lcd screen you may be able to write some code to put some stuff where you want it but it may be incredibly hard unless you can get some sort of coding base to see the values you need for the particular screen.
vane
S3 licensed
ok i am having a little difficulty with this, with some code someone (cant remember who posted it) posted earlier, i tried adding a string e.g TextBox1 but i can include strings or all the HTTP stuff underneath gets underlined, can anyone help me?

EDIT: cancel that bloody noob mistake

didnt add the "using system" thingies
Last edited by vane, .
vane
S3 licensed
it just proves that searching google does help after all

im guessing ill have to use fopen with the GET thing?
vane
S3 licensed
YES!!! IT WORKS! now i just need a way of getting it from the "status.txt" to the php page

http://reallife.10gbfreehost.com/test/status.txt
vane
S3 licensed
when i opened the source for 1.1 up i got very confused it looks so different from the old one
vane
S3 licensed
i TBH dont really like the idea of rbr and rb2, merely because the point of the rb4 was a 4wd rally car, all that is lost with the rbr and rb2, as it is the rb2 would probably be in the tbo clas with the rb4 and the xrt so there would be no point, but if the devs like the idea, roll on rbr! also i wouldnt like it identical to the fxr
vane
S3 licensed
Quote from mcgas001 :Well, For games like LFS 99.99% of them are made in C++. Anyway, sorry i read it in this book.

just leave it at "some game are done with c++" to avoid digging an even bigger hole
vane
S3 licensed
may i remind you lfs is still in testing, i say let scawen get the bits that make the driving realistic, then work on the minor details in a later patch
vane
S3 licensed
god sake it is only trying to show what they may look like!
vane
S3 licensed
i put the chmod of the .txt file to 777 but it does not change anything, it still does not save "testing" to the folder
vane
S3 licensed
im attempting to get this fireftp thing working but it keeps saying it cant connect :s can anyone help?
vane
S3 licensed
i dont really use an ftp program, i just get windows explorer and type [url]ftp://.[/url]..
vane
S3 licensed
chmod? what do you mean by that?

EDIT: i searched google and found it means change mode, do i need to enter
$ chmod a+rw status.txt

?

when i do that it doesnt come up with the error but it doesnt save anything to the .txt file
Last edited by vane, .
vane
S3 licensed
yeah that was... useful
vane
S3 licensed
thanks for that darktimes, i never could have done it without you! ill try it after ive done my gcse photography work or my photography teacher will get bi*chy

EDIT: keeps bringing up "Could not write status to file" :s do i need to create the status.txt myself and where do i put it?
Last edited by vane, .
vane
S3 licensed
dreamweaver can only do php to my knowledge and i don't think that cant do applications, only web pages but don't hold me to that
vane
S3 licensed
so what your saying is instead of using ftp to upload the .txt file, the php page gets the status then saves it to the .txt file and it can change it because it is on the server with the .txt file, would anyone be so kind as to possialy give me a few pointers or maybe give me a little bit of example code to try, i will also have to add a bit to stop people typing in the "query" url in the address bar and making the php page save their status.
vane
S3 licensed
choose a language then learn how to code it normally (outside of insim apps) then learn the basics of insims, i started on C# but maybe basic might be a better bet. You'll need a program to code, i recommend the microsoft visual studio (download link below). I'm sure someone else can explain everything in more detail though

http://www.microsoft.com/express/download/default.aspx
vane
S3 licensed
could you give it the ftp details then make it mod the .php file? this may be a crude way of doing it :s
i still do not see any way of saving a .txt file to a server with out any passwords or anything, if this was possible surely every website would be very simple to get into
Last edited by vane, .
vane
S3 licensed
will it not need some details e.g ftp password to save a .txt file or any file to the site?
vane
S3 licensed
i will probably also add a few more bits of info to it e.g maybe online usernames and amount of people on server
vane
S3 licensed
i guess you mean clock probably not an analogue clock but a digital clock would be ok, im sure there is a tag in C# to get the time from the computer the insimo is on, dont know if it is posible to get the time of the people who are connected though :s unless you gave them a setup menu which allowed them to choose GMT +1 or something
vane
S3 licensed
I'm not too clear what you mean by database, could you enlighten me?
vane
S3 licensed
im a bit confused as to how the web page actually stores the web status :s

EDIT: i have a feeling you do not fully understand me, what i wanted was a bit in my insim that i can type "!serverstatus STATUS" then "STATUS" will show up on the php web page when ever anyone goes onto the web page
Last edited by vane, .
vane
S3 licensed
The only reason i really wanted to get into coding was that i am hoping to be an engineer, which would require me to code programs and software to control machines and other hardware, and it just so happens i have found out my dad knows how to code basic
FGED GREDG RDFGDR GSFDG