how to edit server files?

01/05/2011 01:47 truong90#1
i want to edit my server exp, droprates, start point and DIL... hmm i have a problem now! i cant add point to Str, Dex... higher 5 point! what happend with my server?
01/05/2011 02:24 bullet21.#2
Oh god. Search.
01/05/2011 02:41 Cryptic.#3
This is the easiest thing to find.... Like Bullet said, SEARCH!
01/05/2011 04:52 tissot2#4
it is pretty easy things u can do .
01/05/2011 10:31 6shadow6#5
Quote:
Originally Posted by tissot2 View Post
it is pretty easy things u can do .
Just edit one file formula.ini in dkderver\share

Code:
[COLOR="Blue"]wMaxLevel  		,250[/COLOR]
wMinLevelToLoseExp  	,1
[COLOR="Blue"]byStatPointPerLevel	,7[/COLOR]
wDropMaxDistance	,150
fItemRatio		,0.5
fSTRDamageRatio		,0.4
fDEXDamageRatio		,0.4
fSPRDamageRatio		,0.4
fLEVELDamageRatio	,0.4
fCONDefenseRatio	,0.6
fLEVELDefenseRatio	,1.0
fPCDamageRatio		,1.0
fPCDefenseRatio		,1.0
byServantPCPhyDamageRate,30
byServantPCMagDamageRate,30
fMonAttDamageRatio	,1.0
fMonAttRatingRatio	,1.0
fMonDefRatio		,1.0
[COLOR="Red"]fMonEXPRatio		,5.00[/COLOR]
[COLOR="Red"]fMonMoneyRatio		,9.00[/COLOR]
[COLOR="Red"]fMonItemDropRatio	,3.5[/COLOR]
[COLOR="Red"]fMonMoneyDropRatio	,1.5[/COLOR]
byMaxItemLevel		,10
byHPRecoveryFactor	,35
byMPRecoveryFactor	,35
wHPFullRecoveryTime	,360
wMPFullRecoveryTime	,360
fSameWeaponBonus	,0.7
byReviveHPRatio		,100
byReviveMPRatio		,100
byReviveExpCostRatio	,5
dwReviveTick		,4000
byRespawnHPRatio	,100
byRespawnMPRatio	,100
byRespawnExpCostRatio	,3
stStorageCostPerUnit	,10
fItemSetDropRate	,1.5
fDILDropRate		,0.5
fMonsterHP		,1.0
fMonsterHPRecovery	,6.0
fMonsterHPDecrease	,6.0
dwOwnershipLifeTime	,20000
fBuyPriceRate		,1.0f
fSellPriceRate		,3.0f
byNormalRepairPriceRate	,50
byDamagedRepairPriceRate,80
byDamagedDurabilityRate	,10
fSkillCoolTimeRate	,0.7
fDEXAttackRatingFactor	,4.0
fMaxAttackProbFactor	,100.0
fDefaultAttackProb	,40.0
byMinAttackProbability	,30
byMaxAttackProbability	,95
byGuardProbability	,15
byGuardEfficiency	,50
byMinDefeatRate		,15
byMaxDefeatRate		,30
fSTRFactorForCritical	,0.04
fDEXFactorForCritical   ,0.035
fSPRFactorForCritical   ,0.035
fDEXEfficiencyFactor	,1.0
byDeath1_Max		,1
byDeath2_Max		,3
byDeath3_Max		,5
bySplit1_Max		,20
bySplit2_Max		,35
wOnePartyExpRate	,100
wTwoPartyExpRate	,180
wThreePartyExpRate	,260
wFourPartyExpRate	,330
wFivePartyExpRate	,390
wSixPartyExpRate	,400
nPKDamageRate		,0
nPKDefeatRate		,50
byPKBlockRate		,50
byPKGuardRate		,50
bPKVersion 		,1
nGuardARFactor		,1000
dwNonPKTime		,30000
wPCRoomExpRatio		,1
dwLosingRightTime	,10000
nGetRightDamageRatio	,35
dwFishingCastingmMinTime,5000
dwFishingCastingmMaxTime,10000
dwWinPVPPointRatio	,2
dwLosePVPPointRatio	,1
dwLossPVPPointRatio	,2
fLimitWinPVPRatio	,1.2
dwPVPReviveTick		,1
bSiege			,0
dwEntrySiegeCost	,50000000
wAdvertiseExpRatio 	,25
wDualWeight 		,15
wDualSwordStatus	,15000
wDualMacStatus		,15001
wDualAxStatus		,15002
dwToxicPreventHalfRateTime,10800
dwToxicPreventZeroRateTime,18000
dwSeigeNonPKTime	,20000
And one more thing if you set the exp rate to 3.00 or 5.00 you will be able to set the exp without having to reset the server. just enter the account where you have the form [GM] when you press ENTER to enter / GM EXPRATIO 7.00 or more. Example / gm expratio 9.00 and press enter. the same is dropping items and DIL just appropriate command.

