Searching in All forums
(25 results)
ForceMagic
S2 licensed
Lol, it's not that we don't want guess, but we allow everyone to play.

There isn't always an admin on our server to detect those indesirable situations and our system can't detect everything.

He can detect a lot of things except those human decisions, if a group of racer ban decide to ban a specific racer on our server with LFS system, the racer will be ban for 1 day, and well in most case they have good reasons.
ForceMagic
S2 licensed
xecote made all our skin and he have the .psd file to change everything.

Unfortunatly, we didn't had news since almost a year now, so we should find someone who is able to make them again.
ForceMagic
S2 licensed
Quote from CSU1 :Could you please link me to a post containing racist remarks?

As your wish, this is so easy with the SEARCH

http://www.lfsforum.net/showthread.php?p=928428#post928428
ForceMagic
S2 licensed
Quote from CSU1 :...
Greenslade you coward, post an explanation for your placing of me into a personal attack on a developer?

Hum... maybe because you were the easiest exemple to find of bull shit post and even racism talking.

By the way, a forum is a place to discuss and exchange ideas. It doesn't matter if the guy has posted only 1 time or more, if he's brigning constructive ideas on the table that's what we want (I hope so).

The main point here is to solve a problem and it could be great if we people could continue talking and reading about that without seeing those crappy post.

