[RELEASE]Modified Azure Server by Requi

07/12/2013 19:56 Requi#1
Here we go:

Commands in the Console:

Code:
Damage: dmg USERID DamageAmount
Ship: ship USERID ShipID
Name: name USERID NewName
Speed: speed USERID SpeedAmount
Kick: kick USERID
Factionchange: fac USERID FactionID
HitPoints - hp USERID HPAmount
Shield - shield USERID SHDAmount
MaxShield - maxshield USERID MaxSHDAmount
Close the Server: exit
If you close the server, the settings,will be lost, because it doesn't get written in the database.

Download Source:
[Only registered and activated users can see links. Click Here To Register...]
VT:
Not needed in my opinion, because you can see all in the source

Quote:
Originally Posted by chichi011 View Post
I had a little chat with Requi today and I decided to post the Settings class I've been using in all my projects, helping me to load program settings at runtime, so I don't have to rebuild the project every time I want to change a small detail.

[Only registered and activated users can see links. Click Here To Register...]



How to use this ?
Code:
// In C# code:
hero.DamageManager.LF3_Damage = Program.Settings["hero_LF3_Damage"];


// In Settings File:
## Damage config
' this is a comment
'
hero_LF3_Damage=150

I hope, somebody can handle with it and modify it more

Regards,
Requi
07/12/2013 19:58 sefasaiddeniz#2
YOU ARE AWAYSOME(SORRY FOR ENGLİSH) :D

can you add exe :D
07/12/2013 20:00 Requi#3
I made this 1 month ago. But now I share it with you
07/12/2013 20:04 sefasaiddeniz#4
Quote:
Originally Posted by Requi View Post
I made this 1 month ago. But now I share it with you
thank you so much :)
07/12/2013 20:08 »Barney«#5
I had a little chat with Requi today and I decided to post the Settings class I've been using in all my projects, helping me to load program settings at runtime, so I don't have to rebuild the project every time I want to change a small detail.

[Only registered and activated users can see links. Click Here To Register...]


How to use this ?
Code:
// In C# code:
hero.DamageManager.LF3_Damage = Program.Settings["hero_LF3_Damage"];


// In Settings File:
## Damage config
' this is a comment
'
hero_LF3_Damage=150
07/12/2013 20:32 boxxy96#6
Thanks for the source!
07/12/2013 22:45 Requi#7
If you want any command, then say it. I'll look, if I can add it ;)
07/12/2013 22:51 remixmakk#8
Hi, Requi sorry for asking I may be a bit stupid ^^ but it would be nice if you can tell me how to install this.
Thank you and sorry for being stupid. :)
07/12/2013 23:01 Requi#9
Quote:
Originally Posted by remixmakk View Post
Hi, Requi sorry for asking I may be a bit stupid ^^ but it would be nice if you can tell me how to install this.
Thank you and sorry for being stupid. :)
Tutorials:

Do this with the new .exe
In the bin/debug Folder
07/13/2013 02:31 drukkie#10
thank you requi i hope there will be a server soon with shop and so on... anyway it works just fine all and i dont even know much about all this things and still it worked for me .. great tutorial ..
07/13/2013 08:13 th0rex#11
Quote:
Originally Posted by chichi011 View Post
I had a little chat with Requi today and I decided to post the Settings class I've been using in all my projects, helping me to load program settings at runtime, so I don't have to rebuild the project every time I want to change a small detail.

[Only registered and activated users can see links. Click Here To Register...]


How to use this ?
Code:
// In C# code:
hero.DamageManager.LF3_Damage = Program.Settings["hero_LF3_Damage"];


// In Settings File:
## Damage config
' this is a comment
'
hero_LF3_Damage=150
I think Reading it from the Database is better then your Way. Cause this Way everyone has the Same dmg...
07/13/2013 08:57 »Barney«#12
Quote:
Originally Posted by omitma View Post
I think Reading it from the Database is better then your Way. Cause this Way everyone has the Same dmg...
The example with "LF-3" was just because that was the only idea I had, but you can modify the maximum range for shooting, the number of bonus boxes on the map and stuff like that.

I wanna see you creating a table in your DB just for server settings. It wouldn't be so efficient
07/13/2013 09:23 bot_user1234#13
Quote:
Originally Posted by omitma View Post
I think Reading it from the Database is better then your Way. Cause this Way everyone has the Same dmg...
I agree with you ^^
07/13/2013 10:26 th0rex#14
Quote:
Originally Posted by chichi011 View Post
The example with "LF-3" was just because that was the only idea I had, but you can modify the maximum range for shooting, the number of bonus boxes on the map and stuff like that.

I wanna see you creating a table in your DB just for server settings. It wouldn't be so efficient
For Range it wouldnt be efficient but for bonusboxes it would be. And i dont know why you would like to change the atack Range for all Users.Both, dB and your idea should be Used i think.
07/13/2013 10:27 Andrej-Delany#15
Quote:
Originally Posted by chichi011 View Post
The example with "LF-3" was just because that was the only idea I had, but you can modify the maximum range for shooting, the number of bonus boxes on the map and stuff like that.

I wanna see you creating a table in your DB just for server settings. It wouldn't be so efficient
I thinks it´s great you could write all these "ranges" into the appconfig and read key per key from there.
(i don´t know about secure by doing this but who cares :D )
i´m going to use it because loading from a DB is mostly slower than reading from appconfig ( i think so)

PS: LINQ = "bäh" use Lambda expressions thats coding laguage independed