Quote:
Originally Posted by truong90 View Post
i want to edit my server exp, droprates, start point and DIL... hmm i have a problem now! i cant add point to Str, Dex... higher 5 point! what happend with my server?
If you want to have everything worked as expected formula.ini file must be the same on the sides of beans, or both on server and in the game
01/05/2011 10:53 truong90#6
Quote:
Originally Posted by 6shadow6 View Post
Just edit one file formula.ini in dkderver\share

Code:
[COLOR="Blue"]wMaxLevel  		,250[/COLOR]
wMinLevelToLoseExp  	,1
[COLOR="Blue"]byStatPointPerLevel	,7[/COLOR]
wDropMaxDistance	,150
fItemRatio		,0.5
fSTRDamageRatio		,0.4
fDEXDamageRatio		,0.4
fSPRDamageRatio		,0.4
fLEVELDamageRatio	,0.4
fCONDefenseRatio	,0.6
fLEVELDefenseRatio	,1.0
fPCDamageRatio		,1.0
fPCDefenseRatio		,1.0
byServantPCPhyDamageRate,30
byServantPCMagDamageRate,30
fMonAttDamageRatio	,1.0
fMonAttRatingRatio	,1.0
fMonDefRatio		,1.0
[COLOR="Red"]fMonEXPRatio		,5.00[/COLOR]
[COLOR="Red"]fMonMoneyRatio		,9.00[/COLOR]
[COLOR="Red"]fMonItemDropRatio	,3.5[/COLOR]
[COLOR="Red"]fMonMoneyDropRatio	,1.5[/COLOR]
byMaxItemLevel		,10
byHPRecoveryFactor	,35
byMPRecoveryFactor	,35
wHPFullRecoveryTime	,360
wMPFullRecoveryTime	,360
fSameWeaponBonus	,0.7
byReviveHPRatio		,100
byReviveMPRatio		,100
byReviveExpCostRatio	,5
dwReviveTick		,4000
byRespawnHPRatio	,100
byRespawnMPRatio	,100
byRespawnExpCostRatio	,3
stStorageCostPerUnit	,10
fItemSetDropRate	,1.5
fDILDropRate		,0.5
fMonsterHP		,1.0
fMonsterHPRecovery	,6.0
fMonsterHPDecrease	,6.0
dwOwnershipLifeTime	,20000
fBuyPriceRate		,1.0f
fSellPriceRate		,3.0f
byNormalRepairPriceRate	,50
byDamagedRepairPriceRate,80
byDamagedDurabilityRate	,10
fSkillCoolTimeRate	,0.7
fDEXAttackRatingFactor	,4.0
fMaxAttackProbFactor	,100.0
fDefaultAttackProb	,40.0
byMinAttackProbability	,30
byMaxAttackProbability	,95
byGuardProbability	,15
byGuardEfficiency	,50
byMinDefeatRate		,15
byMaxDefeatRate		,30
fSTRFactorForCritical	,0.04
fDEXFactorForCritical   ,0.035
fSPRFactorForCritical   ,0.035
fDEXEfficiencyFactor	,1.0
byDeath1_Max		,1
byDeath2_Max		,3
byDeath3_Max		,5
bySplit1_Max		,20
bySplit2_Max		,35
wOnePartyExpRate	,100
wTwoPartyExpRate	,180
wThreePartyExpRate	,260
wFourPartyExpRate	,330
wFivePartyExpRate	,390
wSixPartyExpRate	,400
nPKDamageRate		,0
nPKDefeatRate		,50
byPKBlockRate		,50
byPKGuardRate		,50
bPKVersion 		,1
nGuardARFactor		,1000
dwNonPKTime		,30000
wPCRoomExpRatio		,1
dwLosingRightTime	,10000
nGetRightDamageRatio	,35
dwFishingCastingmMinTime,5000
dwFishingCastingmMaxTime,10000
dwWinPVPPointRatio	,2
dwLosePVPPointRatio	,1
dwLossPVPPointRatio	,2
fLimitWinPVPRatio	,1.2
dwPVPReviveTick		,1
bSiege			,0
dwEntrySiegeCost	,50000000
wAdvertiseExpRatio 	,25
wDualWeight 		,15
wDualSwordStatus	,15000
wDualMacStatus		,15001
wDualAxStatus		,15002
dwToxicPreventHalfRateTime,10800
dwToxicPreventZeroRateTime,18000
dwSeigeNonPKTime	,20000
And one more thing if you set the exp rate to 3.00 or 5.00 you will be able to set the exp without having to reset the server. just enter the account where you have the form [GM] when you press ENTER to enter / GM EXPRATIO 7.00 or more. Example / gm expratio 9.00 and press enter. the same is dropping items and DIL just appropriate command.