And no Greenseed (it's his name actually) didn't attack Victor, he just wanted to solve a problem and talk about it.
ForceMagic
S2 licensed
I recently tested the lastest version, I was out a bit with University, so a lot of new change since I was gone.

It's now really impressive, all the search system for stats and how stats works. I like the fact that you don't need to race 12 hours a day during 1 year to reach the first position. Just doing good race with nice lap time will increase your current rank. I believe it's more realistic like that.

This multiserver application have a lot of potential for the futur, we could do almost everything we want. It's very flexible with all those config options.

Actually I have a little break at my university, I hope I'll be able to do another patch
ForceMagic
S2 licensed
It seems to be ok, I checked the ranking, it's hard to judge now, i guess with more race played we will be able to see the improvement curve. I think I should test it on ur server
ForceMagic
S2 licensed
Well, the fact is that your version will be different than our one, because we won't add all what you want and need. So it will be a special version of Drive_LFSS only for you.
Drive_LFSS
ForceMagic
S2 licensed
Hello,

I'm one of the programmer in Drive_LFS server. Actually, you could have what you are asking with our project. With fews modification and discussion we could meet your requirements.

I suppose if you want a ranking system you will need a webpage to display the informations. Well, with Drive_LFSS you will have at least all the necessary data to build up your webpage.

Have a nice day.

You can contact me in PM if u want, I will be happy to awnser your questions.
Last version tested !
ForceMagic
S2 licensed
I tested the lastest version, which is pretty cool.
There are a lot of more news features really usefull for a racer in game. I'm a bit busy with university right now, but I will find something cool to add for sure

Nice job Greenseed !
ForceMagic
S2 licensed
If he don't do that just for fun. I mean to get a job in the futur, I will suggest him one of the most used language of his choice.

Tiobe Index
ForceMagic
S2 licensed
Quote from george_tsiros :i did not analyze anything. i do not know what Bob understood. what you say here is just plain wrong. do i really have to actually point to why, exactly?

I should said "in most" language I guess.

What I tried to said is he could begin with C, C++, VB.net, C#, Java, Javascript or any of oriented object language and it will help him further anyway.
ForceMagic
S2 licensed
Quote from george_tsiros :hummm will you be insulted if i say that your coding experience is lacking?

No haha but I'm surprised you analyzed my coding experience with my post instead of my coding style.

At least Bob Smith understood what I said.
Patch - [Config system]
ForceMagic
S2 licensed
- Change the serverId for the serverName everywhere.

- Remove InSimSettings class to use the data from the config class.

P.S. I mess up a bit with the dictionnary in Config.cs. I got a KeyNotFoundException when I add a key to the dictionnary. Hope you will be better than me to arrange that, I'm kinda confuse!
ForceMagic
S2 licensed
Quote from JamesF1 :
Wow... two incredibly incorrect statements there. All languages are not equal - some encourage sloppy coding style, and give a false impression of what programming actually is, whilst others promote good structure, readability and encourage useful, functional thinking.

I never said that all languages are equals. Maybe you misunderstand me because of my bad english, my fault, anyway for my part each coding experience I get in any language I learn helped me in others. The principle of coding stay the same, a if will stay a if in every language only the syntax will change.
ForceMagic
S2 licensed
Quote from JamesF1 :JavaScript is an absolutely terrible place to start learning. Why on Earth would you go for an incredibly limited, inconsistent, scripting language as your starting point!? The mind boggles. JS is a perfectly valid solution for various client-side additions to web interfaces, but it's not a good place to start with programming - especially as it's dynamic and weakly-typed (not to mention that a polymorphic language is a terrible way to learn).

lol, so what do u suggest to him for start learning ?

Personnaly I think each language is a good start, there are something to learn in each of them. Anyway, the important thing is to learn how to code, the language doesn't have a so important part in the decision. When you know coding you can use every languages.
ForceMagic
S2 licensed
Quote from arco :Zip the patch and then upload it? Or just name the file .patch.txt and let those who download it remove the .txt by renaming the file. Takes 5 seconds.

Yeah lol, it's what I'm doing atm, but it could be great to be able to upload this file type. I know it's not hard to do.
ForceMagic
S2 licensed
Quote from master_lfs.5101 :ok greensed told me here. So do you suggest i download the source and start playing around with it?

Hello, first I'm glad you decided to try out in our project !

I know I'm not Greenseed haha ! but what you've proposed is an excellent idea. You will be able to read the code and look how it works. So the SVN part it's a good start.

In open source project the communication is very important and we follow some coding standards of course.

I think the main points are to :

- write a code talking by itself

- when you write a comment about the code, if it's necessary, then write why instead of how.

- we try to use same kind of declaration everywhere.
Exemple : Constant declaration in caps lock with underscore between word.

- have fun doing this and we take our time to provide best code we can. It's not a race, lol, but you'll see, when you're in it grow pretty fast

It's a learning project, so like I said let's have fun doing it during we improve our skill.

For faster and easier communication, of course we will use program like Spark (a kind of MSN) or anything else.

I'll let Greenseed say something else and complete what I said.

Have a nice day !
Same thing !
ForceMagic
S2 licensed
Quote from Greenseed :
[...]
Witch is the more faster between:
private int config = 0;

int Config{get config;} OR
int GetConfig(){return config;}, Personaly i prefer this one, since im not very use to proprety.

Witch one is Faster?
Do have have to benchmark my self?, let see!

Hey Green !

I just tested both way and it gave me the same result ! So I guess the VS compilator interprets and compile both the same way

There is the console result of the tests :


Benchmarking 2 way to Get a value
Using Function :
1st tick : 633531543717656250
2nd tick : 633531543717656250
difference between them : 0
Port Number I Got : 29999

Using Property :
1st tick : 633531543717656250
2nd tick : 633531543717656250
difference between them :0
Port Number I Got : 29999

And there is the code I use to do it.


long tickbefore = 0;
long tickAfter = 0;
long tickResult = 0;
ushort _portNumber = 0;
log.normal("2 way of Get benchmark \r\n" + "Using Function : ");

tickbefore = DateTime.Now.Ticks;
_portNumber = Config.ServerConfigStruct.GetPortNumber();
tickAfter = DateTime.Now.Ticks;
tickResult = tickAfter - tickbefore;
log.normal("\r\n" + Convert.ToString(tickbefore) +
"\r\n" + Convert.ToString(tickAfter) +
"\r\n" + Convert.ToString(tickResult) +
"\r\n" + Convert.ToString(_portNumber));

log.normal("\r\n Using Property : ");
tickbefore = DateTime.Now.Ticks;
_portNumber = Config.ServerConfigStruct.PortNumber;
tickAfter = DateTime.Now.Ticks;
tickResult = tickAfter - tickbefore;
log.normal("\r\n" + Convert.ToString(tickbefore) +
"\r\n" + Convert.ToString(tickAfter) +
"\r\n" + Convert.ToString(tickResult) +
"\r\n" + Convert.ToString(_portNumber));



So you decide what we use ! but personnaly I think I prefer Property.
First it was made for that Also it's more compact and clean in the code.

Don't you think ?


public static ushort PortNumber
{
get { return portNumber; }
set { portNumber = value; }
}


public static ushort GetPortNumber()
{
return portNumber;
}

public static void SetPortNumber(ushort value)
{
portNumber = value;
}

I also tested the Set and I had the same result
Last edited by ForceMagic, .
Patch [Dynamic Config System] - Little changes
ForceMagic
S2 licensed
- Adding properties and corrected mistakes.
A proposition
ForceMagic
S2 licensed
Quote from master_lfs.5101 :I need help with c#! Where do I start learning? lol

DLFSS is the perfect project for you.

First you will learn C#.

Second you probably love LFS so it's a good motivation

http://www.lfsforum.net/showthread.php?t=46428
Patch [Dynamic Config System] - Collect settings in the config file
ForceMagic
S2 licensed
This patch allow the user to change the settings of his server in a ".cfg" file.

For the moment, this patch only collect and store the data from ".cfg" file, it doesn't use it yet.

The data collecting is executed after the Log is initialized in the Main loop.
Patch [console command] - Status
ForceMagic
S2 licensed
- Adding a console command called "status". Used to return the session Status between servers.

- Move the Ping processing from server.cs to session.cs and completed the code.

- Adding a processpacket(packetTyny) Method to manage incomming Ping.
Last edited by ForceMagic, .
Adding a forum settings for uploading.
ForceMagic
S2 licensed
Hello Admins/Mods,

I'll use this thread to post my request about the forum because the title is pretty representative of my request.

I wish if I could upload a ".patch" file on the forum. I'm a Dev who are working on Drive LFS project and we are using SVN. When I post my patch I must rename them as a ".txt". I would let them as a ".patch".

Is it possible to add this feature ?

Thanks
ForceMagic
S2 licensed
Quote from traxxion :
Try that?

Well, in our case we need the fastest way to check if the variable fit as a serverId, if not we don't need it at all.
Patch [console command] - Announcement
ForceMagic
S2 licensed
Hi Greenseed,

I'm glad to add a patch to the project.

The patch allow the user to type a message announcement in the console command. He can specify on which server the message will appear or simply send it to all of them.


P.S. It could be great if I could upload a ".patch" file, I renamed this one in .txt.
FGED GREDG RDFGDR GSFDG