Jump to content
  • 0

Changes in chars per account and storage limit


wtkd

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  05/20/14
  • Last Seen:  

Hello guys o/
 
I have one problem when i change .h files, the ragexe of my server crash, when i try to play after char select screen.
 
These are my changes:

- Just added at the end of drops.conf

import: conf/import/drops_conf.txt

to use imports, and do not write directly in the configuration file

 
in my drops_conf.txt i have:

item_rate_common: 10000
item_rate_common_boss: 10000
item_drop_common_min: 100
item_drop_common_max: 100000

item_rate_heal: 10000
item_rate_heal_boss: 10000
item_drop_heal_min: 100
item_drop_heal_max: 100000

item_rate_use: 10000
item_rate_use_boss: 10000
item_drop_use_min: 100
item_drop_use_max: 100000

item_rate_equip: 10000
item_rate_equip_boss: 10000
item_drop_equip_min: 100
item_drop_equip_max: 100000

item_rate_card: 10000
item_rate_card_boss: 10000
item_drop_card_min: 100
item_drop_card_max: 100000

item_rate_mvp: 10000
item_drop_mvp_min: 100
item_drop_mvp_max: 100000

item_rate_adddrop: 10000
item_drop_add_min: 100
item_drop_add_max: 100000

item_rate_treasure: 10000
item_drop_treasure_min: 100

 
I make an import(/import/login_conf.txt) for login_athena.conf and inside it i have:
 

chars_per_account: 12

but for change max chars per account, i need to change this file src/common/mmo.h

#define MAX_CHARS 18

When i change an file in /src like this file mmo.h i need to do something like compile? i do (make clean sql) but this don't solve
 

Other change min_chars and min_storage in src/config/core.h:

#define MIN_STORAGE 900 // Default number of storage slots.
#define MIN_CHARS 12 // Default number of characters per account.

I added an extra Kafra, in center of Prontera (did not exist before)

prontera,160,187,6	script	Kafra Employee::kaf_prontera5	117,{
  cutin "kafra_04",2;
  callfunc "F_KafSet";
  mes "[Kafra Employee]";
  mes "Welcome to the";
  mes "Kafra Corporation.";
  mes "The Kafra services";
  mes "are always on your side.";
  mes "How may I assist you?";
  callfunc "F_Kafra",5,0,0,40,800;
  savepoint "prontera",160,180;
  callfunc "F_KafEnd",0,1,"in the city of Prontera";
}

So, anytime that i change an .h file the ragexe crash, have just the message "2013-08-07aRagexe stopped working"

Someone can help?

Edited by wtkd
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Are you sure about this? If you changed the .h but you haven't recompile the server, then there's nothing to do with any problem.

It could come from your other mofification.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...