If you want to have everything worked as expected formula.ini file must be the same on the sides of beans, or both on server and in the game
Great!!! Thanks for your help!!! :)
01/05/2011 11:03 truong90#7
Hmm... Dshop in my new server files not working!!! Can u tell me how to make it work? and i want get 120lvl, more DIL in character inventory... after create new character...
01/05/2011 14:28 draegon71#8
Code:
Have you ever wanted to give an item(s) to every character as soon as it is created?
Well, I am here to show you how!

First we will open up the MSSQL's Enterprise Manager, and we will take a lot at the user_character table in the character database.
Have you ever noticed the [DEV] characters in there? Well, that is what we are looking for. They all have an user_no of 19999999999991, so you can find them by searching for that user_no in user_character table.

Ok, first lets take a look at their names.
[DEV]KNIGHT, [DEV]HUNTER, [DEV]MAGICIAN , etc. Obviously a char for each class.

Lets take a look at the stats of [DEV]KNIGHT. 6 str, 3 dex, 4 con, 2 spr. Nothing special. Except... Wait, aren't these the stats that all knights have when the chart is created by default? Yes, they are! So what if we would change all those stats to lets say 2000, save and then create a character?
WOW! My newly created character has 2k stats!

Ok, so that is the method how to customize the character, like starting level, starting health, starting shield, etc. You can make it different for each class, if you want.

Ok, but how about items, you ask?

I will do it so that the items would be equipped by default.
So lets go to user_suit, but leave user_character table open.
Lets say we are customizing a knight. Note the character no of [DEV]KNIGHT, that is DEKARON0000001.
Lets find that in the user_suit table. Ok, we found it. 1 entry.

line_no 4, wIndex 2421.

Hmm... Wait, that is a lvl 1 1h-sword! The very same one a newly created character gets, when he makes a new character!

So this is what we do.
We will make ourselves a new character. Then, mail the items you want the newly created character to have to the char you just created, or you can drop them by killing mobs/treasureboxes. Anyway, once you have the items you want, equip them. Make sure you equip ONLY what you want the newly created character to have, so check your mount/wings slot, your potion quickslots, everything.
Once you have it equipped, logout and go to your enterprise manager, user_character, find your character. Get it's character number, I will use A09090520000000003 as an example, because that is my number.
Then, go to user_suit, find the character_no DEKARON0000001 (for knight).
DELETE the 1 row that it has. Then find your character's no (A09090520000000003 as an example). Change the character_no on all lines to DEKARON0000001. Log back into your account again (Yes, all of your items you equipped will be gone), then create a new character.
Wow! He has all the items!

