Rates Server

#region Character - Rates

public double _CexpModifier = 250;
public double _JexpModifier = 250;
public double _WexpModifier = 250;
public double _DropRate = 250;

#endregion

could be 250x exp rate? means 250% rate from server

nice
 
The way I found to be able to make the map configuration file to allow numbers higher than 20 is by editing Saga.Map/Configuration/Config.Factory.Exptable.cs

You will find 3 instances of the following code:

Code:
[ConfigurationProperty("cexp", DefaultValue = 1, IsRequired = false)]      
[IntegerValidator(MinValue = 1, MaxValue = 20, ExcludeRange = false)]

The other two are labled "jexp" and "wexp" respectively.

By changing MaxValue = 20 to something higher, say 2000, you will be able to use the Saga.Map.config file to change server rates on the fly without having to recompile (you will, of course have to recompile after editing Config.Factory.Exptable.cs, but after that, changing server rates is as simple as editing Saga.Map.Config and restarting the server.

Hope this helps if anyone finds a flaw with this technique please let me know. :thumbup1:

Edit: Re-correcting myself, if you are compiling properly this method *should* work.
 
Last edited:
Oh sweet I was right! :P: I guess when I was compiling it wasn't re-creating the binary files anymore.. strange, but I deleted everything and started all over, and by using the method I mentioned before, you can successfully use Saga.Map.config to set your rates without needing to recompile.

However, to change the item droprate from mobs you will still need to recompile i think.
 
Credit I was thinking that if the rates were changing but they do not change or not ago vien someone explains it to me well
 
after i change something in Character.cs you say i need to recompile, but after i pushed the f6 button (quick button for recompile) nothing happens and it still wont work. I use Microsoft Visual Express Edition. what have I done wrong?

thanks for help
 
Last edited:
Sorry for the double post.(i already posted thid in other section ^^)


So i notice when i delete de saga.map.config file on binary folder
i have to make the saga.map.exe configuration again.. and i have been able to modifi the
rate's on the server.

if i change de character.cs on sagarev41\Saga.Map\PrimaryTypes it will mutiply by the number
on character rates.

So if u set on saga.map.exe configuration a rete of 500x for all and let the characters rate
like this,

#region Character - Rates

[NonSerialized()]
public double _CexpModifier = 250;
[NonSerialized()]
public double _JexpModifier = 250;
[NonSerialized()]
public double _WexpModifier = 250;
[NonSerialized()]
public double _DropRate = 250;

The server will make this calc,

map cexp rate = 500* character cexp rate = 250

500*250 = global cexp rate

global cexp rate = 125,000

If u have already set a hight rate on saga.map.exe configuration u dont need to edit the chars rate.
But if u feel ur server are low rate and, wont reconfig de saga.map.exe, u can edit the chars hate, but, u will need to recompile the character.cs

Ps. this is my way of think, only my, it's not a rule.. or maby is :P

Let me know if im worng ^.-
 
Back