EOSERV Forum > EOSERV > lewis999's EOserv rev 189
Topic is locked.
Page: << 1 2 ... 11 12 13 14 15 ... 28 29 >>
lewis999's EOserv rev 189
Author Message
Post #48207 Re: EOserv rev 189 Compiled

found it cheers, hardcoding = epic fail. 

---
If money doesn't grow on trees, then why do banks have branches?
13 years, 38 weeks ago
Post #48211 Re: EOserv rev 189 Compiled


question why won't it load more then 483 items i have 575 items in my pub files won't load anymore then that confused on how to fix that i have almost 100 custom items and can't use them due to it won't load them

13 years, 38 weeks ago
Post #48242 Re: EOserv rev 189 Compiled

can u put like the commands list on the download

13 years, 38 weeks ago
Post #48243 Re: EOserv rev 189 Compiled

u can find all commands in the talk.cpp file :)


13 years, 38 weeks ago
Post #48244 Re: EOserv rev 189 Compiled

Just to clarify, do i need to recompile? I am using SQLITE, so is there anything extra that i need to do?

13 years, 38 weeks ago
Post #48249 Re: EOserv rev 189 Compiled

Nope just start the server, But I want to point out, my Rev is a 0.7 of this rev, I added some new things.

13 years, 38 weeks ago
Post #48257 Re: EOserv rev 189 Compiled

Hello everyone, I have found a way to add your own classes and change what they give you without hard coding it :)

in cahracter.cpp below 

if (this->weight < 0 || this->weight > 250)

{

this->weight = 250;

}

Add this:


for(int i = 0 ; i < static_cast<int>(this->world->class_config["ClassAmount"]) ; i++)

{

    if (this->clas == i)

    {

        this->maxhp += 10 + calccon+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".maxhp"]);

        this->maxtp += 10 + calcintl+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".maxtp"]);

        this->mindam += 1 + calcstr+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".mindamage"]);

        this->maxdam += 2 + calcstr+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".maxdamage"]);

        this->accuracy += 0 + calcagi+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".accuracy"]);

        this->evade += 0 + calcagi+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".evade"]);

        this->armor += 0 + calccon+static_cast<int>(this->world->class_config[util::to_string(i+1) + ".armour"]);

        this->maxsp += std::min(20 + this->level*2, 100);

    }

}


go to world.cpp and add this where all the other config stuff is (there are 2 places) add this:

this->class_config.Read(this->config["ClassConfigFile"]);


then go to world.hpp and add

Config class_config;


now, open your config file and add this

## ClassFile

ClassConfigFile= ./data/class.ini


next open notepad and make a new file. save it as class.ini and put it into your data folder.


This is how you add classes:

ClassAmount = 1


1.maxhp = 1

1.maxtp = 1

1.mindamage = 1

1.maxdamage = 1

1.accuracy = 1

1.evade = 1

1.armour = 1


the "1" at the front is the class number, the one at the end is the amount to add for that class 


Hope this helps :D

13 years, 38 weeks ago
Post #48267 Re: EOserv rev 189 Compiled


@lewis why won't it load more then 483 items and 278 maps i have 309 maps and its set to 309 i have 575 items in pub

13 years, 38 weeks ago
Post #48268 Re: EOserv rev 189 Compiled
Respect posted: (4th Sep 2010 11:43 am)


@lewis why won't it load more then 483 items and 278 maps i have 309 maps and its set to 309 i have 575 items in pub

Have you changed it in the config?

## Maps (number)
# Number of maps to attempt to load
# Should be less than 99999
Maps = 278




13 years, 38 weeks ago
Post #48273 Re: EOserv rev 189 Compiled


@lewis i have done that but in terms says map can't be loaded in error file but i get no errors for items and they still won't load up i do $si 500  i get nothing if i do $si 400 i get item 400 it won't load my 575 items up

13 years, 38 weeks ago
Post #48278 Re: EOserv rev 189 Compiled

where did you put the eof in your pubfile?

13 years, 38 weeks ago
Post #48280 Re: EOserv rev 189 Compiled


it's at bottom like it's suppose to be

13 years, 38 weeks ago
Post #48281 Re: EOserv rev 189 Compiled

guess it has something to do with that , maybe double in your pub file near 400?

13 years, 38 weeks ago
Post #48286 Re: EOserv rev 189 Compiled


Ok this is annoying i have checked all files it has something  with the code it won't let me change anything i change name in pub and it changes names back can't change nothing in game not even names of stuff i have ran seose server and i know how to change stuff this server won't allow me to do it thru Pub editor any idea of how to fix this??

13 years, 38 weeks ago
Post #48288 Re: EOserv rev 189 Compiled

try copy/paste the server pub files in your client map and try again

13 years, 38 weeks ago
Page: << 1 2 ... 11 12 13 14 15 ... 28 29 >>
Topic is locked.
EOSERV Forum > EOSERV > lewis999's EOserv rev 189