The same can be used for all classes, and it can be used the same way for inventory, skillls, almost everything. Also, you can edit the guild's MASTERCODE to change the default guild created.
01/05/2011 14:30 CROvic#9
whats error does it give?
if the error is when you click on dshop and it doesnt show up.
go to dekaron server/regist.csv and
change billing type to GAMEHI
01/05/2011 15:26 truong90#10
Quote:
Originally Posted by draegon71 View Post
Code:
Have you ever wanted to give an item(s) to every character as soon as it is created?
Well, I am here to show you how!

First we will open up the MSSQL's Enterprise Manager, and we will take a lot at the user_character table in the character database.
Have you ever noticed the [DEV] characters in there? Well, that is what we are looking for. They all have an user_no of 19999999999991, so you can find them by searching for that user_no in user_character table.

Ok, first lets take a look at their names.
[DEV]KNIGHT, [DEV]HUNTER, [DEV]MAGICIAN , etc. Obviously a char for each class.

Lets take a look at the stats of [DEV]KNIGHT. 6 str, 3 dex, 4 con, 2 spr. Nothing special. Except... Wait, aren't these the stats that all knights have when the chart is created by default? Yes, they are! So what if we would change all those stats to lets say 2000, save and then create a character?
WOW! My newly created character has 2k stats!

Ok, so that is the method how to customize the character, like starting level, starting health, starting shield, etc. You can make it different for each class, if you want.

Ok, but how about items, you ask?

I will do it so that the items would be equipped by default.
So lets go to user_suit, but leave user_character table open.
Lets say we are customizing a knight. Note the character no of [DEV]KNIGHT, that is DEKARON0000001.
Lets find that in the user_suit table. Ok, we found it. 1 entry.

line_no 4, wIndex 2421.

Hmm... Wait, that is a lvl 1 1h-sword! The very same one a newly created character gets, when he makes a new character!

So this is what we do.
We will make ourselves a new character. Then, mail the items you want the newly created character to have to the char you just created, or you can drop them by killing mobs/treasureboxes. Anyway, once you have the items you want, equip them. Make sure you equip ONLY what you want the newly created character to have, so check your mount/wings slot, your potion quickslots, everything.
Once you have it equipped, logout and go to your enterprise manager, user_character, find your character. Get it's character number, I will use A09090520000000003 as an example, because that is my number.
Then, go to user_suit, find the character_no DEKARON0000001 (for knight).
DELETE the 1 row that it has. Then find your character's no (A09090520000000003 as an example). Change the character_no on all lines to DEKARON0000001. Log back into your account again (Yes, all of your items you equipped will be gone), then create a new character.
Wow! He has all the items!

The same can be used for all classes, and it can be used the same way for inventory, skillls, almost everything. Also, you can edit the guild's MASTERCODE to change the default guild created.
Thank you very much! this is great... hmm what about add Coins, add DIL for all new character after create???
And the last problem... i cant buy some items, skill book in shop!!! What happend with my server?
01/05/2011 16:13 draegon71#11
you set the DIL for every DEV char`s like: [DEV]KNIGT;[DEV]HUNTER from the Money column, or something like that. The original is 0 but u put for example 50000 (50 mil). And than save
01/05/2011 20:16 truong90#12
Quote:
Originally Posted by draegon71 View Post
you set the DIL for every DEV char`s like: [DEV]KNIGT;[DEV]HUNTER from the Money column, or something like that. The original is 0 but u put for example 50000 (50 mil). And than save
Ooopppsss! Sorry i mean is auto set the DIL and Coins for "all normal characters after gamer create a new character..." but thanks for your reply... :o

Do you know about Abnormal Dekaron??? when im create a new character ill received 102 lvl, 500 mil DIL and 20000 Coins to buy some stuff in Dshop... That my means! I want my server same like that! :)